make play and playdisable equals

This commit is contained in:
Frédéric FRANCE 2018-10-29 18:50:15 +01:00 committed by GitHub
parent 0500f54237
commit 450a837393
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3237,6 +3237,9 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
elseif ($pictowithoutext == 'playdisabled') {
$fakey = 'fa-play';
$facolor = '#ccc';
} elseif ($pictowithoutext == 'play') {
$fakey = 'fa-play';
$facolor = '#444';
}
else {
$fakey = 'fa-'.$pictowithoutext;