From 9230fd4f1573824bedb6075db2ef39c7d1a20f28 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 22 Mar 2016 02:27:17 +0100 Subject: [PATCH] Kickstart, IcingaCommandArgumentForm: code style --- application/forms/IcingaCommandArgumentForm.php | 3 ++- application/forms/KickstartForm.php | 8 +++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/application/forms/IcingaCommandArgumentForm.php b/application/forms/IcingaCommandArgumentForm.php index b405e73d..7b0ac5ea 100644 --- a/application/forms/IcingaCommandArgumentForm.php +++ b/application/forms/IcingaCommandArgumentForm.php @@ -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 { diff --git a/application/forms/KickstartForm.php b/application/forms/KickstartForm.php index b8ce4f8e..ee7491bb 100644 --- a/application/forms/KickstartForm.php +++ b/application/forms/KickstartForm.php @@ -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(