Fix font awesome 5 picto for notes
This commit is contained in:
parent
eeafc3c630
commit
1bd9d6a8e5
@ -2979,7 +2979,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
|
|||||||
|
|
||||||
//if (in_array($picto, array('switch_off', 'switch_on', 'off', 'on')))
|
//if (in_array($picto, array('switch_off', 'switch_on', 'off', 'on')))
|
||||||
if (empty($srconly) && in_array($pictowithoutext, array(
|
if (empty($srconly) && in_array($pictowithoutext, array(
|
||||||
'bank', 'close_title', 'delete', 'edit', 'ellipsis-h', 'filter', 'grip', 'grip_title', 'list', 'listlight', 'off', 'on', 'play', 'playdisabled', 'printer', 'resize',
|
'bank', 'close_title', 'delete', 'edit', 'ellipsis-h', 'filter', 'grip', 'grip_title', 'list', 'listlight', 'note', 'off', 'on', 'play', 'playdisabled', 'printer', 'resize',
|
||||||
'note', 'setup', 'sign-out', 'split', 'switch_off', 'switch_on', 'unlink', 'uparrow', '1downarrow', '1uparrow', '1leftarrow', '1rightarrow',
|
'note', 'setup', 'sign-out', 'split', 'switch_off', 'switch_on', 'unlink', 'uparrow', '1downarrow', '1uparrow', '1leftarrow', '1rightarrow',
|
||||||
'jabber','skype','twitter','facebook','linkedin'
|
'jabber','skype','twitter','facebook','linkedin'
|
||||||
)
|
)
|
||||||
@ -3050,6 +3050,10 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
|
|||||||
}
|
}
|
||||||
elseif ($pictowithoutext == 'note') {
|
elseif ($pictowithoutext == 'note') {
|
||||||
$fakey = 'fa-sticky-note-o';
|
$fakey = 'fa-sticky-note-o';
|
||||||
|
if (empty($conf->global->MAIN_DISABLE_FONT_AWESOME_5))
|
||||||
|
{
|
||||||
|
$fakey = 'fa-sticky-note'; $fa = 'far';
|
||||||
|
}
|
||||||
$facolor = '#999';
|
$facolor = '#999';
|
||||||
$marginleftonlyshort=1;
|
$marginleftonlyshort=1;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user