summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f11952f)
raw | patch | inline | side by side (parent: f11952f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 May 2010 10:02:29 +0000 (10:02 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 May 2010 10:02:29 +0000 (10:02 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18100 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/helpviewer.php | patch | blob | history |
index bdda44aba22f607dbe76af5c85a3f3b7ccc9c3ad..7b9b07cd11d1d5d8f49b56c3ce7d898f3d53b368 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("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 ...
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");
+ $smarty->assign("iePngWorkaround", $config->get_cfg_value("core","iePngWorkaround","false" ) == "true");
$header= "<!-- headers.tpl-->".$smarty->fetch(get_template_path('headers.tpl'));
$display= ( $header.$smarty->fetch(get_template_path('help.tpl')));
echo $display;