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