|
|
@ -26,7 +26,7 @@ |
|
|
|
<?php $children = $item->children; ?> |
|
|
|
<?php $children = $item->children; ?> |
|
|
|
<?php foreach ($children as $child): ?> |
|
|
|
<?php foreach ($children as $child): ?> |
|
|
|
<a <?= $child->target ? 'target="' . $child->target . '"' : '' ?> class="dropdown-item"
|
|
|
|
<a <?= $child->target ? 'target="' . $child->target . '"' : '' ?> class="dropdown-item"
|
|
|
|
href="<?= $child->url ?>"><?= $child->translation->name ?></a>
|
|
|
|
href="<?= $child->getUrl() ?>"><?= $child->translation->name ?></a>
|
|
|
|
<?php endforeach; ?> |
|
|
|
<?php endforeach; ?> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<?php elseif ($item->parent_id == 0): ?> |
|
|
|
<?php elseif ($item->parent_id == 0): ?> |
|
|
|