Ignore:
File:
1 edited

Legend:

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

    r2 r23  
    227227        for ($i=0; $i < sizeof($menulist); $i++) {
    228228                if($menulist[$i]!="") {
    229                         $tl = ereg_replace("lang-","",$menulist[$i]);
    230                         $tl = ereg_replace(".php","",$tl);
     229                        $tl = preg_replace("/lang-/","",$menulist[$i]);
     230                        $tl = preg_replace("/.php/","",$tl);
    231231                        $altlang = ucfirst($tl);
    232232                       
Note: See TracChangeset for help on using the changeset viewer.