X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fmenunew.pl;h=6b74be731a80002a2c368582b6af04f3d941355b;hb=98ad02ca3b8d9e9c00775b4768e7060388efbed1;hp=9f88f0b7ee41cb3d11f3037ee1462ec31119ef9a;hpb=d9e3960069a4283e566f53b37a0524dfcdd3e663;p=kivitendo-erp.git
diff --git a/bin/mozilla/menunew.pl b/bin/mozilla/menunew.pl
index 9f88f0b7e..6b74be731 100644
--- a/bin/mozilla/menunew.pl
+++ b/bin/mozilla/menunew.pl
@@ -65,7 +65,10 @@ sub display {
sub clock_line {
- $login = "["
+ $fensterlink="menunew.pl?login=$form->{login}&password=$form->{password}&path=$form->{path}&action=display";
+ $fenster = "["."neues Fenster]";
+
+ $login = "[Nutzer "
. $form->{login}
. " - {"path"}
@@ -100,61 +103,22 @@ sub clock_line {
print qq|
-
- |
- . $login . $datum . qq|
- |
-
+
+ $fenster [drucken] |
+
+ $login $datum
+ |
+
|;
}
@@ -262,6 +226,11 @@ function Item(text, href, frame, length, spacing, target) {
this.target = target;
this.ref = null;
}
+function go(link,frame) {
+ tmp=eval("top."+frame);
+ tmp.location=link;
+ //top.main_window.location=link;
+}
function writeMenus() {
if (!isDOM && !isIE4 && !isNS4) return;
for (currMenu = 0; currMenu < menu.length; currMenu++) with (menu[currMenu][0]) {
@@ -279,9 +248,10 @@ function writeMenus() {
str += '';
- str += '' + '' : '>') + text + ' | ';
+ str += '';
+ str +='' + text + ' | ';
if (target > 0) {
menu[target][0].parentMenu = currMenu;
menu[target][0].parentItem = currItem;
@@ -379,6 +349,7 @@ sub section_menu {
$main = 0;
#$pm=0;
+ $shlp=0;
while (@menuorder) {
$item = shift @menuorder;
$label = $item;
@@ -392,9 +363,14 @@ sub section_menu {
if ($menu->{$item}{submenu}) {
$menu->{$item}{$item} = !$form->{$item};
- # Untermenü
- if ($mlz{"s$ml"} > 1) { $z = $mlz{"s$ml"}++; $sm = 1; }
- else { $z = $sm; $mlz{"s$ml"}++; }
+ # Untermen
+ if ($mlz{"s$ml"} > 1) {
+ $z++;
+ $sm = 1;
+ } else {
+ $z = $sm;
+ $mlz{"s$ml"}++;
+ }
print
qq|menu[$mlz{$ml}][$z] = new Item('$label', '#', '', defLength, 0, |
. ++$pm
@@ -409,7 +385,7 @@ sub section_menu {
} else {
if ($menu->{$item}{module}) {
- #Untermenüpunkte
+ #Untermenüpunkte
$target = $menu->{$item}{target};
$uri = $menu->menuitemNew(\%myconfig, \%$form, $item, $level);
@@ -422,6 +398,7 @@ sub section_menu {
$mm++;
$pm++;
%mlz = ($ml, $pm, "s$ml", 1);
+ $shlp = $sm;
$sm = 1;
$breit = 15 + length($label) * 6;
print