summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e784dd4)
raw | patch | inline | side by side (parent: e784dd4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 23 Apr 2007 05:58:00 +0000 (05:58 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 23 Apr 2007 05:58:00 +0000 (05:58 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6168 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_acl.inc | patch | blob | history |
diff --git a/include/class_acl.inc b/include/class_acl.inc
index 41082b3106b9f17b2e92c18561030ced671d004b..d9546c3664fd0d1c026a338bb99a9d232d581f95 100644 (file)
--- a/include/class_acl.inc
+++ b/include/class_acl.inc
{
$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>");
}