summaryrefslogtreecommitdiff
path: root/lib/VNDB/Util/LayoutHTML.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2011-02-03 17:22:18 +0100
committerYorhel <git@yorhel.nl>2011-02-03 17:22:18 +0100
commit09025338975b6bf63411e848419eee802da0c128 (patch)
tree0b34763040bbeb379964169572ddee6b4fa4b48e /lib/VNDB/Util/LayoutHTML.pm
parent7ef623807ff91258743db4d6555150fd38968eea (diff)
TUWF: Replaced reqParam() with reqGet() or reqPost() where applicable
Cleaner this way. Also found two occurences of manually HTML-escaping text for textareas, which isn't necessary anymore.
Diffstat (limited to 'lib/VNDB/Util/LayoutHTML.pm')
-rw-r--r--lib/VNDB/Util/LayoutHTML.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Util/LayoutHTML.pm b/lib/VNDB/Util/LayoutHTML.pm
index f8ce275a..7c03b6a3 100644
--- a/lib/VNDB/Util/LayoutHTML.pm
+++ b/lib/VNDB/Util/LayoutHTML.pm
@@ -12,7 +12,7 @@ our @EXPORT = qw|htmlHeader htmlFooter|;
sub htmlHeader { # %options->{ title, noindex, search, feeds, svg }
my($self, %o) = @_;
- my $skin = $self->reqParam('skin') || $self->authPref('skin') || $self->{skin_default};
+ my $skin = $self->reqGet('skin') || $self->authPref('skin') || $self->{skin_default};
$skin = $self->{skin_default} if !$self->{skins}{$skin} || !-d "$VNDB::ROOT/static/s/$skin";
# heading