From 401ae7b6c353624180474d92a37b2b718f8975ae Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Sun, 9 Mar 2025 21:42:07 +0100 Subject: [PATCH 1/3] Fix css on smartphone --- htdocs/core/class/html.formfile.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index 1d306a01143..3ec99820ecb 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -1505,7 +1505,7 @@ class FormFile // File name - print ''; + print ''; // Show file name with link to download //print "XX".$file['name']; //$file['name'] must be utf8 @@ -1538,7 +1538,7 @@ class FormFile } print ''; print ''; - print ''; + print ''; $editline = 1; } else { $filenametoshow = preg_replace('/\.noexe$/', '', $file['name']); @@ -1610,7 +1610,7 @@ class FormFile } // Shared or not - Hash of file - print ''; + print ''; if ($relativedir && $filearray[$key]['rowid'] > 0) { // only if we are in a mode where a scan of dir were done and we have id of file in ECM table if ($editline) { print ' '; @@ -1635,7 +1635,7 @@ class FormFile $fulllink = $urlwithroot.'/document.php'.($paramlink ? '?'.$paramlink : ''); print ''.img_picto($langs->trans("FileSharedViaALink"), 'globe').' '; - print ''; + print ''; } else { //print ''.$langs->trans("FileNotShared").''; } From 64d9b28b70a8bc645e7cd28440e6893446f4b656 Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Sun, 9 Mar 2025 21:51:41 +0100 Subject: [PATCH 2/3] FIX Blank page on agenda event per user --- htdocs/comm/action/peruser.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/comm/action/peruser.php b/htdocs/comm/action/peruser.php index e17bbc316f6..15547507ffe 100644 --- a/htdocs/comm/action/peruser.php +++ b/htdocs/comm/action/peruser.php @@ -1468,10 +1468,11 @@ if (!empty($hookmanager->resArray['eventarray'])) { } // Sort events +/* foreach ($eventarray as $keyDate => &$dateeventarray) { usort($dateeventarray, 'sort_events_by_date'); } - +*/ $maxnbofchar = 18; $cachethirdparties = array(); From 1b2522d3855d076391811d423b746e2adaed1ec1 Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Sun, 9 Mar 2025 22:05:36 +0100 Subject: [PATCH 3/3] Fix CSS --- htdocs/admin/system/security.php | 2 +- htdocs/core/lib/functions.lib.php | 2 +- htdocs/theme/eldy/global.inc.php | 2 +- htdocs/theme/md/style.css.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/admin/system/security.php b/htdocs/admin/system/security.php index 2861b0fce9b..94f6d908204 100644 --- a/htdocs/admin/system/security.php +++ b/htdocs/admin/system/security.php @@ -395,7 +395,7 @@ print '   -> Current PHP streams allowed = '; $arrayofstreams = stream_get_wrappers(); if (!empty($arrayofstreams)) { sort($arrayofstreams); - print ''.implode(',', $arrayofstreams).''; + print ''.implode(',', $arrayofstreams).''; print '     ('.$langs->trans("Recommended").': '.$langs->trans("TryToKeepOnly", 'file,http,https,php,zip').')'."\n"; } print ''; diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 0b6453f7a51..52da5d6af68 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -6062,7 +6062,7 @@ function info_admin($text, $infoonimgalt = 0, $nodiv = 0, $admin = '1', $morecss if ($picto == 'warning') { $fa = 'exclamation-triangle'; } - $result = ($nodiv ? '' : '
').' '; + $result = ($nodiv ? '' : '
').' '; $result .= dol_escape_htmltag($text, 1, 0, 'div,span,b,br,a'); $result .= ($nodiv ? '' : '
'); diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 50219ba0c3a..6f10003a874 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -1055,7 +1055,7 @@ textarea.centpercent { word-break: break-word !important; } .wordbreak { - word-break: break-word; /* cut fist between word, inside word if not possible */ + word-break: break-word; /* cut first between word, inside word if not possible */ } .wordbreakall { word-break: break-all; diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index e8ea2d48109..cb3bbfdee00 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -1229,7 +1229,7 @@ textarea.centpercent { word-break: break-word !important; } .wordbreak { - word-break: break-word; /* cut fist between word, inside word if not possible */ + word-break: break-word; /* cut first between word, inside word if not possible */ } .wordbreakall { word-break: break-all;