Replace on/off img tick with fa-font

This commit is contained in:
Laurent Destailleur
2017-10-31 12:32:30 +01:00
parent bd94ec0f1d
commit d39a19e976
5 changed files with 1 additions and 0 deletions

View File

@@ -2721,6 +2721,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
} }
else else
{ {
//if (in_array($picto, array('switch_off', 'switch_on', 'off', 'on')))
if (in_array($picto, array('switch_off', 'switch_on', 'off', 'on'))) if (in_array($picto, array('switch_off', 'switch_on', 'off', 'on')))
{ {
$fakey = $picto; $facolor=''; $fasize=''; $fakey = $picto; $facolor=''; $fasize='';

Binary file not shown.

Before

Width:  |  Height:  |  Size: 568 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 603 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 248 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 B