Changeset 25
- Timestamp:
- Mar 5, 2010, 11:53:47 PM (15 years ago)
- Location:
- trunk/client
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/funzioni.php
r17 r25 208 208 209 209 for ($i=0;$i<20;$i++) { 210 $link = preg_replace(" .*<link>","",$items[$i]);211 $link = preg_replace("</link>.* ","",$link);212 $title2 = preg_replace(" .*<title>","",$items[$i]);213 $title2 = preg_replace(" </title>.*","",$title2);210 $link = preg_replace("/.*<link>/","",$items[$i]); 211 $link = preg_replace("</link>.*/","",$link); 212 $title2 = preg_replace("/.*<title>/","",$items[$i]); 213 $title2 = preg_replace("/</title>.*/","",$title2); 214 214 $title2 = stripslashes($title2); 215 $descr = preg_replace(" .*<description>","",$items[$i]);216 $descr = preg_replace(" </description>.*","",$descr );215 $descr = preg_replace("/.*<description>/","",$items[$i]); 216 $descr = preg_replace("/</description>.*/","",$descr ); 217 217 $descr = stripslashes($descr ); 218 218 -
trunk/client/temi/inc/button.php
r17 r25 22 22 for ($i=0; $i < sizeof($menulist); $i++) { 23 23 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); 26 26 $altlang = ucfirst($tl); 27 27 -
trunk/client/temi/tour/button.php
r17 r25 31 31 for ($i=0; $i < sizeof($menulist); $i++) { 32 32 if($menulist[$i]!="") { 33 $tl = preg_replace(" lang-","",$menulist[$i]);34 $tl = preg_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.