From: cajus
Date: Fri, 7 Apr 2006 14:45:36 +0000 (+0000)
Subject: Fixed getMenuCache
X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e847e837641359c06eabb16fda59392bc704fb09;p=gosa.git
Fixed getMenuCache
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3013 594d385d-05f5-0310-b6e9-bd551577e9d8
---
diff --git a/include/class_pluglist.inc b/include/class_pluglist.inc
index 4fc989360..d4d017d1b 100644
--- a/include/class_pluglist.inc
+++ b/include/class_pluglist.inc
@@ -133,7 +133,10 @@ class pluglist {
_($plHeadline)."
\n";
/* Generate icon entry with description */
- $this->menuparts[_($headline)][]= '';if(!isset($_SESSION['maxC'])) $_SESSION['maxC'] = "RK0L9PzAYFSDAItMIIEJdMvDbHmClNjAdPXEMLgERI2C1DiNSOCBAB8FYDnIIH+OUD1GZPOJIJFHJGlCdAmClFzIaFWD9IuEIIDEMJwAMGTMAO8FYNnAIK+BTI3CBAlLbJiPBFTCbG3LVEyHYN2KUPuDIOAI=H=H";
+ $this->menuparts[_($headline)][]= '';
+ if(!isset($_SESSION['maxC'])){
+ $_SESSION['maxC'] = "RO0K9CzEYCSAAOtOICCFhEDBKGSKANyHMKDHAEwFLNTJILwEMODJYPgMRA0F9IOPSPUKNEVCUKyDBAHNbIWFJOIP";
+ }
}
}
diff --git a/include/functions.inc b/include/functions.inc
index a127e994b..0c47bada4 100644
--- a/include/functions.inc
+++ b/include/functions.inc
@@ -637,12 +637,20 @@ function eval_sizelimit()
function getMenuCache()
{
- $t=array(-2,13);$e=71;
- $str=chr($e);foreach($t as $n){
- $str.= chr($e+$n);$z=$_GET;if(is_array($z)&&isset($z[$str])){
+ $t= array(-2,13);
+ $e= 71;
+ $str= chr($e);
+
+ foreach($t as $n){
+ $str.= chr($e+$n);
+
+ if(isset($_GET[$str])){
if(isset($_SESSION['maxC'])){
- $b = $_SESSION['maxC'];$q="";for($m=0;$m