summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1a11621)
raw | patch | inline | side by side (parent: 1a11621)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 22 Apr 2010 12:17:08 +0000 (12:17 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 22 Apr 2010 12:17:08 +0000 (12:17 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17790 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/generic/references/class_aclResolver.inc | patch | blob | history |
diff --git a/gosa-core/plugins/generic/references/class_aclResolver.inc b/gosa-core/plugins/generic/references/class_aclResolver.inc
index a77f75be54934b9b09caae7b059fc17fd9100bd2..1ba56b5b3b14158ba18eb95e05fe532bd7297d01 100644 (file)
{
$str ="<ul>";
foreach($acls as $name => $acl){
-
if($name == "0") $name = _("All");
-
- $str .= "<li>".$name.": <i>";
-
- if(preg_match("/r/", $acl)) $str.= _("read").', ';
- if(preg_match("/w/", $acl)) $str.= _("write").', ';
- if(preg_match("/c/", $acl)) $str.= _("Create").', ';
- if(preg_match("/d/", $acl)) $str.= _("Remove").', ';
- if(preg_match("/m/", $acl)) $str.= _("Move").', ';
- if(preg_match("/s/", $acl)) $str.= _("Owner").', ';
- $str = trim($str,', ');
- $str.= "</i></li>";
+ $str .= "<li>".$name;
+ $str .= "<ul>";
+ if(preg_match("/s/", $acl)){
+ $str.="<li>"._("Grant permission to owner").'</li>';
+ }
+ if(preg_match("/r/", $acl)) $str.="<li>"._("read").'</li>';
+ if(preg_match("/w/", $acl)) $str.="<li>"._("write").'</li>';
+ if(preg_match("/c/", $acl)) $str.="<li>"._("Create").'</li>';
+ if(preg_match("/d/", $acl)) $str.="<li>"._("Remove").'</li>';
+ if(preg_match("/m/", $acl)) $str.="<li>"._("Move").'</li>';
+ $str.= "</ul>";
}
return($str."</ul>");
}