X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f46dfda018cac3aeaa549d678ad036d0cfff2e6d..3ab26ffc:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index ff7d0efa0..521d899bd 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -489,6 +489,9 @@ sub header { $::lxdebug->leave_sub and return if !$ENV{HTTP_USER_AGENT} || $self->{header}++; + my $layout; + $layout = $self->layout unless $params{no_menu}; + my $css_path = $self->get_stylesheet_for_user; $self->{favicon} ||= "favicon.ico"; @@ -506,7 +509,7 @@ sub header { push @header, "" if $self->{landscape}; push @header, "" if -f $self->{favicon}; push @header, map { qq|| } - qw(jquery common jscalendar/calendar jscalendar/lang/calendar-de jscalendar/calendar-setup part_selection jquery-ui jqModal switchmenuframe); + qw(jquery common jscalendar/calendar jscalendar/lang/calendar-de jscalendar/calendar-setup part_selection jquery-ui jquery.cookie jqModal switchmenuframe); push @header, $self->{javascript} if $self->{javascript}; push @header, map { qq|| } qw(main menu tabcontent list_accounts jquery.autocomplete jquery.multiselect2side frame_header/header ui-lightness/jquery-ui-1.8.12.custom); @@ -516,19 +519,6 @@ 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| - |; - } - my %doctypes = ( strict => qq||, transitional => qq||, @@ -557,10 +547,13 @@ EOT $params{extra_code} - $title_hack +
EOT + print $layout; + + print "