monitoring/commands: Fix object command forms code compliance

refs #6593
This commit is contained in:
Eric Lippmann 2014-09-12 15:03:03 +02:00
parent e5e806a3a1
commit 442f956945
5 changed files with 28 additions and 35 deletions

View File

@ -34,15 +34,10 @@ class CheckNowCommandForm extends ObjectsCommandForm
'note', 'note',
'icon', 'icon',
array( array(
'decorators' => array( 'decorators' => array(array(
array(
'HtmlTag', 'HtmlTag',
array( array('tag' => 'img', 'src' => $this->getView()->href('img/icons/refresh_petrol.png'))
'tag' => 'img', ))
'src' => $this->getView()->href('img/icons/refresh_petrol.png'),
)
)
)
) )
), ),
array( array(
@ -51,9 +46,7 @@ class CheckNowCommandForm extends ObjectsCommandForm
array( array(
'ignore' => true, 'ignore' => true,
'label' => mt('monitoring', 'Check Now'), 'label' => mt('monitoring', 'Check Now'),
'decorators' => array( 'decorators' => array('ViewHelper')
'ViewHelper'
)
) )
) )
)); ));