X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=bin%2Fmozilla%2Fmenuv3.pl;h=121d76df073a4d4489694d9bfa3851f3dc8e06da;hb=72be9c763f3b7f7df1fae4fe10011e45f9e2ad1d;hp=ac8fe7b5ce76f36adc91362cb233103f62a8ac02;hpb=c539651d1de28cd51455867a0699ef14f5d18292;p=kivitendo-erp.git diff --git a/bin/mozilla/menuv3.pl b/bin/mozilla/menuv3.pl index ac8fe7b5c..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->{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; - - - - -