From 015cd543d6d241fed3ae1e7ef0d48304e3b8ef28 Mon Sep 17 00:00:00 2001 From: jpb Date: Fri, 21 Jan 2022 09:52:52 +0100 Subject: [PATCH 1/3] add minwidth to selectArray --- htdocs/core/class/html.formticket.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/html.formticket.class.php b/htdocs/core/class/html.formticket.class.php index 81912207f57..3eb59d761d1 100644 --- a/htdocs/core/class/html.formticket.class.php +++ b/htdocs/core/class/html.formticket.class.php @@ -1261,7 +1261,7 @@ class FormTicket // Zone to select its email template if (count($modelmail_array) > 0) { print '
'."\n"; - print $langs->trans('SelectMailModel').': '.$formmail->selectarray('modelmailselected', $modelmail_array, $this->param['models_id'], 1); + print $langs->trans('SelectMailModel').': '.$formmail->selectarray('modelmailselected', $modelmail_array, $this->param['models_id'], 1,0,"","",0,0,0,'','minwidth200'); if ($user->admin) { print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"), 1); } @@ -1375,7 +1375,7 @@ class FormTicket print ''; //$toolbarname = 'dolibarr_details'; From 15c39db35ca0c5046a838c1ffc2863962fc378e5 Mon Sep 17 00:00:00 2001 From: jpb Date: Fri, 21 Jan 2022 09:55:14 +0100 Subject: [PATCH 2/3] add minwidth to selectArray --- htdocs/core/class/html.formticket.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/html.formticket.class.php b/htdocs/core/class/html.formticket.class.php index 3eb59d761d1..814c30374f9 100644 --- a/htdocs/core/class/html.formticket.class.php +++ b/htdocs/core/class/html.formticket.class.php @@ -1375,7 +1375,7 @@ class FormTicket print ''; //$toolbarname = 'dolibarr_details'; From 3e84a999651594fda2607d7329a4ab8bb3930048 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Fri, 21 Jan 2022 08:58:06 +0000 Subject: [PATCH 3/3] Fixing style errors. --- htdocs/core/class/html.formticket.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/html.formticket.class.php b/htdocs/core/class/html.formticket.class.php index 814c30374f9..6866bfa8356 100644 --- a/htdocs/core/class/html.formticket.class.php +++ b/htdocs/core/class/html.formticket.class.php @@ -1261,7 +1261,7 @@ class FormTicket // Zone to select its email template if (count($modelmail_array) > 0) { print '
'."\n"; - print $langs->trans('SelectMailModel').': '.$formmail->selectarray('modelmailselected', $modelmail_array, $this->param['models_id'], 1,0,"","",0,0,0,'','minwidth200'); + print $langs->trans('SelectMailModel').': '.$formmail->selectarray('modelmailselected', $modelmail_array, $this->param['models_id'], 1, 0, "", "", 0, 0, 0, '', 'minwidth200'); if ($user->admin) { print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"), 1); }