From: Moritz Bunkus Date: Fri, 4 Jul 2008 13:14:40 +0000 (+0000) Subject: Im Emaildialog wurden die Druckoptionen nicht angezeigt, weil das Template-Modul... X-Git-Tag: release-2.6.0beta1~89 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=16d8d3266859c841fe6a1a1e18630a230df36cc5;p=kivitendo-erp.git Im Emaildialog wurden die Druckoptionen nicht angezeigt, weil das Template-Modul mit Variablennamen nicht zurechtkommt, die mit einem Unterstrich beginnen. --- 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 %]