mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-09 19:18:22 +01:00
HTML5 - <font> tag is deprecated, replace by <span>
This commit is contained in:
@@ -6156,7 +6156,7 @@ function yn($yesno, $case = 1, $color = 0)
|
||||
}
|
||||
}
|
||||
if ($color) {
|
||||
return '<font class="'.$classname.'">'.$result.'</font>';
|
||||
return '<span class="'.$classname.'">'.$result.'</font>';
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user