diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc
index 4c87bf17c85be07f5cd7604ab7e3e8ddf67eb9d6..4132771b48a963cde6528fd5e8cafa49b5df3eaf 100644 (file)
$once = false;
$key = preg_replace("/^gotoShareDel_/","",$name);
$key = preg_replace("/_+[xy]$/","",$key);
+ $key = preg_replace("/_/", ".", $key);
if(isset($this->gotoShares[$key])) {
unset($this->gotoShares[$key]);
}
$once = false;
$key = preg_replace("/^gotoShareResetPwd_/","",$name);
$key = preg_replace("/_+[xy]$/","",$key);
+ $key = preg_replace("/_/", ".", $key);
$this->gotoShares[$key]['PwdHash'] = "";
}
}
$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);