| @@ 36-37 (lines=2) @@ | ||
| 33 | ||
| 34 | //($id?"id='$id' ":"") |
|
| 35 | if (strlen($icone) > 1) { |
|
| 36 | if ($icone_renommer = charger_fonction('icone_renommer','inc',true)) |
|
| 37 | list($fond,$fonction) = $icone_renommer($icone,$fonction); |
|
| 38 | $size = 24; |
|
| 39 | if (preg_match("/-([0-9]{1,3})[.](gif|png)$/i",$fond,$match)) |
|
| 40 | $size = $match[1]; |
|
| @@ 2720-2721 (lines=2) @@ | ||
| 2717 | $fonction = "del"; |
|
| 2718 | ||
| 2719 | // remappage des icone : article-24.png+new => article-new-24.png |
|
| 2720 | if ($icone_renommer = charger_fonction('icone_renommer','inc',true)) |
|
| 2721 | list($fond,$fonction) = $icone_renommer($fond,$fonction); |
|
| 2722 | ||
| 2723 | // ajouter le type d'objet dans la class de l'icone |
|
| 2724 | $class .= " " . substr(basename($fond),0,-4); |
|