From 4487bcbffc414424dca499a26074923850779245 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Mon, 17 Jul 2017 15:27:44 +0200 Subject: [PATCH] =?utf8?q?Konto=20erfassen=20-=20alte=20Speichern/L=C3=B6s?= =?utf8?q?chen-Kn=C3=B6pfe=20entfernt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit wurden bei der ActionBar-Umstellung vergessen, trat nur bei Konto erfassen auf. --- bin/mozilla/am.pl | 16 ---------------- templates/webpages/am/form_footer.html | 13 ------------- 2 files changed, 29 deletions(-) delete mode 100644 templates/webpages/am/form_footer.html 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(); diff --git a/templates/webpages/am/form_footer.html b/templates/webpages/am/form_footer.html deleted file mode 100644 index 18a561f02..000000000 --- a/templates/webpages/am/form_footer.html +++ /dev/null @@ -1,13 +0,0 @@ -[%- USE T8 %] -[%- USE L %] -[%- USE HTML %] -[%- USE LxERP %] -[% L.hidden_tag('callback', callback) %] - -
-[%- IF show_save %][% L.submit_tag('action', LxERP.t8('Save'), onclick = 'if ( typeof(callback_save) === "function" ) return callback_save(); ') %][% END %] -[%- IF show_delete %][% L.submit_tag('action', LxERP.t8('Delete')) %][% END %] -[%- IF show_save_as_new %][% L.submit_tag('action', LxERP.t8('Save as new')) %][% END %] - - - -- 2.20.1