Changeset 17 for trunk/client/temi
- Timestamp:
- Feb 20, 2010, 4:54:34 PM (15 years ago)
- Location:
- trunk/client/temi
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/temi/facebook/menu.php
r2 r17 243 243 for ($i=0; $i < sizeof($menulist); $i++) { 244 244 if($menulist[$i]!="") { 245 $tl = ereg_replace("lang-","",$menulist[$i]);246 $tl = ereg_replace(".php","",$tl);245 $tl = preg_replace("lang-","",$menulist[$i]); 246 $tl = preg_replace(".php","",$tl); 247 247 $altlang = ucfirst($tl); 248 248 -
trunk/client/temi/facebook/tema.php
r2 r17 19 19 while ($file = readdir($handle)) { 20 20 21 if ( ( ereg("^([_0-9a-zA-Z]+)([_0-9a-zA-Z]{3})$",$file)) ) {21 if ( (preg_match('/^([_0-9a-zA-Z]+)([_0-9a-zA-Z]{3})$/',$file)) ) { 22 22 23 23 $tlist .= "$file "; -
trunk/client/temi/inc/button.php
r2 r17 22 22 for ($i=0; $i < sizeof($menulist); $i++) { 23 23 if($menulist[$i]!="") { 24 $tl = ereg_replace("lang-","",$menulist[$i]);25 $tl = ereg_replace(".php","",$tl);24 $tl = preg_replace("lang-","",$menulist[$i]); 25 $tl = preg_replace(".php","",$tl); 26 26 $altlang = ucfirst($tl); 27 27 -
trunk/client/temi/tour/button.php
r2 r17 31 31 for ($i=0; $i < sizeof($menulist); $i++) { 32 32 if($menulist[$i]!="") { 33 $tl = ereg_replace("lang-","",$menulist[$i]);34 $tl = ereg_replace(".php","",$tl);33 $tl = preg_replace("lang-","",$menulist[$i]); 34 $tl = preg_replace(".php","",$tl); 35 35 $altlang = ucfirst($tl); 36 36
Note:
See TracChangeset
for help on using the changeset viewer.