From: hickert Date: Thu, 22 Dec 2005 11:34:19 +0000 (+0000) Subject: updated something X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4c8d33596a9224670c47a831ca0602a8e753a4ab;p=gosa.git updated something git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2381 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc index 06207e5f3..7748e2951 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -267,7 +267,7 @@ class workstartup extends plugin } if(($sort_type)&&(!$sort)){ - $value = preg_replace("/_.*$/i","",preg_replace("/".$sort_type."/i","",$name)); + $value = base64_decode(preg_replace("/_.*$/i","",preg_replace("/".$sort_type."/i","",$name))); $sort = true; $last = -1; @@ -315,7 +315,7 @@ class workstartup extends plugin if(preg_match("/fai_remove/i",$name)){ - $value = preg_replace("/_.*$/i","",preg_replace("/fai_remove_/i","",$name)); + $value = base64_decode(preg_replace("/_.*$/i","",preg_replace("/fai_remove_/i","",$name))); unset($this->FAIclass[$value]); } } @@ -399,7 +399,7 @@ class workstartup extends plugin $div->AddEntry(array( array("string"=>$class), - array("string"=>preg_replace("/\%s/",$class,$str),"attach"=>"style='width:50px;border-right:none;'") + array("string"=>preg_replace("/\%s/",base64_encode($class),$str),"attach"=>"style='width:50px;border-right:none;'") )); }