silverstripe-cms/templates/Includes/CMSLeft.ss
Hayden Smith abb9a61d0d Moved CMS module to open source path
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39000 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-19 10:40:05 +00:00

28 lines
954 B
Scheme
Executable File

<h1>Site Content</h1>
<ul id="TreeActions">
<li class="action" id="addpage"><a href="admin/addpage">New Page...</a></li>
<li class="action" id="deletepage"><a href="admin/deletepage">Delete Pages...</a></li>
<li class="spacer"></li>
</ul>
<form class="actionparams" id="addpage_options" style="display: none" action="admin/addpage">
<select name="Type">
<% control PageTypes %>
<option value="$ClassName">$AddAction</option>
<% end_control %>
</select>
<input type="hidden" name="ParentID" />
<input class="action" type="submit" value="Go" />
</form>
<form class="actionparams" id="deletepage_options" style="display: none" action="admin/deletepages">
<p>Select the pages that you want to delete and then click the button below</p>
<input type="hidden" name="csvIDs" />
<input type="submit" value="Delete the selected pages" />
</form>
<div id="sitetree_holder" style="overflow:auto">
$SiteTreeAsUL
</div>