summaryrefslogtreecommitdiff
path: root/lib/VNDB.pm
diff options
context:
space:
mode:
authoryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-07-29 11:15:07 +0000
committeryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-07-29 11:15:07 +0000
commit7aea19c2f8e71a7d630b613a57325c4dce1b1363 (patch)
treeb4c2e35d40afc7b3a0a22eb8f509c49b37f5f7db /lib/VNDB.pm
parenta0f440de277653b3c79fd117d026855ec6b78373 (diff)
- Added release list feature
- Added noindex tag to iid-ttag browser - Replaced last poster with age of last post on home page - Merged user vote lists into new vnlist - Removed 'hide votes' feature - Fixed users+1 stats bug - Fixed FF3 JS hack - Old VNList code is still present, need to decide what to do with that git-svn-id: svn://vndb.org/vndb@74 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b
Diffstat (limited to 'lib/VNDB.pm')
-rw-r--r--lib/VNDB.pm10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/VNDB.pm b/lib/VNDB.pm
index dff63bc7..be5bc542 100644
--- a/lib/VNDB.pm
+++ b/lib/VNDB.pm
@@ -20,7 +20,6 @@ use VNDB::Producers;
use VNDB::Releases;
use VNDB::VNLists;
use VNDB::Users;
-use VNDB::Votes;
use VNDB::VN;
@@ -43,10 +42,11 @@ my %VNDBuris = ( # wildcards: * -> (.+), + -> ([0-9]+)
},
'u+' => {
'/' => sub { shift->UsrPage(shift) },
- votes => sub { shift->VNVotes(shift) },
edit => sub { shift->UsrEdit(shift) },
del => sub { shift->UsrDel(shift) },
- list => sub { shift->VNMyList(shift) },
+ list => sub { shift->RList(shift) },
+ #vlist => sub { shift->VNMyList(shift) },
+ #votes => sub { shift->VNVotes(shift) },
hist => {'*'=> sub { shift->History('u', shift, $_[1]) } },
},
# visual novels
@@ -61,7 +61,7 @@ my %VNDBuris = ( # wildcards: * -> (.+), + -> ([0-9]+)
rg => sub { shift->VNPage(shift, shift) },
edit => sub { shift->VNEdit(shift) },
vote => sub { shift->VNVote(shift) },
- list => sub { shift->VNListMod(shift) },
+ #list => sub { shift->VNListMod(shift) },
add => sub { shift->REdit('v', shift) },
lock => sub { shift->VNLock(shift) },
hide => sub { shift->VNHide(shift) },
@@ -74,6 +74,7 @@ my %VNDBuris = ( # wildcards: * -> (.+), + -> ([0-9]+)
edit => sub { shift->REdit('r', shift) },
lock => sub { shift->RLock(shift) },
hide => sub { shift->RHide(shift) },
+ list => sub { shift->RListMod(shift) },
hist => {'*'=> sub { shift->History('r', shift, $_[1]) } },
},
'r+.+' => sub { shift->RPage($_[0][0], $_[0][1]) },
@@ -160,6 +161,7 @@ my %OLDuris = (
}
},
'u+' => {
+ votes => sub { shift->ResRedirect('/u'.(shift).'/list', 'perm') },
hist=>{rss => sub { shift->ResRedirect('/u'.(shift).'/hist/rss.xml', 'perm') } },
},
'p+' => {