X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/503655261b9f86498c36b634e387938ecd8359a6..12e513005cda066d28dd1ed69439e916906cfbd3:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index 4360c0740..df071c045 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -654,6 +654,19 @@ sub header { push @header, sprintf "", join ' - ', grep $_, $self->{title}, $self->{login}, $::myconfig{dbname}, $self->{version} if $self->{title}; + # if there is a title, we put some JavaScript in to the page, wich writes a + # meaningful title-tag for our frameset. + my $title_hack = ''; + if ($self->{title}) { + $title_hack = qq| + |; + } + # output print $self->create_http_response(content_type => 'text/html', charset => $db_charset); print "\n" @@ -680,6 +693,7 @@ EOT $extra_code + $title_hack EOT