Ignore:
File:
1 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                       
Note: See TracChangeset for help on using the changeset viewer.