IcingaCommandForm: a command field could make sense

This commit is contained in:
Thomas Gelf 2015-08-28 23:37:06 +02:00
parent 8b11c07c65
commit b80a7c3589
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,11 @@ class IcingaCommandForm extends DirectorObjectForm
'description' => $this->translate('Identifier for the Icinga command you are going to create')
));
$this->addElement('text', 'command', array(
'label' => $this->translate('Command'),
'required' => true,
));
$this->addElement('text', 'timeout', array(
'label' => $this->translate('Timeout'),
'description' => $this->translate('Optional command timeout')