From 2bdcbabeae68b844204dfc3560e337ccf659e587 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 24 Jul 2024 02:19:49 +0200 Subject: [PATCH] Avoid memory error on browser side --- htdocs/core/lib/functions.lib.php | 7 ++++--- htdocs/theme/eldy/global.inc.php | 6 ++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 4bb177a82c3..1705717d30b 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -6405,9 +6405,10 @@ function print_fleche_navigation($page, $file, $options = '', $nextpage = 0, $be if (empty($hidenavigation)) { if ((int) $limit > 0 && empty($hideselectlimit)) { $pagesizechoices = '10:10,15:15,20:20,25:25,50:50,100:100,250:250,500:500,1000:1000'; - $pagesizechoices .= ',5000:5000,10000:10000,20000:20000'; - //$pagesizechoices.=',0:'.$langs->trans("All"); // Not yet supported - //$pagesizechoices.=',2:2'; + $pagesizechoices .= ',5000:5000,10000:10000'; + //$pagesizechoices .= ',20000:20000'; // Memory trouble on browsers + //$pagesizechoices .= ',0:'.$langs->trans("All"); // Not yet supported + //$pagesizechoices .= ',2:2'; if (getDolGlobalString('MAIN_PAGESIZE_CHOICES')) { $pagesizechoices = getDolGlobalString('MAIN_PAGESIZE_CHOICES'); } diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 2dbe39b6416..7b06e5b7335 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -3707,6 +3707,9 @@ div.tabBar { border-top: 1px solid #BBB; /* border-bottom: 1px solid #AAA; */ width: auto; + background: var(--colorbackbody); +} +table.noborder { background: var(--colorbacktabcard1); } div.tabBar tr.titre td { @@ -4978,6 +4981,9 @@ a.valignmiddle.dashboardlineindicator { .height30 { height: 30px !important; } +.height50 { + height: 50px !important; +} tr.box_titre { height: 26px;