X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fmenuv3.pl;h=2837a30ca2e8006d98457ceacaff568dbae0c715;hb=84bed7a655edfe816ad2a04b5549b6bd6a968c79;hp=ac8fe7b5ce76f36adc91362cb233103f62a8ac02;hpb=c539651d1de28cd51455867a0699ef14f5d18292;p=kivitendo-erp.git diff --git a/bin/mozilla/menuv3.pl b/bin/mozilla/menuv3.pl index ac8fe7b5c..2837a30ca 100644 --- a/bin/mozilla/menuv3.pl +++ b/bin/mozilla/menuv3.pl @@ -43,7 +43,7 @@ sub display { $form->header(qq||); - print(qq|\n|); + print(qq|\n|); clock_line(); @@ -57,7 +57,7 @@ sub display {
- @@ -70,11 +70,12 @@ sub display { sub clock_line { - $login = "[" + $fensterlink="menuv3.pl?login=$form->{login}&password=$form->{password}&action=display"; + $fenster = "["."neues Fenster]"; + + $login = "[Nutzer " . $form->{login} - . " - {"path"} - . "&password=" + . " - {"password"} . "&action=logout\" target=\"_top\">" . $locale->text('Logout') @@ -111,12 +112,12 @@ function clockon() { document.getElementById('clock_id').innerHTML = (h<10?'0'+h:h)+":"+(m<10?'0'+m:m)+":"+(s<10?'0'+s:s); var timer=setTimeout("clockon()", 1000); } -window.onload=clockon +//window.onload=clockon //--> - + @@ -140,29 +141,6 @@ sub acc_menu { return print_menu($menu); } -sub my_length { - my ($s) = @_; - my $len = 0; - my $i; - my $skip = 0; - - for ($i = 0; $i < length($s); $i++) { - my $c = substr($s, $i, 1); - if ($skip && ($c eq ";")) { - $skip = 0; - } elsif ($skip) { - next; - } elsif ($c eq "&") { - $skip = 1; - $len++; - } else { - $len++; - } - } - - return $len; -} - sub print_menu { my ($menu, $parent, $depth) = @_; my $html; @@ -183,8 +161,6 @@ sub print_menu { my $menu_title = $locale->text($item); my $menu_text = $menu_title; - $menu_text =~ s/ /
/ if ($parent && (my_length($menu_text) >= 17)); - my $target = "main_window"; $target = $menu_item->{"target"} if ($menu_item->{"target"});
  [drucken]   $fenster   [drucken] $login $datum