X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=bin%2Fmozilla%2Fmenu.pl;h=a8b46973ac8d8e4e032fbb3637d544f57ee3fc87;hb=224af4c2a3bec656a5a09a4cbc40831d5cda2526;hp=e97fec3bd4ade006b20ed638fe9472106e10fb46;hpb=ee072e4f077213bf6f8792ca8f0a1afebbb6282f;p=kivitendo-erp.git
diff --git a/bin/mozilla/menu.pl b/bin/mozilla/menu.pl
index e97fec3bd..a8b46973a 100644
--- a/bin/mozilla/menu.pl
+++ b/bin/mozilla/menu.pl
@@ -37,6 +37,8 @@
$menufile = "menu.ini";
use SL::Menu;
+use Data::Dumper;
+use URI;
1;
@@ -47,14 +49,18 @@ $framesize = ($ENV{HTTP_USER_AGENT} =~ /links/i) ? "240" : "190";
sub display {
$lxdebug->enter_sub();
+ my $callback = $form->unescape($form->{callback});
+ $callback = URI->new($callback)->rel($callback) if $callback;
+ $callback = "login.pl?action=company_logo" if $callback =~ /^(\.\/)?$/;
+
$form->header;
print qq|
-