Reorganizing OPAC files in the same way intranet files were
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-user.tmpl
1 <!-- TMPL_INCLUDE name="doc-head-open.inc" -->
2 <!-- TMPL_VAR NAME="LibraryNameTitle" --> Catalog -- 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 <!-- TMPL_INCLUDE name="masthead.inc" -->
8 <!-- TMPL_INCLUDE name="navigation.inc" -->
9
10 <!-- TMPL_INCLUDE name="usermenu.inc" -->
11 <!-- CONTENT -->
12     <!-- TMPL_LOOP NAME="BORROWER_INFO" -->
13         <br />
14         <h2>
15             Welcome <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> 
16         </h2>
17         (<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" -->)
18         <!-- TMPL_IF name="textmessaging"-->
19             <h3>Message from the library</h3>
20             <p><!-- TMPL_VAR name="textmessaging" --></p>
21         <!-- /TMPL_IF -->
22         <!-- TMPL_IF NAME="flagged" -->
23         <ul>
24             <!-- TMPL_IF NAME="debarred" -->
25                 <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>
26             <!-- /TMPL_IF -->
27             <!-- TMPL_IF NAME="gonenoaddress" -->
28                 <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>
29             <!-- /TMPL_IF -->
30             <!-- TMPL_IF NAME="lost" -->
31                 <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>
32             <!-- /TMPL_IF -->
33         </ul>
34         <!-- /TMPL_IF -->
35         <!-- FINES BOX -->
36         <!-- TMPL_IF NAME="amountoverfive" -->
37             <h3>Fines and Charges</h3>
38             <table>
39                 <tr><th colspan="2">Amount</th></tr>
40                 <tr>
41                     <td>You currently owe fines and charges amounting to:</td>
42                     <td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td>
43                 </tr>
44             </table>
45         <!-- /TMPL_IF -->
46
47         <!-- TMPL_IF NAME="amountoverzero" -->
48             <h3>Fines and Charges</h3>
49             <table>
50                 <tr><th colspan="2">Amount</th></tr>
51                 <tr><td>You currently owe fines and charges amounting to:</td>
52                 <td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td></tr>
53             </table>
54         <!-- /TMPL_IF -->
55
56         <!-- TMPL_IF NAME"amountlessthanzero" -->
57             <h3>Credits</h3>
58             <table>
59             <tr><th colspan="2">Amount</th></tr>
60             <tr><td>You have a credit of:</td><td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td></tr>
61             </table>
62         <!-- /TMPL_IF -->
63         
64     <!-- /TMPL_LOOP -->
65
66     <!-- TMPL_IF NAME="waiting_count" -->
67     <!-- TMPL_IF NAME="atdestination" -->
68     <h3>Reserved Items Waiting</h3>
69         <table>
70             <tr>
71                 <th colspan="2">Title</th>
72                 <th>Reserve date</th>
73                 <th>Pick Up Branch</th>
74             </tr>
75             <!-- TMPL_LOOP NAME="WAITING" -->
76                 <tr>
77                     <td>
78                         <img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="itemtype" -->" title="<!-- TMPL_VAR NAME="itemtype" -->" />
79                     </td>
80                     <td>
81                         <a href="opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
82                             <!-- TMPL_VAR NAME="waiting_title" -->
83                         </a>
84                         <span class="item-details">
85                             <!-- TMPL_VAR NAME="author" -->
86                         </span>
87                     </td>
88                     <td>
89                         <!-- TMPL_VAR NAME="reservedate" -->
90                     </td>
91                     <td>
92                         <!-- TMPL_IF NAME="atdestination" -->
93                         <strong>Waiting</strong> at <!-- TMPL_VAR Name="branch" -->
94                         <!-- TMPL_ELSE -->
95                         In transit from <!-- TMPL_VAR NAME="holdingbranch" --> to <!-- TMPL_VAR Name="branch" -->
96                         <!-- /TMPL_IF -->
97                     </td>
98                 </tr>
99             <!-- /TMPL_LOOP -->
100         </table>
101         <!-- /TMPL_IF -->
102     <!-- /TMPL_IF -->
103
104     <!-- TMPL_IF NAME="issues_count" -->
105         <h3>Issues (<!-- TMPL_VAR NAME="issues_count" --> total)</h3>
106         <table>
107         <!-- ISSUES TABLE ROWS --><tr>
108         <th colspan="2">Title</th>
109         <th>Call No.</th>
110         <th>Due</th>
111         <!-- TMPL_UNLESS name="patron_flagged" --><th>Renew</th><!-- /TMPL_UNLESS -->
112         <th>Fines</th>
113         </tr>
114         <!-- TMPL_LOOP NAME="ISSUES" -->
115             <!-- TMPL_IF NAME="overdue" -->
116                 <tr class="overdue">
117             <!-- TMPL_ELSE -->
118                 <tr>
119             <!-- /TMPL_IF -->
120                 <td>
121                     <!-- TMPL_IF name="imageurl" -->
122                         <img src="<!-- TMPL_VAR name="imageurl" -->" title="<!-- TMPL_VAR name="description" -->"/>
123                     <!-- TMPL_ELSE -->
124                         <!-- TMPL_VAR name="description" -->
125                     <!-- /TMPL_IF -->
126                 </td>
127                 <td>
128                     <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a>
129                     <span class="item-details">
130                         <!-- TMPL_VAR NAME="author" -->
131                     </span>
132                 </td>
133                 <td><!-- TMPL_VAR NAME="classification" --></td>
134                 <!-- TMPL_IF NAME="overdue" -->
135                     <td class="overdue"><!-- TMPL_VAR NAME="date_due" --></td>
136                 <!-- TMPL_ELSE -->
137                     <td><!-- TMPL_VAR NAME="date_due" --></td>
138                 <!-- /TMPL_IF -->
139                 <!-- TMPL_UNLESS name="patron_flagged" -->
140                 <td>
141                     <!-- TMPL_IF NAME="status" -->
142                         <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>
143                     <!-- TMPL_ELSE -->
144                         Not renewable
145                     <!-- /TMPL_IF -->
146                 </td>
147                 <!-- /TMPL_UNLESS -->
148                 <td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
149             </tr>
150         <!-- /TMPL_LOOP -->
151         </table>
152     <!-- TMPL_ELSE -->
153         <table>
154             <caption>Issues</caption>
155             <tr><td>You have nothing checked out</td></tr>
156         </table>
157     <!-- /TMPL_IF -->
158
159     <!-- TMPL_IF NAME="reserves_count" -->
160         <h3>Reserves (<!-- TMPL_VAR NAME="reserves_count" --> total)</h3>
161         <table>
162             <!-- RESERVES TABLE ROWS -->
163             <tr>
164                 <th>Title</th>
165                 <th>Placed On</th>
166                 <th>Pick Up Location</th>
167                 <th>Status</th>
168             </tr>
169             <!-- TMPL_LOOP NAME="RESERVES" -->
170             <tr>
171                 <td>
172                     <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="reserves_title" --></a>
173                     <!-- TMPL_VAR NAME="author" -->
174                 </td>
175                 <td><!-- TMPL_VAR NAME="reservedate" --></td>
176                 <td><!-- TMPL_VAR Name="branch" --></td>
177                 <td>
178                     <!-- TMPL_IF Name="wait" -->
179                         <!-- TMPL_IF NAME="atdestination" -->
180                             <!-- TMPL_IF name="found" -->
181                             Document waiting at <b> <!-- TMPL_VAR NAME="wbrname" --></b>
182                             <input type="hidden" name="pickup" value=<!-- TMPL_VAR NAME="wbrcd" --> />
183                         <!-- TMPL_ELSE -->
184                             Waiting to be pulled
185                         <!-- /TMPL_IF -->
186                         <!-- TMPL_ELSE -->
187                         Document being transfered to <b> <!-- TMPL_VAR NAME="wbrname" --></b> <input type="hidden" name="pickup" value=<!-- TMPL_VAR NAME="wbrcd" -->>
188                         <!-- /TMPL_IF -->
189                     <!-- TMPL_ELSE -->
190                         Not ready
191                     <!-- /TMPL_IF -->
192                 </td>
193             </tr>
194             <!-- /TMPL_LOOP -->
195         </table>
196         <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>
197     <!-- /TMPL_IF -->
198
199 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->