Revision 394f0f6e
Von Sven Schöling vor fast 18 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
1495 | 1495 |
$form->{format} = $form->{format} || $myconfig{template_format} || "pdf"; |
1496 | 1496 |
$form->{copies} = $form->{copies} || $myconfig{copies} || 3; |
1497 | 1497 |
$form->{media} = $form->{media} || $myconfig{default_media} || "screen"; |
1498 |
$form->{printer_id} = $form->{printer_id} || $myconfig{default_printer_id} || ""; |
|
1498 |
$form->{printer_id} = defined $form->{printer_id} ? $form->{printer_id} : |
|
1499 |
defined $myconfig{default_printer_id} ? $myconfig{default_printer_id} : ""; |
|
1499 | 1500 |
|
1500 | 1501 |
$form->{PD}{ $form->{formname} } = "selected"; |
1501 | 1502 |
$form->{DF}{ $form->{format} } = "selected"; |
Auch abrufbar als: Unified diff
Printer_id kann 0 sein