X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=bin%2Fmozilla%2Fmenuv3.pl;h=121d76df073a4d4489694d9bfa3851f3dc8e06da;hb=22e896625b26471f6b91834d97eb8c8d2ca1f1e3;hp=c94e45f1e7a9e625d529e38b724e839b30eb1ef3;hpb=28dfc82299cb4356621bec09a0b1af2933a2cfb6;p=kivitendo-erp.git diff --git a/bin/mozilla/menuv3.pl b/bin/mozilla/menuv3.pl index c94e45f1e..121d76df0 100644 --- a/bin/mozilla/menuv3.pl +++ b/bin/mozilla/menuv3.pl @@ -32,57 +32,35 @@ # ####################################################################### -$menufile = "menu.ini"; use SL::Menu; +use URI; + +use strict; 1; # end of main sub display { - $form->header(qq||); - - print(qq|
\n|); - - clock_line(); - - print qq| - - + $form->header(extra_code => 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; - - -