mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-01-18 03:28:39 +00:00
50 lines
1.3 KiB
PHP
50 lines
1.3 KiB
PHP
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.0
|
|
*
|
|
* @category TBD
|
|
* @package TBD
|
|
* @author OMS Development Team <dev@oms.com>
|
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
* @copyright 2013 Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link http://orange-management.com
|
|
*/
|
|
/**
|
|
* @var \Modules\Navigation\Views\NavigationView $this
|
|
*/
|
|
if (isset($this->nav[\Modules\Navigation\Models\NavigationType::TOP])): ?>
|
|
<ul id="t-nav" role="navigation">
|
|
|
|
<?php foreach ($this->nav[\Modules\Navigation\Models\NavigationType::TOP] as $key => $parent) :
|
|
foreach ($parent as $link) : ?>
|
|
<li><a href="<?= \phpOMS\Uri\UriFactory::build($link['nav_uri']); ?>">
|
|
|
|
<?php if (isset($link['nav_icon'])) : ?>
|
|
<i class="<?= $link['nav_icon']; ?>"></i>
|
|
<?php endif; ?>
|
|
|
|
<?= $this->l11n->lang['Navigation'][$link['nav_name']]; ?></a>
|
|
<?php endforeach;
|
|
endforeach; ?>
|
|
|
|
</ul>
|
|
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.0
|
|
*
|
|
* @category TBD
|
|
* @package TBD
|
|
* @author OMS Development Team <dev@oms.com>
|
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
* @copyright 2013 Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link http://orange-management.com
|
|
*/ endif;
|