Revision 8dae2fc2
Von Werner Hahn vor mehr als 6 Jahren hinzugefügt
SL/Controller/TopQuickSearch.pm | ||
---|---|---|
);
|
||
|
||
my %enabled_names;
|
||
if ($user_prefs) {
|
||
my $prefs_val = $user_prefs->get('quick_search_modules');
|
||
if (my $prefs_val = $user_prefs->get('quick_search_modules')) {
|
||
my @quick_search_modules = split ',', $prefs_val;
|
||
|
||
%enabled_names = map {
|
templates/webpages/am/config.html | ||
---|---|---|
<div class="clearfix">
|
||
[% L.select_tag("quick_search_modules[]",
|
||
ENABLED_QUICK_SEARCHMODULES,
|
||
value_key = "name",
|
||
title_key = "description_config",
|
||
id = "quick_searches",
|
||
multiple = 1,
|
||
size = ENABLED_QUICK_SEARCHMODULES.size,
|
||
default = DEFAULT_QUICK_SEARCHMODULES) %]
|
||
value_key = "name",
|
||
title_key = "description_config",
|
||
id = "quick_searches",
|
||
multiple = 1,
|
||
with_empty = 1
|
||
size = ENABLED_QUICK_SEARCHMODULES.size,
|
||
default = DEFAULT_QUICK_SEARCHMODULES) %]
|
||
[% # L.multiselect2side("quick_searches", labelsx=LxERP.t8("All modules"), labeldx=LxERP.t8("Enabled modules")) %]
|
||
</div>
|
||
</td>
|
Auch abrufbar als: Unified diff
TopQuickSearch: Syntax Logik bei den Userpreferences. with_empty bei der
Auswahl