diff options
author | Yorhel <git@yorhel.nl> | 2010-12-19 19:29:24 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2010-12-19 19:29:24 +0100 |
commit | f69cf868466321ee3ef15948231978f784797bb0 (patch) | |
tree | d669c687fde61b6350dcfd6d4f5a8c5743748c02 /lib/VNDB/Util/CommonHTML.pm | |
parent | a1db0a213b9f1ea0d4d9f75e4014af6c156b493c (diff) |
Added tab and link for /u+/votes to user tabs & main menu
Diffstat (limited to 'lib/VNDB/Util/CommonHTML.pm')
-rw-r--r-- | lib/VNDB/Util/CommonHTML.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/VNDB/Util/CommonHTML.pm b/lib/VNDB/Util/CommonHTML.pm index c7d67647..a384c5a3 100644 --- a/lib/VNDB/Util/CommonHTML.pm +++ b/lib/VNDB/Util/CommonHTML.pm @@ -50,6 +50,10 @@ sub htmlMainTabs { a href => "/$id/wish", mt '_mtabs_wishlist'; end; + li $sel eq 'votes' ? (class => 'tabselected') : (); + a href => "/$id/votes", mt '_mtabs_votes'; + end; + li $sel eq 'list' ? (class => 'tabselected') : (); a href => "/$id/list", mt '_mtabs_list'; end; |