mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
44e16b9620
API CHANGE Removed LeftAndMain->BatchActionList(), no longer necessary as we're creating the batch actions form in the same class ENHANCEMENT Changed CMSBatchAction logic to return JSON status changes rather than eval'ed JavaScript via FormResponse ENHANCEMENT Ported batchactions in CMSMain_left.js to concrete javascript, and moved to new CMSMain.BatchActions.js file ENHANCEMENT Using native CMSMain->BatchActionsForm() to render form instead of custom template markup in CMSMain_TreeTools.ss git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92722 467b73ca-7a2a-4603-9d3b-597d59a354a9
55 lines
1.4 KiB
Scheme
55 lines
1.4 KiB
Scheme
<div id="TreeActions">
|
|
|
|
<ul>
|
|
<li>
|
|
<a href="#TreeActions-create" id="addpage">
|
|
<% _t('CREATE','Create',PR_HIGH) %>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="#TreeActions-search" id="search">
|
|
<% _t('SEARCH','Search',PR_HIGH) %>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="#TreeActions-batchactions" id="batchactions">
|
|
<% _t('BATCHACTIONS','Batch Actions',PR_HIGH) %>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<div id="TreeActions-create">
|
|
$AddPageOptionsForm
|
|
</div>
|
|
|
|
<div id="TreeActions-search">
|
|
$SearchTreeForm
|
|
</div>
|
|
|
|
<div id="TreeActions-batchactions">
|
|
$BatchActionsForm
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="checkboxAboveTree" style="border-bottom:none">
|
|
Show: <select id="siteTreeFilterList">
|
|
<% control SiteTreeFilters %>
|
|
<option value="$ClassName">$Title</option>
|
|
<% end_control %>
|
|
</select> <img id="siteTreeFilterActionIndicator" style="display:none" src="cms/images/network-save.gif">
|
|
</div>
|
|
|
|
<div class="checkboxAboveTree">
|
|
<img id="checkboxActionIndicator" src="cms/images/network-save.gif">
|
|
<div>
|
|
<input type="checkbox" id="sortitems" />
|
|
<label for="sortitems"><% _t('ENABLEDRAGGING','Allow drag & drop reordering', PR_HIGH) %></label>
|
|
</div>
|
|
</div>
|
|
|
|
<% if IsTranslatableEnabled %>
|
|
<div id="LangSelector_holder">
|
|
Language: $LangSelector
|
|
</div>
|
|
<% end_if %> |