From 8c178930938eb7ad2acaf0efe19ffe182edd27f9 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 10 Nov 2005 08:25:16 +0000 Subject: [PATCH] Added extra data field to gotoShares git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1903 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/environment/class_environment.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index d5df39c6d..1418d54d7 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -143,6 +143,11 @@ class environment extends plugin $tmp2['server'] =$tmp[0]; $tmp2['name'] =$tmp[1]; $tmp2['mountPoint'] =$tmp[2]; + if(isset($tmp[3])){ + $tmp2['OtherStuff'] =$tmp[3]; + }else{ + $tmp2['OtherStuff'] =""; + } $this->gotoShares[$tmp[1]."|".$tmp[0]]=$tmp2; } } @@ -483,6 +488,7 @@ class environment extends plugin $s_mount = $_POST['gotoShareMountPoint']; /* Preparing the new assignment */ $this->gotoShares[$a_share['name']]=$a_share; + $this->gotoShares[$a_share['name']]['OtherStuff']=""; $this->gotoShares[$a_share['name']]['mountPoint']=$s_mount; } } @@ -920,7 +926,7 @@ class environment extends plugin /* Prepare Shares */ $this->attrs['gotoShare']=array(); foreach($this->gotoShares as $name => $share){ - $this->attrs['gotoShare'][] =$share['server']."|".$share['name']."|".$share['mountPoint']; + $this->attrs['gotoShare'][] =$share['server']."|".$share['name']."|".$share['mountPoint']."|".$share['OtherStuff']; } if(!empty($this->gotoKioskProfile)){ -- 2.30.2