From 20310b7f2138d6bcef41303e351fbc49de8c6ae0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 3 Nov 2009 11:42:47 +0100 Subject: [PATCH] =?utf8?q?Menu=20aufger=C3=A4umt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Menu.pm | 19 ++----------------- bin/mozilla/menu.pl | 2 +- 2 files changed, 3 insertions(+), 18 deletions(-) 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 -- 2.20.1