Kickstart, IcingaCommandArgumentForm: code style

This commit is contained in:
Thomas Gelf 2016-03-22 02:27:17 +01:00
parent a752100da4
commit 9230fd4f15
2 changed files with 5 additions and 6 deletions

View File

@ -44,7 +44,8 @@ class IcingaCommandArgumentForm extends DirectorObjectForm
'label' => $this->translate('Value'),
'description' => $this->translate(
'And Icinga DSL expression, e.g.: var cmd = macro("$cmd$");'
. ' return typeof(command) == String ...'),
. ' return typeof(command) == String ...'
),
'rows' => 3
));
} else {

View File

@ -77,11 +77,9 @@ class KickstartForm extends QuickForm
'Your installation of Icinga Director has not yet been prepared for'
. ' deployments. This kickstart wizard will assist you with setting'
. ' up the connection to your Icinga 2 server.'
)
/*
. $this->translate(
http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/object-types#objecttype-apilistener
)*/, array('name' => 'HINT_kickstart')
),
array('name' => 'HINT_kickstart')
// http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/object-types#objecttype-apilistener
);
$this->addElement('text', 'endpoint', array(