X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/60d0f05f9fe667d2c309175d8849428393c6739f..8651e0271eb23ad16c4b19bb785284e99d9aac08:/bin/mozilla/am.pl diff --git a/bin/mozilla/am.pl b/bin/mozilla/am.pl index 8ef12063a..ec27fbbd4 100644 --- a/bin/mozilla/am.pl +++ b/bin/mozilla/am.pl @@ -42,6 +42,7 @@ use SL::Form; use SL::User; use SL::USTVA; use SL::Iconv; +use SL::Locale::String qw(t8); use SL::TODO; use SL::DB::Printer; use SL::DB::Tax; @@ -713,6 +714,8 @@ sub config { $form->{title} = $locale->text('Edit Preferences for #1', $::myconfig{login}); + setup_am_config_action_bar(); + $form->header(); $form->{full_signature} = $form->create_email_signature(); @@ -1377,3 +1380,17 @@ sub save_bin { $main::lxdebug->leave_sub(); } + +sub setup_am_config_action_bar { + my %params = @_; + + for my $bar ($::request->layout->get('actionbar')) { + $bar->add( + action => [ + t8('Save'), + submit => [ '#form', { action => "save_preferences" } ], + accesskey => 'enter', + ], + ); + } +}