X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fio.pl;h=69d79511f6d67e965e28c6af809929de764478f3;hb=9aaca43317d3ea33d80a308cab7ce4c20d732a16;hp=1ec0ca44970b7f8dc3a5ddd44de2ae99459c9c1a;hpb=1ced937cc8cd25ca7a49e543b8a4e81f7b0f040e;p=kivitendo-erp.git diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 1ec0ca449..69d79511f 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -354,7 +354,7 @@ sub new_item { push @HIDDENS, { 'name' => 'taxaccount2', 'value' => $form->{taxaccounts} }; $form->header(); - print $form->parse_html_template2("generic/new_item", { HIDDENS => [ sort { $a->{name} cmp $b->{name} } @HIDDENS ] } ); + print $form->parse_html_template("generic/new_item", { HIDDENS => [ sort { $a->{name} cmp $b->{name} } @HIDDENS ] } ); $lxdebug->leave_sub(); } @@ -701,12 +701,12 @@ sub edit_e_mail { @dont_hide_key{@dont_hide_key_list} = (1) x @dont_hide_key_list; @hidden_keys = sort grep { !$dont_hide_key{$_} } grep { !ref $form->{$_} } keys %$form; - print $form->parse_html_template2('generic/edit_email', - { title => $title, - a_filename => $attachment_filename, - _print_options_ => print_options('inline' => 1), - HIDDEN => [ map +{ name => $_, value => $form->{$_} }, @hidden_keys ], - SHOW_BCC => $myconfig{role} eq 'admin' }); + print $form->parse_html_template('generic/edit_email', + { title => $title, + a_filename => $attachment_filename, + _print_options_ => print_options('inline' => 1), + HIDDEN => [ map +{ name => $_, value => $form->{$_} }, @hidden_keys ], + SHOW_BCC => $myconfig{role} eq 'admin' }); $lxdebug->leave_sub(); } @@ -834,7 +834,7 @@ sub print_options { remove_draft_checked => $form->{remove_draft} ? "checked" : '' ); - my $print_options = $form->parse_html_template2("generic/print_options", { SELECTS => \@SELECTS, %template_vars } ); + my $print_options = $form->parse_html_template("generic/print_options", { SELECTS => \@SELECTS, %template_vars } ); if ($options{inline}) { $lxdebug->leave_sub();