summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4ff15b5)
raw | patch | inline | side by side (parent: 4ff15b5)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 23 Apr 2010 11:09:33 +0000 (11:09 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 23 Apr 2010 11:09:33 +0000 (11:09 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17814 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/themes/default/style.css | patch | blob | history | |
gosa-core/plugins/generic/references/class_aclResolver.inc | patch | blob | history |
index 04a4f2dfbaa1f31320a334e57cee6e6549dc2158..c278459b211d8058df32b403c67e9f1593e69d6b 100644 (file)
padding:0;
}
+ul.acl-list, ul.acl-list li {
+ list-style:none;
+ display:inline;
+ margin:0;
+ padding:0;
+}
+
+ul.acl-viewer-items li ul.acl-category-list {
+ list-style:none;
+ margin:0;
+ padding-left:20px;
+}
+
+ul.acl-category-list {
+ padding-bottom:10px;
+}
+
+ul.acl-list li {
+ color:#777;
+}
+
+ul.acl-list li:after {
+ content: ", ";
+}
+
+ul.acl-list li:last-child:after {
+ content: "";
+}
+
+
+/* Reference tab */
+
table.reference-tab {
width:100%;
}
diff --git a/gosa-core/plugins/generic/references/class_aclResolver.inc b/gosa-core/plugins/generic/references/class_aclResolver.inc
index 6fb5ef6325722ea8863ecbb7bc382ba30e36363d..7d9230f522e1da0e6087dd4bd380a3d77487d254 100644 (file)
function aclToString($acls)
{
- $str ="<ul>";
+ $str ="<ul class='acl-category-list'>";
foreach($acls as $name => $acl){
if($name == "0") $name = _("All");
- $str .= "<li>".$name;
- $str .= "<ul>";
+ $str .= "<li><i>".$name.":</i> ";
+ $str .= "<ul class='acl-list'>";
if(preg_match("/s/", $acl)){
$str.="<li><u>"._("Grant permission to owner").'</u></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>';
+ 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>");