summaryrefslogtreecommitdiff
path: root/lib/VNDB/Util/CommonHTML.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VNDB/Util/CommonHTML.pm')
-rw-r--r--lib/VNDB/Util/CommonHTML.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/VNDB/Util/CommonHTML.pm b/lib/VNDB/Util/CommonHTML.pm
index 646c052a..a6aa1dd3 100644
--- a/lib/VNDB/Util/CommonHTML.pm
+++ b/lib/VNDB/Util/CommonHTML.pm
@@ -48,10 +48,16 @@ sub htmlMainTabs {
li $sel eq 'list' ? (class => 'tabselected') : ();
a href => "/$id/list", 'list';
end;
+ }
+ if($type eq 'u') {
li $sel eq 'tags' ? (class => 'tabselected') : ();
a href => "/$id/tags", 'tags';
end;
+
+ li $sel eq 'posts' ? (class => 'tabselected') : ();
+ a href => "/$id/posts", 'posts';
+ end;
}
if($type eq 'v' && $self->authCan('tag') && !$obj->{hidden}) {