mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
f9a5601fa3
- Fix support for $allowed_children - Added note when type selection is restricted - Removed overly complex specs for "allowed children", the data should be inferred from "disallowed children" - Added support for SiteTree::$can_be_root - Return raw JSON (not entity-encoded) from CMSMain->SiteTreeHints() - Added tests for CMSMain->SiteTreeHints()
30 lines
1.1 KiB
Scheme
30 lines
1.1 KiB
Scheme
<div class="cms-content-toolbar">
|
|
<% include CMSPagesController_ContentToolActions %>
|
|
<% include CMSPagesController_ContentToolbar %>
|
|
</div>
|
|
|
|
<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>
|
|
|
|
<button href="$LinkPagesWithSearch" class="cms-tree-expand-trigger cms-panel-link ss-button" data-icon="pencil">
|
|
<% _t('CMSMain.EditTree', 'Edit Tree') %>
|
|
</button>
|
|
|
|
$ExtraTreeTools
|
|
|
|
<div class="center">
|
|
<% if TreeIsFiltered %>
|
|
<div class="cms-tree-filtered">
|
|
<strong><% _t('CMSMain.TreeFiltered', 'Filtered tree.') %></strong>
|
|
<a href="$LinkPages" class="cms-panel-link">
|
|
<% _t('CMSMain.TreeFilteredClear', 'Clear filter') %>
|
|
</a>
|
|
</div>
|
|
<% end_if %>
|
|
|
|
<div class="cms-tree" data-url-tree="$Link(getsubtree)" data-url-savetreenode="$Link(savetreenode)" data-url-updatetreenodes="$Link(updatetreenodes)" data-url-addpage="{$LinkPageAdd('AddForm/?action_doAdd=1')}&ParentID=%s&PageType=%s&SecurityID=$SecurityID" data-url-editpage="$LinkPageEdit('%s')" data-hints="$SiteTreeHints.XML">
|
|
$SiteTreeAsUL
|
|
</div>
|
|
</div>
|