chiark / gitweb /
Add buttons to the top of the multi-post screen
authorMatthew Vernon <matthewv@chiark.greenend.org.uk>
Fri, 3 Jan 2014 17:39:55 +0000 (17:39 +0000)
committerMatthew Vernon <matthewv@chiark.greenend.org.uk>
Fri, 3 Jan 2014 17:39:55 +0000 (17:39 +0000)
The Todal asked for Submit/Reset buttons at the top as well as the
bottom of the multiple-message moderation screen. This patch provides
those; it'll look a bit ugly if there are no posts in the queue, but
we don't know that there aren't at the point we need to print the
buttons.

webstump/scripts/html_output.pl

index 30b9c1c3c7fe6310263d6ab4ea2d1f26ab490b52..630f3410cc257679d1eccd18e0ca91bd0180fe14 100644 (file)
@@ -529,6 +529,10 @@ queue.\n";
   <FORM METHOD=$request_method action=$base_address>
   <INPUT NAME=action VALUE=approval_decision TYPE=hidden>";
     &html_print_credentials;
+
+    print "<HR> <INPUT TYPE=submit VALUE=Submit>
+<INPUT TYPE=reset VALUE=Reset>
+";
   
   my $file, $subject = "No Subject", $from = "From nobody";
   my $form_not_empty = "";