index 4a4f39982a20872ccbd4f2bddd5585388e72939b..fa3b86694869f9aad19815ddadbadd1c96442c48 100644 (file)
$config= session::global_get('config');
/* Language setup */
-$lang= $config->get_cfg_value("language");
+$lang= $config->get_cfg_value("core","language");
if ($lang == ""){
$lang= get_browser_language();
}
textdomain($domain);
@DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, $lang, "Setting language to");
-$smarty->compile_dir= $config->get_cfg_value("compile", "/var/spool/gosa/");
+$smarty->compile_dir= $config->get_cfg_value("core","templateCompileDirectory");
$smarty->assign("title", "GOsa - "._("Help browser"));
/* HELP management starts here ...
if($helpdir == ""){
$smarty->assign("help_contents","<br><h2>"._("There is no helpfile specified for this class"))."</h2>";
- $smarty->assign("iePngWorkaround", $config->get_cfg_value("iePngWorkaround","false" ) == "true");
$header= "<!-- headers.tpl-->".$smarty->fetch(get_template_path('headers.tpl'));
$display= ( $header.$smarty->fetch(get_template_path('help.tpl')));
echo $display;