Changeset 566 for trunk/expressoMail1_2/inc
- Timestamp:
- 01/05/09 17:43:10 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/load_lang.php
r2 r566 14 14 } 15 15 } 16 $script = "array_lang[0] = new Array();"; 17 $script .= "array_lang[1] = new Array();"; 18 $i = 0; 19 foreach($_SESSION['phpgw_info']['expressomail']['lang'] as $key => $value) { 20 $script .= "array_lang[0][".$i."] = '".str_replace("'","\'",strtolower($key))."';"; 21 $script .= "array_lang[1][".$i."] = '".str_replace("'","\'",$value)."';"; 22 $i++; 23 } 16 $script = "array_lang = new Array();"; 17 foreach($_SESSION['phpgw_info']['expressomail']['lang'] as $key => $value) 18 $script .= "array_lang['".str_replace("'","\'",strtolower($key))."'] = '".str_replace("'","\'",$value)."';\n"; 24 19 echo $script; 25 20 ?>
Note: See TracChangeset
for help on using the changeset viewer.