mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-01-17 11:08:41 +00:00
31 lines
872 B
PHP
31 lines
872 B
PHP
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.1
|
|
*
|
|
* @category TBD
|
|
* @package TBD
|
|
* @copyright 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::CONTENT])) {
|
|
echo '<div class="row"><div class="col-xs-12"><ul class="nav-top" role="navigation">';
|
|
|
|
foreach ($this->nav[\Modules\Navigation\Models\NavigationType::CONTENT] as $key => $parent) {
|
|
foreach ($parent as $link) {
|
|
if ($link['nav_parent'] == $this->parent) {
|
|
echo '<li><a href="' . \phpOMS\Uri\UriFactory::build($link['nav_uri']) . '">'
|
|
. $this->getHtml($link['nav_name']) . '</a>';
|
|
}
|
|
}
|
|
}
|
|
|
|
echo '</ul></div></div>';
|
|
}
|