Fix font awesome 5
This commit is contained in:
parent
5483856543
commit
522afd8e7b
@ -3015,6 +3015,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
|
|||||||
elseif ($pictowithoutext == 'edit') {
|
elseif ($pictowithoutext == 'edit') {
|
||||||
$fakey = 'fa-pencil';
|
$fakey = 'fa-pencil';
|
||||||
$facolor = '#444';
|
$facolor = '#444';
|
||||||
|
if (! empty($conf->global->MAIN_USE_FONT_AWESOME_5)) $fakey = 'fa-pencil-alt';
|
||||||
}
|
}
|
||||||
elseif ($pictowithoutext == 'filter') {
|
elseif ($pictowithoutext == 'filter') {
|
||||||
$fakey = 'fa-'.$pictowithoutext;
|
$fakey = 'fa-'.$pictowithoutext;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user