summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Misc.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2008-12-11 17:19:45 +0100
committerYorhel <git@yorhel.nl>2008-12-11 17:19:45 +0100
commit4aec68f3b46540a1ce329260c42f969139756063 (patch)
tree3715d9ebd01c569416807dc2edaa9e66151cc55a /lib/VNDB/Handler/Misc.pm
parentb03787002a5065a33d51bfac3d5d87787d23fd79 (diff)
Recent changes on userpages
Diffstat (limited to 'lib/VNDB/Handler/Misc.pm')
-rw-r--r--lib/VNDB/Handler/Misc.pm44
1 files changed, 1 insertions, 43 deletions
diff --git a/lib/VNDB/Handler/Misc.pm b/lib/VNDB/Handler/Misc.pm
index 60af53e7..f83adce2 100644
--- a/lib/VNDB/Handler/Misc.pm
+++ b/lib/VNDB/Handler/Misc.pm
@@ -120,49 +120,7 @@ sub history {
}
end;
- # actual browse box
- $self->htmlBrowse(
- items => $list,
- options => $f,
- nextpage => $np,
- pageurl => $u->(),
- class => 'history',
- header => [
- sub { td colspan => 2, class => 'tc1', 'Rev.' },
- [ 'Date' ],
- [ 'User' ],
- [ 'Page' ],
- ],
- row => sub {
- my($s, $n, $i) = @_;
- my $tc = [qw|v r p|]->[$i->{type}];
- my $revurl = "/$tc$i->{iid}.$i->{rev}";
-
- Tr $n % 2 ? ( class => 'odd' ) : ();
- td class => 'tc1_1';
- a href => $revurl, "$tc$i->{iid}";
- end;
- td class => 'tc1_2';
- a href => $revurl, ".$i->{rev}";
- end;
- td date $i->{added};
- td;
- lit userstr($i);
- end;
- td;
- a href => $revurl, title => $i->{ioriginal}, shorten $i->{ititle}, 80;
- end;
- end;
- if($i->{comments}) {
- Tr $n % 2 ? ( class => 'odd' ) : ();
- td colspan => 5, class => 'editsum';
- lit bb2html $i->{comments}, 150;
- end;
- end;
- }
- },
- );
-
+ $self->htmlHistory($list, $f, $np, $u->());
$self->htmlFooter;
}