"._("Help is not available if you are not logged in.").""; exit; } /* Set template compile directory */ $config= $_SESSION['config']; if (isset ($config->data['MAIN']['COMPILE'])){ $smarty->compile_dir= $config->data['MAIN']['COMPILE']; } else { $smarty->compile_dir= '/var/spool/gosa/'; } /* Language setup */ if ($config->data['MAIN']['LANG'] == ""){ $lang= get_browser_language(); } else { $lang= $config->data['MAIN']['LANG']; } $lang.=".UTF-8"; putenv("LANGUAGE="); putenv("LANG=$lang"); setlocale(LC_ALL, $lang); $GLOBALS['t_language']= $lang; $GLOBALS['t_gettext_message_dir'] = $BASE_DIR.'/locale/'; /* Set the text domain as 'messages' */ $domain = 'messages'; bindtextdomain($domain, "$BASE_DIR/locale"); textdomain($domain); @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, $lang, "Setting language to"); /* Get plugin list */ $plist= $_SESSION['plist']; echo "Help..."; // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?>