Permalink
Browse files

Misc. thingys

  • Loading branch information...
1 parent f8cf9d4 commit 186b25dd3332ee36961ca7d05332283ffe799609 @pudge pudge committed Mar 2, 2004
Showing with 5 additions and 2 deletions.
  1. +2 −2 themes/slashcode/htdocs/comments.pl
  2. +3 −0 themes/slashcode/templates/data;comments;default
@@ -1421,11 +1421,11 @@ sub moderate {
my $was_touched = 0;
my $meta_mods_performed = 0;
- if ($user->{is_admin}){
+ if ($user->{is_admin}) {
$meta_mods_performed = metaModerate();
}
- if ($form->{meta_mod_only}){
+ if ($form->{meta_mod_only}) {
titlebar("100%", "MetaModerating...");
print getData("metamoderate_message");
print getData("metamods_performed", { num => $meta_mods_performed }) if $meta_mods_performed;
@@ -65,11 +65,14 @@ __template__
[% returnme.data_constant = 1 %]
You either aren't <a href="[% constants.rootdir %]/users.pl">logged in</a>
or don't have sufficient privileges to submit a [% label %].
+
[% CASE 'metamoderate_message' %]
[% returnme.data_constant = 1 %]
MetaModeration completed.
+
[% CASE 'metamods_performed' %]
<P>[% num %] MetaModeration(s) Completed.
+
[% END %]
__seclev__

0 comments on commit 186b25d

Please sign in to comment.