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'), '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 {

View File

@ -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(