IcingaCommandForm: plugin/internal distinction

This commit is contained in:
Thomas Gelf 2016-03-22 21:22:09 +01:00
parent 1fb6027109
commit 2f723ccde7

View File

@ -17,14 +17,19 @@ class IcingaCommandForm extends DirectorObjectForm
'label' => $this->translate('Command type'),
'multiOptions' => array(
null => '- please choose -',
$this->translate('Plugin commands') => array(
'PluginCheck' => 'Plugin Check Command',
'PluginNotification' => 'Notification Plugin Command',
'PluginEvent' => 'Event Plugin Command',
),
$this->translate('Internal commands') => array(
'IcingaCheck' => 'Icinga Check Command',
'ClusterCheck' => 'Icinga Cluster Command',
'RandomCheck' => 'Random Check Command',
'ClusterCheck' => 'Icinga Cluster Check Command',
'ClusterZoneCheck' => 'Icinga Cluster Zone Check Command',
'IdoCheck' => 'Ido Check Command',
'RandomCheck' => 'Random Check Command',
'CrlCheck' => 'Crl Check Command',
)
),
'required' => ! $this->isTemplate(),
'description' => $this->translate(