X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fsystems%2Fclass_phoneGeneric.inc;h=76718175b7e3a42f7933ce8ac1d0bf54b27b05e3;hb=afecd435ef601ea27a281cc6667f94d7273b40e2;hp=9e602ba28c8f28e32715e8e3fb4dcea599401307;hpb=d1a1f67066cf07616d37a1b3cd983082d0028f2f;p=gosa.git diff --git a/plugins/admin/systems/class_phoneGeneric.inc b/plugins/admin/systems/class_phoneGeneric.inc index 9e602ba28..76718175b 100644 --- a/plugins/admin/systems/class_phoneGeneric.inc +++ b/plugins/admin/systems/class_phoneGeneric.inc @@ -53,9 +53,9 @@ class phoneGeneric extends plugin var $objectclasses= array("top", "goFonHardware"); - function phonegeneric ($config, $dn= NULL) + function phonegeneric ($config, $dn= NULL, $parent= NULL) { - plugin::plugin ($config, $dn); + plugin::plugin ($config, $dn, $parent); $this->netConfigDNS = new termDNS($this->config,$this->dn,$this->objectclasses, true); /* Set base */ @@ -220,6 +220,7 @@ class phoneGeneric extends plugin $smarty->assign($attr."ACL", chkacl($this->acl, $attr)); } $smarty->assign("base_select", $this->base); + $smarty->assign("baseACL", chkacl($this->acl,"base")); $smarty->assign("goFonDefaultIPs",array("dynamic"=>_("dynamic"),"network"=>_("Networksettings")));