Bug 12051: Adds a Renew tab to the staff client
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / checkin-search.inc
1 <div class="gradient">
2 <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Checkin Resident Search Box -->
3 <div id="header_search">
4 [% INCLUDE 'patron-search-box.inc' %]
5 [% IF ( CAN_user_catalogue ) %]
6 <div id="catalog_search" class="residentsearch">
7     <p class="tip">Enter search keywords:</p>
8     <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
9         <input class="head-searchbox" type="text" name="q" id="search-form" size="40" />
10         <input type="submit" class="submit" value="Submit"/>
11     </form>
12 </div>
13 [% END %]
14 [% IF ( CAN_user_circulate ) %]
15 <div id="renew_search" class="residentsearch">
16     <p class="tip">Scan a barcode to renew:</p>
17     <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
18         <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
19         <input value="Submit" class="submit" type="submit" />
20     </form>
21 </div>
22 [% END %]
23
24 <ul>
25     [% IF ( CAN_user_circulate ) %]<li><a onclick="keep_text(0)" href="#circ_search">Check out</a></li>[% END %]
26     [% IF ( CAN_user_circulate ) %]<li><a onclick="keep_text(1)" href="#renew_search">Renew</a></li>[% END %]
27     [% IF ( CAN_user_catalogue ) %]<li><a onclick="keep_text(2)" href="#catalog_search">Search the catalog</a></li>[% END %]
28 </ul>   
29
30 </div>
31 </div><!-- /gradient -->
32 <!-- End Checkin Resident Search Box -->