mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
32024b451c
http://svn.silverstripe.com/open/modules/cms/branches/2.2.2 ........ r50812 | sminnee | 2008-03-11 10:34:32 +1300 (Tue, 11 Mar 2008) | 1 line #2285 - Fixed widget editor ........ git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50854 467b73ca-7a2a-4603-9d3b-597d59a354a9
32 lines
1004 B
Scheme
32 lines
1004 B
Scheme
<div class="WidgetAreaEditor" id="WidgetAreaEditor" name="$Name">
|
|
<input type="hidden" id="$Name" name="$IdxField" value="$Value" />
|
|
<div class="availableWidgetsHolder">
|
|
<h2><% _t('AVAILABLE', 'Available Widgets') %></h2>
|
|
<p> </p>
|
|
<div class="availableWidgets" id="WidgetAreaEditor_availableWidgets">
|
|
<% if AvailableWidgets %>
|
|
<% control AvailableWidgets %>
|
|
$DescriptionSegment
|
|
<% end_control %>
|
|
<% else %>
|
|
<div id="NoWidgets">
|
|
<p><% _t('NOAVAIL', 'There are currently no widgets available.') %></p>
|
|
</div>
|
|
<% end_if %>
|
|
</div>
|
|
</div>
|
|
<div class="usedWidgetsHolder">
|
|
<h2><% _t('INUSE', 'Widgets currently used') %></h2>
|
|
<p><% _t('TOADD', 'To add widgets, drag them from the left area to here.') %></p>
|
|
|
|
<div class="usedWidgets" id="WidgetAreaEditor_usedWidgets">
|
|
<% if UsedWidgets %>
|
|
<% control UsedWidgets %>
|
|
$EditableSegment
|
|
<% end_control %>
|
|
<% else %>
|
|
<div id="NoWidgets"></div>
|
|
<% end_if %>
|
|
</div>
|
|
</div>
|
|
</div> |