index b7a8271d8cb7cb62241caa966595bd66ab4108ed..c088754c0c7bf3ada17570e5a0ee3913fd8f454a 100644 (file)
--- a/gosa-core/html/main.php
+++ b/gosa-core/html/main.php
/* show web frontend */
$smarty->assign ("date", date("l, dS F Y H:i:s O"));
+$smarty->assign ("lang", preg_replace('/_.*$/', '', $lang));
$smarty->assign ("must", "<font class=\"must\">*</font>");
if (isset($plug)){
$plug= "?plug=$plug";
$smarty->assign ("plug", "$plug");
$smarty->assign("iePngWorkaround", $config->get_cfg_value("iePngWorkaround","false" ) == "true");
-$header= "<!-- headers.tpl-->".$smarty->fetch(get_template_path('headers.tpl'));
+$smarty->assign("usePrototype", "false");
/* React on clicks */
if ($_SERVER["REQUEST_METHOD"] == "POST"){
$_POST[$name] = $value;
}
}
+ if(session::global_is_set('LOCK_VARS_USED_REQUEST')){
+ foreach(session::global_get('LOCK_VARS_USED_REQUEST') as $name => $value){
+ $_REQUEST[$name] = $value;
+ }
+ }
}
}
$smarty->assign("channel", "");
}
-$display= $header.$smarty->fetch(get_template_path('framework.tpl'));
+$display= "<!-- headers.tpl-->".$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.