X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fkopf.pl;h=1b72e46b15276d76587d3a43961873c01304b078;hb=382e874cd5a9ffcf41643b2b8b3b34d1f4737421;hp=b5a895a4420594410ce5af57206ff989c1bc31f4;hpb=57bf9c89a037036fcf433de39643778854defe51;p=kivitendo-erp.git diff --git a/bin/mozilla/kopf.pl b/bin/mozilla/kopf.pl index b5a895a44..1b72e46b1 100644 --- a/bin/mozilla/kopf.pl +++ b/bin/mozilla/kopf.pl @@ -1,12 +1,15 @@ #!/usr/bin/perl # -$| = 1; +#$| = 1; -use CGI::Carp qw(fatalsToBrowser); +#use CGI::Carp qw(fatalsToBrowser); use strict; +sub run { + my $session_result = shift; + my $form = $main::form; my $locale = $main::locale; @@ -65,37 +68,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 - - 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) + 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.getElementById) { + for (i=0;i<=clockid.length-1;i++) { + document.getElementById(clockid[i]).innerHTML=thistime + } + } + var timer=setTimeout("clockon()",60000) } window.onload=clockon //--> @@ -107,15 +110,24 @@ print qq| - - - + + - + +
  [| . $locale->text('drucken') . qq|]| +
+  [| . $locale->text('Print') . qq|] +  [| . $locale->text('New Win/Tab') . qq|] +  [| . $locale->text('Back') . qq|] + + | . $login . $datum . qq|   -
|; +} + +1; + #