Im Emaildialog wurden die Druckoptionen nicht angezeigt, weil das Template-Modul...
authorMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 4 Jul 2008 13:14:40 +0000 (13:14 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 4 Jul 2008 13:14:40 +0000 (13:14 +0000)
bin/mozilla/io.pl
templates/webpages/generic/edit_email_de.html
templates/webpages/generic/edit_email_master.html

index 9a1c5aa..87cb3ea 100644 (file)
@@ -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();
 }
index a9034c1..3640be1 100644 (file)
@@ -53,7 +53,7 @@
   <tr>
     <td>
 
-[% _print_options_ %]
+[% print_options %]
 [% FOREACH row = HIDDEN %]<input type="hidden" name="[% row.name %]" value="[% HTML.escape(row.value) %]">
 [% END %]
 
index 187189b..cf1cc4c 100644 (file)
@@ -53,7 +53,7 @@
   <tr>
     <td>
 
-[% _print_options_ %]
+[% print_options %]
 [% FOREACH row = HIDDEN %]<input type="hidden" name="[% row.name %]" value="[% HTML.escape(row.value) %]">
 [% END %]