mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-01-11 16:18:42 +00:00
31 lines
1.1 KiB
PHP
Executable File
31 lines
1.1 KiB
PHP
Executable File
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.4
|
|
*
|
|
* @package Modules\Navigation
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link https://orange-management.org
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* @var \Modules\Navigation\Views\NavigationView $this
|
|
*/
|
|
if (isset($this->nav[\Modules\Navigation\Models\NavigationType::CONTENT])) :
|
|
foreach ($this->nav[\Modules\Navigation\Models\NavigationType::CONTENT] as $key => $parent) :
|
|
foreach ($parent as $link) :
|
|
if ($link['nav_parent'] == $this->parent) : ?>
|
|
<section class="box w-33 floatLeft">
|
|
<div class="inner centerText">
|
|
<a href="<?= \phpOMS\Uri\UriFactory::build($link['nav_uri']); ?>">
|
|
<p><i class="fa-5x <?= $this->printHtml($link['nav_icon']); ?>"></i></p>
|
|
<p><?= $this->getHtml($link['nav_name'], 'Navigation'); ?></p>
|
|
</a>
|
|
</div>
|
|
</section>
|
|
<?php endif; endforeach; endforeach; endif;
|