From fab9d26254f2508fac53e01417df7362cdd179e8 Mon Sep 17 00:00:00 2001 From: hystepik Date: Mon, 20 Mar 2023 16:38:45 +0100 Subject: [PATCH] add of tyext when overing --- htdocs/core/lib/files.lib.php | 28 +++++++++++++++------------- htdocs/core/lib/functions.lib.php | 4 ++-- htdocs/langs/en_US/main.lang | 1 + htdocs/theme/eldy/global.inc.php | 19 ++++++++++++++++--- 4 files changed, 34 insertions(+), 18 deletions(-) diff --git a/htdocs/core/lib/files.lib.php b/htdocs/core/lib/files.lib.php index 3e1c6892bbd..caeeb9c2976 100644 --- a/htdocs/core/lib/files.lib.php +++ b/htdocs/core/lib/files.lib.php @@ -3321,30 +3321,32 @@ function getFilesUpdated(&$file_list, SimpleXMLElement $dir, $path = '', $pathre * Function to manage the drag and drop file. * We use global variable $object * - * @return string Js script to display + * @param string $htmlname The id of the component where we need to drag and drop + * @return string Js script to display */ -function dragAndDropFileUpload() +function dragAndDropFileUpload($htmlname) { - global $object; - //TODO: Find a way to display text over div - $out = "