silverstripe-cms/templates/Includes/CMSMain_TreeTools.ss

46 lines
1.0 KiB
Scheme
Raw Normal View History

<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">
$AddForm
</div>
<div id="TreeActions-search">
$SearchTreeForm
</div>
<div id="TreeActions-batchactions">
$BatchActionsForm
</div>
</div>
<% if CanOrganiseSitetree %>
<div class="checkboxAboveTree">
<input type="checkbox" id="sortitems" />
<label for="sortitems"><% _t('ENABLEDRAGGING','Allow drag &amp; drop reordering', PR_HIGH) %></label>
</div>
<% end_if %>
<% if IsTranslatableEnabled %>
<div id="LangSelector_holder">
$LangForm
</div>
<% end_if %>