TopQuickSearch: UserPreferences kleinere Syntaxverbesserungen
[kivitendo-erp.git] / templates / webpages / am / config.html
index e215590..3cea818 100644 (file)
@@ -2,7 +2,7 @@
 [%- USE LxERP %]
 [%- USE HTML %]
 [%- USE L %]
-[% USE Dumper %]
+
 <h1>[% title %]</h1>
 
  <form method="post" action="am.pl" name="Form" id="form">
       <td colspan=2>
         <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) %]
-         [% # L.multiselect2side("quick_searches", labelsx=LxERP.t8("All modules"), labeldx=LxERP.t8("Enabled modules")) %]
+           enabled_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) %]
         </div>
       </td>
     </tr>