summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d42cfb5)
raw | patch | inline | side by side (parent: d42cfb5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 23 Apr 2007 05:58:20 +0000 (05:58 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 23 Apr 2007 05:58:20 +0000 (05:58 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6169 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/acl/class_aclRole.inc | patch | blob | history |
index 76878da0c51e5aa90625c236ef813b9bc49ee5d8..9e21246ca322215dd0faffe7707c52c5b8f5e361 100644 (file)
}
/* Save new acl in case of base edit mode */
- if ($this->aclType == 'base' && !$firstedit){
+ if (1 == 0 && $this->aclType == 'base' && !$firstedit){
$this->aclContents= $new_acl;
}
{
$state= $state?"checked":"";
return "\n <input id='acl_".preg_replace("/[^a-z0-9]/i","_",$name)."' type=checkbox name='acl_$name' $state>".
- "\n <label for='acl_$name'>$text</label>";
+ "\n <label for='acl_".preg_replace("/[^a-z0-9]/i","_",$name)."'>$text</label>";
}
$rstate= preg_match('/r/', $state)?'checked':'';
$wstate= preg_match('/w/', $state)?'checked':'';
return ("\n <input id='acl_".preg_replace("/[^a-z0-9]/i","_",$name)."_r' type=checkbox name='acl_${name}_r' $rstate>".
- "\n <label for='acl_${name}_r'>"._("read")."</label>".
+ "\n <label for='acl_".preg_replace("/[^a-z0-9]/i","_",$name)."_r'>"._("read")."</label>".
"\n <input id='acl_".preg_replace("/[^a-z0-9]/i","_",$name)."_w' type=checkbox name='acl_${name}_w' $wstate>".
- "\n <label for='acl_${name}_w'>"._("write")."</label>");
+ "\n <label for='acl_".preg_replace("/[^a-z0-9]/i","_",$name)."_w'>"._("write")."</label>");
}