From: hickert Date: Fri, 27 Jan 2006 12:40:18 +0000 (+0000) Subject: restored otherstuff X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ce7e8858232fd55cd959c313bc18c353c1be6922;p=gosa.git restored otherstuff git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2596 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index b33b32fdb..2a3613535 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -146,7 +146,12 @@ class environment extends plugin $tmp2['name'] =$tmp[1]; $tmp2['mountPoint'] =$tmp[2]; if(isset($tmp[3])){ - $tmp2['Username'] =$tmp[3]; + $tmp2['OtherStuff'] =$tmp[3]; + }else{ + $tmp2['OtherStuff'] =""; + } + if(isset($tmp[4])){ + $tmp2['Username'] =$tmp[4]; }else{ $tmp2['Username'] =""; } @@ -510,6 +515,7 @@ class environment extends plugin /* Preparing the new assignment */ $this->gotoShares[$a_share['name']."|".$a_share['server']]=$a_share; $this->gotoShares[$a_share['name']."|".$a_share['server']]['Username']=$s_user; + $this->gotoShares[$a_share['name']."|".$a_share['server']]['OtherStuff']=""; $this->gotoShares[$a_share['name']."|".$a_share['server']]['mountPoint']=$s_mount; } } @@ -949,7 +955,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']."|".$share['Username']; + $this->attrs['gotoShare'][] =$share['server']."|".$share['name']."|".$share['mountPoint']."|".$share['OtherStuff']."|".$share['Username']; } if((!empty($this->gotoKioskProfile))&&($this->gotoKioskProfile != "none")){