X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~webstump/git?a=blobdiff_plain;f=webstump%2Fscripts%2Fhtml_output.pl;h=4b0e576d1619dc60aad994fc4bb2dbe221d41640;hb=da0fbc8cab1d9b8feda9a8920d7621c218612cbe;hp=1f4a15d14e24c1c488c4381d047d2dea39142503;hpb=433def7bdb93ae29c0fb15fd0645391253d254a9;p=modbot-ulm.git diff --git a/webstump/scripts/html_output.pl b/webstump/scripts/html_output.pl index 1f4a15d..4b0e576 100644 --- a/webstump/scripts/html_output.pl +++ b/webstump/scripts/html_output.pl @@ -193,7 +193,7 @@ of this installation.
&end_html; } -# main moderation page -- old version +# main moderation page -- single-article version sub html_moderate_article { my $newsgroup = &required_parameter( 'newsgroup' ); my $moderator = $request{'moderator'}; @@ -247,7 +247,7 @@ sub html_moderate_article { &html_print_credentials; print "Don't change poster's status Preapprove poster +>White-list poster Ban All Posts by this Person (Careful!) @@ -271,16 +271,16 @@ sub html_moderate_article {
-Ban Entire Thread By Subject (Careful!) -Put Entire thread on a Watch, by Subject: +>Ban Entire Thread By Subject (Careful!) --> +

-NOTE: Decisions to ban and preapprove posters and threads can be reversed by -logging in as \"admin\" and editing respective lists of preapproved -and banned threads and posters. +NOTE: Decisions to ban and whitelist posters can be reversed by +logging in as \"admin\" and editing respective lists of whitelisted +and banned threads. "; &link_to_help( "filter-lists", "automatic filtering and filter lists, blacklisting and preapproved threads." ); @@ -478,7 +478,7 @@ sub get_queue_list ($) { return ($dir, @articles); } -# main moderation page +# main moderation page -- multiple-articles version sub html_moderation_screen { my $newsgroup = &required_parameter( 'newsgroup' ); my $moderator = $request{'moderator'}; @@ -529,6 +529,10 @@ queue.\n";
"; &html_print_credentials; + + print "
+ +"; my $file, $subject = "No Subject", $from = "From nobody"; my $form_not_empty = ""; @@ -558,7 +562,7 @@ queue.\n"; print "
$from: $subject("; print "Review/Comment/Preapprove)
\n"; + "moderator=$moderator&password=$password&file=$subdir>Review/Comment/Whitelist)
\n"; print "Approve\n"; print "Leave\n"; print "Back of queue\n"; @@ -764,13 +768,8 @@ sub html_newsgroup_management { Configuration List: @@ -812,6 +811,12 @@ sub html_newsgroup_management { print "\n"; + print "
"; + &html_print_credentials; + print " + +
"; + &end_html; }