silverstripe-reports/templates/Includes/CMSMain_TreeTools.ss
Ingo Schommer d0cc476c2a MINOR Merged CanOrganiseSitetree permission into CMSMain_TreeTools.ss (originally implemented in r84073)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92940 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-22 08:23:16 +00:00

49 lines
1.1 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">
$AddForm
</div>
<div id="TreeActions-search">
$SearchTreeForm
</div>
<div id="TreeActions-batchactions">
$BatchActionsForm
</div>
</div>
<% if CanOrganiseSitetree %>
<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 &amp; drop reordering', PR_HIGH) %></label>
</div>
</div>
<% end_if %>
<% if IsTranslatableEnabled %>
<div id="LangSelector_holder">
$LangForm
</div>
<% end_if %>