X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/4d041eefc1e68131a77c879dce745c0bde61336c..6da3044f22a497ea42de15f155986aa67816c00e:/bin/mozilla/am.pl diff --git a/bin/mozilla/am.pl b/bin/mozilla/am.pl index 125a10d24..c7fbd469b 100644 --- a/bin/mozilla/am.pl +++ b/bin/mozilla/am.pl @@ -1028,6 +1028,8 @@ sub show_history_search { $main::auth->assert('config'); + setup_am_show_history_search_action_bar(); + $form->{title} = $locale->text("History Search"); $form->header(); @@ -1103,6 +1105,8 @@ sub show_am_history { my ($sort, $sortby) = split(/\-\-/, $form->{order}); $sort =~ s/.*\.(.*)$/$1/; + setup_am_show_am_history_action_bar(); + $form->{title} = $locale->text("History Search"); $form->header(); @@ -1632,3 +1636,30 @@ sub setup_am_audit_control_action_bar { ); } } + +sub setup_am_show_history_search_action_bar { + my %params = @_; + + for my $bar ($::request->layout->get('actionbar')) { + $bar->add( + action => [ + t8('Show'), + submit => [ '#form' ], + accesskey => 'enter', + ], + ); + } +} + +sub setup_am_show_am_history_action_bar { + my %params = @_; + + for my $bar ($::request->layout->get('actionbar')) { + $bar->add( + action => [ + t8('Back'), + call => [ 'kivi.history_back' ], + ], + ); + } +}