'expressoMail1_2', 'nonavbar' => true, 'noheader' => true ); } require_once '../header.inc.php'; // Load the lang of the module. if(!$_SESSION['phpgw_info']['expressomail']['lang']) { $array_keys = array(); $fn = 'setup/phpgw_'.$_SESSION['phpgw_info']['expressomail']['user']['preferences']['common']['lang'].'.lang'; if (file_exists($fn)){ $fp = fopen($fn,'r'); while ($data = fgets($fp,16000)) { list($message_id,$app_name,$null,$content) = explode("\t",substr($data,0,-1)); $_SESSION['phpgw_info']['expressomail']['lang'][$message_id] = $content; } fclose($fp); } } foreach($_SESSION['phpgw_info']['expressomail']['lang'] as $key => $value) $script .= "array_lang['".str_replace("'","\'",strtolower($key))."'] = '".str_replace("'","\'",$value)."';\n"; echo ""; ?>