Changeset 23 for trunk/admin/temi
- Timestamp:
- Mar 5, 2010, 1:53:30 PM (15 years ago)
- Location:
- trunk/admin/temi/facebook
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/temi/facebook/menu.php
r2 r23 227 227 for ($i=0; $i < sizeof($menulist); $i++) { 228 228 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); 231 231 $altlang = ucfirst($tl); 232 232 -
trunk/admin/temi/facebook/tema.php
r2 r23 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.