Revision ede5fa54
Von Bernd Bleßmann vor mehr als 5 Jahren hinzugefügt
SL/AM.pm | ||
---|---|---|
52 | 52 |
use SL::DB::Vendor; |
53 | 53 |
use SL::DB; |
54 | 54 |
use SL::GenericTranslations; |
55 |
use SL::Helper::UserPreferences::PositionsScrollbar; |
|
55 | 56 |
|
56 | 57 |
use strict; |
57 | 58 |
|
... | ... | |
527 | 528 |
}; |
528 | 529 |
} |
529 | 530 |
|
531 |
sub positions_scrollbar_height { |
|
532 |
SL::Helper::UserPreferences::PositionsScrollbar->new()->get_height(); |
|
533 |
} |
|
534 |
|
|
530 | 535 |
sub save_preferences { |
531 | 536 |
$main::lxdebug->enter_sub(); |
532 | 537 |
|
... | ... | |
552 | 557 |
} |
553 | 558 |
} |
554 | 559 |
|
560 |
if (exists $form->{positions_scrollbar_height}) { |
|
561 |
SL::Helper::UserPreferences::PositionsScrollbar->new()->store_height($form->{positions_scrollbar_height}) |
|
562 |
} |
|
563 |
|
|
555 | 564 |
$main::lxdebug->leave_sub(); |
556 | 565 |
|
557 | 566 |
return 1; |
bin/mozilla/am.pl | ||
---|---|---|
660 | 660 |
$form->{default_quick_searchmodules} = \@quick_search_modules; |
661 | 661 |
|
662 | 662 |
$form->{displayable_name_specs_by_module} = AM->displayable_name_specs_by_module(); |
663 |
$form->{positions_scrollbar_height} = AM->positions_scrollbar_height(); |
|
663 | 664 |
|
664 | 665 |
$myconfig{show_form_details} = 1 unless (defined($myconfig{show_form_details})); |
665 | 666 |
$form->{CAN_CHANGE_PASSWORD} = $main::auth->can_change_password(); |
locale/de/all | ||
---|---|---|
2767 | 2767 |
'Saving the record template \'#1\' failed.' => 'Das Speichern der Belegvorlage »#1« schlug fehl.', |
2768 | 2768 |
'Score' => 'Punkte', |
2769 | 2769 |
'Screen' => 'Bildschirm', |
2770 |
'Scrollbar height percentage for form postion area (0 means no scrollbar)' => 'Prozentuale Höhe des Scrollbereichs der Positionen in Belegen (0 bedeutet kein Scrollbar)', |
|
2770 | 2771 |
'Search' => 'Suchen', |
2771 | 2772 |
'Search AP Aging' => 'Offene Verbindlichkeiten', |
2772 | 2773 |
'Search AR Aging' => 'Offene Forderungen', |
locale/en/all | ||
---|---|---|
2730 | 2730 |
'Saving the record template \'#1\' failed.' => '', |
2731 | 2731 |
'Score' => '', |
2732 | 2732 |
'Screen' => '', |
2733 |
'Scrollbar height percentage for form postion area (0 means no scrollbar)' => '', |
|
2733 | 2734 |
'Search' => '', |
2734 | 2735 |
'Search AP Aging' => '', |
2735 | 2736 |
'Search AR Aging' => '', |
templates/webpages/am/config.html | ||
---|---|---|
147 | 147 |
</td> |
148 | 148 |
</tr> |
149 | 149 |
|
150 |
[%- IF INSTANCE_CONF.get_feature_experimental_order -%] |
|
151 |
<tr> |
|
152 |
<th align="right">[% 'Scrollbar height percentage for form postion area (0 means no scrollbar)' | $T8 %]</th> |
|
153 |
<td> |
|
154 |
[% L.input_tag('positions_scrollbar_height', positions_scrollbar_height, size = 5) %] |
|
155 |
</td> |
|
156 |
</tr> |
|
157 |
[%- END -%] |
|
158 |
|
|
150 | 159 |
<tr> |
151 | 160 |
<th align="right">[% 'Show custom variable search inputs' | $T8 %]</th> |
152 | 161 |
<td> |
Auch abrufbar als: Unified diff
Benutzereinstellungen für Höhe des Scrollbereichs f. Positionen …
… im neuen Auftrags-Controller