Bug 31401: (QA follow-up) Remove Koha.ArePluginsEnabled, it is no longer needed
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / catalogue-search-box.inc
1 [% USE Branches %]
2 [% IF ( CAN_user_catalogue ) %]
3     <div id="catalog_search" class="residentsearch">
4         <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
5             <label class="tip" for="search-form">Enter search keywords:</label>
6                 [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
7                     [% INCLUDE 'search_indexes.inc' $header_pulldown = 1 %]
8                 [% END %]
9             <input type="text" name="q" id="search-form" size="40" value="[% ms_value | html %]" title="Enter the terms you wish to search for." class="query form-text head-searchbox" />
10             [% IF ( Koha.Preference('IntranetAddMastheadLibraryPulldown') ) %]
11                 <select id="select_library" name="limit" style="margin-left:5px;">
12                     <option value="">All libraries</option>
13                     [% PROCESS options_for_libraries prefix => "branch:" libraries => Branches.all( selected => branch_limit ) %]
14                 </select>
15             [% END %]
16             <input type="submit" value="Submit"  class="submit" />
17
18         </form>
19     </div>
20 [% END %]