Fix for Bug 5898 - search to hold feature not clearing
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / header.inc
1     [% IF ( intranetbookbag ) %]<div id="cartDetails">Your cart is empty.</div>[% END %]
2
3     <div id="header" class="clearfix">
4         <div id="toplevelnav">
5             <ul id="toplevelmenu">
6                 [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a></li>[% END %]
7                 [% IF ( CAN_user_borrowers ) %]<li><a href="/cgi-bin/koha/members/members-home.pl">Patrons</a></li>[% END %]
8                 [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl">Search</a></li>[% END %]
9                 [% IF ( intranetbookbag ) %]
10                     <li><a href="#" id="cartmenulink">Cart<span id="basketcount"></span></a></li>
11                 [% END %]
12                 [% IntranetNav %]
13                 <li class="more">
14                     <a id="showmore" href="/cgi-bin/koha/mainpage.pl">More</a>
15                     <div id="moremenu">
16                         <div class="bd">
17                             <ul>
18                             <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a></li>
19                             [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
20                             <li><a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a></li>
21                             [% END %]
22                             [% IF ( CAN_user_acquisition ) %]
23                             <li><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a></li>
24                             [% END %]
25                             [% IF ( CAN_user_editauthorities ) %]
26                             <li><a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a></li>
27                             [% END %]
28                             [% IF ( CAN_user_serials ) %]
29                             <li><a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a></li>
30                             [% END %]
31                             [% IF ( CAN_user_reports ) %]
32                             <li><a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a></li>
33                             [% END %]
34                             [% IF ( CAN_user_tools ) %]
35                             <li><a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a></li>
36                             [% END %]
37                             [% IF ( CAN_user_parameters ) %]
38                             <li><a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a></li>
39                             [% END %]
40                             <li><a href="/cgi-bin/koha/about.pl">About Koha</a></li>
41                             </ul>
42                         </div>
43                     </div>
44                 </li>
45             </ul>
46         </div>
47     <div id="login">
48         [% IF ( AutoLocation ) %]
49             <strong>
50             [% LoginBranchname %]
51             </strong>
52         [% ELSE %]
53             <strong>[% LoginBranchname %]</strong>
54             [% IF ( IndependantBranches ) %]
55                 [% IF ( CAN_user_management || CAN_user_editcatalogue_edit_catalogue ) %]
56                     (<a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a>)
57                 [% END %]
58             [% ELSE %]
59                 (<a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a>)
60             [% END %]
61         |
62         [% END %]
63         [% IF ( loggedinusername ) %]
64             <span class="loggedinusername">
65                 [% loggedinusername %]
66             </span>
67             [% IF ( intranetbookbag ) %]
68             (<a href="/cgi-bin/koha/mainpage.pl?logout.x=1" onclick="clearHoldFor(); delBasket(true);">Log Out</a>) |
69             [% ELSE %]
70             (<a href="/cgi-bin/koha/mainpage.pl?logout.x=1" onclick="clearHoldFor();">Log Out</a>) |
71             [% END %]
72         [% ELSE %]
73             You are not logged in |
74         [% END %]
75         <a href="/cgi-bin/koha/help.pl" id="helper" onclick="window.open('/cgi-bin/koha/help.pl?url='+escape(document.url),'Koha_Help','width=600,height=600,toolbar=false,scrollbars=yes'); return false;">[ ? ]</a>
76     </div>
77 </div>