Kickstart, IcingaCommandArgumentForm: code style
This commit is contained in:
parent
a752100da4
commit
9230fd4f15
|
@ -44,7 +44,8 @@ class IcingaCommandArgumentForm extends DirectorObjectForm
|
||||||
'label' => $this->translate('Value'),
|
'label' => $this->translate('Value'),
|
||||||
'description' => $this->translate(
|
'description' => $this->translate(
|
||||||
'And Icinga DSL expression, e.g.: var cmd = macro("$cmd$");'
|
'And Icinga DSL expression, e.g.: var cmd = macro("$cmd$");'
|
||||||
. ' return typeof(command) == String ...'),
|
. ' return typeof(command) == String ...'
|
||||||
|
),
|
||||||
'rows' => 3
|
'rows' => 3
|
||||||
));
|
));
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -77,11 +77,9 @@ class KickstartForm extends QuickForm
|
||||||
'Your installation of Icinga Director has not yet been prepared for'
|
'Your installation of Icinga Director has not yet been prepared for'
|
||||||
. ' deployments. This kickstart wizard will assist you with setting'
|
. ' deployments. This kickstart wizard will assist you with setting'
|
||||||
. ' up the connection to your Icinga 2 server.'
|
. ' up the connection to your Icinga 2 server.'
|
||||||
)
|
),
|
||||||
/*
|
array('name' => 'HINT_kickstart')
|
||||||
. $this->translate(
|
// http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/object-types#objecttype-apilistener
|
||||||
http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/object-types#objecttype-apilistener
|
|
||||||
)*/, array('name' => 'HINT_kickstart')
|
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->addElement('text', 'endpoint', array(
|
$this->addElement('text', 'endpoint', array(
|
||||||
|
|
Loading…
Reference in New Issue