MINOR 2.4 backwards compat syntax

This commit is contained in:
Ingo Schommer 2012-03-28 22:36:53 +02:00
parent 82ae8f7148
commit 294c6e5c42
3 changed files with 10 additions and 10 deletions

View File

@ -9,21 +9,21 @@
<fieldset>
<% if Legend %><legend>$Legend</legend><% end_if %>
<% loop Fields %>
<% control Fields %>
<div class="field $type">
<% if type != checkbox %><% if IsHidden != true %><label for="$id">$Title</label><% end_if %><% end_if %>
<div class="middleColumn">$Field</div>
<% if type == checkbox %><label for="$id">$Title</label><% end_if %>
<% if Message %><span class="message $MessageType">$Message</span><% end_if %>
</div>
<% end_loop %>
<% end_control %>
<% if Actions %>
<div class="Actions">
<div class="middleColumn">
<% loop Actions %>
<% control Actions %>
$Field
<% end_loop %>
<% end_control %>
</div>
</ul>
<% end_if %>

View File

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

View File

@ -2,14 +2,14 @@
<% if Menu(2) %>
<nav class="secondary">
<h3>
<% loop Level(1) %>
<% control Level(1) %>
$Title
<% end_loop %>
<% end_control %>
</h3>
<ul>
<% loop Menu(2) %>
<% control 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_loop %>
<% end_control %>
</ul>
</nav>
<% end_if %>