|
|
|
@ -26,7 +26,7 @@
|
|
|
|
|
<?php $children = $item->children; ?> |
|
|
|
|
<?php foreach ($children as $child): ?> |
|
|
|
|
<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; ?> |
|
|
|
|
</div> |
|
|
|
|
<?php elseif ($item->parent_id == 0): ?> |
|
|
|
|