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',
null,
array(
'icon' => '../logo_icinga-inv.png',
'icon' => 'img/logo_icinga-inv.png',
'data-base-target' => '_main',
'aria-hidden' => 'true',
'tabindex' => -1
)
); ?>
<?php else: ?>
<?= $this->icon('../logo_icinga-inv.png'); ?>
<?= $this->icon('img/logo_icinga-inv.png'); ?>
<?php endif ?>
</div>
</div>
@ -60,4 +60,4 @@ if ($this->layout()->autorefreshInterval) {
}
}
?></ul>
</div>
</div>