doc.silverstripe.org/themes/docs/templates/Includes/Sidebar.ss
Ingo Schommer aab89e65f8 MINOR Moved project
git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@108782 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-08-02 10:06:21 +00:00

36 lines
843 B
Scheme

<div id="sidebar">
<% if Menu(2) %>
<ul id="sub-navigation">
<% control Menu(2) %>
<li class="$LinkingMode">
<a href="$Link">$MenuTitle</a>
<% if LinkOrSection = section %>
<% if Children %>
<ul>
<% control Children %>
<li class="$LinkingMode">
<a href="$Link">$MenuTitle</a>
<% if LinkOrSection = section %>
<% if Children %>
<ul>
<% control Children %>
<li class="$LinkingMode">
<a href="$Link">$MenuTitle</a>
</li>
<% end_control %>
</ul>
<% end_if %>
<% end_if %>
</li>
<% end_control %>
</ul>
<% end_if %>
<% end_if %>
</li>
<% end_control %>
</ul>
<% end_if %>
</div>