Changeset 59340 in spip-zone for _squelettes_/eva-web


Ignore:
Timestamp:
Mar 15, 2012, 1:41:32 PM (7 years ago)
Author:
olivier.gautier@…
Message:

Replacement d'une fonction dépréciée

Location:
_squelettes_/eva-web
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _squelettes_/eva-web/4_0/eva_habillage/exec/eva_habillage.php

    r34618 r59340  
    8888    if ($mon_habillage=='0'){echo _T('evahabillage:EVA_style_defaut');} else {echo "<strong>".$mon_habillage."</strong>";}
    8989    echo '</p><br />';   
    90     $image_habillage = ereg_replace(".css",".png",$mon_habillage);
     90    $image_habillage = preg_replace('/.css/','.png',$mon_habillage);
    9191    if ($image_habillage=='0') {$image_habillage='eva_style.png';}
    9292         if (file_exists($path.$image_habillage)) {
  • _squelettes_/eva-web/4_2/eva_habillage/exec/eva_habillage.php

    r34618 r59340  
    8888    if ($mon_habillage=='0'){echo _T('evahabillage:EVA_style_defaut');} else {echo "<strong>".$mon_habillage."</strong>";}
    8989    echo '</p><br />';   
    90     $image_habillage = ereg_replace(".css",".png",$mon_habillage);
     90    $image_habillage = preg_replace('/.css/','.png',$mon_habillage);
    9191    if ($image_habillage=='0') {$image_habillage='eva_style.png';}
    9292         if (file_exists($path.$image_habillage)) {
Note: See TracChangeset for help on using the changeset viewer.