Code

Fixed undefined index ForceMode
[gosa.git] / plugins / admin / groups / class_groupAcl.inc
index 8020ea24f4915d79916945246327f226791b26a2..279d937530b6578ff39cf3e45458288365eb8e50 100644 (file)
@@ -32,7 +32,8 @@ class acl extends plugin
        /* WorkAround */
        include "acl_definition.inc";
        $this->objects= $ACLD;
-       $this->object= reset(array_keys($this->objects));
+       $tmp= array_keys($this->objects);
+       $this->object= reset($tmp);
 
        $this->selfflag= FALSE;
        if (isset($this->attrs['gosaSubtreeACL'][0])){
@@ -48,9 +49,12 @@ class acl extends plugin
 
   function execute()
   {
+       /* Call parent execute */
+       plugin::execute();
+
        /* Do we represent a valid group? */
        if (!$this->is_account && $this->parent == NULL){
-               $display= "<img src=\"images/stop.png\" align=\"middle\">&nbsp;<b>".
+               $display= "<img alt=\"\" src=\"images/stop.png\" align=\"middle\">&nbsp;<b>".
                _("This 'dn' is no acl container.")."</b>";
                return ($display);
        }
@@ -202,7 +206,7 @@ class acl extends plugin
        asort ($name);
 
        # Generate checklist
-       $display.= "<table style=\"width:100%;\">\n";
+       $display.= "<table summary=\"\" style=\"width:100%;\">\n";
        $switch= 0;
        foreach ($name as $key => $val){
                if ($switch == 0){