X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fmenunew.pl;h=1e05b801a9e695f235be71ac74ad30ebb128069b;hb=85f5b26dd9ae6a9e88f967b601fddeb8046fc59f;hp=0ee610d112c506d25adb94874ef805aca877d78b;hpb=101a5e1f45b26386025a130be304a333ee8b64b7;p=kivitendo-erp.git diff --git a/bin/mozilla/menunew.pl b/bin/mozilla/menunew.pl index 0ee610d11..1e05b801a 100644 --- a/bin/mozilla/menunew.pl +++ b/bin/mozilla/menunew.pl @@ -52,7 +52,7 @@ sub display { &acc_menu; print qq| - @@ -65,11 +65,12 @@ sub display { sub clock_line { - $login = "[" + $fensterlink="menunew.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') @@ -100,62 +101,22 @@ sub clock_line { print qq| - - - - + + + +
  [drucken]| - . $login . $datum . qq|   -
  $fenster   [drucken] + $login $datum   +
|; } @@ -263,8 +224,10 @@ function Item(text, href, frame, length, spacing, target) { this.target = target; this.ref = null; } -function go(link) { - top.main_window.location=link; +function go(link,frame) { + tmp=eval("top."+frame); + tmp.location=link; + //top.main_window.location=link; } function writeMenus() { if (!isDOM && !isIE4 && !isNS4) return; @@ -283,14 +246,10 @@ function writeMenus() { str += ''; str += ''; - if (href!="#") { - str +=''; - } else { - str +=''; - } + str +=''; if (target > 0) { menu[target][0].parentMenu = currMenu; menu[target][0].parentItem = currItem; @@ -424,7 +383,7 @@ sub section_menu { } else { if ($menu->{$item}{module}) { - #Untermenüpunkte + #Untermenüpunkte $target = $menu->{$item}{target}; $uri = $menu->menuitemNew(\%myconfig, \%$form, $item, $level); @@ -446,7 +405,7 @@ sub section_menu { print qq|menu[$pm][0] = new Menu(true, '>', 0, 20, 180, defOver, defBack, 'itemBorder', 'itemText');\n|; - #print qq|\n|; + #print qq|\n|; §ion_menu($menu, $item); #print qq|
\n|;
' : '>') + text + '
' : '>') + text + '
' + text + '
 $label    
 $label