Bug 8339 - div id="login" should be id="login_controls" in header.inc
[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 class="toplinks" href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a></li>[% END %]
7                 [% IF ( CAN_user_borrowers ) %]<li><a class="toplinks" href="/cgi-bin/koha/members/members-home.pl">Patrons</a></li>[% END %]
8                 [% IF ( CAN_user_catalogue ) %]<li><a class="toplinks" href="/cgi-bin/koha/catalogue/search.pl">Search</a></li>[% END %]
9                 [% IF ( intranetbookbag ) %]
10                     <li><a class="toplinks" href="#" id="cartmenulink">Cart<span id="basketcount"></span></a></li>
11                 [% END %]
12                 [% IntranetNav %]
13                 <li class="more">
14                     <a class="toplinks" 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 || CAN_user_editcatalogue_edit_items ) %]
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_controls">
48         [% IF ( AutoLocation ) %]
49             <strong>
50             [% LoginBranchname %]
51             </strong>
52         [% ELSE %]
53             <strong>
54             [% IF ( LoginBranchname == 'NO_LIBRARY_SET' ) %]
55                 NO LIBRARY SET
56             [% ELSE %]
57                 [% LoginBranchname %]
58             [% END %]
59             </strong>
60             [% IF ( IndependantBranches ) %]
61                 [% IF ( CAN_user_management || CAN_user_editcatalogue_edit_catalogue ) %]
62                     ( <a class="toplinks" href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a> )
63                 [% END %]
64             [% ELSE %]
65                 ( <a class="toplinks" href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a> )
66             [% END %]
67         |
68         [% END %]
69         [% IF ( loggedinusername ) %]
70             <span class="loggedinusername">
71                 [% loggedinusername %]
72             </span>
73             [% IF ( intranetbookbag ) %]
74             ( <a class="toplinks" href="/cgi-bin/koha/mainpage.pl?logout.x=1" onclick="clearHoldFor(); delBasket('main', true);">Log out</a> ) |
75             [% ELSE %]
76             ( <a class="toplinks" href="/cgi-bin/koha/mainpage.pl?logout.x=1" onclick="clearHoldFor();">Log out</a> ) |
77             [% END %]
78         [% ELSE %]
79             You are not logged in |
80         [% END %]
81         <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper" onclick="var link=window.open('','Koha_Help','width=600,height=600,toolbar=false,scrollbars=yes'); link.location='/cgi-bin/koha/help.pl'; return false;">[ ? ]</a>
82     </div>
83 </div>