From 5736709991ca3ceda1c14b3eaef2121205a8d82a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 18 May 2022 16:55:03 +0200 Subject: [PATCH] Look and feel v16 --- htdocs/admin/emailcollector_list.php | 2 +- htdocs/core/class/html.form.class.php | 2 +- .../modulebuilder/template/myobject_list.php | 14 +- htdocs/societe/list.php | 8 +- htdocs/theme/eldy/global.inc.php | 5 +- htdocs/theme/md/style.css.php | 3 + htdocs/user/class/user.class.php | 30 + htdocs/user/hierarchy.php | 17 +- htdocs/user/list.php | 712 ++++++++++-------- 9 files changed, 466 insertions(+), 327 deletions(-) diff --git a/htdocs/admin/emailcollector_list.php b/htdocs/admin/emailcollector_list.php index 32b55d0a612..35c483f33e6 100644 --- a/htdocs/admin/emailcollector_list.php +++ b/htdocs/admin/emailcollector_list.php @@ -420,7 +420,7 @@ if (!empty($moreforfilter)) { } $varpage = empty($contextpage) ? $_SERVER["PHP_SELF"] : $contextpage; -$selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage); // This also change content of $arrayfields +$selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN', '')); // This also change content of $arrayfields $selectedfields .= (count($arrayofmassactions) ? $form->showCheckAddButtons('checkforselect', 1) : ''); print '
'; // You can use div-table-responsive-no-min if you dont need reserved height for your table diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 06b56076316..e96b042beae 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -8285,7 +8285,7 @@ class Form * @param string $htmlname Name of HTML field * @param array $array Array with array of fields we could show. This array may be modified according to setup of user. * @param string $varpage Id of context for page. Can be set by caller with $varpage=(empty($contextpage)?$_SERVER["PHP_SELF"]:$contextpage); - * @param string $pos position colon on liste value left or right + * @param string $pos Position colon on liste value 'left' or '' (meaning 'right'). * @return string HTML multiselect string * @see selectarray() */ diff --git a/htdocs/modulebuilder/template/myobject_list.php b/htdocs/modulebuilder/template/myobject_list.php index f9222ad8fc0..e319f86e059 100644 --- a/htdocs/modulebuilder/template/myobject_list.php +++ b/htdocs/modulebuilder/template/myobject_list.php @@ -420,7 +420,7 @@ if ($num == 1 && !empty($conf->global->MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE) && $ // Output page // -------------------------------------------------------------------- -llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', ''); +llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'bodyforlist'); // Example : Adding jquery code // print '