X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=bin%2Fmozilla%2Fmenuv3.pl;h=121d76df073a4d4489694d9bfa3851f3dc8e06da;hb=eaf5d78bfb9a14f47e014160422bac92861a3b4d;hp=49adcefa13dde203f80ea22403f9730cde36d6f7;hpb=c7edb24800396748f2bf1e40ff05f90a18d31b02;p=kivitendo-erp.git
diff --git a/bin/mozilla/menuv3.pl b/bin/mozilla/menuv3.pl
index 49adcefa1..121d76df0 100644
--- a/bin/mozilla/menuv3.pl
+++ b/bin/mozilla/menuv3.pl
@@ -37,8 +37,6 @@ use URI;
use strict;
-my $menufile = "menu.ini";
-
1;
# end of main
@@ -46,7 +44,7 @@ my $menufile = "menu.ini";
sub display {
my $form = $main::form;
- $form->header(qq||);
+ $form->header(extra_code => qq||);
$form->{date} = clock_line();
$form->{menu} = acc_menu();
@@ -87,7 +85,7 @@ sub acc_menu {
my $mainlevel = $form->{level};
$mainlevel =~ s/\Q$mainlevel\E--//g;
- my $menu = new Menu "$menufile";
+ my $menu = Menu->new("menu.ini");
$| = 1;