Fix unlink picto

This commit is contained in:
Laurent Destailleur 2019-10-12 19:16:36 +02:00
parent bcc41c2a33
commit c338db6c36

View File

@ -3135,7 +3135,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
$marginleftonlyshort=0;
}
elseif ($pictowithouttext == 'unlink') {
$fakey = 'fa-chain-broken';
$fakey = 'fa-unlink';
$facolor = '#555';
}
elseif ($pictowithouttext == 'playdisabled') {
@ -3169,6 +3169,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
//$facolor = '#444';
$marginleftonlyshort=0;
}
//this snippet only needed since function img_edit accepts only one additional parameter: no separate one for css only.
//class/style need to be extracted to avoid duplicate class/style validation errors when $moreatt is added to the end of the attributes
$reg=array();