Fix font awesome 5 regressions
This commit is contained in:
parent
c4e96e9f74
commit
29cfa03fa4
@ -3081,7 +3081,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
|
|||||||
elseif ($pictowithoutext == 'jabber') {
|
elseif ($pictowithoutext == 'jabber') {
|
||||||
$fakey = 'fa-comment-o';
|
$fakey = 'fa-comment-o';
|
||||||
}
|
}
|
||||||
elseif ($pictowithoutext == 'skype') {
|
elseif (in_array($pictowithoutext, array('skype', 'twitter', 'facebook', 'linkedin'))) {
|
||||||
$fakey = 'fa-'.$pictowithoutext;
|
$fakey = 'fa-'.$pictowithoutext;
|
||||||
if (! empty($conf->global->MAIN_USE_FONT_AWESOME_5)) $fa = 'fab';
|
if (! empty($conf->global->MAIN_USE_FONT_AWESOME_5)) $fa = 'fab';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user