From b2611e4cdb087dedc14a5aa231c54986f54fe90f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 10 Dec 2021 13:56:51 +0100 Subject: [PATCH] CSS --- htdocs/comm/action/index.php | 1 + htdocs/core/class/html.form.class.php | 2 +- htdocs/core/get_menudiv.php | 2 +- htdocs/core/lib/agenda.lib.php | 2 +- htdocs/core/multicompany_page.php | 2 +- htdocs/core/search_page.php | 2 +- htdocs/theme/md/style.css.php | 3 +++ 7 files changed, 9 insertions(+), 5 deletions(-) diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php index 5f7349fab3c..8696bbc82d4 100644 --- a/htdocs/comm/action/index.php +++ b/htdocs/comm/action/index.php @@ -217,6 +217,7 @@ if ($action == 'delete_action') { /* * View */ + $parameters = array( 'socid' => $socid, 'status' => $status, diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 364ca716aeb..705f007a7f1 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -2080,7 +2080,7 @@ class Form if ($num) { // Enhance with select2 include_once DOL_DOCUMENT_ROOT.'/core/lib/ajax.lib.php'; - $out .= ajax_combobox($htmlname); + $out = ajax_combobox($htmlname).$out; } } else { dol_print_error($this->db); diff --git a/htdocs/core/get_menudiv.php b/htdocs/core/get_menudiv.php index 84be9ff8e0f..e04971ce8c3 100644 --- a/htdocs/core/get_menudiv.php +++ b/htdocs/core/get_menudiv.php @@ -84,7 +84,7 @@ $left = ($langs->trans("DIRECTION") == 'rtl' ? 'right' : 'left'); $title = $langs->trans("Menu"); // URL http://mydolibarr/core/get_menudiv.php?dol_use_jmobile=1 can be used for tests -$head = ''."\n"; +$head = ''."\n"; // This is used by DoliDroid to know page is a menu page $arrayofjs = array(); $arrayofcss = array(); top_htmlhead($head, $title, 0, 0, $arrayofjs, $arrayofcss); diff --git a/htdocs/core/lib/agenda.lib.php b/htdocs/core/lib/agenda.lib.php index 667a2808f58..69e83326707 100644 --- a/htdocs/core/lib/agenda.lib.php +++ b/htdocs/core/lib/agenda.lib.php @@ -73,11 +73,11 @@ function print_actions_filter($form, $canedit, $status, $year, $month, $day, $sh print '
'; // Type - print ''; $multiselect = 0; if (!empty($conf->global->MAIN_ENABLE_MULTISELECT_TYPE)) { // We use an option here because it adds bugs when used on agenda page "peruser" and "list" $multiselect = (!empty($conf->global->AGENDA_USE_EVENT_TYPE)); } + print img_picto($langs->trans("ActionType"), 'square', 'class="fawidth30 inline-block" style="color: #ddd;"'); print $formactions->select_type_actions($actioncode, "search_actioncode", $excludetype, (empty($conf->global->AGENDA_USE_EVENT_TYPE) ? 1 : -1), 0, $multiselect, 0, 'maxwidth500'); print '
'; diff --git a/htdocs/core/multicompany_page.php b/htdocs/core/multicompany_page.php index 5c55efc78db..ad1d8934dbb 100644 --- a/htdocs/core/multicompany_page.php +++ b/htdocs/core/multicompany_page.php @@ -81,7 +81,7 @@ if (GETPOST('acction', 'aZ') == 'switchentity') { $title = $langs->trans("Multicompanies"); // URL http://mydolibarr/core/multicompany_page?dol_use_jmobile=1 can be used for tests -$head = ''."\n"; +$head = ''."\n"; // This is used by DoliDroid to know page is a multicompany selection page $arrayofjs = array(); $arrayofcss = array(); top_htmlhead($head, $title, 0, 0, $arrayofjs, $arrayofcss); diff --git a/htdocs/core/search_page.php b/htdocs/core/search_page.php index 2b82501208a..0341c1116ef 100644 --- a/htdocs/core/search_page.php +++ b/htdocs/core/search_page.php @@ -58,7 +58,7 @@ $left = ($langs->trans("DIRECTION") == 'rtl' ? 'right' : 'left'); $title = $langs->trans("Search"); // URL http://mydolibarr/core/search_page?dol_use_jmobile=1 can be used for tests -$head = ''."\n"; +$head = ''."\n"; // This is used by DoliDroid to know page is a search page $arrayofjs = array(); $arrayofcss = array(); top_htmlhead($head, $title, 0, 0, $arrayofjs, $arrayofcss); diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index f9750df7fb6..f8abcceb51c 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -1058,6 +1058,9 @@ body[class*="colorblind-"] .text-success{ font-size: 1.5em; vertical-align: text-bottom; } +.fawidth30 { + width: 20px; +} .floatnone { float: none !important; }