X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fsystems%2Fclass_componentGeneric.inc;h=b0bb33486321b8056f09c42da943d62a71fe368c;hb=5968d8b031057ae89dbb12ac0b734b5e4c7f82ad;hp=ff0aa7d81d8ea2ddaf0f84dec9b2d6ac07354d21;hpb=d1a1f67066cf07616d37a1b3cd983082d0028f2f;p=gosa.git diff --git a/plugins/admin/systems/class_componentGeneric.inc b/plugins/admin/systems/class_componentGeneric.inc index ff0aa7d81..b0bb33486 100644 --- a/plugins/admin/systems/class_componentGeneric.inc +++ b/plugins/admin/systems/class_componentGeneric.inc @@ -22,9 +22,9 @@ class componentGeneric extends plugin var $objectclasses= array("top", "device", "ipHost", "ieee802Device"); var $netConfigDNS; - function componentgeneric ($config, $dn= NULL) + function componentgeneric ($config, $dn= NULL, $parent= NULL) { - plugin::plugin ($config, $dn); + plugin::plugin ($config, $dn, $parent); /* Set base */ if ($this->dn == "new"){ @@ -86,8 +86,10 @@ class componentGeneric extends plugin $smarty->assign("$attr", $this->$attr); } $smarty->assign("base_select", $this->base); + $smarty->assign("baseACL", chkacl($this->acl,"base")); /* Show main page */ + $this->netConfigDNS->cn= $this->cn; $smarty->assign("netconfig", $this->netConfigDNS->execute()); return($smarty->fetch (get_template_path('component.tpl', TRUE))); }