2
0
forked from Wavyzz/dolibarr

NEW FontAwesome - Add possibility to select another version

This commit is contained in:
Alexandre SPANGARO
2023-09-26 21:49:15 +02:00
parent 266dea3b7e
commit 0fd8123606
9 changed files with 17 additions and 17 deletions

View File

@@ -4293,7 +4293,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
$fakey = $pictowithouttext;
$facolor = '';
$fasize = '';
$fa = 'fas';
$fa = getDolGlobalString('MAIN_FONTAWESOME_ICON_STYLE', 'fas');
if (in_array($pictowithouttext, array('card', 'bell', 'clock', 'establishment', 'generic', 'minus-square', 'object_generic', 'pdf', 'plus-square', 'timespent', 'note', 'off', 'on', 'object_bookmark', 'bookmark', 'vcard'))) {
$fa = 'far';
}