Changeset 17 for trunk/client/temi/facebook
- Timestamp:
- Feb 20, 2010, 4:54:34 PM (15 years ago)
- Location:
- trunk/client/temi/facebook
- Files:
-
- 2 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 ";
Note:
See TracChangeset
for help on using the changeset viewer.