Merge pull request #19899 from atm-jpb/fix_15.0_modelMailWidth

FIX : 15.0 add minwidth to selectArray mail model
This commit is contained in:
Laurent Destailleur 2022-01-23 11:58:09 +01:00 committed by GitHub
commit 4981f418e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1261,7 +1261,7 @@ class FormTicket
// Zone to select its email template
if (count($modelmail_array) > 0) {
print '<tr class="email_line"><td></td><td colspan="2"><div style="padding: 3px 0 3px 0">'."\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);
}