667d6df6a1767680e5546d632e4b10a3751b8c56
[koha.git] / koha-tmpl / opac-tmpl / prog / en / includes / masthead.inc
1 <div id="header-wrapper"><div id="members">
2   <!-- TMPL_IF NAME="opacuserlogin" -->
3         <ul><!-- TMPL_IF NAME="loggedinusername" -->
4
5                 <li><span class="members">Welcome, <a href="/cgi-bin/koha/opac-user.pl"><span class="loggedinusername"><!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --><!-- /TMPL_LOOP --></span></a></span></li>
6
7             <!-- TMPL_ELSE -->
8                 <li><a href="/cgi-bin/koha/opac-user.pl">Log in to Your Account</a></li>
9             <!-- /TMPL_IF -->
10
11             <!-- TMPL_IF NAME="ShowOpacRecentSearchLink" -->
12                 <li><a href="/cgi-bin/koha/opac-search-history.pl" title="View your search history">Search history</a> [<a href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history" onclick="javascript:return confirm(_('Are you sure you want to delete your search history?'));">x</a>]</li>
13             <!-- /TMPL_IF -->
14
15             <!-- TMPL_IF NAME="loggedinusername" --><li><a class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1">Log Out</a></li><!-- /TMPL_IF -->
16
17         </ul>   
18   <!-- /TMPL_IF -->
19 </div>
20   <!-- TMPL_IF NAME="opacheader" -->
21         <!-- TMPL_VAR NAME="opacheader" -->
22   <!-- /TMPL_IF -->
23 <div id="opac-main-search" class="yui-g">
24    <!-- TMPL_IF NAME="opacsmallimage" -->
25    <h1 id="libraryname" style="background-image: url('<!-- TMPL_VAR NAME="opacsmallimage" -->');">
26    <!-- TMPL_ELSE -->
27    <h1 id="libraryname">
28    <!-- /TMPL_IF --><a href="/cgi-bin/koha/opac-main.pl"><!-- TMPL_IF NAME="LibraryName" --><!-- TMPL_VAR NAME="LibraryName" --><!-- TMPL_ELSE -->Koha Online Catalog<!-- /TMPL_IF --></a></h1>
29
30 <div id="fluid">
31 <div id="fluid-offset">
32 <!-- TMPL_UNLESS NAME="advsearch" --><form name="searchform" method="get" action="/cgi-bin/koha/opac-search.pl" id="searchform">
33     <label for="masthead_search" class="left"> Search <!-- TMPL_IF name="mylibraryfirst" --> (in <!-- TMPL_VAR name="mylibraryfirst" --> only)<!-- /TMPL_IF --></label>
34         <select name="idx" id="masthead_search" class="left" style="max-width:10em;width:10em;">
35         <!-- TMPL_IF NAME="ms_kw" -->
36         <option selected="selected" value="">Library Catalog</option>
37                 <!-- TMPL_ELSE -->
38         <option value="">Library Catalog</option>
39                 <!-- /TMPL_IF -->
40                 <!-- TMPL_IF NAME="ms_ti" -->
41         <option selected="selected" value="ti">Title</option>
42                 <!-- TMPL_ELSE -->
43         <option value="ti">Title</option>
44                 <!-- /TMPL_IF -->
45                 <!-- TMPL_IF NAME="ms_au" -->
46         <option selected="selected" value="au">Author</option>
47                 <!-- TMPL_ELSE -->
48         <option value="au">Author</option>
49                 <!-- /TMPL_IF -->
50                 <!-- TMPL_IF NAME="ms_su" -->
51         <option selected="selected" value="su">Subject</option>
52                 <!-- TMPL_ELSE -->
53         <option value="su">Subject</option>
54                 <!-- /TMPL_IF -->
55                 <!-- TMPL_IF NAME="ms_nb" -->
56                 <option selected="selected" value="nb">ISBN</option>
57                 <!-- TMPL_ELSE -->
58                 <option value="nb">ISBN</option>
59                 <!-- /TMPL_IF -->
60                 <!-- TMPL_IF NAME="ms_se" -->
61         <option selected="selected" value="se">Series</option>
62                 <!-- TMPL_ELSE -->
63         <option value="se">Series</option>
64                 <!-- /TMPL_IF -->
65                 <!-- TMPL_IF NAME="ms_callnum" -->
66         <option selected="selected" value="callnum">Call Number</option>
67                 <!-- TMPL_ELSE -->
68         <option value="callnum">Call Number</option>
69                 <!-- /TMPL_IF --></select>
70 <!-- TMPL_IF NAME="ms_value" -->
71         <input type="text" id = "transl1" name="q" value="<!-- TMPL_VAR ESCAPE="HTML" NAME="ms_value" -->" class="left" style="width: 35%; font-size: 111%;"/><div id="translControl"></div>
72 <!-- TMPL_ELSE -->
73         <input type="text" id = "transl1" name="q" class="left" style="width: 35%; font-size: 111%;"/><div id="translControl"></div>
74 <!-- /TMPL_IF -->
75    <!-- TMPL_UNLESS NAME="opac_limit_override" -->
76        <!-- TMPL_IF name="mylibraryfirst" --> 
77             <input name="limit" value="branch:<!-- TMPL_VAR name="mylibraryfirst" -->" type="hidden" />
78        <!-- /TMPL_IF -->
79     <!-- /TMPL_UNLESS -->
80     <!-- TMPL_IF NAME="opac_search_limit" -->
81         <input name="limit" value="<!-- TMPL_VAR name="opac_search_limit" -->" type="hidden" />
82     <!-- /TMPL_IF -->
83     <input type="submit" value="Go" id="searchsubmit" class="left" />
84 <!-- TMPL_IF NAME="opacbookbag" --><span id="cmspan"></span><!-- /TMPL_IF -->
85
86 <!--TMPL_IF NAME="virtualshelves" --><a href="/cgi-bin/koha/opac-shelves.pl" id="listsmenulink" class=""><i></i><span><i></i><span></span>Lists </span></a><!-- /TMPL_IF -->
87     </form>
88 <!-- /TMPL_UNLESS -->
89
90 <div style="width:80%;*margin-bottom:-30px;">
91 <!--TMPL_IF NAME="virtualshelves" --><a href="/cgi-bin/koha/opac-shelves.pl" id="listsmenulink" class=""><i></i><span><i></i><span></span>Lists </span></a><!-- /TMPL_IF --><!-- TMPL_IF NAME="opacbookbag" --><span id="cmspan"></span><!-- /TMPL_IF -->
92 </div>
93
94 <div id="moresearches">
95 <a href="/cgi-bin/koha/opac-search.pl">Advanced Search</a>
96 <!-- TMPL_IF NAME="OpacBrowser"     --><span class="pipe"> | </span><a href="/cgi-bin/koha/opac-browser.pl">Browse by Hierarchy</a><!-- /TMPL_IF -->
97 <!-- TMPL_IF NAME="OpacAuthorities" --><span class="pipe"> | </span><a href="/cgi-bin/koha/opac-authorities-home.pl">Browse by Subject</a><!-- /TMPL_IF -->
98 <!-- TMPL_IF NAME="TagsEnabled"     --><span class="pipe"> | </span><a href="/cgi-bin/koha/opac-tags.pl">Tag Cloud</a><!-- /TMPL_IF -->
99 <!-- TMPL_IF NAME="OpacCloud"       --><span class="pipe"> | </span><a href="/cgi-bin/koha/opac-tags_subject.pl">Subject Cloud</a><!-- /TMPL_IF -->
100 <!-- TMPL_IF NAME="OpacTopissue"    --><span class="pipe"> | </span><a href="/cgi-bin/koha/opac-topissues.pl">Most Popular</a><!-- /TMPL_IF -->
101 <!-- TMPL_IF NAME="suggestion" -->
102   <!-- TMPL_IF NAME="AnonSuggestions" --><span class="pipe"> | </span><a href="/cgi-bin/koha/opac-suggestions.pl">Purchase Suggestions</a>
103   <!-- TMPL_ELSIF NAME="OPACViewOthersSuggestions" --><span class="pipe"> | </span><a href="/cgi-bin/koha/opac-suggestions.pl">Purchase Suggestions</a>
104   <!-- /TMPL_IF -->
105 <!-- /TMPL_IF -->
106 </div>
107  </div>
108 </div>
109
110 <!-- TMPL_IF NAME="opacbookbag" --><div id="cartDetails">Your cart is empty.</div><!-- /TMPL_IF -->
111
112 <!-- TMPL_IF NAME="virtualshelves" -->
113 <div id="listsmenu" class="yuimenu" style="display: none">
114     <div class="bd">
115         <h4>Public Lists</h4>
116                 <!-- TMPL_IF NAME="pubshelves" -->
117                         <ul class="first-of-type">
118                         <!-- TMPL_LOOP NAME="pubshelvesloop" -->
119                         <li class="yuimenuitem"><a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelfnumber" -->&amp;sortfield=<!-- TMPL_VAR NAME="sortfield" -->"><!-- TMPL_VAR NAME="shelfname"  ESCAPE="html" --></a></li>
120                         <!-- /TMPL_LOOP -->
121                         </ul>   
122                 <!-- TMPL_ELSE -->
123                         No Public Lists
124                 <!-- /TMPL_IF -->
125                 <!-- TMPL_IF NAME="pubtotal" -->
126                         <ul class="second-of-type">
127             <li class="yuimenuitem"><a class="yuimenuitemlabel" href="/cgi-bin/koha/opac-shelves.pl?display=publicshelves">View all <!--TMPL_VAR NAME="pubtotal" --> public lists</a></li>
128                         </ul>
129                 <!-- /TMPL_IF -->
130 <!-- TMPL_IF NAME="opacuserlogin" -->
131 <!-- TMPL_IF NAME="loggedinusername" -->
132 <h4>Your Lists</h4>
133                 <!-- TMPL_IF NAME="barshelves" -->
134                         <ul class="first-of-type">
135                         <!-- TMPL_LOOP NAME="barshelvesloop" -->
136                         <li class="yuimenuitem"><a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelfnumber" -->&amp;sortfield=<!-- TMPL_VAR NAME="sortfield" -->"><!-- TMPL_VAR NAME="shelfname"  ESCAPE="html" --></a></li>
137                         <!-- /TMPL_LOOP -->
138                         </ul>   
139                 <!-- TMPL_ELSE -->
140                         No Private Lists
141                 <!-- /TMPL_IF -->
142                 <!-- TMPL_IF NAME="bartotal" -->
143                         <ul class="second-of-type">
144             <li class="yuimenuitem"><a class="yuimenuitemlabel" href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves">View all <!--TMPL_VAR NAME="bartotal" --> of your lists</a></li>
145                         </ul>
146                 <!-- /TMPL_IF -->
147                 <ul class="second-of-type">
148         <li class="yuimenuitem"><a class="yuimenuitemlabel" href="/cgi-bin/koha/opac-shelves.pl">Manage Lists</a></li>
149         </ul>
150                 <!-- TMPL_ELSE --><ul class="first-of-type"><li><a href="/cgi-bin/koha/opac-user.pl">Log in to Create Your Own Lists</a></li></ul><!-- /TMPL_IF -->
151 <!-- /TMPL_IF -->
152           </div>
153 </div>
154 <!-- /TMPL_IF -->
155 <div id="listsDetails"></div>
156 </div>
157 </div>
158 <div id="breadcrumbs" class="yui-g"><!-- TMPL_IF NAME="searchdesc" --><p><!-- TMPL_IF name="total" --><strong>&ldquo;<!-- TMPL_VAR NAME="query_desc" ESCAPE="HTML"--><!-- TMPL_VAR NAME="limit_desc" ESCAPE="HTML"-->&rdquo; </strong>returned <!-- TMPL_VAR NAME="total" ESCAPE="HTML"--> results. <!-- TMPL_IF NAME="related" --> (related searches: <!-- TMPL_LOOP NAME="related" --><!-- TMPL_VAR NAME="related_search" --><!-- /TMPL_LOOP -->). <!-- /TMPL_IF -->
159 <a href="<!-- TMPL_VAR NAME="OPACBaseURL" -->/cgi-bin/koha/opac-search.pl?<!-- TMPL_VAR name="query_cgi" ESCAPE="HTML" --><!-- TMPL_VAR NAME="limit_cgi"  ESCAPE="HTML" -->&amp;format=rss2"><img src="/opac-tmpl/prog/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" border="0" /></a><!-- TMPL_ELSE --><!-- TMPL_IF NAME="searchdesc" -->
160 <strong>No Result found !</strong>
161 <p>
162     No results match your search for <span style="font-weight: bold;">&ldquo;<!-- TMPL_VAR NAME="query_desc" ESCAPE="HTML" --><!-- TMPL_VAR NAME="limit_desc" ESCAPE="HTML"-->&rdquo;</span> in <!-- TMPL_VAR NAME="LibraryName" --> Catalog. <a href="<!-- TMPL_VAR NAME="OPACBaseURL" -->/cgi-bin/koha/opac-search.pl?<!-- TMPL_VAR name="query_cgi" ESCAPE="HTML" --><!-- TMPL_VAR NAME="limit_cgi"  ESCAPE="HTML" -->&amp;format=rss2"><img src="/opac-tmpl/prog/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" border="0" /></a>
163 </p>
164 <!-- TMPL_ELSE --><strong> No result found !</strong>
165 <p>
166     You did not specify any search criteria.
167 </p>
168 </div><!-- /TMPL_IF -->
169 <!-- /TMPL_IF --></p><!-- /TMPL_IF --></div>