Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c3c5403c

Von Thomas Kasulke vor fast 18 Jahren hinzugefügt

  • ID c3c5403ce5f3cdccd51120537b6e01021f1ec712
  • Vorgänger 6339df04
  • Nachfolger 85f5b26d

$form->{duedate} und $form->{transdate} quoted, da sonst in den values der inputtags in den Formularen onBlur... drinsteht

Unterschiede anzeigen:

bin/mozilla/ap.pl
461 461

  
462 462
    # with JavaScript Calendar
463 463
    $button1 = qq|
464
       <td><input name=transdate id=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate} onBlur=\"check_right_date_format(this)\"> $readonly</td>
464
       <td><input name=transdate id=transdate size=11 title="$myconfig{dateformat}" value="$form->{transdate}" onBlur=\"check_right_date_format(this)\"> $readonly</td>
465 465
       <td><input type=button name=transdate id="trigger1" value=|
466 466
      . $locale->text('button') . qq|></td>
467 467
       |;
468 468
    $button2 = qq|
469
       <td><input name=duedate id=duedate size=11 title="$myconfig{dateformat}" value=$form->{duedate} onBlur=\"check_right_date_format(this)\"> $readonly</td>
469
       <td><input name=duedate id=duedate size=11 title="$myconfig{dateformat}" value="$form->{duedate}" onBlur=\"check_right_date_format(this)\"> $readonly</td>
470 470
       <td><input type=button name=duedate id="trigger2" value=|
471 471
      . $locale->text('button') . qq|></td></td>
472 472
     |;
......
479 479

  
480 480
    # without JavaScript Calendar
481 481
    $button1 =
482
      qq|<td><input name=transdate id=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate} onBlur=\"check_right_date_format(this)\"> $readonly</td>|;
482
      qq|<td><input name=transdate id=transdate size=11 title="$myconfig{dateformat}" value="$form->{transdate}" onBlur=\"check_right_date_format(this)\"> $readonly</td>|;
483 483
    $button2 =
484
      qq|<td><input name=duedate id=duedate size=11 title="$myconfig{dateformat}" value=$form->{duedate} onBlur=\"check_right_date_format(this)\"> $readonly</td>|;
484
      qq|<td><input name=duedate id=duedate size=11 title="$myconfig{dateformat}" value="$form->{duedate}" onBlur=\"check_right_date_format(this)\"> $readonly</td>|;
485 485
  }
486 486
  $form->{javascript} .= qq|<script type="text/javascript" src="js/common.js"></script>|;
487 487
  $form->header;
......
776 776
|;
777 777

  
778 778
    $column_data{"paid_$i"} =
779
      qq|<td align=center><input name="paid_$i" size=11 value=$form->{"paid_$i"} onBlur=\"check_right_number_format(this)\"></td>|;
779
      qq|<td align=center><input name="paid_$i" size=11 value="$form->{"paid_$i"}" onBlur=\"check_right_number_format(this)\"></td>|;
780 780
    $column_data{"AP_paid_$i"} =
781 781
      qq|<td align=center>${selectAP_paid}</td>|;
782 782
    $column_data{"exchangerate_$i"} = qq|<td align=center>$exchangerate</td>|;
783 783
    $column_data{"datepaid_$i"}     =
784
      qq|<td align=center><input name="datepaid_$i" id="datepaid_$i" size=11 title="($myconfig{'dateformat'})" value=$form->{"datepaid_$i"} onBlur=\"check_right_date_format(this)\">
784
      qq|<td align=center><input name="datepaid_$i" id="datepaid_$i" size=11 title="($myconfig{'dateformat'})" value="$form->{"datepaid_$i"}" onBlur=\"check_right_date_format(this)\">
785 785
         <input type="button" name="datepaid_$i" id="trigger_datepaid_$i" value="?"></td>|;
786 786
    $column_data{"source_$i"} =
787 787
      qq|<td align=center><input name="source_$i" size=11 value="$form->{"source_$i"}"></td>|;

Auch abrufbar als: Unified diff