X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=bin%2Fmozilla%2Fmenuv3.pl;h=121d76df073a4d4489694d9bfa3851f3dc8e06da;hb=22e896625b26471f6b91834d97eb8c8d2ca1f1e3;hp=18ab3343365c41e0546160f3c960cf5bcead1d2d;hpb=5a7adba1367ee8535be060540b8b7f889b3da124;p=kivitendo-erp.git diff --git a/bin/mozilla/menuv3.pl b/bin/mozilla/menuv3.pl index 18ab33433..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; - - -