monitoring/commands: Fix object command forms code compliance
refs #6593
This commit is contained in:
parent
e5e806a3a1
commit
442f956945
|
@ -34,15 +34,10 @@ class CheckNowCommandForm extends ObjectsCommandForm
|
|||
'note',
|
||||
'icon',
|
||||
array(
|
||||
'decorators' => array(
|
||||
array(
|
||||
'decorators' => array(array(
|
||||
'HtmlTag',
|
||||
array(
|
||||
'tag' => 'img',
|
||||
'src' => $this->getView()->href('img/icons/refresh_petrol.png'),
|
||||
)
|
||||
)
|
||||
)
|
||||
array('tag' => 'img', 'src' => $this->getView()->href('img/icons/refresh_petrol.png'))
|
||||
))
|
||||
)
|
||||
),
|
||||
array(
|
||||
|
@ -51,9 +46,7 @@ class CheckNowCommandForm extends ObjectsCommandForm
|
|||
array(
|
||||
'ignore' => true,
|
||||
'label' => mt('monitoring', 'Check Now'),
|
||||
'decorators' => array(
|
||||
'ViewHelper'
|
||||
)
|
||||
'decorators' => array('ViewHelper')
|
||||
)
|
||||
)
|
||||
));
|
||||
|
|
Loading…
Reference in New Issue