summaryrefslogtreecommitdiff
path: root/lib/VNDB
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-12-09 19:37:01 +0100
committerYorhel <git@yorhel.nl>2010-12-09 19:37:01 +0100
commit409d24b3b0ef7864e1b319496df121b9aa3b0ea8 (patch)
tree8a534b1ca12b765c68c7eebe25672e5510cc3718 /lib/VNDB
parent14bf96d3f0868cb18489fd559be129f7e5f55f9f (diff)
Removed expand/collapse from /u+/posts and switched to a combined view
And removed some shared code that is now unused
Diffstat (limited to 'lib/VNDB')
-rw-r--r--lib/VNDB/Handler/Users.pm10
-rw-r--r--lib/VNDB/Util/BrowseHTML.pm2
2 files changed, 5 insertions, 7 deletions
diff --git a/lib/VNDB/Handler/Users.pm b/lib/VNDB/Handler/Users.pm
index bfd33d08..b3bc889e 100644
--- a/lib/VNDB/Handler/Users.pm
+++ b/lib/VNDB/Handler/Users.pm
@@ -403,7 +403,7 @@ sub posts {
[ '' ],
[ '' ],
[ mt '_uposts_col_date' ],
- sub { td; a href => '#', id => 'expandlist', mt '_js_expand'; txt mt '_uposts_col_title'; end; }
+ [ mt '_uposts_col_title' ],
],
row => sub {
my($s, $n, $l) = @_;
@@ -411,11 +411,9 @@ sub posts {
td class => 'tc1'; a href => "/t$l->{tid}.$l->{num}", 't'.$l->{tid}; end;
td class => 'tc2'; a href => "/t$l->{tid}.$l->{num}", '.'.$l->{num}; end;
td class => 'tc3', $self->{l10n}->date($l->{date});
- td class => 'tc4'; a href => "/t$l->{tid}.$l->{num}", $l->{title}; end;
- end;
- Tr class => $n % 2 ? 'collapse msgsum odd hidden' : 'collapse msgsum hidden';
- td colspan => 4;
- lit bb2html $l->{msg}, 150;
+ td class => 'tc4';
+ a href => "/t$l->{tid}.$l->{num}", $l->{title};
+ b class => 'grayedout'; lit bb2html $l->{msg}, 150; end;
end;
end;
},
diff --git a/lib/VNDB/Util/BrowseHTML.pm b/lib/VNDB/Util/BrowseHTML.pm
index d4c7c84e..139ff1b0 100644
--- a/lib/VNDB/Util/BrowseHTML.pm
+++ b/lib/VNDB/Util/BrowseHTML.pm
@@ -135,7 +135,7 @@ sub htmlBrowseHist {
end;
td class => 'tc4';
a href => $revurl, title => $i->{ioriginal}, shorten $i->{ititle}, 80;
- b class => 'grayedout'; lit bb2html $i->{comments}, 250; end;
+ b class => 'grayedout'; lit bb2html $i->{comments}, 150; end;
end;
end;
},