Code

Made proxy account compatible with acls
[gosa.git] / plugins / personal / nagios / class_nagiosAccount.inc
index e2ea3aa0e4c20e292d3444735da1c5e0115c1806..3809cb58a33b5c18751fe490a7facab21e47b587 100644 (file)
@@ -98,10 +98,10 @@ class nagiosAccount extends plugin
     /* Show tab dialog headers */
     if ($this->parent != NULL){
       if ($this->is_account){
-        $display= $this->show_header(_("Remove nagios account"),
+        $display= $this->show_disable_header(_("Remove nagios account"),
             _("This account has nagios features enabled. You can disable them by clicking below."));
       } else {
-        $display= $this->show_header(_("Create nagios account"), _("This account has nagios features disabled. You can enable them by clicking below."));
+        $display= $this->show_enable_header(_("Create nagios account"), _("This account has nagios features disabled. You can enable them by clicking below."));
         return($display);
       }
     }