7 lines
378 B
PHP
7 lines
378 B
PHP
<?php if ($hasChildren): ?><span id="mi-<?=$item->id;?>" class="<?=$mi_class;?>" data-bs-toggle="dropdown" aria-expanded="false"><?php endif;?>
|
|
<a class="nav-link" href="<?=$item->flink;?>"<?php
|
|
foreach ($attributes as $name => &$value){
|
|
echo ' ' . $name . '="' . $value. '"';
|
|
}
|
|
?>><?=$item->title;?></a>
|
|
<?php if ($hasChildren): ?></span><?php endif; ?>
|