body.phtml: img urls are now allowed in icon()

No no more need for ../ hacks :)
This commit is contained in:
Thomas Gelf 2015-10-01 17:11:54 +02:00
parent af338c1dba
commit fe72a1c36e
1 changed files with 3 additions and 3 deletions

View File

@ -25,14 +25,14 @@ if ($this->layout()->autorefreshInterval) {
'dashboard', 'dashboard',
null, null,
array( array(
'icon' => '../logo_icinga-inv.png', 'icon' => 'img/logo_icinga-inv.png',
'data-base-target' => '_main', 'data-base-target' => '_main',
'aria-hidden' => 'true', 'aria-hidden' => 'true',
'tabindex' => -1 'tabindex' => -1
) )
); ?> ); ?>
<?php else: ?> <?php else: ?>
<?= $this->icon('../logo_icinga-inv.png'); ?> <?= $this->icon('img/logo_icinga-inv.png'); ?>
<?php endif ?> <?php endif ?>
</div> </div>
</div> </div>