Fixed template usage

This commit is contained in:
Ingo Schommer 2013-03-19 10:13:15 +01:00
parent 63a25eae74
commit 7be42acb0d
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,3 @@
<% control WidgetControllers %>
<% loop WidgetControllers %>
$WidgetHolder
<% end_control %>
<% end_loop %>

View File

@ -5,9 +5,9 @@
<p class="message"><% _t('AVAILWIDGETS', 'Click a widget title below to use it on this page.') %></p>
<div class="availableWidgets" id="availableWidgets-$Name">
<% if AvailableWidgets %>
<% control AvailableWidgets %>
<% loop AvailableWidgets %>
$DescriptionSegment
<% end_control %>
<% end_loop %>
<% else %>
<div class="NoWidgets" id="NoWidgets-$Name">
<p><% _t('NOAVAIL', 'There are currently no widgets available.') %></p>
@ -21,9 +21,9 @@
<div class="usedWidgets" id="usedWidgets-$Name">
<% if UsedWidgets %>
<% control UsedWidgets %>
<% loop UsedWidgets %>
$EditableSegment
<% end_control %>
<% end_loop %>
<% else %>
<div class="NoWidgets" id="NoWidgets-$Name"></div>
<% end_if %>