X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fmenu.pl;h=cd0ca0d913a17bbadd32f1b1be8dc5d922792826;hb=1e0d413084100ccd892e8c5be95703be5d965de7;hp=b119d7a59f8c054a306d38225b8ab7032fd99acb;hpb=97c8f14b3fea88e6b482919d944cb8e6461bc451;p=kivitendo-erp.git diff --git a/bin/mozilla/menu.pl b/bin/mozilla/menu.pl index b119d7a59..cd0ca0d91 100644 --- a/bin/mozilla/menu.pl +++ b/bin/mozilla/menu.pl @@ -43,28 +43,29 @@ use SL::Menu; use Data::Dumper; use URI; +use List::MoreUtils qw(apply); + my $menufile = "menu.ini"; +my $nbsp = ' '; my $mainlevel; # end of main sub display { - $main::lxdebug->enter_sub(); - - my $form = $main::form; + $::lxdebug->enter_sub; - my $callback = $form->unescape($form->{callback}); + my $callback = $::form->unescape($::form->{callback}); $callback = URI->new($callback)->rel($callback) if $callback; $callback = "login.pl?action=company_logo" if $callback =~ /^(\.\/)?$/; my $framesize = _calc_framesize(); - $form->header; + $::form->header; print qq|