X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/47f1b10f41e43fab04c61e9bd7c31833ff713322..faef45c2e723c9fbc80d1d84b8481367204719b7:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index 61e5f68fa..d59adeece 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -45,6 +45,7 @@ use CGI::Ajax; use SL::DBUtils; use SL::Menu; use SL::User; +use SL::Common; use CGI; sub _input_to_hash { @@ -352,7 +353,7 @@ sub header { return; } - my ($stylesheet, $favicon, $charset); + my ($stylesheet, $favicon); if ($ENV{HTTP_USER_AGENT}) { @@ -370,11 +371,8 @@ sub header { |; } - if ($self->{charset}) { - $charset = - qq| - |; - } + my $db_charset = $main::dbcharset ? $main::dbcharset : Common::DEFAULT_CHARSET; + if ($self->{landscape}) { $pagelayout = qq|