source: trunk/templates/moderate_confirm.tt @ 829

Last change on this file since 829 was 829, checked in by nick, 15 years ago

Support for toggling moderation on and off on nodes

File size: 1.4 KB
Line 
1[% IF moderation_action == 'set_moderation' %]
2  [% INCLUDE header.tt page_title = "Change moderation status of $node_name" %]
3[% ELSE %]
4  [% INCLUDE header.tt page_title = "Moderate a version of $node_name" %]
5[% END %]
6[% INCLUDE banner.tt %]
7<div id="content">
8[% INCLUDE navbar.tt %]
9<div id="maincontent">
10
11<h1>Confirm Moderation</h1>
12<p>
13[% IF moderation_action == 'set_moderation' %]
14  You are about to change the moderation flag on
15  <span class="node_name">[% node_name %]</span>.
16[% ELSE %]
17  You are about to moderate a version of
18  <span class="node_name">[% node_name %]</span>.
19  completely erase this page and all its history.
20[% END %]
21To do so, please enter the admin password. If not, you can
22<a href="[% cgi_url %]?action=admin">go back to the admin page</a>.
23</p>
24<form action="[% cgi_url %]" method="post">
25  <input type="hidden" name="action" value="[% moderation_action %]" />
26  <input type="hidden" name="id" value="[% node_param %]" />
27[% IF moderation_action == 'set_moderation' %]
28  <label for="moderation_flag">Moderation Required:</label>
29  <input type="checkbox" name="moderation_flag" [% IF moderation_flag %]checked="yes"[% END %] />
30  <br />
31[% ELSE %]
32  <input type="hidden" name="version" value="[% version %]" />
33[% END %]
34  <strong>Password:</strong>
35  <input type="password" name="password" />
36  <input type="submit" value="Action Moderation" />
37</form>
38
39</div>
40[% INCLUDE footer.tt %]
Note: See TracBrowser for help on using the repository browser.