2009-12-14 02:26:49 +01:00
|
|
|
<div class="WidgetAreaEditor" id="WidgetAreaEditor-$Name" name="$Name"<% if MaxWidgets %> maxwidgets="$MaxWidgets"<% end_if %>>
|
2007-08-03 00:07:11 +02:00
|
|
|
<input type="hidden" id="$Name" name="$IdxField" value="$Value" />
|
|
|
|
<div class="availableWidgetsHolder">
|
2010-01-25 22:57:31 +01:00
|
|
|
<h2><% _t('AVAILABLE', 'Available Widgets') %></h2>
|
2010-01-26 21:54:33 +01:00
|
|
|
<p><% _t('AVAILWIDGETS', 'Click a widget title below to use it on this page.') %></p>
|
2009-11-05 01:13:56 +01:00
|
|
|
<div class="availableWidgets" id="availableWidgets-$Name">
|
2007-09-09 13:28:26 +02:00
|
|
|
<% if AvailableWidgets %>
|
|
|
|
<% control AvailableWidgets %>
|
|
|
|
$DescriptionSegment
|
|
|
|
<% end_control %>
|
|
|
|
<% else %>
|
2009-11-05 01:13:56 +01:00
|
|
|
<div class="NoWidgets" id="NoWidgets-$Name">
|
2008-01-10 04:28:13 +01:00
|
|
|
<p><% _t('NOAVAIL', 'There are currently no widgets available.') %></p>
|
2007-09-09 13:28:26 +02:00
|
|
|
</div>
|
|
|
|
<% end_if %>
|
2007-08-03 00:07:11 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="usedWidgetsHolder">
|
2010-01-25 22:57:31 +01:00
|
|
|
<h2><% _t('INUSE', 'Widgets currently used') %></h2>
|
2010-01-26 21:54:33 +01:00
|
|
|
<p><% _t('TOSORT', 'To sort currently used widgets on this page, drag them up and down.') %></p>
|
2008-03-11 02:20:53 +01:00
|
|
|
|
2009-11-05 01:13:56 +01:00
|
|
|
<div class="usedWidgets" id="usedWidgets-$Name">
|
2007-08-03 00:07:11 +02:00
|
|
|
<% if UsedWidgets %>
|
|
|
|
<% control UsedWidgets %>
|
|
|
|
$EditableSegment
|
|
|
|
<% end_control %>
|
|
|
|
<% else %>
|
2009-11-05 01:13:56 +01:00
|
|
|
<div class="NoWidgets" id="NoWidgets-$Name"></div>
|
2007-08-03 00:07:11 +02:00
|
|
|
<% end_if %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|