Code

Updated reference tab
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 21 Apr 2010 15:20:36 +0000 (15:20 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 21 Apr 2010 15:20:36 +0000 (15:20 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17783 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/generic/references/class_aclResolver.inc

index 9e178f422b545abf4e46ada4e55a6f6a11b50be0..68d5ba351e236a6af8efcaf97114ae6f97671f20 100644 (file)
@@ -96,14 +96,29 @@ class aclResolver
                 $str.="<td style='width:20px;'>".$image."</td>";
                 $str.="<td><b>".$dn."</b></td>";
                 $str.="<td rowspan=3>".$this->aclTypes[$acl['type']]."</td>";
-                $str.="</tr><tr>";
+                $str.="</tr>";
+
+                $str.="<tr>";
+                $str.="<td></td><td><b>"._("Group members")."</b><ul>";
+                foreach($acl['members'] as $type => $name){
+                    if(preg_match("/^G/", $type))
+                    $str .= "<li>".$name."</li>";
+                }
+                $str .= "</ul>"; 
+                $str .= "</td>"; 
+                $str .= "</tr>";
+
+                $str.="<tr>";
                 $str.="<td></td><td><b>"._("Members")."</b><ul>";
                 foreach($acl['members'] as $type => $name){
+                    if(!preg_match("/^G/", $type))
                     $str .= "<li>".$name."</li>";
                 }
                 $str .= "</ul>"; 
                 $str .= "</td>"; 
-                $str .= "</tr><tr><td></td>";
+                $str .= "</tr>";
+
+                $str .= "<tr><td></td>";
 
                 if($acl['type']!='reset'){
                     $str.="<td><b>"._("Acls")."</b><ul>";