diff --git a/application/forms/IcingaCommandForm.php b/application/forms/IcingaCommandForm.php index 8f1cc515..058f993c 100644 --- a/application/forms/IcingaCommandForm.php +++ b/application/forms/IcingaCommandForm.php @@ -45,6 +45,7 @@ class IcingaCommandForm extends DirectorObjectForm 'label' => $this->translate('Timeout'), 'description' => $this->translate('Optional command timeout') )); + $this->addDisabledElement(); $this->setButtons(); } diff --git a/application/forms/IcingaHostForm.php b/application/forms/IcingaHostForm.php index 57d942e5..8a1b6868 100644 --- a/application/forms/IcingaHostForm.php +++ b/application/forms/IcingaHostForm.php @@ -56,6 +56,7 @@ class IcingaHostForm extends DirectorObjectForm } $this->addImportsElement(); + $this->addDisabledElement(); /* $this->addElement('text', 'groups', array( @@ -74,6 +75,7 @@ class IcingaHostForm extends DirectorObjectForm 'master_should_connect', 'accept_config', 'imports', + 'disabled', ); $this->addDisplayGroup($elements, 'object_definition', array( 'decorators' => array( diff --git a/application/forms/IcingaServiceForm.php b/application/forms/IcingaServiceForm.php index 02173bea..92ae7292 100644 --- a/application/forms/IcingaServiceForm.php +++ b/application/forms/IcingaServiceForm.php @@ -27,6 +27,7 @@ class IcingaServiceForm extends DirectorObjectForm ); $this->addZoneElement(); $this->addImportsElement(); + $this->addDisabledElement(); $this->addCheckCommandElements(); diff --git a/application/forms/IcingaUserForm.php b/application/forms/IcingaUserForm.php index 6621da8e..38342d58 100644 --- a/application/forms/IcingaUserForm.php +++ b/application/forms/IcingaUserForm.php @@ -55,5 +55,7 @@ class IcingaUserForm extends DirectorObjectForm )); */ $this->addImportsElement(); + $this->addDisabledElement(); + $this->setButtons(); } }