3 [% IF ( CAN_user_catalogue ) %]
4 <div id="catalog_search" class="residentsearch">
5 <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
6 <span class="form-title">
7 <label class="control-label">Search catalog</label>
10 <span class="form-content">
11 [% IF ( Koha.Preference('RetainCatalogSearchTerms') ) %]
12 <input type="text" name="q" id="search-form" size="20" value="[% ms_value | html %]" title="Enter the terms you wish to search for." class="query form-text head-searchbox form-control" placeholder="Enter search keywords" />
14 <input type="text" name="q" id="search-form" size="20" title="Enter the terms you wish to search for." class="query form-text head-searchbox form-control" placeholder="Enter search keywords" />
17 [% IF Koha.Preference('IntranetCatalogSearchPulldown') || Koha.Preference('IntranetAddMastheadLibraryPulldown') %]
18 <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
21 <button type="submit"><i class="fa fa-arrow-right"></i></button>
23 <div class="form-extra-content">
24 [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %]
26 <label for="idx">Search index</label>
27 [% INCLUDE 'search_indexes.inc' $header_pulldown = 1 %]
31 [% IF ( Koha.Preference('IntranetAddMastheadLibraryPulldown') ) %]
33 <label for="select_library">Library</label>
34 <select id="select_library" name="limit">
35 <option value="">All libraries</option>
36 [% PROCESS options_for_libraries prefix => "branch:" libraries => Branches.all( selected => branch_limit ) %]