From 3efb1ccceeecda8361935f27bc03e3a3517c0224 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 8 Oct 2022 03:05:19 +0200 Subject: [PATCH] NEW Picto for shared link is clicable --- htdocs/core/class/html.formfile.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index a583f07cdb1..010e03e6b3b 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -879,7 +879,7 @@ class FormFile $fulllink = $urlwithroot.'/document.php'.($paramlink ? '?'.$paramlink : ''); - $out .= img_picto($langs->trans("FileSharedViaALink"), 'globe').' '; + $out .= ''.img_picto($langs->trans("FileSharedViaALink"), 'globe').' '; $out .= ''; $out .= ajax_autoselect('downloadlink'.$file['rowid']); } else { @@ -1407,7 +1407,7 @@ class FormFile $fulllink = $urlwithroot.'/document.php'.($paramlink ? '?'.$paramlink : ''); - print img_picto($langs->trans("FileSharedViaALink"), 'globe').' '; + print ''.img_picto($langs->trans("FileSharedViaALink"), 'globe').' '; print ''; } else { //print ''.$langs->trans("FileNotShared").'';