Merge remote-tracking branch 'origin/new/bug_7613'
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / suggestions-add-search.inc
1
2 <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Suggestions Resident Search Box -->
3 <div id="header_search">
4         <div id="suggestions_search" class="residentsearch">
5     <p class="tip">Suggestions search:</p>
6         <form action="/cgi-bin/koha/acqui/newordersuggestion.pl" method="get">
7     <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
8         <label for="searchtitle">Title:</label> <input type="text" id="searchtitle" name="title" size="10" value="[% title %]" />
9     <label for="searchauthor">Author:</label> <input type="text" id="searchauthor" name="author" size="10" value="[% author %]" />
10     <label for="searchpublishercode">Publisher:</label> <input type="text" id="searchpublishercode" name="publishercode" size="10" value="[% publishercode %]" />
11     <input type="submit" class="submit" value="Search" />
12         </form>
13         </div>
14
15     [% INCLUDE 'patron-search-box.inc' %]
16
17         [% IF ( CAN_user_catalogue ) %]
18     <div id="catalog_search" class="residentsearch">
19         <p class="tip">Enter search keywords:</p>
20                 <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
21                          <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" />
22                                 <input type="submit" value="Submit"  class="submit" />
23                 </form>
24         </div>
25         [% END %]
26                         <ul>
27             <li><a href="#suggestions_search">Search suggestions</a></li>
28             [% IF ( CAN_user_circulate ) %]<li><a href="#circ_search">Check out</a></li>[% END %]
29             [% IF ( CAN_user_catalogue ) %]<li><a href="#catalog_search">Search the catalog</a></li>[% END %]
30             </ul>
31 </div>
32 <!-- End Suggestions Resident Search Box -->