Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 2b339152

Von Moritz Bunkus vor mehr als 13 Jahren hinzugefügt

  • ID 2b3391521b469f9f7b2928d104a9f620dddb25d2
  • Vorgänger f2af9def
  • Nachfolger be6f6cfd

Globale Variablen für Druckvorlagen nach %::lx_office_conf verschoben

Betroffen sind:
$latex_templates
$excel_templates
$opendocument_templates
$openofficeorg_daemon
$openofficeorg_daemon_port

Unterschiede anzeigen:

bin/mozilla/rp.pl
2542 2542
  } else {
2543 2543
    $media = qq|
2544 2544
            <option value=screen $form->{OP}{screen}>| . $locale->text('Screen');
2545
    if ($myconfig{printer} && $main::latex_templates) {
2545
    if ($myconfig{printer} && $::lx_office_conf{print_templates}->{latex}) {
2546 2546
      $media .= qq|
2547 2547
            <option value=printer $form->{OP}{printer}>| . $locale->text('Printer');
2548 2548
    }
2549 2549
  }
2550 2550

  
2551 2551
  my $format;
2552
  if ($main::latex_templates) {
2552
  if ($::lx_office_conf{print_templates}->{latex}) {
2553 2553
    $format .= qq|
2554 2554
            <option value=html $form->{DF}{html}>| . $locale->text('HTML')
2555 2555
      . qq| <option value=pdf $form->{DF}{pdf}>| . $locale->text('PDF')
......
2564 2564
    <td><select name=media>$media</select></td>
2565 2565
|;
2566 2566

  
2567
  if ($myconfig{printer} && $main::latex_templates && $form->{media} ne 'email') {
2567
  if ($myconfig{printer} && $::lx_office_conf{print_templates}->{latex} && $form->{media} ne 'email') {
2568 2568
    $output .= qq|
2569 2569
      <td>| . $locale->text('Copies') . qq|
2570 2570
      <input name=copies size=2 value=$form->{copies}></td>

Auch abrufbar als: Unified diff