Lines 1-42
Link Here
|
1 |
<div class="gradient"> |
1 |
<div class="gradient"> |
2 |
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Main page Resident Search Box --> |
2 |
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1> |
3 |
|
3 |
|
4 |
<div id="header_search"> |
4 |
<!-- Begin main page resident search box --> |
5 |
[% INCLUDE 'patron-search-box.inc' %] |
5 |
<div id="header_search"> |
6 |
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] |
6 |
[% INCLUDE 'patron-search-box.inc' %] |
7 |
<div id="checkin_search" class="residentsearch"> |
7 |
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] |
8 |
<p class="tip">Scan a barcode to check in:</p> |
8 |
<div id="checkin_search" class="residentsearch"> |
9 |
<form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off"> |
9 |
<p class="tip">Scan a barcode to check in:</p> |
10 |
<input name="barcode" class="head-searchbox" id="ret_barcode" size="40" accesskey="r" /> |
10 |
<form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off"> |
11 |
<input value="Submit" class="submit" type="submit" /> |
11 |
<input name="barcode" class="head-searchbox" id="ret_barcode" size="40" accesskey="r" /> |
12 |
</form> |
12 |
<input value="Submit" class="submit" type="submit" /> |
13 |
</div> |
13 |
</form> |
14 |
<div id="renew_search" class="residentsearch"> |
14 |
</div> |
15 |
<p class="tip">Scan a barcode to renew:</p> |
15 |
<div id="renew_search" class="residentsearch"> |
16 |
<form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off"> |
16 |
<p class="tip">Scan a barcode to renew:</p> |
17 |
<input class="head-searchbox" name="barcode" id="ren_barcode" size="40" /> |
17 |
<form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off"> |
18 |
<input value="Submit" class="submit" type="submit" /> |
18 |
<input class="head-searchbox" name="barcode" id="ren_barcode" size="40" /> |
19 |
</form> |
19 |
<input value="Submit" class="submit" type="submit" /> |
20 |
</div> |
20 |
</form> |
21 |
[% END %] |
21 |
</div> |
|
|
22 |
[% END %] |
22 |
|
23 |
|
23 |
[% IF ( CAN_user_borrowers ) %] |
24 |
[% IF ( CAN_user_borrowers ) %] |
24 |
<div id="patron_search" class="residentsearch"> |
25 |
<div id="patron_search" class="residentsearch"> |
25 |
<p class="tip">Enter patron card number or partial name:</p> |
26 |
<p class="tip">Enter patron card number or partial name:</p> |
26 |
<form action="/cgi-bin/koha/members/member.pl" method="post"> |
27 |
<form action="/cgi-bin/koha/members/member.pl" method="post"> |
27 |
<input name="searchmember" class="head-searchbox" id="searchmember" size="40" type="text"/> |
28 |
<input name="searchmember" class="head-searchbox" id="searchmember" size="40" type="text" /> |
28 |
<input type="hidden" name="quicksearch" value="1" /> |
29 |
<input type="hidden" name="quicksearch" value="1" /> |
29 |
<input value="Submit" class="submit" type="submit" /> |
30 |
<input value="Submit" class="submit" type="submit" /> |
30 |
</form> |
31 |
</form> |
31 |
</div>[% END %] |
32 |
</div> |
|
|
33 |
[% END %] |
32 |
|
34 |
|
33 |
<ul> |
35 |
<ul> |
34 |
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a onclick="keep_text(0)" href="#circ_search">Check out</a></li>[% END %] |
36 |
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] |
35 |
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a onclick="keep_text(1)" href="#checkin_search">Check in</a></li>[% END %] |
37 |
<li><a onclick="keep_text(0)" href="#circ_search">Check out</a></li> |
36 |
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a onclick="keep_text(2)" href="#renew_search">Renew</a></li>[% END %] |
38 |
[% END %] |
37 |
[% IF ( CAN_user_borrowers ) %]<li><a onclick="keep_text(3)" href="#patron_search">Search patrons</a></li>[% END %] |
39 |
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] |
38 |
</ul> |
40 |
<li><a onclick="keep_text(1)" href="#checkin_search">Check in</a></li> |
|
|
41 |
[% END %] |
42 |
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] |
43 |
<li><a onclick="keep_text(2)" href="#renew_search">Renew</a></li> |
44 |
[% END %] |
45 |
[% IF ( CAN_user_borrowers ) %] |
46 |
<li><a onclick="keep_text(3)" href="#patron_search">Search patrons</a></li> |
47 |
[% END %] |
48 |
</ul> |
39 |
|
49 |
|
40 |
</div><!-- /header_search --> |
50 |
</div><!-- /#header_search --> |
41 |
</div><!-- /gradient --> |
51 |
<!-- End advanced search page resident search box --> |
42 |
<!-- End Main page Resident Search Box --> |
52 |
|
|
|
53 |
</div><!-- /.gradient --> |
43 |
- |
|
|