chiark / gitweb /
Add a link to the management page from the single-article page
authorMatthew Vernon <matthew@debian.org>
Sun, 5 Jan 2014 13:33:19 +0000 (13:33 +0000)
committerMatthew Vernon <matthew@debian.org>
Sun, 5 Jan 2014 13:33:19 +0000 (13:33 +0000)
webstump/scripts/html_output.pl

index 61f2b13817dbeb1275c21b5551711982d10b5817..0529a82b6bdd4ecc9ec8ee52ffd4ee3af928f2bb 100644 (file)
@@ -283,6 +283,11 @@ editing the respective lists of whitelisted and watchlisted posters.
 ";
 
       print "</FORM>\n\n";
+  print "<FORM METHOD=$request_method action=$base_address>";
+  &html_print_credentials;
+  print "<INPUT NAME=action VALUE=moderator_admin TYPE=hidden>
+         <INPUT TYPE=submit VALUE=\"Go to Management Page Instead of Moderating This Post\">
+         </FORM>";
   print "<BR><A HREF=$base_address?action=change_password&newsgroup=$newsgroup&" .
         "moderator=$moderator&password=$password>Change Password</A>";