Code

'Updated ie workaround check
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 19 Dec 2008 13:58:22 +0000 (13:58 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 19 Dec 2008 13:58:22 +0000 (13:58 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13325 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/helpviewer.php
gosa-core/html/index.php
gosa-core/html/main.php

index bb1300725bc630371611d334ba9213aa5d0af998..99710fad4ce7b2a145ec65fcb625160c95976323 100644 (file)
@@ -116,7 +116,7 @@ if(session::global_is_set('current_class_for_help')){
   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));
+    $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;
index d66647ea36dc69bd50cf649ca2c33886786afa69..f247a370e46ff81187efe132c56d2c8d95f6895a 100644 (file)
@@ -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'));
index 10a11b05ca05136962f00da53665877cd35e00bc..3c799e8c0227aa881d30eb23bde74cd87bcf78ee 100644 (file)
@@ -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= "<!-- headers.tpl-->".$smarty->fetch(get_template_path('headers.tpl'));
 
 /* React on clicks */