From 7be42acb0d29eba1a15777357e981a15f4754fb8 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 19 Mar 2013 10:13:15 +0100 Subject: [PATCH] Fixed template usage --- templates/WidgetArea.ss | 4 ++-- templates/WidgetAreaEditor.ss | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/WidgetArea.ss b/templates/WidgetArea.ss index b527996..27a5000 100644 --- a/templates/WidgetArea.ss +++ b/templates/WidgetArea.ss @@ -1,3 +1,3 @@ -<% control WidgetControllers %> +<% loop WidgetControllers %> $WidgetHolder -<% end_control %> \ No newline at end of file +<% end_loop %> \ No newline at end of file diff --git a/templates/WidgetAreaEditor.ss b/templates/WidgetAreaEditor.ss index db649c8..4127e29 100644 --- a/templates/WidgetAreaEditor.ss +++ b/templates/WidgetAreaEditor.ss @@ -5,9 +5,9 @@

<% _t('AVAILWIDGETS', 'Click a widget title below to use it on this page.') %>

<% if AvailableWidgets %> - <% control AvailableWidgets %> + <% loop AvailableWidgets %> $DescriptionSegment - <% end_control %> + <% end_loop %> <% else %>

<% _t('NOAVAIL', 'There are currently no widgets available.') %>

@@ -21,9 +21,9 @@
<% if UsedWidgets %> - <% control UsedWidgets %> + <% loop UsedWidgets %> $EditableSegment - <% end_control %> + <% end_loop %> <% else %>
<% end_if %>