|
|
@ -12,6 +12,7 @@ |
|
|
|
?> |
|
|
|
?> |
|
|
|
|
|
|
|
|
|
|
|
<ul class="navbar-nav ml-auto"> |
|
|
|
<ul class="navbar-nav ml-auto"> |
|
|
|
|
|
|
|
<?php if (isset($menu->items)): ?> |
|
|
|
<?php foreach ($menu->items as $item): ?> |
|
|
|
<?php foreach ($menu->items as $item): ?> |
|
|
|
<li class="<?= $item->isActive() ? 'active' : '' ?> nav-item<?= $item->hasChildren() ? ' dropdown' : '' ?>">
|
|
|
|
<li class="<?= $item->isActive() ? 'active' : '' ?> nav-item<?= $item->hasChildren() ? ' dropdown' : '' ?>">
|
|
|
|
<?php if ($item->hasChildren() && $item->parent_id == 0): ?> |
|
|
|
<?php if ($item->hasChildren() && $item->parent_id == 0): ?> |
|
|
@ -27,4 +28,5 @@ |
|
|
|
<?php endif; ?> |
|
|
|
<?php endif; ?> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<?php endforeach; ?> |
|
|
|
<?php endforeach; ?> |
|
|
|
|
|
|
|
<?php endif; ?> |
|
|
|
</ul> |
|
|
|
</ul> |