X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b6fd15a8dc44f9b09d5a2bce766cda14b87c6e13..adc9b96cee1263480fb2bc1d574cc1c6be7afae0:/SL/Layout/Css.pm?ds=inline
diff --git a/SL/Layout/Css.pm b/SL/Layout/Css.pm
index 2bb0455ca..dc0bf057f 100644
--- a/SL/Layout/Css.pm
+++ b/SL/Layout/Css.pm
@@ -51,8 +51,7 @@ sub print_menu {
my $menu_title = $::locale->text($item);
my $menu_text = $menu_title;
- if ($menu_item->{"submenu"} || !defined($menu_item->{"module"}) ||
- ($menu_item->{"module"} eq "menu.pl")) {
+ if ($menu_item->{"submenu"} || !defined($menu_item->{"module"}) && !defined($menu_item->{href})) {
my $h = $self->print_menu("${parent}${item}", $depth * 1 + 1)."\n";
if (!$parent) {
@@ -97,7 +96,7 @@ sub menuitem_v3 {
my @vars = qw(module action target href);
if ($menuitem->{href}) {
- $str = qq|{href}|;
+ $str = qq|