From aa63ce042124447b94be4c9b0271e0a97bd2fd41 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 5 May 2010 10:02:29 +0000 Subject: [PATCH] Added property class to get_cfg_requests git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18100 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/helpviewer.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-core/html/helpviewer.php b/gosa-core/html/helpviewer.php index bdda44aba..7b9b07cd1 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", "/var/spool/gosa/"); $smarty->assign("title", "GOsa - "._("Help browser")); /* HELP management starts here ... @@ -116,7 +116,7 @@ if(session::global_is_set('current_class_for_help')){ 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("iePngWorkaround", $config->get_cfg_value("core","iePngWorkaround","false" ) == "true"); $header= "".$smarty->fetch(get_template_path('headers.tpl')); $display= ( $header.$smarty->fetch(get_template_path('help.tpl'))); echo $display; -- 2.30.2