Code

updated templates
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 19 Mar 2010 13:40:25 +0000 (13:40 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 19 Mar 2010 13:40:25 +0000 (13:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16953 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc

index 4488888e8fe0efcd39347856bec5e3b3c1faac46..9d2fd89c521283708e559b3dd1faeaa303107751 100644 (file)
@@ -341,7 +341,7 @@ class workstartup extends plugin
           }
 
           if(($sort_type)&&(!$sort)){
-            $value = base64_decode(preg_replace("/_.*$/i","",preg_replace("/".$sort_type."/i","",$name)));
+            $value = postDecode(preg_replace("/_.*$/i","",preg_replace("/".$sort_type."/i","",$name)));
             $sort = true;
 
             $last = -1;
@@ -388,7 +388,7 @@ class workstartup extends plugin
           }
 
           if(preg_match("/fai_remove/i",$name)){
-            $value = base64_decode(preg_replace("/fai_remove_/i","",$name));
+            $value = postDecode(preg_replace("/fai_remove_/i","",$name));
             unset($this->FAIclass[$value]);
           }
         }
@@ -679,7 +679,7 @@ class workstartup extends plugin
           $div->AddEntry(array(
                 array("string"=>$class.$marker),
                 array("string"=>$desc),
-                array("string"=>preg_replace("/\%s/",base64_encode($class),$str),"attach"=>"style='width:60px;border-right:none;'")
+                array("string"=>preg_replace("/\%s/",postEncode($class),$str),"attach"=>"style='width:60px;border-right:none;'")
                 ));
         }  
       }// END FAI output generation