Changeset 24 for trunk/client


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

Continua sostituzione funzioni ereg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/temi/facebook/menu.php

    r17 r24  
    243243        for ($i=0; $i < sizeof($menulist); $i++) {
    244244                if($menulist[$i]!="") {
    245                         $tl = preg_replace("lang-","",$menulist[$i]);
    246                         $tl = preg_replace(".php","",$tl);
     245                        $tl = preg_replace("/lang-/","",$menulist[$i]);
     246                        $tl = preg_replace("/.php/","",$tl);
    247247                        $altlang = ucfirst($tl);
    248248                       
Note: See TracChangeset for help on using the changeset viewer.