diff options
author | Yorhel <git@yorhel.nl> | 2010-12-20 12:57:23 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2010-12-20 12:57:23 +0100 |
commit | 725b626dddd1acd033f61a94712336142c733937 (patch) | |
tree | 2c028f282b481570683e9d380565c2d7ca5c8dd3 /lib/VNDB/Handler | |
parent | 34e150d039b0a2421a0d0f489147cdcfbaed6bf0 (diff) |
Added advanced page-browsing tabs to threads
Diffstat (limited to 'lib/VNDB/Handler')
-rw-r--r-- | lib/VNDB/Handler/Discussions.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/Handler/Discussions.pm b/lib/VNDB/Handler/Discussions.pm index d9974b00..7c0160de 100644 --- a/lib/VNDB/Handler/Discussions.pm +++ b/lib/VNDB/Handler/Discussions.pm @@ -48,7 +48,7 @@ sub thread { end; end; - $self->htmlBrowseNavigate("/t$tid/", $page, $t->{count} > $page*25, 't', 1); + $self->htmlBrowseNavigate("/t$tid/", $page, [ $t->{count}, 25 ], 't', 1); div class => 'mainbox thread'; table; for my $i (0..$#$p) { @@ -83,7 +83,7 @@ sub thread { } end; end; - $self->htmlBrowseNavigate("/t$tid/", $page, $t->{count} > $page*25, 'b', 1); + $self->htmlBrowseNavigate("/t$tid/", $page, [ $t->{count}, 25 ], 'b', 1); if($t->{locked}) { div class => 'mainbox'; |