diff options
author | yorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b> | 2008-07-13 11:35:46 +0000 |
---|---|---|
committer | yorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b> | 2008-07-13 11:35:46 +0000 |
commit | 444f1107fd8bb195324c960c384875ab2e0bbc12 (patch) | |
tree | 73de868cb75951fd4ee3941d67cc2b9676199ebe /lib | |
parent | a9de16e13ba4b2270794e2b1aef4f710fa143cbf (diff) |
Re-added the vote stats to VN pages, Searching for 'Chinese' doesn't select 'NES' and Place/time category order on VN pages is now consistent
git-svn-id: svn://vndb.org/vndb@66 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ChangeLog | 3 | ||||
-rw-r--r-- | lib/VNDB/VN.pm | 8 | ||||
-rw-r--r-- | lib/global.pl | 2 |
3 files changed, 8 insertions, 5 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index 06f828a6..ffc166a4 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -10,6 +10,9 @@ TODO: - Admins can change someone's username - Fixed the automatic relogin after changing password - Added lock indicator when browsing threads on a tag + - Re-added the vote stats to VN pages + - Searching for 'Chinese' doesn't select 'NES' + - Place/time category order on VN pages is now consistent 1.19 - 2008-07-08 (r62) - Integrated discussion board diff --git a/lib/VNDB/VN.pm b/lib/VNDB/VN.pm index 683aba67..edf644ab 100644 --- a/lib/VNDB/VN.pm +++ b/lib/VNDB/VN.pm @@ -49,10 +49,10 @@ sub VNPage { latest => scalar $self->DBGetVNList(vid => $id, results => 7, hide => 1), graph => $self->DBVNListStats(vid => $id), }, - #votes => { - # latest => scalar $self->DBGetVotes(vid => $id, results => 10, hide => 1), - # graph => $self->DBVoteStats(vid => $id), - #}, + votes => { + latest => scalar $self->DBGetVotes(vid => $id, results => 10, hide => 1), + graph => $self->DBVoteStats(vid => $id), + }, ) : (), }); } diff --git a/lib/global.pl b/lib/global.pl index 6b637375..999e082a 100644 --- a/lib/global.pl +++ b/lib/global.pl @@ -64,7 +64,7 @@ our $PLAT = { gba => 'Game Boy Advance', msx => 'MSX', nds => 'Nintendo DS', - nes => 'NES', + nes => 'Famicom', psp => 'Playstation Portable', ps1 => 'Playstation 1', ps2 => 'Playstation 2', |