Revision f48493d4
Von Moritz Bunkus vor fast 16 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
361 | 361 |
|
362 | 362 |
# with JavaScript Calendar |
363 | 363 |
$button1 = qq| |
364 |
<td><input name=transdate id=transdate size=11 title="$myconfig{dateformat}" value="$form->{transdate}" onBlur=\"check_right_date_format(this)\"> $readonly</td>
|
|
364 |
<td><input name=transdate id=transdate size=11 title="$myconfig{dateformat}" value="$form->{transdate}" onBlur=\"check_right_date_format(this)\" $readonly></td>
|
|
365 | 365 |
<td><input type=button name=transdate id="trigger1" value=| |
366 | 366 |
. $locale->text('button') . qq|></td> |
367 | 367 |
|; |
368 | 368 |
$button2 = qq| |
369 |
<td><input name=duedate id=duedate size=11 title="$myconfig{dateformat}" value="$form->{duedate}" onBlur=\"check_right_date_format(this)\"> $readonly</td>
|
|
369 |
<td><input name=duedate id=duedate size=11 title="$myconfig{dateformat}" value="$form->{duedate}" onBlur=\"check_right_date_format(this)\" $readonly></td>
|
|
370 | 370 |
<td><input type=button name=duedate id="trigger2" value=| |
371 | 371 |
. $locale->text('button') . qq|></td></td> |
372 | 372 |
|; |
... | ... | |
379 | 379 |
|
380 | 380 |
# without JavaScript Calendar |
381 | 381 |
$button1 = |
382 |
qq|<td><input name=transdate id=transdate size=11 title="$myconfig{dateformat}" value="$form->{transdate}" onBlur=\"check_right_date_format(this)\"> $readonly</td>|;
|
|
382 |
qq|<td><input name=transdate id=transdate size=11 title="$myconfig{dateformat}" value="$form->{transdate}" onBlur=\"check_right_date_format(this)\" $readonly></td>|;
|
|
383 | 383 |
$button2 = |
384 |
qq|<td><input name=duedate id=duedate size=11 title="$myconfig{dateformat}" value="$form->{duedate}" onBlur=\"check_right_date_format(this)\"> $readonly</td>|;
|
|
384 |
qq|<td><input name=duedate id=duedate size=11 title="$myconfig{dateformat}" value="$form->{duedate}" onBlur=\"check_right_date_format(this)\" $readonly></td>|;
|
|
385 | 385 |
} |
386 | 386 |
|
387 | 387 |
my $follow_up_vc = $form->{vendor}; |
Auch abrufbar als: Unified diff
Das "readonly"-Attribut muss innerhalb des HTML-Tags stehen.