chiark / gitweb /
default option on one-article screen is back of queue
[modbot-mtm.git] / webstump / scripts / html_output.pl
index 1c5fd4d96145bec85bbcfd738b952e809b093f13..5503b4ae6104a3566e993c03f5ad1f69b87c9281 100644 (file)
@@ -247,7 +247,7 @@ sub html_moderate_article {
   &html_print_credentials;
   print "<SELECT NAME=\"decision_$file\">
 <OPTION VALUE=\"approve\">Approve</OPTION>
-<OPTION VALUE=\"leave\">Put to back of queue</OPTION>
+<OPTION VALUE=\"leave\" SELECTED>Put to back of queue</OPTION>
 <OPTION VALUE=\"consider\">Back of queue, adding mark requesting further consideration</OPTION>
 ";
 
@@ -704,7 +704,7 @@ and are often quoted in message headers in [square brackets].<p>
       return 0 unless @vals >= 5;
       my $subj= pop @vals;
       my ($group,$dir,$act,$reason,$timet) = @vals;
-      my $date= $timet ? (strftime "%Y-%M-%d %H:%M:%S GMT", gmtime $timet)
+      my $date= $timet ? (strftime "%Y-%m-%d %H:%M:%S GMT", gmtime $timet)
           : "(unknown)";
       return 0 unless $group eq $request{'newsgroup'};
       return 0 unless $subj =~ m,/(\d+)$,;
@@ -721,7 +721,8 @@ and are often quoted in message headers in [square brackets].<p>
       print "</table>" if $sofar;
       print "\n";
   } else {
-      print "Reference not found.";
+      print "Reference not found.".
+          "  (Perhaps message has expired, or is still in the queue?)";
   }
   &end_html;
 }