nomenclature cleanup in the OPAC detail and user pages
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-user.tmpl
1 <!-- TMPL_INCLUDE name="doc-head-open.inc" -->
2 <!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo; Library Home for
3 <!-- TMPL_LOOP name="BORROWER_INFO" -->
4     <!-- TMPL_VAR name="firstname" --><!-- TMPL_VAR name="surname" -->
5 <!-- /TMPL_LOOP -->
6 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
7 <script type="text/JavaScript" language="JavaScript">
8 //<![CDATA[
9          $(document).ready(function() {
10                 $('#opac-user-views').tabs();
11          });
12 //]]>
13 </script>
14 </head>
15 <body>
16 <!-- TMPL_INCLUDE name="masthead.inc" -->
17
18 <div id="doc3" class="yui-t1">
19    <div id="bd">
20         <div id="yui-main">
21         <div class="yui-b"><div class="yui-g">
22
23     <!-- TMPL_LOOP NAME="BORROWER_INFO" -->
24         <h2>Hello, <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> <span class="hint">(<a href="/cgi-bin/koha/opac-logout.pl">Click here</a> if you're not <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->)</span></h2>
25         
26         <!-- TMPL_IF name="opacnote"-->
27             <h3>Message from the library</h3>
28             <p><!-- TMPL_VAR name="opacnote" --></p>
29         <!-- /TMPL_IF -->
30         <!-- TMPL_IF NAME="flagged" -->
31         <ul>
32             <!-- TMPL_IF NAME="debarred" -->
33                 <li><strong>Please note:</strong> Your account has been frozen. Usually the reason for freezing an account is old overdues or damage fees.If <a href="/cgi-bin/koha/opac-user.pl">your account page</a> shows your account to be clear, please consult a librarian.</li>
34             <!-- /TMPL_IF -->
35             <!-- TMPL_IF NAME="gonenoaddress" -->
36                 <li><strong>Please note:</strong> According to our records, we don't have up-to-date <a href="/cgi-bin/koha/opac-userdetails.pl">contact information</a> on file.  Please contact your librarian, or use the <a href="/cgi-bin/koha/opac-userupdate.pl">online update form</a> to submit current information (<em>Please note:</em> there may be a delay in restoring your account if you submit online)</li>
37             <!-- /TMPL_IF -->
38             <!-- TMPL_IF NAME="lost" -->
39                 <li><strong>Please note: </strong> Your library card has been marked as lost or stolen. If this is an error, please take your card to the circulation desk at your local library and the error will be corrected.</li>
40             <!-- /TMPL_IF -->
41         </ul>
42         <!-- /TMPL_IF -->
43                 
44 <div id="opac-user-views" class="toptabs">
45                 <ul>
46                         <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-checkouts">Checked Out</a></li>
47                         <!-- TMPL_IF NAME="overdues_count" --><li><a href="/cgi-bin/koha/opac-user.pl#opac-user-overdues">Overdue</a></li><!-- /TMPL_IF -->
48                         <!-- TMPL_IF NAME="amountoverfive" --><li><a href="/cgi-bin/koha/opac-user.pl#opac-user-fines">Fines</a></li><!-- /TMPL_IF -->
49                         <!-- TMPL_IF NAME="amountoverzero" --><li><a href="/cgi-bin/koha/opac-user.pl#opac-user-fines">Fines</a></li><!-- /TMPL_IF -->
50                         <!-- TMPL_IF NAME="amountlessthanzero" --><li><a href="/cgi-bin/koha/opac-user.pl#opac-user-fines">Credits</a></li><!-- /TMPL_IF -->
51                         <!-- TMPL_IF NAME="waiting_count" --><!-- TMPL_IF NAME="atdestination" --><li><a href="/cgi-bin/koha/opac-user.pl#opac-user-waiting">Waiting</a></li><!-- /TMPL_IF --><!-- /TMPL_IF -->
52                         <!-- TMPL_IF NAME="reserves_count" --><li><a href="/cgi-bin/koha/opac-user.pl#opac-user-holds">Holds</a></li><!-- /TMPL_IF -->
53                 </ul>
54                 
55         <!-- FINES BOX -->
56         <!-- TMPL_IF NAME="amountoverfive" -->
57             <div id="opac-user-fines">
58             <table>
59                                 <caption>Fines and Charges</caption>
60                 <tr><th colspan="2">Amount</th></tr>
61                 <tr>
62                     <td>You currently owe fines and charges amounting to:</td>
63                     <td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td>
64                 </tr>
65             </table></div>
66         <!-- /TMPL_IF -->
67
68         <!-- TMPL_IF NAME="amountoverzero" -->
69            <div id="opac-user-fines"> <h3>Fines and Charges</h3>
70             <table>
71                 <tr><th colspan="2">Amount</th></tr>
72                 <tr><td>You currently owe fines and charges amounting to:</td>
73                 <td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td></tr>
74             </table></div>
75         <!-- /TMPL_IF -->
76
77         <!-- TMPL_IF NAME"amountlessthanzero" -->
78           <div id="opac-user-fines">  <h3>Credits</h3>
79             <table>
80             <tr><th colspan="2">Amount</th></tr>
81             <tr><td>You have a credit of:</td><td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td></tr>
82             </table></div>
83         <!-- /TMPL_IF -->
84         
85     <!-- /TMPL_LOOP -->
86
87     <!-- TMPL_IF NAME="waiting_count" -->
88     <!-- TMPL_IF NAME="atdestination" -->
89     <div id="opac-user-waiting">
90         <table>
91                         <caption>Holds Waiting</caption>
92             <tr>
93                 <th colspan="2">Title</th>
94                 <th>Hold date</th>
95                 <th>Pick Up Branch</th>
96             </tr>
97             <!-- TMPL_LOOP NAME="WAITING" -->
98                 <tr>
99                     <td>
100                         <img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="itemtype" -->" title="<!-- TMPL_VAR NAME="itemtype" -->" />
101                     </td>
102                     <td>
103                         <a href="opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
104                             <!-- TMPL_VAR NAME="waiting_title" -->
105                         </a>
106                         <span class="item-details">
107                             <!-- TMPL_VAR NAME="author" -->
108                         </span>
109                     </td>
110                     <td>
111                         <!-- TMPL_VAR NAME="reservedate" -->
112                     </td>
113                     <td>
114                         <!-- TMPL_IF NAME="atdestination" -->
115                         <strong>Waiting</strong> at <!-- TMPL_VAR Name="branch" -->
116                         <!-- TMPL_ELSE -->
117                         In transit from <!-- TMPL_VAR NAME="holdingbranch" --> to <!-- TMPL_VAR Name="branch" -->
118                         <!-- /TMPL_IF -->
119                     </td>
120                 </tr>
121             <!-- /TMPL_LOOP -->
122         </table></div>
123         <!-- /TMPL_IF -->
124     <!-- /TMPL_IF -->
125
126     <div id="opac-user-checkouts"><!-- TMPL_IF NAME="issues_count" -->
127         <table>
128                 <caption><!-- TMPL_VAR NAME="issues_count" --> Items</caption>
129         <!-- ISSUES TABLE ROWS --><tr>
130         <th colspan="2">Title</th>
131         <th>Call No.</th>
132         <th>Due</th>
133         <!-- TMPL_UNLESS name="patron_flagged" --><th>Renew</th><!-- /TMPL_UNLESS -->
134         <th>Fines</th>
135         </tr>
136         <!-- TMPL_LOOP NAME="ISSUES" -->
137                 <!-- TMPL_IF NAME="toggle" -->
138             
139                         <!-- TMPL_IF NAME="overdue" -->
140                 <tr class="overdue">
141             <!-- TMPL_ELSE -->
142                 <tr>
143             <!-- /TMPL_IF -->
144                         
145                         <!-- TMPL_ELSE -->
146                         
147                 <!-- TMPL_IF NAME="overdue" -->
148                 <tr class="highlight overdue">
149             <!-- TMPL_ELSE -->
150                 <tr class="highlight">
151             <!-- /TMPL_IF -->
152                         
153                         <!-- /TMPL_IF -->
154                 <td>
155                     <!-- TMPL_IF name="imageurl" -->
156                         <img src="/opac-tmpl/prog/itemtypeimg/<!-- TMPL_VAR NAME="itemtype" -->.gif" title="<!-- TMPL_VAR name="description" -->" alt="<!-- TMPL_VAR NAME="description" -->" />
157                     <!-- TMPL_ELSE -->
158                         <!-- TMPL_VAR name="description" -->
159                     <!-- /TMPL_IF -->
160                 </td>
161                 <td><!-- TMPL_IF NAME="AmazonContent" --><!-- TMPL_IF NAME="isbn" --><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><img src="http://images.amazon.com/images/P/<!-- TMPL_VAR name="isbn" -->.01.THUMBZZZ.jpg" alt="Book Cover Image" class="thumbnail" /></a><!-- /TMPL_IF --><!-- /TMPL_IF -->
162                     <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a>
163                     <span class="item-details">
164                         <!-- TMPL_VAR NAME="author" -->
165                     </span>
166                 </td>
167                 <td><!-- TMPL_VAR NAME="classification" --></td>
168                 <!-- TMPL_IF NAME="overdue" -->
169                     <td class="overdue"><!-- TMPL_VAR NAME="date_due" --></td>
170                 <!-- TMPL_ELSE -->
171                     <td><!-- TMPL_VAR NAME="date_due" --></td>
172                 <!-- /TMPL_IF -->
173                 <!-- TMPL_UNLESS name="patron_flagged" -->
174                 <td>
175                     <!-- TMPL_IF NAME="status" -->
176                         <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&amp;item=<!-- TMPL_VAR NAME="itemnumber" -->&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Renew</a> <span class="renewals">(<!-- TMPL_VAR NAME="renewsleft" --> of <!-- TMPL_VAR NAME="renewsallowed" --> renewals remaining)</span>
177                     <!-- TMPL_ELSE -->
178                         Not renewable
179                     <!-- /TMPL_IF -->
180                 </td>
181                 <!-- /TMPL_UNLESS -->
182                 <td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
183             </tr>
184         <!-- /TMPL_LOOP -->
185         </table>
186                 <form action="/cgi-bin/koha/opac-renew.pl" method="post">
187                         <input type="hidden" name="from" value="opac_user" />
188                         <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
189                         <!-- TMPL_LOOP NAME="ISSUES" -->
190                         <input type="hidden" name="item" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
191                         <!-- /TMPL_LOOP -->
192                         <input type="submit" value="Renew All" />
193                 </form>
194     <!-- TMPL_ELSE -->
195         <table>
196             <tr><td>You have nothing checked out</td></tr>
197         </table>
198     <!-- /TMPL_IF --></div>
199         
200         
201 <!-- TMPL_IF NAME="overdues_count" -->
202 <div id="opac-user-overdues"><table>
203 <caption>Overdues <span class="count">(<!-- TMPL_VAR NAME="overdues_count" --> total)</span></caption>
204 <!-- OVERDUES TABLE ROWS -->
205 <tr>
206 <th colspan="2">Title</th><th>Call No.</th>
207 <th>Due</th>
208 <th>Renew</th>
209 <!-- <th>Fine to Date</th> -->
210 </tr>
211
212 <!-- TMPL_LOOP NAME="OVERDUES" -->
213 <tr>
214 <td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="ccode" -->.gif" alt="<!-- TMPL_VAR NAME="ccode" -->" title="<!-- TMPL_VAR NAME="ccode" -->" /></td>
215 <td><!-- TMPL_IF NAME="AmazonContent" --><!-- TMPL_IF NAME="isbn" --><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><img src="http://images.amazon.com/images/P/<!-- TMPL_VAR name="isbn" -->.01.THUMBZZZ.jpg" alt="" class="thumbnail" /></a><!-- /TMPL_IF --><!-- /TMPL_IF --> <a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a><span class="item-details">
216 <!-- TMPL_VAR NAME="author" --></span></td>
217 <td><!-- TMPL_VAR NAME="classification" --></td>
218 <td><!-- TMPL_VAR NAME="date_due" --></td>
219 <td>
220 <!-- TMPL_IF NAME="debarred" -->Account Frozen
221 <!-- TMPL_ELSE -->
222 <!-- TMPL_IF NAME="status" -->
223 <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&amp;item=<!-- TMPL_VAR NAME="itemnumber" -->&amp;bornum=<!-- TMPL_VAR NAME="borrowernumber" -->">Renew</a> <span class="renewals">(<!-- TMPL_VAR NAME="renewsleft" --> of <!-- TMPL_VAR NAME="renewsallowed" --> renewals remaining)</span>
224 <!-- TMPL_ELSE -->
225 <!-- TMPL_IF NAME="onreserve" -->
226 On Reserve
227 <!-- TMPL_ELSE -->
228 No renewals left
229 <!-- /TMPL_IF -->
230 <!-- /TMPL_IF -->
231 <!-- /TMPL_IF -->
232 </td>
233 <!-- <td><!-- TMPL_VAR NAME="charges" --></td> -->
234 </tr>
235 <!-- /TMPL_LOOP -->
236 </table></div>
237 <!-- /TMPL_IF --><!-- /TMPL_IF -->
238         
239
240     <!-- TMPL_IF NAME="reserves_count" -->
241         <div id="opac-user-holds">
242         <table>
243                 <caption>Holds <span class="count">(<!-- TMPL_VAR NAME="reserves_count" --> total)</span></caption>
244             <!-- RESERVES TABLE ROWS -->
245             <tr>
246                 <th>Title</th>
247                 <th>Placed On</th>
248                 <th>Pick Up Location</th>
249                 <th>Status</th>
250             </tr>
251             <!-- TMPL_LOOP NAME="RESERVES" -->
252             <tr>
253                 <td>
254                     <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="reserves_title" --></a>
255                     <!-- TMPL_VAR NAME="author" -->
256                 </td>
257                 <td><!-- TMPL_VAR NAME="reservedate" --></td>
258                 <td><!-- TMPL_VAR Name="branch" --></td>
259                 <td>
260                     <!-- TMPL_IF Name="wait" -->
261                         <!-- TMPL_IF NAME="atdestination" -->
262                             <!-- TMPL_IF name="found" -->
263                             Item waiting at <b> <!-- TMPL_VAR NAME="wbrname" --></b>
264                             <input type="hidden" name="pickup" value="<!-- TMPL_VAR NAME="wbrcd" -->" />
265                         <!-- TMPL_ELSE -->
266                             Item waiting to be pulled
267                         <!-- /TMPL_IF -->
268                         <!-- TMPL_ELSE -->
269                             Item being transfered to <b> <!-- TMPL_VAR NAME="wbrname" --></b> <input type="hidden" name="pickup" value="<!-- TMPL_VAR NAME="wbrcd" -->" />
270                         <!-- /TMPL_IF -->
271                     <!-- TMPL_ELSE -->
272                         Not ready
273                     <!-- /TMPL_IF -->
274                 </td>
275             </tr>
276             <!-- /TMPL_LOOP -->
277         </table>
278         </div>
279     <!-- /TMPL_IF -->
280         </div><!-- /opac-user views -->
281         
282 </div>
283 </div>
284 </div>
285 <div class="yui-b">
286 <!--TMPL_INCLUDE NAME="navigation.inc" -->
287 <!-- TMPL_INCLUDE name="usermenu.inc" -->
288 </div>
289 </div>
290 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->