summaryrefslogtreecommitdiff
path: root/lib/VNDB
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-12-13 20:56:02 +0100
committerYorhel <git@yorhel.nl>2010-12-13 20:56:02 +0100
commitd63d8828315b056c41a64697aaf118551c052770 (patch)
treee84516fff3d9d71a756ddf30325092b4c0885292 /lib/VNDB
parentf569479e100122e620e5ffd8569231b66b406089 (diff)
Added links to /g/links from /g and /g+
That should be all relevant pages, I guess.
Diffstat (limited to 'lib/VNDB')
-rw-r--r--lib/VNDB/Handler/Tags.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/VNDB/Handler/Tags.pm b/lib/VNDB/Handler/Tags.pm
index a51392ac..0037769d 100644
--- a/lib/VNDB/Handler/Tags.pm
+++ b/lib/VNDB/Handler/Tags.pm
@@ -103,6 +103,7 @@ sub tagpage {
if(!$t->{meta} && $t->{state} == 2) {
div class => 'mainbox';
+ a class => 'addnew', href => "/g/links?t=$tag", mt '_tagp_rawvotes';
h1 mt '_tagp_vnlist';
p class => 'browseopts';
a href => "/g$t->{id}?m=0", $f->{m} == 0 ? (class => 'optselected') : (), onclick => "setCookie('tagspoil', 0);return true;", mt '_tagp_spoil0';
@@ -593,6 +594,7 @@ sub tagindex {
# Popular
td;
+ a class => 'addnew', href => "/g/links", mt '_tagidx_rawtags';
$r = $self->dbTagGet(sort => 'vns', reverse => 1, meta => 0, results => 10);
h1 mt '_tagidx_popular';
ul;