2016-10-21 05:15:34 +02:00
|
|
|
<% include SilverStripe\\CMS\\Controllers\\CMSPagesController_ContentToolActions View='Tree' %>
|
2012-04-16 15:55:19 +02:00
|
|
|
|
2017-05-19 02:11:46 +02:00
|
|
|
<div class="ss-dialog cms-page-add-form-dialog cms-dialog-content" id="cms-page-add-form" title="<%t SilverStripe\CMS\Controllers\CMSMain.AddNew 'Add new page' %>">
|
2012-04-16 15:55:19 +02:00
|
|
|
$AddForm
|
|
|
|
</div>
|
|
|
|
|
2012-05-15 21:30:32 +02:00
|
|
|
$ExtraTreeTools
|
|
|
|
|
2017-08-21 02:45:56 +02:00
|
|
|
<% if $TreeIsFiltered %>
|
|
|
|
<div class="cms-tree-filtered cms-notice flexbox-area-grow">
|
2017-05-19 02:11:46 +02:00
|
|
|
<strong><%t SilverStripe\CMS\Controllers\CMSMain.TreeFiltered 'Showing search results.' %></strong>
|
2016-10-21 05:15:34 +02:00
|
|
|
<a href="javascript:void(0)" class="clear-filter">
|
2017-05-19 02:11:46 +02:00
|
|
|
<%t SilverStripe\CMS\Controllers\CMSMain.TreeFilteredClear 'Clear' %>
|
2016-10-21 05:15:34 +02:00
|
|
|
</a>
|
2012-04-16 15:55:19 +02:00
|
|
|
|
2016-10-21 05:15:34 +02:00
|
|
|
<div class="cms-tree <% if $TreeIsFiltered %>filtered-list<% end_if %>"
|
2017-08-21 02:45:56 +02:00
|
|
|
data-url-tree="$LinkWithSearch($Link('getsubtree')).ATT"
|
|
|
|
data-url-savetreenode="$Link('savetreenode').ATT"
|
|
|
|
data-url-updatetreenodes="$Link('updatetreenodes').ATT"
|
2017-01-10 05:41:26 +01:00
|
|
|
data-url-addpage="{$LinkPageAdd('AddForm/?action_doAdd=1', 'ParentID=%s&PageType=%s').ATT}"
|
2016-10-21 05:15:34 +02:00
|
|
|
data-url-editpage="$LinkPageEdit('%s').ATT"
|
|
|
|
data-url-duplicate="{$Link('duplicate/%s').ATT}"
|
|
|
|
data-url-duplicatewithchildren="{$Link('duplicatewithchildren/%s').ATT}"
|
|
|
|
data-url-listview="{$Link('?view=list').ATT}"
|
|
|
|
data-hints="$SiteTreeHints.ATT"
|
|
|
|
data-childfilter="$Link('childfilter').ATT"
|
|
|
|
data-extra-params="SecurityID=$SecurityID.ATT">
|
|
|
|
$SiteTreeAsUL
|
2017-08-21 02:45:56 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% else %>
|
|
|
|
<div class="cms-tree flexbox-area-grow <% if $TreeIsFiltered %>filtered-list<% end_if %>"
|
|
|
|
data-url-tree="$LinkWithSearch($Link('getsubtree')).ATT"
|
|
|
|
data-url-savetreenode="$Link('savetreenode').ATT"
|
|
|
|
data-url-updatetreenodes="$Link('updatetreenodes').ATT"
|
2017-01-10 05:41:26 +01:00
|
|
|
data-url-addpage="{$LinkPageAdd('AddForm/?action_doAdd=1', 'ParentID=%s&PageType=%s').ATT}"
|
2015-02-11 00:13:55 +01:00
|
|
|
data-url-editpage="$LinkPageEdit('%s').ATT"
|
|
|
|
data-url-duplicate="{$Link('duplicate/%s').ATT}"
|
|
|
|
data-url-duplicatewithchildren="{$Link('duplicatewithchildren/%s').ATT}"
|
|
|
|
data-url-listview="{$Link('?view=list').ATT}"
|
|
|
|
data-hints="$SiteTreeHints.ATT"
|
|
|
|
data-childfilter="$Link('childfilter').ATT"
|
|
|
|
data-extra-params="SecurityID=$SecurityID.ATT">
|
2012-04-16 15:55:19 +02:00
|
|
|
$SiteTreeAsUL
|
|
|
|
</div>
|
2017-08-21 02:45:56 +02:00
|
|
|
<% end_if %>
|