diff options
author | Yorhel <git@yorhel.nl> | 2009-04-05 08:46:59 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-04-05 08:46:59 +0200 |
commit | a1c32662338082c422719e3ac5801c17320bef95 (patch) | |
tree | 72d8c1b5c28fe27f266952c84edcf4ed4cfd0782 | |
parent | de966020940c1b77d99d4c33f0b57688eb1246d8 (diff) |
Allow everyone to see deleted tags
And more importantly, the reason the tag was denied.
-rw-r--r-- | lib/VNDB/Handler/Tags.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/VNDB/Handler/Tags.pm b/lib/VNDB/Handler/Tags.pm index 19636682..49193e61 100644 --- a/lib/VNDB/Handler/Tags.pm +++ b/lib/VNDB/Handler/Tags.pm @@ -47,7 +47,7 @@ sub tagpage { ); my $title = ($t->{meta} ? 'Meta tag: ' : 'Tag: ').$t->{name}; - $self->htmlHeader(title => $title); + $self->htmlHeader(title => $title, noindex => $t->{state} != 2); $self->htmlMainTabs('g', $t); if($t->{state} != 2) { @@ -68,7 +68,6 @@ sub tagpage { end; } end; - return $self->htmlFooter if $t->{state} == 1 && !$self->authCan('tagmod'); } div class => 'mainbox'; |