Revision 8651e027
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
bin/mozilla/am.pl | ||
---|---|---|
42 | 42 |
use SL::User; |
43 | 43 |
use SL::USTVA; |
44 | 44 |
use SL::Iconv; |
45 |
use SL::Locale::String qw(t8); |
|
45 | 46 |
use SL::TODO; |
46 | 47 |
use SL::DB::Printer; |
47 | 48 |
use SL::DB::Tax; |
... | ... | |
713 | 714 |
|
714 | 715 |
$form->{title} = $locale->text('Edit Preferences for #1', $::myconfig{login}); |
715 | 716 |
|
717 |
setup_am_config_action_bar(); |
|
718 |
|
|
716 | 719 |
$form->header(); |
717 | 720 |
|
718 | 721 |
$form->{full_signature} = $form->create_email_signature(); |
... | ... | |
1377 | 1380 |
|
1378 | 1381 |
$main::lxdebug->leave_sub(); |
1379 | 1382 |
} |
1383 |
|
|
1384 |
sub setup_am_config_action_bar { |
|
1385 |
my %params = @_; |
|
1386 |
|
|
1387 |
for my $bar ($::request->layout->get('actionbar')) { |
|
1388 |
$bar->add( |
|
1389 |
action => [ |
|
1390 |
t8('Save'), |
|
1391 |
submit => [ '#form', { action => "save_preferences" } ], |
|
1392 |
accesskey => 'enter', |
|
1393 |
], |
|
1394 |
); |
|
1395 |
} |
|
1396 |
} |
Auch abrufbar als: Unified diff
ActionBar: Verwendung bei »Benutzereinstellungen«