From: hickert Date: Thu, 1 Jun 2006 08:19:15 +0000 (+0000) Subject: Some optical modifications for group shares X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9af3c4491f90142e52777587aaec994b01b31c70;p=gosa.git Some optical modifications for group shares git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3601 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index 4c87bf17c..3ade4912e 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -1146,7 +1146,11 @@ $ldap->modify ($attrs); $a_return = array(); if(is_array($this->gotoShares)){ foreach($this->gotoShares as $share){ - $a_return[$share['name']."|".$share['server']]= preg_replace("/^!/","",$share['server'])."://".$share['name']." on ".$share['mountPoint']." as ".$share['Username']; + if(preg_match("/^!/",$share['server'])){ + $a_return[$share['name']."|".$share['server']]= preg_replace("/^!/","",$share['server'])."://".$share['name']." - "._("group share"); + }else{ + $a_return[$share['name']."|".$share['server']]= $share['server']."://".$share['name']." on ".$share['mountPoint']." as ".$share['Username']; + } } } return($a_return);