summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8fac77e)
raw | patch | inline | side by side (parent: 8fac77e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 19 Dec 2008 13:45:28 +0000 (13:45 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 19 Dec 2008 13:45:28 +0000 (13:45 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13324 594d385d-05f5-0310-b6e9-bd551577e9d8
index f9b72d1bfefb7fee38ac67ad415e5cd21bafa23c..bb1300725bc630371611d334ba9213aa5d0af998 100644 (file)
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));
$header= "<!-- headers.tpl-->".$smarty->fetch(get_template_path('headers.tpl'));
$display= ( $header.$smarty->fetch(get_template_path('help.tpl')));
echo $display;
index 137235b68078fa09ba91fff2a92d20561e42047e..d66647ea36dc69bd50cf649ca2c33886786afa69 100644 (file)
--- a/gosa-core/html/index.php
+++ b/gosa-core/html/index.php
$smarty->assign("php_errors", "");
}
$smarty->assign("msg_dialogs", msg_dialog::get_dialogs());
+ $smarty->assign("iePngWorkaround", $config->get_cfg_value("iePngWorkaround", FALSE));
$smarty->display (get_template_path('headers.tpl'));
$smarty->assign("version",get_gosa_version());
$smarty->display(get_template_path('login.tpl'));
index fd4bb903d6837425950dfe4e871a23452720dcc4..d5ef67d4af9902a5d05488eed40293c94df3ec84 100644 (file)
if (isset($config) && $config->get_cfg_value("htaccessAuthentication") == "true"){
/* Else notice that the user has to close the browser... */
+ $smarty->assign("iePngWorkaround", FALSE);
$smarty->display (get_template_path('headers.tpl'));
$smarty->display (get_template_path('logout-close.tpl'));
exit;
index ed2b4ffa333a8d4f00d7ec40262f22ccde52324b..10a11b05ca05136962f00da53665877cd35e00bc 100644 (file)
--- a/gosa-core/html/main.php
+++ b/gosa-core/html/main.php
$smarty->assign ("menu", $plist->menu);
$smarty->assign ("plug", "$plug");
+$smarty->assign("iePngWorkaround", $config->get_cfg_value("iePngWorkaround", FALSE));
$header= "<!-- headers.tpl-->".$smarty->fetch(get_template_path('headers.tpl'));
/* React on clicks */
diff --git a/gosa-core/ihtml/themes/default/headers.tpl b/gosa-core/ihtml/themes/default/headers.tpl
index b52a00abf1661071236d0911522f5ef553699e1c..d21dea2a8408d09a4aee14ef95820ee4ab2026e9 100644 (file)
<link rel="shortcut icon" href="favicon.ico">
<script language="javascript" src="include/events.js" type="text/javascript"></script>
+{if $iePngWorkaround}
<script language="javascript" src="include/png.js" type="text/javascript"></script>
+{/if}
<script language="javascript" src="include/calendar.js" type="text/javascript"></script>
<script language="javascript" src="include/focus.js" type="text/javascript"></script>
<script language="javascript" src="include/warning.js" type="text/javascript"></script>