Permalink
Browse files

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
  • Loading branch information...
1 parent fdc7366 commit d0cc476c2aed2eacb161ee816d341f0edfcfd879 @chillu chillu committed Nov 22, 2009
Showing with 8 additions and 6 deletions.
  1. +8 −6 templates/Includes/CMSMain_TreeTools.ss
@@ -32,13 +32,15 @@
</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 &amp; drop reordering', PR_HIGH) %></label>
+ <% 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>
- </div>
+ <% end_if %>
<% if IsTranslatableEnabled %>
<div id="LangSelector_holder">

0 comments on commit d0cc476

Please sign in to comment.