Replaced a few icons with imgs

This commit is contained in:
Thomas Gelf 2014-02-18 18:05:12 +00:00
parent b6dbfaa6b8
commit 914806e229
3 changed files with 4 additions and 4 deletions

View File

@ -86,7 +86,7 @@ class ConfirmRemovalForm extends Form
'escape' => false,
'value' => '1',
'class' => 'btn btn-cta btn-common',
'label' => '<i class="icinga-icon-remove"></i> Confirm Removal'
'label' => $this->view->img('img/icons/remove.png') . ' Confirm Removal'
)
);
}

View File

@ -98,11 +98,11 @@ class Zend_View_Helper_CommandForm extends Zend_View_Helper_Abstract
*
* @return Form
*/
public function iconSubmitForm($iconCls, $submitTitle, $cls, $commandName, array $arguments = array())
public function iconSubmitForm($icon, $submitTitle, $cls, $commandName, array $arguments = array())
{
$form = $this->labelSubmitForm('', $submitTitle, $cls, $commandName, $arguments);
$submit = $form->getElement('btn_submit');
$submit->setLabel(sprintf('<i class="%s"></i>', $iconCls));
$submit->setLabel($this->view->img($icon));
return $form;
}

View File

@ -9,7 +9,7 @@
<div>
<a href="<?= Url::fromPath('/monitoring/config/createbackend')->getAbsoluteUrl();?>">
<i class="icinga-icon-create"></i> Create New Monitoring Backend
<?= $this->img('img/icons/create.png') ?> Create New Monitoring Backend
</a>
</div>
<br/>