|
Revision 852, 1.3 kB
(checked in by dom, 2 years ago)
|
|
More cleanups after nick in admin code:
- remove unnecessary capitalization
- fix all links to wiki.cgi
|
| 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 | [% ELSE %] |
|---|
| 16 | You are about to moderate a version of |
|---|
| 17 | [% END %] |
|---|
| 18 | <span class="node_name">[% node_name %]</span>. |
|---|
| 19 | To do so, please enter the admin password. If not, you can |
|---|
| 20 | <a href="[% cgi_url %]?action=admin">go back to the admin page</a>. |
|---|
| 21 | </p> |
|---|
| 22 | <form action="[% cgi_url %]" method="post"> |
|---|
| 23 | <input type="hidden" name="action" value="[% moderation_action %]" /> |
|---|
| 24 | <input type="hidden" name="id" value="[% node_param %]" /> |
|---|
| 25 | [% IF moderation_action == 'set_moderation' %] |
|---|
| 26 | <label for="moderation_flag">Moderation Required:</label> |
|---|
| 27 | <input type="checkbox" name="moderation_flag" [% IF moderation_flag %]checked="yes"[% END %] /> |
|---|
| 28 | <br /> |
|---|
| 29 | [% ELSE %] |
|---|
| 30 | <input type="hidden" name="version" value="[% version %]" /> |
|---|
| 31 | [% END %] |
|---|
| 32 | <strong>Password:</strong> |
|---|
| 33 | <input type="password" name="password" /> |
|---|
| 34 | <input type="submit" value="Go!" /> |
|---|
| 35 | </form> |
|---|
| 36 | |
|---|
| 37 | </div> |
|---|
| 38 | [% INCLUDE footer.tt %] |
|---|