X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fkopf.pl;h=3e01a31a04935c8626aa1e0266e3c04a46124a28;hb=19db5b9099df8a70daac82388e45c0aee17c9266;hp=b5a895a4420594410ce5af57206ff989c1bc31f4;hpb=57bf9c89a037036fcf433de39643778854defe51;p=kivitendo-erp.git diff --git a/bin/mozilla/kopf.pl b/bin/mozilla/kopf.pl index b5a895a44..3e01a31a0 100644 --- a/bin/mozilla/kopf.pl +++ b/bin/mozilla/kopf.pl @@ -65,37 +65,37 @@ if (seconds < 10) {seconds="0"+seconds} var thistime = hours+":"+minutes function writeclock() { - i_clock++ - if (document.all \|\| document.getElementById \|\| document.layers) { - clockid[i_clock]="clock"+i_clock - document.write(""+thistime+"") - } + i_clock++ + if (document.all \|\| document.getElementById \|\| document.layers) { + clockid[i_clock]="clock"+i_clock + document.write(""+thistime+"") + } } function clockon() { - thistime= new Date() - hours=thistime.getHours() - minutes=thistime.getMinutes() - seconds=thistime.getSeconds() - if (eval(hours) <10) {hours="0"+hours} - if (eval(minutes) < 10) {minutes="0"+minutes} - if (seconds < 10) {seconds="0"+seconds} - //thistime = hours+":"+minutes+":"+seconds - thistime = hours+":"+minutes + thistime= new Date() + hours=thistime.getHours() + minutes=thistime.getMinutes() + seconds=thistime.getSeconds() + if (eval(hours) <10) {hours="0"+hours} + if (eval(minutes) < 10) {minutes="0"+minutes} + if (seconds < 10) {seconds="0"+seconds} + //thistime = hours+":"+minutes+":"+seconds + thistime = hours+":"+minutes - if (document.all) { - for (i=0;i<=clockid.length-1;i++) { - var thisclock=eval(clockid[i]) - thisclock.innerHTML=thistime - } - } + if (document.all) { + for (i=0;i<=clockid.length-1;i++) { + var thisclock=eval(clockid[i]) + thisclock.innerHTML=thistime + } + } - if (document.getElementById) { - for (i=0;i<=clockid.length-1;i++) { - document.getElementById(clockid[i]).innerHTML=thistime - } - } - var timer=setTimeout("clockon()",60000) + if (document.getElementById) { + for (i=0;i<=clockid.length-1;i++) { + document.getElementById(clockid[i]).innerHTML=thistime + } + } + var timer=setTimeout("clockon()",60000) } window.onload=clockon //--> @@ -107,12 +107,12 @@ print qq| - - - + + - + +
  [| . $locale->text('drucken') . qq|]| +
  [| . $locale->text('drucken') . qq|]| . $login . $datum . qq|   -