From 2b73f5614132da460ce7471df8d540f614ff5441 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 19 Dec 2008 13:58:22 +0000 Subject: [PATCH] 'Updated ie workaround check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13325 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/helpviewer.php | 2 +- gosa-core/html/index.php | 2 +- gosa-core/html/main.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-core/html/helpviewer.php b/gosa-core/html/helpviewer.php index bb1300725..99710fad4 100644 --- a/gosa-core/html/helpviewer.php +++ b/gosa-core/html/helpviewer.php @@ -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)); + $smarty->assign("iePngWorkaround", $config->get_cfg_value("iePngWorkaround","false" ) == "true"); $header= "".$smarty->fetch(get_template_path('headers.tpl')); $display= ( $header.$smarty->fetch(get_template_path('help.tpl'))); echo $display; diff --git a/gosa-core/html/index.php b/gosa-core/html/index.php index d66647ea3..f247a370e 100644 --- a/gosa-core/html/index.php +++ b/gosa-core/html/index.php @@ -90,7 +90,7 @@ function displayLogin() $smarty->assign("php_errors", ""); } $smarty->assign("msg_dialogs", msg_dialog::get_dialogs()); - $smarty->assign("iePngWorkaround", $config->get_cfg_value("iePngWorkaround", FALSE)); + $smarty->assign("iePngWorkaround", $config->get_cfg_value("iePngWorkaround","false" ) == "true"); $smarty->display (get_template_path('headers.tpl')); $smarty->assign("version",get_gosa_version()); $smarty->display(get_template_path('login.tpl')); diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index 10a11b05c..3c799e8c0 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -303,7 +303,7 @@ $plist->gen_menu(); $smarty->assign ("menu", $plist->menu); $smarty->assign ("plug", "$plug"); -$smarty->assign("iePngWorkaround", $config->get_cfg_value("iePngWorkaround", FALSE)); +$smarty->assign("iePngWorkaround", $config->get_cfg_value("iePngWorkaround","false" ) == "true"); $header= "".$smarty->fetch(get_template_path('headers.tpl')); /* React on clicks */ -- 2.30.2