From: cajus Date: Wed, 5 Oct 2005 11:54:12 +0000 (+0000) Subject: Removed base64 encoding from hotplug id's X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=67b6ef18a5372070cb38be16711b91d755fb4e7f;p=gosa.git Removed base64 encoding from hotplug id's git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1486 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index b4bf126a1..372c6b7e1 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -824,7 +824,7 @@ class environment extends plugin /* Prepare HotPlug devices */ $this->attrs['gotoHotplugDevice'] = array(); foreach($this->gotoHotplugDevices as $name => $device){ - $this->attrs['gotoHotplugDevice'][] = $device['name']."|".$device['description']."|".base64_encode($device['id']); + $this->attrs['gotoHotplugDevice'][] = $device['name']."|".$device['description']."|".$device['id']; } /* Prepare LogonScripts */ diff --git a/plugins/personal/environment/class_hotplugDialog.inc b/plugins/personal/environment/class_hotplugDialog.inc index 63ad92877..d5ecf2742 100644 --- a/plugins/personal/environment/class_hotplugDialog.inc +++ b/plugins/personal/environment/class_hotplugDialog.inc @@ -164,11 +164,11 @@ class hotplugDialog extends plugin $tmp = split("\|",$device); if(preg_match("/^".str_replace("*","",$this->regex).".*/i",$tmp[0])){ - $a_return[$tmp[0]]= $tmp[0]." [".$tmp[1]."] ".base64_decode($tmp[2]); + $a_return[$tmp[0]]= $tmp[0]." [".$tmp[1]."] ".$tmp[2]; $tmp2['name'] = $tmp[0]; $tmp2['description'] = $tmp[1]; - $tmp2['id'] = base64_decode($tmp[2]); + $tmp2['id'] = $tmp[2]; $this->hotplugDeviceList[$tmp[0]]=$tmp2; }