&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'};
&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>
";
print "<BR>
<INPUT TYPE=radio NAME=poster_decision VALUE=nothing CHECKED>Don't change poster's status</INPUT>
<INPUT TYPE=radio NAME=poster_decision VALUE=preapprove
->Preapprove poster</INPUT>
+>White-list poster</INPUT>
<INPUT TYPE=radio NAME=poster_decision VALUE=ban
ONCLICK=\"alert( 'Banning a poster is a controversial practice'); \"
> Ban All Posts by this Person (Careful!)</INPUT>
<!-- <INPUT TYPE=radio NAME=thread_decision VALUE=preapprove>Preapprove thread, by Subject:</INPUT> -->
<BR>
-<INPUT TYPE=radio NAME=thread_decision VALUE=ban
+<!-- <INPUT TYPE=radio NAME=thread_decision VALUE=ban
ONCLICK=\"alert( 'Banning a thread is a controversial practice'); \"
->Ban Entire Thread By Subject (Careful!)</INPUT>
-<INPUT TYPE=radio NAME=thread_decision VALUE=watch>Put Entire thread on a Watch, by Subject:</INPUT>
+>Ban Entire Thread By Subject (Careful!)</INPUT> -->
+<!-- <INPUT TYPE=radio NAME=thread_decision VALUE=watch>Put Entire thread on a Watch, by Subject:</INPUT> -->
<BR><BR>
<I>
-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." );
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'};
<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 = "";
print "<HR><B>$from: $subject</B>(";
print "<A HREF=$base_address?action=moderate_article&newsgroup=$newsgroup&" .
- "moderator=$moderator&password=$password&file=$subdir>Review/Comment/Preapprove</A>)<BR>\n";
+ "moderator=$moderator&password=$password&file=$subdir>Review/Comment/Whitelist</A>)<BR>\n";
print "<INPUT TYPE=radio NAME=\"decision_$file\" VALUE=approve>Approve\n";
print "<INPUT TYPE=radio NAME=\"decision_$file\" VALUE=skip>Leave\n";
print "<INPUT TYPE=radio NAME=\"decision_$file\" VALUE=leave>Back of queue\n";
Configuration List: <SELECT NAME=list_to_edit>
<OPTION VALUE=good.posters.list>Good Posters List
- <OPTION VALUE=watch.posters.list>Suspicious Posters List
<OPTION VALUE=bad.posters.list>Banned Posters List
- <OPTION VALUE=good.subjects.list>Good Subjects List
- <OPTION VALUE=watch.subjects.list>Suspicious Subjects List
- <OPTION VALUE=bad.subjects.list>Banned Subjects List
<OPTION VALUE=watch.words.list>Suspicious Words List
- <OPTION VALUE=bad.words.list>Banned Words List
</SELECT>
<INPUT TYPE=submit VALUE=\"Edit\">
print "</UL>\n";
+ print "<HR><FORM METHOD=$request_method action=$base_address>";
+ &html_print_credentials;
+ print "<INPUT NAME=action VALUE=moderation_screen TYPE=hidden>
+ <INPUT TYPE=submit VALUE=\"Go to moderation screen\">
+ </FORM>";
+
&end_html;
}