X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fhtml%2Fhelpviewer.php;h=1bcfa141c3027f24266bfbb8e284675832445e09;hb=90747e5966f031a8ab2ac19256c26cc037c838c2;hp=bdda44aba22f607dbe76af5c85a3f3b7ccc9c3ad;hpb=83f17147d21279c2ed892828c38ed53473d50618;p=gosa.git diff --git a/gosa-core/html/helpviewer.php b/gosa-core/html/helpviewer.php index bdda44aba..1bcfa141c 100644 --- a/gosa-core/html/helpviewer.php +++ b/gosa-core/html/helpviewer.php @@ -42,7 +42,7 @@ $ui= session::global_get('ui'); $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(); } @@ -60,7 +60,7 @@ bindtextdomain($domain, LOCALE_DIR); textdomain($domain); @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, $lang, "Setting language to"); -$smarty->compile_dir= $config->get_cfg_value("templateCompileDirectory", "/var/spool/gosa/"); +$smarty->compile_dir= $config->get_cfg_value("core","templateCompileDirectory"); $smarty->assign("title", "GOsa - "._("Help browser")); /* HELP management starts here ... @@ -115,8 +115,7 @@ if(session::global_is_set('current_class_for_help')){ /* If there is no entry in the xml file for this class, display an error message */ if($helpdir == ""){ - $smarty->assign("help_contents","

"._("There is no helpfile specified for this class"))."

"; - $smarty->assign("iePngWorkaround", $config->get_cfg_value("iePngWorkaround","false" ) == "true"); + $smarty->assign("help_contents","

"._("There is no help file specified for this class"))."

"; $header= "".$smarty->fetch(get_template_path('headers.tpl')); $display= ( $header.$smarty->fetch(get_template_path('help.tpl'))); echo $display; @@ -266,7 +265,7 @@ if(isset($_POST['search'])){ }else{ /* There was a file requested which actually doesn't exists */ - $smarty->assign("help_contents","

".sprintf(_("Helpdir '%s' is not accessible, can't read any helpfiles."),$helpdir))."


"; + $smarty->assign("help_contents","

".sprintf(_("Help directory '%s' is not accessible, can't read any help files."),$helpdir))."


"; $header= "".$smarty->fetch(get_template_path('headers.tpl')); $display= ( $header.$smarty->fetch(get_template_path('help.tpl'))); echo $display;