From: cajus Date: Mon, 28 Sep 2009 12:12:01 +0000 (+0000) Subject: Give plugins a chance to include prototype on demand X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=eb3f7c7d880adf70b9d94b05b7b985e587233e79;p=gosa.git Give plugins a chance to include prototype on demand git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14370 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index 66e16eb94..62df3fa3a 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -305,7 +305,6 @@ $smarty->assign ("plug", "$plug"); $smarty->assign("iePngWorkaround", $config->get_cfg_value("iePngWorkaround","false" ) == "true"); $smarty->assign("usePrototype", "false"); -$header= "".$smarty->fetch(get_template_path('headers.tpl')); /* React on clicks */ if ($_SERVER["REQUEST_METHOD"] == "POST"){ @@ -408,7 +407,8 @@ if (isset($_POST['_channel_'])){ $smarty->assign("channel", ""); } -$display= $header.$smarty->fetch(get_template_path('framework.tpl')); +$display= "".$smarty->fetch(get_template_path('headers.tpl')). + $smarty->fetch(get_template_path('framework.tpl')); /* Save dialog filters and selected base in a cookie. So we may be able to restore the filter an base settings on reload.