summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Users.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-10-10 16:37:49 +0200
committerYorhel <git@yorhel.nl>2019-10-10 16:54:36 +0200
commite0f0fec01dd6cb8b0cc2b2dc85ad05a6cd990488 (patch)
tree5c4e27d70668a0c162365c27c02f834e42be3f3e /lib/VNDB/Handler/Users.pm
parentb3a9130763879d60c0e413c724a759860bd396af (diff)
rewards: Honor public custom css/skin
Diffstat (limited to 'lib/VNDB/Handler/Users.pm')
-rw-r--r--lib/VNDB/Handler/Users.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/Handler/Users.pm b/lib/VNDB/Handler/Users.pm
index e31dbd77..e10fcaa5 100644
--- a/lib/VNDB/Handler/Users.pm
+++ b/lib/VNDB/Handler/Users.pm
@@ -24,7 +24,7 @@ sub posts {
my($self, $uid) = @_;
# fetch user info
- my $u = $self->dbUserGet(uid => $uid, what => 'hide_list')->[0];
+ my $u = $self->dbUserGet(uid => $uid, what => 'hide_list pubskin')->[0];
return $self->resNotFound if !$u->{id};
my $f = $self->formValidate(
@@ -35,7 +35,7 @@ sub posts {
my($posts, $np) = $self->dbPostGet(uid => $uid, hide => 1, what => 'thread', page => $f->{p}, sort => 'date', reverse => 1);
my $title = 'Posts made by '.VNWeb::HTML::user_displayname($u);
- $self->htmlHeader(title => $title, noindex => 1);
+ $self->htmlHeader(title => $title, noindex => 1, pubskin => $u);
$self->htmlMainTabs(u => $u, 'posts');
div class => 'mainbox';
h1 $title;