From 41058de4efba7300a2fb21ac4f874ea8007a1762 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 25 Jan 2025 15:48:21 +0100 Subject: [PATCH] FIX look and feel --- htdocs/admin/defaultvalues.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/admin/defaultvalues.php b/htdocs/admin/defaultvalues.php index 52f5f64c010..7a1fafd861e 100644 --- a/htdocs/admin/defaultvalues.php +++ b/htdocs/admin/defaultvalues.php @@ -311,9 +311,7 @@ if ($mode != 'focus' && $mode != 'mandatory') { foreach ($substitutionarray as $key => $val) { $texthelp .= $key.' -> '.$val.'
'; } - $texthelp2 = $langs->trans("DefaultValuesHelpText"); - $text = $form->textwithpicto($langs->trans("Value"), $texthelp2); - $textvalue = $form->textwithpicto($text, $texthelp, 1, 'list-alt', 'valignmiddle', 0, 2, 'subsitutiontooltip'); + $textvalue = $form->textwithpicto($langs->trans("Value"), $langs->trans("DefaultValuesHelpText")); } else { $texthelp = 'ASC or DESC'; $textvalue = $form->textwithpicto($langs->trans("SortOrder"), $texthelp); @@ -347,6 +345,7 @@ print ''; if ($mode != 'focus' && $mode != 'mandatory') { print ''; print ''; + print $form->textwithpicto('', $texthelp, 1, 'list-alt', 'paddingleftimp cursorpointer', 0, 2, 'subsitutiontooltip'); print ''; } // Limit to superadmin