summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Misc.pm
diff options
context:
space:
mode:
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);