From: Moritz Bunkus Date: Wed, 21 Nov 2007 08:58:58 +0000 (+0000) Subject: %options ist inzwischen ein Hash, also es auch so benutzen (siehe Revision 2842). X-Git-Tag: release-2.6.0beta1~403 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=87dbaf3ccc3ac8c29ccc04910b7116cb0ad5eecd;p=kivitendo-erp.git %options ist inzwischen ein Hash, also es auch so benutzen (siehe Revision 2842). --- diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 2d8169dbe..098c7b628 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1023,21 +1023,21 @@ sub print_options { opthash("screen", $form->{OP}{screen}, $locale->text('Screen')), (scalar @{ $form->{printers} } && $latex_templates) ? opthash("printer", $form->{OP}{printer}, $locale->text('Printer')) : undef, - ($latex_templates && !$options->{no_queue}) ? + ($latex_templates && !$options{no_queue}) ? opthash("queue", $form->{OP}{queue}, $locale->text('Queue')) : undef if ($form->{media} ne 'email'); push @FORMAT, grep $_, ($opendocument_templates && $openofficeorg_writer_bin && $xvfb_bin && (-x $openofficeorg_writer_bin) && (-x $xvfb_bin) - && !$options->{no_opendocument_pdf}) ? + && !$options{no_opendocument_pdf}) ? opthash("opendocument_pdf", $form->{DF}{"opendocument_pdf"}, $locale->text("PDF (OpenDocument/OASIS)")) : undef, ($latex_templates) ? opthash("pdf", $form->{DF}{pdf}, $locale->text('PDF')) : undef, - ($latex_templates && !$options->{no_postscript}) ? + ($latex_templates && !$options{no_postscript}) ? opthash("postscript", $form->{DF}{postscript}, $locale->text('Postscript')) : undef, - (!$options->{no_html}) ? + (!$options{no_html}) ? opthash("html", $form->{DF}{html}, "HTML") : undef, - ($opendocument_templates && !$options->{no_opendocument}) ? + ($opendocument_templates && !$options{no_opendocument}) ? opthash("opendocument", $form->{DF}{opendocument}, $locale->text("OpenDocument/OASIS")) : undef; push @LANGUAGE_ID,