silverstripe-simple/templates/Includes/SidebarMenu.ss

19 lines
403 B
Scheme
Raw Normal View History

<%--Include SidebarMenu recursively --%>
<% if $Children %>
<% loop $Children %>
<li class="$LinkingMode">
<a href="$Link" class="$LinkingMode" title="Go to the $Title.XML page">
<span class="arrow">&rarr;</span>
<span class="text">$MenuTitle.XML</span>
</a>
<% if $Children %>
<ul>
<% include SidebarMenu %>
</ul>
<% end_if %>
</li>
<% end_loop %>
<% end_if %>