X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fsystems%2Fclass_inventory.inc;h=c0ec0e685226b1e74e493e3d2f6467b168996cc8;hb=3b025e5d5db6344c74ff93b07a4ffb351ce4dc1b;hp=be90e46e18e9c544f3b8b3281298630c3ec8bc71;hpb=8b044fd2a35bbccc904ca7dbeb37d3cc86de4d94;p=gosa.git diff --git a/plugins/admin/systems/class_inventory.inc b/plugins/admin/systems/class_inventory.inc index be90e46e1..c0ec0e685 100644 --- a/plugins/admin/systems/class_inventory.inc +++ b/plugins/admin/systems/class_inventory.inc @@ -12,9 +12,9 @@ class inventory extends plugin var $attributes= array(); var $objectclasses= array("whatever"); - function inventory ($config, $dn= NULL) + function inventory ($config, $dn= NULL, $parent= NULL) { - plugin::plugin ($config, $dn); + plugin::plugin ($config, $dn, $parent); } function execute() @@ -33,10 +33,10 @@ class inventory extends plugin /* Show tab dialog headers */ if ($this->is_account){ - $display= $this->show_header(_("Remove DNS service"), + $display= $this->show_disable_header(_("Remove DNS service"), _("This server has DNS features enabled. You can disable them by clicking below.")); } else { - $display= $this->show_header(_("Add DNS service"), + $display= $this->show_enable_header(_("Add DNS service"), _("This server has DNS features disabled. You can enable them by clicking below.")); return ($display); }