textmessaging field has been renamed to opacnotes in v3
[srvgit] / 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>Issues (<!-- TMPL_VAR NAME="issues_count" --> total)</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             <caption>Issues</caption>
197             <tr><td>You have nothing checked out</td></tr>
198         </table>
199     <!-- /TMPL_IF --></div>
200         
201         
202 <!-- TMPL_IF NAME="overdues_count" -->
203 <div id="opac-user-overdues"><table>
204 <caption>Overdues <span class="count">(<!-- TMPL_VAR NAME="overdues_count" --> total)</span></caption>
205 <!-- OVERDUES TABLE ROWS -->
206 <tr>
207 <th colspan="2">Title</th><th>Call No.</th>
208 <th>Due</th>
209 <th>Renew</th>
210 <!-- <th>Fine to Date</th> -->
211 </tr>
212
213 <!-- TMPL_LOOP NAME="OVERDUES" -->
214 <tr>
215 <td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="ccode" -->.gif" alt="<!-- TMPL_VAR NAME="ccode" -->" title="<!-- TMPL_VAR NAME="ccode" -->" /></td>
216 <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">
217 <!-- TMPL_VAR NAME="author" --></span></td>
218 <td><!-- TMPL_VAR NAME="classification" --></td>
219 <td><!-- TMPL_VAR NAME="date_due" --></td>
220 <td>
221 <!-- TMPL_IF NAME="debarred" -->Account Frozen
222 <!-- TMPL_ELSE -->
223 <!-- TMPL_IF NAME="status" -->
224 <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>
225 <!-- TMPL_ELSE -->
226 <!-- TMPL_IF NAME="onreserve" -->
227 On Reserve
228 <!-- TMPL_ELSE -->
229 No renewals left
230 <!-- /TMPL_IF -->
231 <!-- /TMPL_IF -->
232 <!-- /TMPL_IF -->
233 </td>
234 <!-- <td><!-- TMPL_VAR NAME="charges" --></td> -->
235 </tr>
236 <!-- /TMPL_LOOP -->
237 </table></div>
238 <!-- /TMPL_IF --><!-- /TMPL_IF -->
239         
240
241     <!-- TMPL_IF NAME="reserves_count" -->
242         <div id="opac-user-holds">
243         <table>
244                 <caption>Holds <span class="count">(<!-- TMPL_VAR NAME="reserves_count" --> total)</span></caption>
245             <!-- RESERVES TABLE ROWS -->
246             <tr>
247                 <th>Title</th>
248                 <th>Placed On</th>
249                 <th>Pick Up Location</th>
250                 <th>Status</th>
251             </tr>
252             <!-- TMPL_LOOP NAME="RESERVES" -->
253             <tr>
254                 <td>
255                     <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="reserves_title" --></a>
256                     <!-- TMPL_VAR NAME="author" -->
257                 </td>
258                 <td><!-- TMPL_VAR NAME="reservedate" --></td>
259                 <td><!-- TMPL_VAR Name="branch" --></td>
260                 <td>
261                     <!-- TMPL_IF Name="wait" -->
262                         <!-- TMPL_IF NAME="atdestination" -->
263                             <!-- TMPL_IF name="found" -->
264                             Document waiting at <b> <!-- TMPL_VAR NAME="wbrname" --></b>
265                             <input type="hidden" name="pickup" value="<!-- TMPL_VAR NAME="wbrcd" -->" />
266                         <!-- TMPL_ELSE -->
267                             Waiting to be pulled
268                         <!-- /TMPL_IF -->
269                         <!-- TMPL_ELSE -->
270                         Document being transfered to <b> <!-- TMPL_VAR NAME="wbrname" --></b> <input type="hidden" name="pickup" value="<!-- TMPL_VAR NAME="wbrcd" -->" />
271                         <!-- /TMPL_IF -->
272                     <!-- TMPL_ELSE -->
273                         Not ready
274                     <!-- /TMPL_IF -->
275                 </td>
276             </tr>
277             <!-- /TMPL_LOOP -->
278         </table>
279         <p>If you no longer want a reserve, please send us an e-mail, or go to the circulation desk at your library to get it removed.</p></div>
280     <!-- /TMPL_IF -->
281         </div><!-- /opac-user views -->
282         
283 </div>
284 </div>
285 </div>
286 <div class="yui-b">
287 <!--TMPL_INCLUDE NAME="navigation.inc" -->
288 <!-- TMPL_INCLUDE name="usermenu.inc" -->
289 </div>
290 </div>
291 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->