Revision bba8bb9a
Von Bernd Bleßmann vor 3 Monaten hinzugefügt
SL/AM.pm | ||
---|---|---|
565 | 565 |
SL::Helper::UserPreferences::DisplayPreferences->new()->get_layout_style(); |
566 | 566 |
} |
567 | 567 |
|
568 |
sub part_picker_search_all_as_list_default { |
|
569 |
SL::Helper::UserPreferences::PartPickerSearch->new()->get_all_as_list_default(); |
|
570 |
} |
|
571 |
|
|
568 | 572 |
sub save_preferences { |
569 | 573 |
$main::lxdebug->enter_sub(); |
570 | 574 |
|
... | ... | |
611 | 615 |
if (exists $form->{layout_style}) { |
612 | 616 |
SL::Helper::UserPreferences::DisplayPreferences->new()->store_layout_style($form->{layout_style}) |
613 | 617 |
} |
618 |
if (exists $form->{part_picker_search_all_as_list_default}) { |
|
619 |
SL::Helper::UserPreferences::PartPickerSearch->new()->store_all_as_list_default($form->{part_picker_search_all_as_list_default}) |
|
620 |
} |
|
614 | 621 |
|
615 | 622 |
$main::lxdebug->leave_sub(); |
616 | 623 |
|
bin/mozilla/am.pl | ||
---|---|---|
666 | 666 |
$form->{time_recording_use_duration} = AM->time_recording_use_duration(); |
667 | 667 |
$form->{longdescription_dialog_size_percentage} = AM->longdescription_dialog_size_percentage(); |
668 | 668 |
$form->{layout_style} = AM->layout_style(); |
669 |
$form->{part_picker_search_all_as_list_default} = AM->part_picker_search_all_as_list_default(); |
|
669 | 670 |
|
670 | 671 |
$myconfig{show_form_details} = 1 unless (defined($myconfig{show_form_details})); |
671 | 672 |
$form->{CAN_CHANGE_PASSWORD} = $main::auth->can_change_password(); |
locale/de/all | ||
---|---|---|
2819 | 2819 |
'Part classifications' => 'Artikel-Klassifizierungen', |
2820 | 2820 |
'Part marked as "Shop part"' => 'Markiert als Shopartikel', |
2821 | 2821 |
'Part picker' => 'Artikelauswahl', |
2822 |
'Part picker search dialog (magnifying glass): "all as list" defaults to on' => 'Artikel-Such-Dialog (Lupe): "alle als Liste" voreinstellen', |
|
2822 | 2823 |
'Part successful counted' => 'Der Artikel wurde gezählt', |
2823 | 2824 |
'Part with partnumber: #1 not found' => 'Artikel mit Artikelnummer #1 wurde nicht gefunden', |
2824 | 2825 |
'PartClassAbbreviation' => 'Abkürzung der Artikel-Klassifizierung', |
locale/en/all | ||
---|---|---|
2818 | 2818 |
'Part classifications' => '', |
2819 | 2819 |
'Part marked as "Shop part"' => '', |
2820 | 2820 |
'Part picker' => '', |
2821 |
'Part picker search dialog (magnifying glass): "all as list" defaults to on' => '', |
|
2821 | 2822 |
'Part successful counted' => '', |
2822 | 2823 |
'Part with partnumber: #1 not found' => '', |
2823 | 2824 |
'PartClassAbbreviation' => '', |
templates/design40_webpages/am/config.html | ||
---|---|---|
242 | 242 |
</table> |
243 | 243 |
</td> |
244 | 244 |
</tr> |
245 |
<tr> |
|
246 |
<th>[% 'Part picker search dialog (magnifying glass): "all as list" defaults to on' | $T8 %]</th> |
|
247 |
<td> |
|
248 |
[% L.yes_no_tag('part_picker_search_all_as_list_default', part_picker_search_all_as_list_default) %] |
|
249 |
</td> |
|
250 |
</tr> |
|
245 | 251 |
</tbody> |
246 | 252 |
</table> |
247 | 253 |
</div><!-- /.wrapper --> |
templates/webpages/am/config.html | ||
---|---|---|
270 | 270 |
</table> |
271 | 271 |
</td> |
272 | 272 |
|
273 |
<tr> |
|
274 |
<th align="right">[% 'Part picker search dialog (magnifying glass): "all as list" defaults to on' | $T8 %]</th> |
|
275 |
<td> |
|
276 |
[% L.yes_no_tag('part_picker_search_all_as_list_default', part_picker_search_all_as_list_default) %] |
|
277 |
</td> |
|
278 |
</tr> |
|
279 |
|
|
273 | 280 |
</table> |
274 | 281 |
</div> |
275 | 282 |
|
Auch abrufbar als: Unified diff
Part-Picker Such-Dialog: Defaultwert für "Alle als Liste" speichern können