X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fam.pl;h=c23e9d2416404c6774401affa319a06cd1aa65a0;hb=faceb8b211c444e20d81ca05e91b33406e281491;hp=d8580bbdaf1df21d8e50a5e397cc058b8b42560e;hpb=cb0eb91f7b04f728b1057d130f111ad465e8b16a;p=kivitendo-erp.git diff --git a/bin/mozilla/am.pl b/bin/mozilla/am.pl index d8580bbda..c23e9d241 100644 --- a/bin/mozilla/am.pl +++ b/bin/mozilla/am.pl @@ -84,7 +84,6 @@ sub add_account { $form->{callback} = "am.pl?action=list_account" unless $form->{callback}; &account_header; - &form_footer; $main::lxdebug->leave_sub(); } @@ -344,21 +343,6 @@ sub account_header { $main::lxdebug->leave_sub(); } -sub form_footer { - $::lxdebug->enter_sub; - $::auth->assert('config'); - - print $::form->parse_html_template('am/form_footer', { - show_save => !$::form->{id} - || ($::form->{id} && $::form->{orphaned}) - || ($::form->{type} eq "account" && !$::form->{new_chart_valid}), - show_delete => $::form->{id} && $::form->{orphaned}, - show_save_as_new => $::form->{id} && $::form->{type} eq "account", - }); - - $::lxdebug->leave_sub; -} - sub save_account { $main::lxdebug->enter_sub();