Bug 30484: Add ILL update notice
[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             [% IF ( Koha.Preference('RetainCatalogSearchTerms') ) %]
10                 <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" />
11             [% ELSE %]
12                 <input type="text" name="q" id="search-form" size="40" title="Enter the terms you wish to search for." class="query form-text head-searchbox" />
13             [% END %]
14             [% IF ( Koha.Preference('IntranetAddMastheadLibraryPulldown') ) %]
15                 <select id="select_library" name="limit" style="margin-left:5px;">
16                     <option value="">All libraries</option>
17                     [% PROCESS options_for_libraries prefix => "branch:" libraries => Branches.all( selected => branch_limit ) %]
18                 </select>
19             [% END %]
20             <input type="submit" value="Submit"  class="submit" />
21         </form>
22     </div>
23 [% END %]