summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 81a0407)
raw | patch | inline | side by side (parent: 81a0407)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 Jul 2006 07:02:27 +0000 (07:02 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 Jul 2006 07:02:27 +0000 (07:02 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4113 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/environment/class_environment.inc | patch | blob | history |
diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc
index 59be3400076a91950515821d18d0080fc69d1d98..f2871d89c29d012e5f1f943d8159084461790e9c 100644 (file)
$once = false;
$key = preg_replace("/^gotoShareDel_/","",$name);
$key = preg_replace("/_+[xy]$/","",$key);
- $key = preg_replace("/_/", ".", $key);
-
+ $key = base64_decode($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);
+ $key = base64_decode($key);
$this->gotoShares[$key]['PwdHash'] = "";
}
}
foreach($tmp as $key => $value){
$img = "";
-
+
/* Check if entry starts with an ! */
if(preg_match("/^!/",$this->gotoShares[$key]['server'])){
/* Create pwd reset images */
if($this->gotoShares[$key]['PwdHash'] != ""){
- $img.= "<input type='image' name='gotoShareResetPwd_".$key." 'src='images/list_reset_password.png' alt='"._("Reset password hash")."'
+ $img.= "<input type='image' name='gotoShareResetPwd_".base64_encode($key)." 'src='images/list_reset_password.png' alt='"._("Reset password hash")."'
title='"._("Reset password hash")."'>";
}
$field1 = array("string" => "<font style=\"color:#C0C0C0\">".$value."</font>" );
/* Create pwd reset img && delete image */
if($this->gotoShares[$key]['PwdHash'] != ""){
- $img.= "<input type='image' name='gotoShareResetPwd_".$key." 'src='images/list_reset_password.png' alt='"._("Reset password hash")."'
+ $img.= "<input type='image' name='gotoShareResetPwd_".base64_encode($key)." 'src='images/list_reset_password.png' alt='"._("Reset password hash")."'
title='"._("Reset password hash")."'>";
$img.= " ";
}
- $img.= "<input type='image' name='gotoShareDel_".$key." 'src='images/edittrash.png' alt='"._("Delete")."'
+ $img.= "<input type='image' name='gotoShareDel_".base64_encode($key)." 'src='images/edittrash.png' alt='"._("Delete")."'
title='"._("Delete share entry")."'>";
$field1 = array("string" => $value);
$field2 = array("string" => $img , "attach" => "style='border-right:0px;'");