X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fmenu.pl;h=cd0ca0d913a17bbadd32f1b1be8dc5d922792826;hb=1e0d413084100ccd892e8c5be95703be5d965de7;hp=ae2d6b7462e40de32c9729ab19d344ee600ce211;hpb=98f1ede02f2100af3b113e824a8c992ae826b87c;p=kivitendo-erp.git diff --git a/bin/mozilla/menu.pl b/bin/mozilla/menu.pl index ae2d6b746..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|