Changeset 25 for trunk/client/temi


Ignore:
Timestamp:
Mar 5, 2010, 11:53:47 PM (15 years ago)
Author:
roby
Message:

Continua sostituzione funzioni ereg

Location:
trunk/client/temi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/temi/inc/button.php

    r17 r25  
    2222        for ($i=0; $i < sizeof($menulist); $i++) {
    2323                if($menulist[$i]!="") {
    24                         $tl = preg_replace("lang-","",$menulist[$i]);
    25                         $tl = preg_replace(".php","",$tl);
     24                        $tl = preg_replace("/lang-/","",$menulist[$i]);
     25                        $tl = preg_replace("/.php/","",$tl);
    2626                        $altlang = ucfirst($tl);
    2727                       
  • trunk/client/temi/tour/button.php

    r17 r25  
    3131        for ($i=0; $i < sizeof($menulist); $i++) {
    3232                if($menulist[$i]!="") {
    33                         $tl = preg_replace("lang-","",$menulist[$i]);
    34                         $tl = preg_replace(".php","",$tl);
     33                        $tl = preg_replace("/lang-/","",$menulist[$i]);
     34                        $tl = preg_replace("/.php/","",$tl);
    3535                        $altlang = ucfirst($tl);
    3636                       
Note: See TracChangeset for help on using the changeset viewer.