Merge pull request #11475 from atm-lena/9.0_fix_help_text
FIX help text
This commit is contained in:
commit
f34d96b5fb
@ -47,7 +47,7 @@ foreach($object->fields as $key => $val)
|
|||||||
if ($val['notnull'] > 0) print ' fieldrequired';
|
if ($val['notnull'] > 0) print ' fieldrequired';
|
||||||
if ($val['type'] == 'text' || $val['type'] == 'html') print ' tdtop';
|
if ($val['type'] == 'text' || $val['type'] == 'html') print ' tdtop';
|
||||||
print '">';
|
print '">';
|
||||||
if (! empty($val['help'])) print $form->textwithpicto($langs->trans($val['label']), $val['help']);
|
if (! empty($val['help'])) print $form->textwithpicto($langs->trans($val['label']), $langs->trans($val['help']));
|
||||||
else print $langs->trans($val['label']);
|
else print $langs->trans($val['label']);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
|
|||||||
@ -52,7 +52,7 @@ foreach($object->fields as $key => $val)
|
|||||||
if ($val['notnull'] > 0) print ' fieldrequired';
|
if ($val['notnull'] > 0) print ' fieldrequired';
|
||||||
if ($val['type'] == 'text' || $val['type'] == 'html') print ' tdtop';
|
if ($val['type'] == 'text' || $val['type'] == 'html') print ' tdtop';
|
||||||
print '">';
|
print '">';
|
||||||
if (! empty($val['help'])) print $form->textwithpicto($langs->trans($val['label']), $val['help']);
|
if (! empty($val['help'])) print $form->textwithpicto($langs->trans($val['label']), $langs->trans($val['help']));
|
||||||
else print $langs->trans($val['label']);
|
else print $langs->trans($val['label']);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
@ -91,7 +91,7 @@ foreach($object->fields as $key => $val)
|
|||||||
if ($val['notnull'] > 0) print ' fieldrequired';
|
if ($val['notnull'] > 0) print ' fieldrequired';
|
||||||
if ($val['type'] == 'text' || $val['type'] == 'html') print ' tdtop';
|
if ($val['type'] == 'text' || $val['type'] == 'html') print ' tdtop';
|
||||||
print '">';
|
print '">';
|
||||||
if (! empty($val['help'])) print $form->textwithpicto($langs->trans($val['label']), $val['help']);
|
if (! empty($val['help'])) print $form->textwithpicto($langs->trans($val['label']), $langs->trans($val['help']));
|
||||||
else print $langs->trans($val['label']);
|
else print $langs->trans($val['label']);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user