X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/fc41222c61dbee590005f04c50e8603581462543..4486e3bc8eb00c37cf8029e663eb94b4b9c5346a:/SL/Layout/Css.pm
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|