HTML5 - <font> tag is deprecated, replace by <span>
This commit is contained in:
parent
b8a7f122ef
commit
c57aea1ead
@ -351,7 +351,7 @@ if ($object->id > 0) {
|
|||||||
print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_client));
|
print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_client));
|
||||||
$tmpcheck = $object->check_codeclient();
|
$tmpcheck = $object->check_codeclient();
|
||||||
if ($tmpcheck != 0 && $tmpcheck != -5) {
|
if ($tmpcheck != 0 && $tmpcheck != -5) {
|
||||||
print ' <font class="error">('.$langs->trans("WrongCustomerCode").')</font>';
|
print ' <span class="error">('.$langs->trans("WrongCustomerCode").')</span>';
|
||||||
}
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
|||||||
@ -912,7 +912,7 @@ if ($action == 'create') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (empty($nbemail)) {
|
if (empty($nbemail)) {
|
||||||
$nbemail .= ' '.img_warning('').' <font class="warning">'.$langs->trans("NoTargetYet").'</font>';
|
$nbemail .= ' '.img_warning('').' <span class="warning">'.$langs->trans("NoTargetYet").'</span>';
|
||||||
}
|
}
|
||||||
if ($text) {
|
if ($text) {
|
||||||
print $form->textwithpicto($nbemail, $text, 1, 'warning');
|
print $form->textwithpicto($nbemail, $text, 1, 'warning');
|
||||||
@ -1161,7 +1161,7 @@ if ($action == 'create') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (empty($nbemail)) {
|
if (empty($nbemail)) {
|
||||||
$nbemail .= ' '.img_warning('').' <font class="warning">'.$langs->trans("NoTargetYet").'</font>';
|
$nbemail .= ' '.img_warning('').' <span class="warning">'.$langs->trans("NoTargetYet").'</span>';
|
||||||
}
|
}
|
||||||
if ($text) {
|
if ($text) {
|
||||||
print $form->textwithpicto($nbemail, $text, 1, 'warning');
|
print $form->textwithpicto($nbemail, $text, 1, 'warning');
|
||||||
|
|||||||
@ -284,7 +284,7 @@ if ($object->fetch($id) >= 0) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (empty($nbemail)) {
|
if (empty($nbemail)) {
|
||||||
$nbemail .= ' '.img_warning('').' <font class="warning">'.$langs->trans("NoTargetYet").'</font>';
|
$nbemail .= ' '.img_warning('').' <span class="warning">'.$langs->trans("NoTargetYet").'</span>';
|
||||||
}
|
}
|
||||||
if ($text) {
|
if ($text) {
|
||||||
print $form->textwithpicto($nbemail, $text, 1, 'warning');
|
print $form->textwithpicto($nbemail, $text, 1, 'warning');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user