X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/2a5e8973583d3e6dec80d291124bcee9baaf781e..3f4f01dcd306d7ebb51a1186d722e6aecd237003:/SL/Layout/V3.pm
diff --git a/SL/Layout/V3.pm b/SL/Layout/V3.pm
index 713764f60..03c6f3ebf 100644
--- a/SL/Layout/V3.pm
+++ b/SL/Layout/V3.pm
@@ -87,18 +87,20 @@ sub menuitem_v3 {
$action = $menuitem->{action};
}
- my $level = $::form->escape($item);
+ my $level = $::form->escape($item);
- my $str = qq|escape($menuitem->{target}) . '"' : '';
+ my $str = qq|{href}|;
- @vars = qw(module target href);
+ $main::lxdebug->leave_sub();
+ return $str . $menuitem->{href} . '">';
}
- map { delete $menuitem->{$_} } @vars;
+ $str .= qq|$module?action=| . $::form->escape($action) . qq|&level=| . $::form->escape($level);
+
+ map { delete $menuitem->{$_} } qw(module action target href);
# add other params
foreach my $key (keys %{ $menuitem }) {
@@ -162,7 +164,7 @@ sub render {
$callback = URI->new($callback)->rel($callback) if $callback;
$callback = "login.pl?action=company_logo" if $callback =~ /^(\.\/)?$/;
- $self->SUPER::render('menu/menuv3', { no_menu => 1, no_output => 1 },
+ $self->presenter->render('menu/menuv3',
force_ul_width => 1,
date => $self->clock_line,
menu => $self->print_menu,