mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
671961cf45
API CHANGE Removed CMSMain::site_tree_filter_options API CHANGE Removed CMSMain::SiteTreeFilterOptions() and T_SiteTreeFilterOptions(), now handled inline in CMSMain::TreeSearchForm() ENHANCEMENT Refactored tree search PHP in CMSMain: Generate form in PHP instead of template, require less UI state, pass filtered/sanitized paramers straight into CMSMainMarkingFilter instead of relying on git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92618 467b73ca-7a2a-4603-9d3b-597d59a354a9
77 lines
2.2 KiB
Scheme
77 lines
2.2 KiB
Scheme
<div id="TreeActions">
|
|
|
|
<ul>
|
|
<li>
|
|
<a href="#TreeActions-create">
|
|
<% _t('CREATE','Create',PR_HIGH) %>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="#TreeActions-search">
|
|
<% _t('SEARCH','Search',PR_HIGH) %>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="#TreeActions-batchactions">
|
|
<% _t('BATCHACTIONS','Batch Actions',PR_HIGH) %>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<div id="TreeActions-create">
|
|
<% control AddPageOptionsForm %>
|
|
<form class="actionparams" id="$FormName" action="$FormAction">
|
|
<% control Fields %>
|
|
$FieldHolder
|
|
<% end_control %>
|
|
<div>
|
|
<input class="action" type="submit" value="<% _t('GO','Go') %>" />
|
|
</div>
|
|
</form>
|
|
<% end_control %>
|
|
</div>
|
|
|
|
<div id="TreeActions-search">
|
|
$SearchTreeForm
|
|
</div>
|
|
|
|
<div id="TreeActions-batchactions">
|
|
<form class="actionparams" style="border:0" id="batchactions_options" action="">
|
|
<p><% _t('SELECTPAGESACTIONS','Select the pages that you want to change & then click an action:') %></p>
|
|
|
|
<input type="hidden" name="csvIDs" />
|
|
|
|
<div>
|
|
<select id="choose_batch_action">
|
|
<% control BatchActionList %>
|
|
<option value="$Link" class="{doingText:'$DoingText'}">$Title</option>
|
|
<% end_control %>
|
|
</select>
|
|
<input id="batchactions_go" type="submit" class="action" value="Go" />
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="checkboxAboveTree" style="border-bottom:none">
|
|
Show: <select id="siteTreeFilterList">
|
|
<% control SiteTreeFilters %>
|
|
<option value="$ClassName">$Title</option>
|
|
<% end_control %>
|
|
</select> <img id="siteTreeFilterActionIndicator" style="display:none" src="cms/images/network-save.gif">
|
|
</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 & drop reordering', PR_HIGH) %></label>
|
|
</div>
|
|
</div>
|
|
|
|
<% if IsTranslatableEnabled %>
|
|
<div id="LangSelector_holder">
|
|
Language: $LangSelector
|
|
</div>
|
|
<% end_if %> |