From 16d8d3266859c841fe6a1a1e18630a230df36cc5 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 4 Jul 2008 13:14:40 +0000 Subject: [PATCH] Im Emaildialog wurden die Druckoptionen nicht angezeigt, weil das Template-Modul mit Variablennamen nicht zurechtkommt, die mit einem Unterstrich beginnen. --- bin/mozilla/io.pl | 12 ++++++------ templates/webpages/generic/edit_email_de.html | 2 +- templates/webpages/generic/edit_email_master.html | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 9a1c5aa97..87cb3ea78 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -972,12 +972,12 @@ sub edit_e_mail { @hidden_keys = sort grep { !$dont_hide_key{$_} } grep { !ref $form->{$_} } keys %$form; print $form->parse_html_template('generic/edit_email', - { title => $title, - a_filename => $attachment_filename, - subject => $subject, - _print_options_ => print_options('inline' => 1), - HIDDEN => [ map +{ name => $_, value => $form->{$_} }, @hidden_keys ], - SHOW_BCC => $myconfig{role} eq 'admin' }); + { title => $title, + a_filename => $attachment_filename, + subject => $subject, + print_options => print_options('inline' => 1), + HIDDEN => [ map +{ name => $_, value => $form->{$_} }, @hidden_keys ], + SHOW_BCC => $myconfig{role} eq 'admin' }); $lxdebug->leave_sub(); } diff --git a/templates/webpages/generic/edit_email_de.html b/templates/webpages/generic/edit_email_de.html index a9034c193..3640be1b2 100644 --- a/templates/webpages/generic/edit_email_de.html +++ b/templates/webpages/generic/edit_email_de.html @@ -53,7 +53,7 @@ -[% _print_options_ %] +[% print_options %] [% FOREACH row = HIDDEN %] [% END %] diff --git a/templates/webpages/generic/edit_email_master.html b/templates/webpages/generic/edit_email_master.html index 187189bb9..cf1cc4c38 100644 --- a/templates/webpages/generic/edit_email_master.html +++ b/templates/webpages/generic/edit_email_master.html @@ -53,7 +53,7 @@ -[% _print_options_ %] +[% print_options %] [% FOREACH row = HIDDEN %] [% END %] -- 2.20.1