From: Moritz Bunkus Date: Mon, 19 Nov 2012 08:51:44 +0000 (+0100) Subject: CSS-Menüs: Anzeige von href-Menüeinträgen gefixt X-Git-Tag: release-3.0.0beta2~11^2~7 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=69ff27ee9f54215f1c6e7e9ff983e842516f68e3;p=kivitendo-erp.git CSS-Menüs: Anzeige von href-Menüeinträgen gefixt Behebt #2061. --- diff --git a/SL/Layout/Css.pm b/SL/Layout/Css.pm index 883353a20..dc0bf057f 100644 --- a/SL/Layout/Css.pm +++ b/SL/Layout/Css.pm @@ -51,7 +51,7 @@ sub print_menu { my $menu_title = $::locale->text($item); my $menu_text = $menu_title; - if ($menu_item->{"submenu"} || !defined($menu_item->{"module"})) { + 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) { @@ -96,7 +96,7 @@ sub menuitem_v3 { my @vars = qw(module action target href); if ($menuitem->{href}) { - $str = qq|{href}|; + $str = qq|