source: trunk/templates/delete_confirm.tt @ 429

Last change on this file since 429 was 429, checked in by kake, 18 years ago

Added 'delete a revision' facility.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
1[% IF delete_version %]
2  [% INCLUDE header.tt page_title = "Confirm delete for version $delete_version of $node_name - $site_name" %]
3[% ELSE %]
4  [% INCLUDE header.tt page_title = "Confirm delete for $node_name - $site_name" %]
5[% END %]
6[% INCLUDE banner.tt %]
7<div id="content">
8[% INCLUDE navbar.tt %]
9
10<h1>Confirm Deletion</h1>
11<p>
12[% IF delete_version %]
13  Are you sure you want to delete version [% delete_version %] of
14  <em>[% node_name %]</em>?  This will completely erase this version
15  and you will not be able to get it back.  If all versions are erased
16  then the page will cease to exist.
17[% ELSE %]
18  Are you sure you want to delete <em>[% node_name %]</em>?  This will
19  completely erase this page and all its history.
20[% END %]
21If so, please enter the admin
22password. If not, you can <a href="[% cgi_url %]?[% node_param %]">go back to the
23page</a>.
24</p>
25<form action="[% cgi_url %]" method="post">
26<input type="hidden" name="action" value="delete">
27<input type="hidden" name="id" value="[% node_name %]">
28<input type="hidden" name="version" value="[% delete_version %]" />
29<strong>Password:</strong> <input type="password" name="password"> <input type="submit" value="Delete">
30</form>
31
32[% INCLUDE footer.tt %]
Note: See TracBrowser for help on using the repository browser.