2016-07-22 01:07:50 +02:00
|
|
|
<% include SilverStripe\CMS\Controllers\CMSPagesController_ContentToolActions View='Tree' %>
|
2012-04-16 15:55:19 +02:00
|
|
|
|
|
|
|
<div class="ss-dialog cms-page-add-form-dialog cms-dialog-content" id="cms-page-add-form" title="<% _t('CMSMain.AddNew', 'Add new page') %>">
|
|
|
|
$AddForm
|
|
|
|
</div>
|
|
|
|
|
2012-05-15 21:30:32 +02:00
|
|
|
$ExtraTreeTools
|
|
|
|
|
2012-04-16 15:55:19 +02:00
|
|
|
<div class="center">
|
2013-07-18 13:14:29 +02:00
|
|
|
<% if $TreeIsFiltered %>
|
2013-06-04 02:05:11 +02:00
|
|
|
<div class="cms-tree-filtered cms-notice">
|
2015-08-24 04:59:41 +02:00
|
|
|
<strong><% _t('CMSMain.TreeFiltered', 'Showing search results.') %></strong>
|
2015-06-26 02:48:29 +02:00
|
|
|
<a href="javascript:void(0)" class="clear-filter">
|
2015-06-16 00:49:19 +02:00
|
|
|
<% _t('CMSMain.TreeFilteredClear', 'Clear') %>
|
2012-04-16 15:55:19 +02:00
|
|
|
</a>
|
2015-08-24 04:59:41 +02:00
|
|
|
|
|
|
|
<div class="cms-tree <% if $TreeIsFiltered %>filtered-list<% end_if %>"
|
2015-02-11 00:13:55 +01:00
|
|
|
data-url-tree="$LinkWithSearch($Link(getsubtree)).ATT"
|
|
|
|
data-url-savetreenode="$Link(savetreenode).ATT"
|
|
|
|
data-url-updatetreenodes="$Link(updatetreenodes).ATT"
|
|
|
|
data-url-addpage="{$LinkPageAdd('AddForm/?action_doAdd=1', 'ParentID=%s&PageType=%s').ATT}"
|
|
|
|
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">
|
2015-08-24 04:59:41 +02:00
|
|
|
$SiteTreeAsUL
|
2015-02-11 00:13:55 +01:00
|
|
|
</div>
|
2012-04-16 15:55:19 +02:00
|
|
|
</div>
|
2015-08-24 04:59:41 +02:00
|
|
|
|
|
|
|
<% else %>
|
2012-04-16 15:55:19 +02:00
|
|
|
|
2015-04-30 07:14:45 +02:00
|
|
|
<div class="cms-tree <% if $TreeIsFiltered %>filtered-list<% end_if %>"
|
2015-02-11 00:13:55 +01:00
|
|
|
data-url-tree="$LinkWithSearch($Link(getsubtree)).ATT"
|
|
|
|
data-url-savetreenode="$Link(savetreenode).ATT"
|
|
|
|
data-url-updatetreenodes="$Link(updatetreenodes).ATT"
|
|
|
|
data-url-addpage="{$LinkPageAdd('AddForm/?action_doAdd=1', 'ParentID=%s&PageType=%s').ATT}"
|
|
|
|
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>
|
2015-08-24 04:59:41 +02:00
|
|
|
|
|
|
|
<% end_if %>
|
2012-04-16 15:55:19 +02:00
|
|
|
</div>
|