diff --git a/gosa-core/plugins/generic/references/class_aclResolver.inc b/gosa-core/plugins/generic/references/class_aclResolver.inc
index 6fb5ef6325722ea8863ecbb7bc382ba30e36363d..43de674ebae4e10211330703cbbd35f116a4ad8a 100644 (file)
// Autocompleter template
$autocompleter ="
- <input class='filter_textfield' placeholder='"._("Search")."...'
+ <input class='filter_textfield' placeholder='"._("Enter another user name")."...'
id='aclTarget' name='aclTarget' type='text' value=''
onChange=\"\$('aclTargetSubmit').focus();\">
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>");