Revision 713a6d70
Von Moritz Bunkus vor fast 17 Jahren hinzugefügt
bin/mozilla/am.pl | ||
---|---|---|
38 | 38 |
use SL::User; |
39 | 39 |
use SL::USTVA; |
40 | 40 |
use SL::Iconv; |
41 |
use SL::TODO; |
|
41 | 42 |
use CGI::Ajax; |
42 | 43 |
use CGI; |
43 | 44 |
|
... | ... | |
2491 | 2492 |
$myconfig{show_form_details} = 1 unless (defined($myconfig{show_form_details})); |
2492 | 2493 |
$form->{"menustyle_$myconfig{menustyle}"} = 1; |
2493 | 2494 |
$form->{CAN_CHANGE_PASSWORD} = $auth->can_change_password(); |
2495 |
$form->{todo_cfg} = { TODO->get_user_config('login' => $form->{login}) }; |
|
2494 | 2496 |
|
2495 | 2497 |
$form->{title} = $locale->text('Edit Preferences for #1', $form->{login}); |
2496 | 2498 |
|
... | ... | |
2505 | 2507 |
|
2506 | 2508 |
$form->{stylesheet} = $form->{usestylesheet}; |
2507 | 2509 |
|
2510 |
TODO->save_user_config('login' => $form->{login}, %{ $form->{todo_cfg} || { } }); |
|
2511 |
|
|
2508 | 2512 |
$form->redirect($locale->text('Preferences saved!')) if (AM->save_preferences(\%myconfig, \%$form, $webdav)); |
2509 | 2513 |
$form->error($locale->text('Cannot save preferences!')); |
2510 | 2514 |
|
Auch abrufbar als: Unified diff
Benutzerkonfiguration um Einstellungen zur Aufgabenliste erweitert.