X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=bin%2Fmozilla%2Fmenuv3.pl;h=683cabfa29587e56a979e914179e3580f77e9cc1;hb=7f8cada2276e50879226ea553006ca7c714fac6a;hp=a877dcf9cabf424ca9eae12f4d1480eb323acb19;hpb=f3323945900d2b7a86aeade9c02d92655759496a;p=kivitendo-erp.git diff --git a/bin/mozilla/menuv3.pl b/bin/mozilla/menuv3.pl index a877dcf9c..683cabfa2 100644 --- a/bin/mozilla/menuv3.pl +++ b/bin/mozilla/menuv3.pl @@ -32,57 +32,38 @@ # ####################################################################### -$menufile = "menu.ini"; use SL::Menu; +use URI; + +use strict; + +my $menufile = "menu.ini"; +my $locale; 1; # end of main sub display { - $form->header(qq||); - - print(qq|
\n|); - - clock_line(); - - print qq| - - + $form->header(qq||); - + $form->{date} = clock_line(); + $form->{menu} = acc_menu(); + my $callback = $form->unescape($form->{callback}); + $callback = URI->new($callback)->rel($callback) if $callback; + $callback = "login.pl?action=company_logo" if $callback =~ /^(\.\/)?$/; + $form->{callback} = $callback; - - -