summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Misc.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-10-22 17:49:51 +0200
committerYorhel <git@yorhel.nl>2009-10-22 17:49:51 +0200
commitc5ba0795a08d4c1be02331db9ea3867d86fc2119 (patch)
tree3697917eb6bd698d2cab593f61eec8d3ea08b49c /lib/VNDB/Handler/Misc.pm
parent296c94e820e0664d5a1efb154ce8505e8eac0c57 (diff)
d+: Wrote more extensive credits page and moved link icons to the FAQ
Diffstat (limited to 'lib/VNDB/Handler/Misc.pm')
-rw-r--r--lib/VNDB/Handler/Misc.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/VNDB/Handler/Misc.pm b/lib/VNDB/Handler/Misc.pm
index 72db2489..b2cadbda 100644
--- a/lib/VNDB/Handler/Misc.pm
+++ b/lib/VNDB/Handler/Misc.pm
@@ -292,6 +292,12 @@ sub docpage {
close $F;
$ii;
}eg;
+ s{^:TOP5CONTRIB:$}{
+ my $l = $self->dbUserGet(results => 6, order => 'c_changes DESC');
+ '<dl>'.join('', map $_->{id} == 1 ? () :
+ sprintf('<dt><a href="/u%d">%s</a></dt><dd>%d</dd>', $_->{id}, $_->{username}, $_->{c_changes}),
+ @$l).'</dl>';
+ }eg;
}
$self->htmlHeader(title => $title);