2013-05-07 12:25:51 +02:00
|
|
|
<div class="WidgetAreaEditor field" id="WidgetAreaEditor-$Name" name="$Name"<% if MaxWidgets %> maxwidgets="$MaxWidgets"<% end_if %>>
|
2012-04-18 23:15:45 +02:00
|
|
|
<input type="hidden" id="$Name" name="$IdxField" value="$Value" />
|
|
|
|
<div class="availableWidgetsHolder">
|
2013-07-08 12:28:02 +02:00
|
|
|
<h2><% _t('WidgetAreaEditor_ss.AVAILABLE', 'Available Widgets') %></h2>
|
|
|
|
<p class="message"><% _t('WidgetAreaEditor_ss.AVAILWIDGETS', 'Click a widget title below to use it on this page.') %></p>
|
2012-04-18 23:15:45 +02:00
|
|
|
<div class="availableWidgets" id="availableWidgets-$Name">
|
2017-01-18 02:49:15 +01:00
|
|
|
<% if $AvailableWidgets %>
|
|
|
|
<% loop $AvailableWidgets %>
|
2012-04-18 23:15:45 +02:00
|
|
|
$DescriptionSegment
|
2013-03-19 10:13:15 +01:00
|
|
|
<% end_loop %>
|
2012-04-18 23:15:45 +02:00
|
|
|
<% else %>
|
|
|
|
<div class="NoWidgets" id="NoWidgets-$Name">
|
2013-07-08 12:28:02 +02:00
|
|
|
<p><% _t('WidgetAreaEditor_ss.NOAVAIL', 'There are currently no widgets available.') %></p>
|
2012-04-18 23:15:45 +02:00
|
|
|
</div>
|
|
|
|
<% end_if %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="usedWidgetsHolder">
|
2013-07-08 12:28:02 +02:00
|
|
|
<h2><% _t('WidgetAreaEditor_ss.INUSE', 'Widgets currently used') %></h2>
|
|
|
|
<p class="message"><% _t('WidgetAreaEditor_ss.TOSORT', 'To sort currently used widgets on this page, drag them up and down.') %></p>
|
2017-01-18 02:49:15 +01:00
|
|
|
|
2012-04-18 23:15:45 +02:00
|
|
|
<div class="usedWidgets" id="usedWidgets-$Name">
|
2017-01-18 02:49:15 +01:00
|
|
|
<% if $UsedWidgets %>
|
|
|
|
<% loop $UsedWidgets %>
|
2012-04-18 23:15:45 +02:00
|
|
|
$EditableSegment
|
2013-03-19 10:13:15 +01:00
|
|
|
<% end_loop %>
|
2012-04-18 23:15:45 +02:00
|
|
|
<% else %>
|
|
|
|
<div class="NoWidgets" id="NoWidgets-$Name"></div>
|
|
|
|
<% end_if %>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-01-18 02:49:15 +01:00
|
|
|
</div>
|