Code

Updated post handling
[gosa.git] / gosa-core / plugins / generic / references / class_aclResolver.inc
index ab8fe53bae4992c911a2753f8b005d3bd463bd85..51d05a510ddd1482c628245949a72e090263725d 100644 (file)
@@ -33,7 +33,6 @@ class aclResolver
             $tmp= session::global_get('plist');
             $plist= $tmp->info;
             $map = array();
-            $map['all']= _("All categories");
             foreach($plist as $class => $plInfo){
                 if(isset($plInfo['plCategory']) && is_array($plInfo['plCategory'])){
                     foreach($plInfo['plCategory'] as $category => $desc){
@@ -146,7 +145,7 @@ class aclResolver
             // Base template - each entry start with this 
             $tpl = 
                 "\n <tr class='acl-viewer-head %s'>".
-                "\n  <td>%s</td>".
+                "\n  <td style='width:20px'>%s</td>".
                 "\n  <td colspan=2><b>%s</b><div class='right'>%s</div></td>".
                 "\n </tr>".
                 "\n %s";
@@ -271,7 +270,6 @@ class aclResolver
                     if(!$found || !$match){
                         $class = "acl-viewer-blocked";
                     }                    
-                    $str .= "<tr><td>".$class."</td></tr>";
                     if(!empty($filter)) $filter =sprintf($filter_tpl,$class,$filter);
                     if(!empty($defs)) $defs = sprintf($acl_tpl,$class,$defs);
                     if(count($users))  $umem = sprintf($umem_tpl,$class,"<li>".implode($users,'</li><li>')."</li>");
@@ -294,7 +292,7 @@ class aclResolver
             $str .= "<li><i>".$name.":</i> ";
             $str .= "<ul class='acl-list'>";
             if(preg_match("/s/", $acl)){
-                $str.="<li><u>"._("Grant permission to owner").'</u></li>'; 
+                $str.="<li><u>"._("Restrict changes to user's own object").'</u></li>'; 
             }
             if(preg_match("/r/", $acl)) $str.="<li>"._("read").'</li>'; 
             if(preg_match("/w/", $acl)) $str.="<li>"._("write").'</li>';