mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
parent
d7a53ac19f
commit
acbce05c08
@ -9,18 +9,19 @@ class SyncRuleForm extends DirectorObjectForm
|
|||||||
public function setup()
|
public function setup()
|
||||||
{
|
{
|
||||||
$availableTypes = array(
|
$availableTypes = array(
|
||||||
'command' => $this->translate('Command'),
|
|
||||||
'endpoint' => $this->translate('Endpoint'),
|
|
||||||
'host' => $this->translate('Host'),
|
'host' => $this->translate('Host'),
|
||||||
|
'hostgroup' => $this->translate('Host group'),
|
||||||
'service' => $this->translate('Service'),
|
'service' => $this->translate('Service'),
|
||||||
|
'servicegroup' => $this->translate('Service group'),
|
||||||
|
'serviceSet' => $this->translate('Service Set'),
|
||||||
'user' => $this->translate('User'),
|
'user' => $this->translate('User'),
|
||||||
'hostgroup' => $this->translate('Hostgroup'),
|
'usergroup' => $this->translate('User group'),
|
||||||
'servicegroup' => $this->translate('Servicegroup'),
|
|
||||||
'usergroup' => $this->translate('Usergroup'),
|
|
||||||
'datalistEntry' => $this->translate('Datalist entry'),
|
'datalistEntry' => $this->translate('Datalist entry'),
|
||||||
|
'command' => $this->translate('Command'),
|
||||||
|
'timePeriod' => $this->translate('Time period'),
|
||||||
|
'endpoint' => $this->translate('Endpoint'),
|
||||||
'zone' => $this->translate('Zone'),
|
'zone' => $this->translate('Zone'),
|
||||||
);
|
);
|
||||||
asort($availableTypes);
|
|
||||||
|
|
||||||
$this->addElement('text', 'rule_name', array(
|
$this->addElement('text', 'rule_name', array(
|
||||||
'label' => $this->translate('Rule name'),
|
'label' => $this->translate('Rule name'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user