2018-05-28 14:42:05 +02:00
|
|
|
<% if $Children %>
|
2019-09-07 03:39:49 +02:00
|
|
|
<li class="nav-item dropdown<% if $isCurrent || $isSection %> active <% end_if %> {$CSSClass} {$ExtraClass}">
|
2018-05-28 14:42:05 +02:00
|
|
|
<a
|
|
|
|
class="nav-link dropdown-toggle"
|
|
|
|
id="NavItem{$ID}"
|
|
|
|
role="button"
|
2020-01-22 10:46:53 +01:00
|
|
|
data-toggle="hover"
|
|
|
|
data-allow-click="true"
|
2018-05-28 14:42:05 +02:00
|
|
|
aria-haspopup="true"
|
|
|
|
aria-expanded="false"
|
|
|
|
href="{$Link}"
|
|
|
|
>
|
|
|
|
$MenuTitle.XML
|
|
|
|
<% if $isCurrent || $isSection %><i class="sr-only">(current)</i><% end_if %>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<ul class="dropdown-menu" aria-labelledby="NavItem{$ID}">
|
|
|
|
<% loop $Children %>
|
|
|
|
<% include NavItem ExtraClass="dropdown-item" %>
|
|
|
|
<% end_loop %>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<% else %>
|
2019-09-07 03:39:49 +02:00
|
|
|
<li class="nav-item {$CSSClass} $ExtraClass <% if $isCurrent || $isSection %> active<% end_if %>">
|
2020-05-27 04:15:52 +02:00
|
|
|
<% include NavItem_link %>
|
2018-05-28 14:42:05 +02:00
|
|
|
</li>
|
2018-07-02 03:54:18 +02:00
|
|
|
<% end_if %>
|