mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Try a better fix
This commit is contained in:
parent
f5c551d725
commit
585f386ba3
|
|
@ -1638,7 +1638,12 @@ function show_elem($fieldssource,$pos,$key,$var,$nostyle='')
|
|||
print '</td>';
|
||||
print '<td style="font-weight: normal">';
|
||||
print $langs->trans("Field").' '.$pos;
|
||||
if (! empty($fieldssource[$pos]['example1'])) print ' (<i>'.$fieldssource[$pos]['example1'].'</i>)';
|
||||
$example=$fieldssource[$pos]['example1'];
|
||||
if ($example)
|
||||
{
|
||||
if (! utf8_check($example)) $example=utf8_encode($example);
|
||||
print ' (<i>'.$example.'</i>)';
|
||||
}
|
||||
print '</td>';
|
||||
print '</tr>';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user