2013-06-14 13:51:44 +02:00
|
|
|
<?php
|
2014-02-25 11:13:36 +01:00
|
|
|
|
2015-09-04 10:53:01 +02:00
|
|
|
use Icinga\Application\Icinga;
|
2014-03-04 11:52:37 +01:00
|
|
|
|
2014-02-25 11:13:36 +01:00
|
|
|
// Don't render a menu for unauthenticated users unless menu is auth aware
|
|
|
|
if (! $this->auth()->isAuthenticated()) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
2015-02-16 10:57:31 +01:00
|
|
|
<div class="skip-links">
|
|
|
|
<h1 class="sr-only"><?= t('Accessibility Skip Links'); ?></h1>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a tabindex="0" href="#main"><?= t('Skip to Content'); ?></a>
|
|
|
|
</li>
|
2015-02-16 12:04:54 +01:00
|
|
|
<li>
|
|
|
|
<?= $this->layout()->autoRefreshForm ?>
|
|
|
|
</li>
|
2015-02-16 10:57:31 +01:00
|
|
|
</ul>
|
|
|
|
</div>
|
2015-03-12 00:52:19 +01:00
|
|
|
<div id="menu" data-last-update="-1" data-base-target="_main" class="container"
|
2015-01-22 13:47:45 +01:00
|
|
|
data-icinga-url="<?= $this->href('layout/menu') ?>" data-icinga-refresh="15">
|
|
|
|
<?= $this->partial(
|
|
|
|
'layout/menu.phtml',
|
|
|
|
'default',
|
|
|
|
array(
|
2015-10-01 17:44:37 +02:00
|
|
|
'menuRenderer' => Icinga::app()->getMenu()->getRenderer()->setUseStandardItemRenderer()
|
2015-01-22 13:47:45 +01:00
|
|
|
)
|
|
|
|
) ?>
|
2014-02-18 19:16:03 +01:00
|
|
|
</div>
|