Fix addElements call in CheckNowCommandForm
This commit is contained in:
parent
6ee0c218e9
commit
ea56e4f108
|
@ -32,18 +32,21 @@ class CheckNowCommandForm extends ObjectsCommandForm
|
||||||
$iconUrl = $this->getView()->href('img/icons/refresh_petrol.png');
|
$iconUrl = $this->getView()->href('img/icons/refresh_petrol.png');
|
||||||
|
|
||||||
$this->addElements(array(
|
$this->addElements(array(
|
||||||
'button',
|
|
||||||
'btn_submit',
|
|
||||||
array(
|
array(
|
||||||
'ignore' => true,
|
'button',
|
||||||
'type' => 'submit',
|
'btn_submit',
|
||||||
'value' => mt('monitoring', 'Check now'),
|
array(
|
||||||
'label' => '<img src="'.$iconUrl.'"> ' . mt('monitoring', 'Check now'),
|
'ignore' => true,
|
||||||
'decorators' => array('ViewHelper'),
|
'type' => 'submit',
|
||||||
'escape' => false,
|
'value' => mt('monitoring', 'Check now'),
|
||||||
'class' => 'link-like'
|
'label' => '<img src="' . $iconUrl . '"> ' . mt('monitoring', 'Check now'),
|
||||||
|
'decorators' => array('ViewHelper'),
|
||||||
|
'escape' => false,
|
||||||
|
'class' => 'link-like'
|
||||||
|
)
|
||||||
)
|
)
|
||||||
));
|
));
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue