X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fhtml%2Fmain.php;h=e002b9339366c0fd87b78639a721e8d7419c41d2;hb=88dabea136b599a537f8bcfa4b90ab479b23d6b9;hp=10a11b05ca05136962f00da53665877cd35e00bc;hpb=176bea18084ece1d0886627e4d0a64d9e4c5ec89;p=gosa.git diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index 10a11b05c..e002b9339 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 */ @@ -311,12 +311,21 @@ if ($_SERVER["REQUEST_METHOD"] == "POST"){ if (isset($_POST['delete_lock']) || isset($_POST['open_readonly'])){ /* Set old Post data */ - if(session::global_is_set('LOCK_VARS_USED')){ - foreach(session::global_get('LOCK_VARS_USED') as $name => $value){ + if(session::global_is_set('LOCK_VARS_USED_GET')){ + foreach(session::global_get('LOCK_VARS_USED_GET') as $name => $value){ $_GET[$name] = $value; + } + } + if(session::global_is_set('LOCK_VARS_USED_POST')){ + foreach(session::global_get('LOCK_VARS_USED_POST') as $name => $value){ $_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; + } + } } }