From: Sven Schöling Date: Tue, 3 Nov 2009 10:42:47 +0000 (+0100) Subject: Menu aufgeräumt. X-Git-Tag: release-2.6.1beta1~129 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=20310b7f2138d6bcef41303e351fbc49de8c6ae0;p=kivitendo-erp.git Menu aufgeräumt. --- diff --git a/SL/Menu.pm b/SL/Menu.pm index b9ee83da0..9dfb85190 100644 --- a/SL/Menu.pm +++ b/SL/Menu.pm @@ -71,23 +71,16 @@ sub menuitem { my $style = 'style="vertical-align:top"'; my $target_token = ($target) - ? "target='$target'" - : ''; + ? "target='$target'" : ''; -# my $str = qq|{$item}{href}|; -# @vars = qw(module target href); -# } - map { delete $self->{$item}{$_} } @vars; # add other params @@ -98,14 +91,6 @@ sub menuitem { $href .= $form->escape($value, 1); } -# $str .= q|'|; -# -# if ($target) { -# $str .= qq| target=$target|; -# } - -# $str .= ">"; - my $str = ""; $main::lxdebug->leave_sub(); diff --git a/bin/mozilla/menu.pl b/bin/mozilla/menu.pl index 07ad1108e..27643486a 100644 --- a/bin/mozilla/menu.pl +++ b/bin/mozilla/menu.pl @@ -164,7 +164,7 @@ sub section_menu { # expand menu if ($zeige) { print - qq|$spacer$label\n|; + qq|$spacer$label\n|; } # remove same level items