ENHANCEMENT Using new template syntax

This commit is contained in:
Ingo Schommer 2012-03-15 11:28:41 +01:00
parent bf2d9cb1e5
commit 44cec3d0ac
2 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
<nav class="primary">
<ul>
<% control Menu(1) %>
<% loop Menu(1) %>
<li class="$LinkingMode"><a href="$Link" title="$Title.XML">$MenuTitle.XML</a></li>
<% end_control %>
<% end_loop %>
</ul>
</nav>

View File

@ -2,14 +2,14 @@
<% if Menu(2) %>
<nav class="secondary">
<h3>
<% control Level(1) %>
<% loop Level(1) %>
$Title
<% end_control %>
<% end_loop %>
</h3>
<ul>
<% control Menu(2) %>
<% loop Menu(2) %>
<li class="$LinkingMode"><a href="$Link" title="Go to the $Title.XML page"><span class="arrow">&rarr;</span><span class="text">$MenuTitle.XML</span></a></li>
<% end_control %>
<% end_loop %>
</ul>
</nav>
<% end_if %>