4 [% INCLUDE 'doc-head-open.inc' %]
5 [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Your library home
6 [% INCLUDE 'doc-head-close.inc' %]
7 [% BLOCK cssinclude %][% END %]
9 <body id="opac-user" class="scrollto">
10 [% INCLUDE 'masthead.inc' %]
13 <ul class="breadcrumb">
14 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
15 <li>[% FOREACH BORROWER_INF IN BORROWER_INFO %]<a href="/cgi-bin/koha/opac-user.pl">[% INCLUDE 'patron-title.inc' category_type = BORROWER_INF.category_type firstname = BORROWER_INF.firstname surname = BORROWER_INF.surname othernames = BORROWER_INF.othernames cardnumber = BORROWER_INF.cardnumber %]</a>[% END %] <span class="divider">›</span></li>
16 <li><a href="#">Your summary</a></li>
19 <div class="container-fluid">
20 <div class="row-fluid">
23 [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
27 <div id="userdetails" class="maincontent">
28 [% IF ( bor_messages ) %]
29 <div class="alert alert-info">
30 <h3>Messages for you</h3>
32 [% FOREACH bor_messages_loo IN bor_messages_loop %]
34 <strong>[% bor_messages_loo.message %]</strong><br>
35 <i>Written on [% bor_messages_loo.message_date | $KohaDates %] by [% bor_messages_loo.branchname %]</i>
39 [% IF ( opacnote ) %]<li>[% opacnote %]</li>[% END %]
42 [% END # / IF bor_messages %]
43 [% FOREACH BORROWER_INF IN BORROWER_INFO %]
44 <h2>Hello, [% INCLUDE 'patron-title.inc' category_type = BORROWER_INF.category_type firstname = BORROWER_INF.firstname surname = BORROWER_INF.surname othernames = BORROWER_INF.othernames cardnumber = BORROWER_INF.cardnumber %]
47 <p><a href="/cgi-bin/koha/opac-main.pl?logout.x=1">Click here if you're not [% BORROWER_INF.title %] [% INCLUDE 'patron-title.inc' category_type = BORROWER_INF.category_type firstname = BORROWER_INF.firstname surname = BORROWER_INF.surname othernames = BORROWER_INF.othernames cardnumber = BORROWER_INF.cardnumber %]</a></p>
49 [% IF ( patronupdate ) %]<div class="alert alert-info"><h3>Thank you!</h3><p>Your corrections have been submitted to the library, and a staff member will update your record as soon as possible.</p></div>[% END %]
51 [% IF ( BORROWER_INF.warndeparture ) %]
52 <div class="alert" id="warndeparture">
53 <strong>Please note:</strong><span> Your card will expire on <span id="warndeparture_date">[% BORROWER_INF.warndeparture | $KohaDates %]</span>. Please contact the library for more information.</span>
54 [% IF ( BORROWER_INF.returnbeforeexpiry ) %]<span id="warndeparture_returnbeforeexpiry"> Also note that you must return all checked out items before your card expires.</span>[% END %]
58 [% IF ( BORROWER_INF.warnexpired ) %]
59 <div class="alert" id="warnexpired">
60 <strong>Please note:</strong><span> Your card has expired. Please contact the library for more information.</span>
64 [% IF ( patron_flagged ) %]
67 [% IF ( userdebarred ) %]
68 <li id="userdebarred"><strong>Please note:</strong> Your account has been frozen[% IF ( BORROWER_INF.userdebarreddate ) %] until <span id="userdebarred_date">[% BORROWER_INF.userdebarreddate | $KohaDates %]</span>[% END %][% IF ( BORROWER_INF.debarredcomment ) %] with the comment <span id="userdebarred_comment">"[% BORROWER_INF.debarredcomment %]"</span>[% END %]. 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 contact the library.</li>
70 [% IF ( BORROWER_INF.gonenoaddress ) %]
71 <li id="gonenoaddress"><strong>Please note:</strong> According to our records, we don't have up-to-date [% UNLESS ( BORROWER_INF.OPACPatronDetails ) %]<a href="/cgi-bin/koha/opac-userupdate.pl">contact information</a>[% ELSE %]contact information[% END %] on file. Please contact the library[% IF ( BORROWER_INF.OPACPatronDetails ) %] 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)[% END %].</li>
73 [% IF ( BORROWER_INF.lost ) %]
74 <li id="lost"><strong>Please note: </strong> Your library card has been marked as lost or stolen. If this is an error, please contact the library.</li>
76 [% IF ( renewal_blocked_fines ) && ( OpacRenewalAllowed ) %]
77 <li id="renewal_blocked_fines"><strong>Please note: </strong> Since you have <a href="/cgi-bin/koha/opac-account.pl">[% IF renewal_blocked_fines != "0.00" %] more than <span id="renewal_blocked_fines_amount">[% renewal_blocked_fines %]</span> in [% END %] fines</a>, you cannot renew your books online. Please pay your fines if you wish to renew your books.</li>
81 [% END # / IF patron_flagged %]
83 <div id="opac-user-views" class="toptabs">
85 <li><a href="#opac-user-checkouts">Checked out</a></li>
86 [% IF ( overdues_count ) %]<li><a href="#opac-user-overdues">Overdue</a></li>[% END %]
87 [% IF ( OPACFinesTab ) %]
88 [% IF ( BORROWER_INF.amountoverfive ) %]<li><a href="#opac-user-fines">Fines</a></li>[% END %]
89 [% IF ( BORROWER_INF.amountoverzero ) %]<li><a href="#opac-user-fines">Fines</a></li>[% END %]
90 [% IF ( BORROWER_INF.amountlessthanzero ) %]<li><a href="#opac-user-fines">Credits</a></li>[% END %]
92 [% IF ( waiting_count ) %][% IF ( BORROWER_INF.atdestination ) %]<li><a href="#opac-user-waiting">Waiting</a></li>[% END %][% END %]
93 [% IF ( reserves_count ) %]<li><a href="#opac-user-holds">Holds</a></li>[% END %]
96 <div id="opac-user-checkouts">
97 [% IF ( issues_count ) %]
98 <form id="renewselected" action="/cgi-bin/koha/opac-renew.pl" method="post">
99 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]">
100 <input type="hidden" name="from" value="opac_user" />
101 <table id="checkoutst" class="table table-bordered table-striped">
102 <caption>[% issues_count %] Item(s) checked out</caption>
105 [% IF ( JacketImages ) %]<th class="nosort"> </th>[% END %]
106 <th class="anti-the">Title</th>
107 <th class="title-string psort">Due</th>
108 [% UNLESS ( item_level_itypes ) %]
111 [% IF ( show_barcode ) %]
115 [% IF ( OpacRenewalAllowed ) %]
116 <th class="nosort">Renew</th>
118 [% IF ( OPACFinesTab ) %]
121 [% IF ( OPACMySummaryHTML ) %]
122 <th class="nosort">Links</th>
127 [% FOREACH ISSUE IN ISSUES %]
128 [% IF ( ISSUE.overdue ) %]<tr class="overdue">[% ELSE %]<tr>[% END %]
129 [% IF ( JacketImages ) %]<td class="jacketcell">
131 [% IF ( OPACAmazonCoverImages ) %]
132 [% IF ( ISSUE.normalized_isbn ) %]
133 <a href="http://www.amazon.com/gp/reader/[% ISSUE.normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link" title="View at Amazon.com"><img src="http://images.amazon.com/images/P/[% ISSUE.normalized_isbn %].01.THUMBZZZ.jpg" alt="" class="item-thumbnail" /></a>
135 <a href="#"><span class="no-image">No cover image available</span></a>
139 [% IF ( GoogleJackets ) %]
140 [% IF ( ISSUE.normalized_isbn ) %]
141 <div style="display:block;" title="Click to view in Google Books" class="[% ISSUE.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>
143 <a href="http://books.google.com/books?q=[% ISSUE.title |url %]"><span class="no-image">No cover image available</span></a>
147 [% IF ( BakerTaylorEnabled ) %]
148 [% IF ( ISSUE.normalized_isbn ) %]
149 <a href="https://[% BakerTaylorBookstoreURL |html %][% ISSUE.normalized_isbn %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL |html %][% ISSUE.normalized_isbn %]" /></a>
151 <span class="no-image">No cover image available</span><!-- BakerTaylor needs normalized_isbn! -->
155 [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
156 [% IF ( using_https ) %]
157 <img src="https://secure.syndetics.com/index.aspx?isbn=[% ISSUE.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% ISSUE.normalized_upc %]&oclc=[% ISSUE.normalized_oclc %]" alt="" class="item-thumbnail" />
159 <img src="http://www.syndetics.com/index.aspx?isbn=[% ISSUE.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% ISSUE.normalized_upc %]&oclc=[% ISSUE.normalized_oclc %]" alt="" class="item-thumbnail" />
163 </td>[% END # / IF JacketImages %]
166 <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber %]">[% ISSUE.title |html %]</a> <span class="item-details">[% ISSUE.author %]</span>
168 [% IF ( ISSUE.overdue ) %]
169 <td class="date_due overdue">
170 <span title="[% ISSUE.date_due %]">
171 <span class="tdlabel">Date due:</span>
172 [% ISSUE.date_due | $KohaDates %]
176 <td class="date_due">
177 <span title="[% ISSUE.date_due %]">
178 <span class="tdlabel">Date due:</span>
179 [% ISSUE.date_due | $KohaDates %]
183 [% UNLESS ( item_level_itypes ) %]
185 <span class="tdlabel">Item type:</span>
186 [% IF ( ISSUE.imageurl ) %]
187 <img src="[% ISSUE.imageurl %]" title="[% ISSUE.description %]" alt="[% ISSUE.description %]" />
188 [% END %] [% ISSUE.description %]
191 [% IF ( show_barcode ) %]
193 <span class="tdlabel">Barcode:</span>
198 <span class="tdlabel">Call number:</span>
199 [% ISSUE.itemcallnumber %]
201 [% IF ( OpacRenewalAllowed ) %]
203 [% IF ( ISSUE.status ) %]
204 [% IF ( canrenew ) %]
205 <input type="checkbox" name="item" value="[% ISSUE.itemnumber %]"/> <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&item=[% ISSUE.itemnumber %]&borrowernumber=[% ISSUE.borrowernumber %]">Renew</a>
207 <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span>
210 [% IF ( ISSUE.too_many ) %]
211 <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span>
213 [% IF ( ISSUE.on_reserve ) %]
214 <span class="renewals">(On hold)</span>
220 [% IF ( OPACFinesTab ) %]
222 <span class="tdlabel">Fines:</span>
223 [% IF ( ISSUE.charges ) %]
230 [% IF ( OPACMySummaryHTML ) %]
231 <td class="links">[% ISSUE.MySummaryHTML %]</td>
234 [% END # /FOREACH ISSUES %]
237 [% IF ( canrenew && !userdebarred && OpacRenewalAllowed ) %]
238 <input type="submit" class="btn" value="Renew selected" />
242 [% IF ( canrenew && !userdebarred && OpacRenewalAllowed ) %]
243 <form id="renewall" action="/cgi-bin/koha/opac-renew.pl" method="post">
244 <input type="hidden" name="from" value="opac_user" />
245 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
246 [% FOREACH ISSUE IN ISSUES %]
247 <input type="hidden" name="item" value="[% ISSUE.itemnumber %]" />
249 <input type="submit" class="btn" value="Renew all" />
253 <table class="table table-bordered table-striped">
254 <tr><td>You have nothing checked out</td></tr>
256 [% END # IF issues_count %]
257 </div> <!-- / .opac-user-checkouts -->
259 [% IF ( OPACFinesTab ) %]
261 [% IF ( BORROWER_INF.amountoverfive ) %]
262 <div id="opac-user-fines"> <h3>Fines and charges</h3>
263 <table class="table table-bordered table-striped">
264 <thead><tr><th colspan="2">Amount</th></tr></thead>
267 <td>You currently owe fines and charges amounting to:</td>
268 <td><a href="/cgi-bin/koha/opac-account.pl">[% BORROWER_INF.amountoutstanding %]</a></td>
275 [% IF ( BORROWER_INF.amountoverzero ) %]
276 <div id="opac-user-fines"> <h3>Fines and charges</h3>
277 <table class="table table-bordered table-striped">
278 <thead><tr><th colspan="2">Amount</th></tr></thead>
281 <td>You currently owe fines and charges amounting to:</td>
282 <td><a href="/cgi-bin/koha/opac-account.pl">[% BORROWER_INF.amountoutstanding %]</a></td>
289 [% IF ( BORROWER_INF.amountlessthanzero ) %]
290 <div id="opac-user-fines"> <h3>Credits</h3>
291 <table class="table table-bordered table-striped">
292 <thead><tr><th colspan="2">Amount</th></tr></thead>
295 <td>You have a credit of:</td><td><a href="/cgi-bin/koha/opac-account.pl">[% BORROWER_INF.amountoutstanding %]</a></td>
301 [% END # / OPACFinesTab %]
303 [% END # / FOREACH BORROWER_INFO %]
305 [% IF ( waiting_count && atdestination ) %]
306 <div id="opac-user-waiting">
307 <table id="waitingt" class="table table-bordered table-striped">
308 <caption>Holds waiting</caption>
311 <th class="anti-the">Title</th>
313 <th>Pick up library</th>
317 [% FOREACH WAITIN IN WAITING %]
319 <td><img src="[% themelang %]/images/[% WAITIN.itemtype %].gif" alt="[% WAITIN.itemtype %]" title="[% WAITIN.itemtype %]" /></td>
321 <a class="title" href="opac-detail.pl?biblionumber=[% WAITIN.biblionumber %]">
322 [% WAITIN.waiting_title %]
324 <span class="item-details">
328 <span class="tdlabel">Hold date:</span>
329 [% WAITIN.reservedate | $KohaDates %]</td>
331 [% IF ( WAITIN.atdestination ) %]
332 <strong>Waiting</strong> at [% WAITIN.branch %]
334 In transit from [% WAITIN.holdingbranch %] to [% WAITIN.branch %]
341 </div> <!-- /#opac-user-waiting -->
342 [% END # waiting_count && atdestination %]
345 [% IF ( overdues_count ) %]
346 <div id="opac-user-overdues">
347 <table id="overduest" class="table table-bordered table-striped">
348 <caption>Overdues <span class="count">([% overdues_count %] total)</span></caption>
349 <!-- OVERDUES TABLE ROWS -->
352 [% IF ( JacketImages ) %]<th class="nosort"> </th>[% END %]
353 <th class="anti-the">Title</th>
354 [% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %]
355 [% IF ( show_barcode ) %]<th>Barcode</th>[% END %]
357 <th class="title-string psort">Due</th>
358 [% IF ( OpacRenewalAllowed ) %]
359 <th class="nosort">Renew</th>
361 [% IF ( OPACFinesTab ) %]
367 [% FOREACH OVERDUE IN OVERDUES %]
369 [% IF ( JacketImages ) %]
370 <td class="jacketcell">
371 [% IF ( OPACAmazonCoverImages ) %]
372 [% IF ( OVERDUE.normalized_isbn ) %]
373 <a href="http://www.amazon.com/gp/reader/[% OVERDUE.normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link" title="View at Amazon.com"><img src="http://images.amazon.com/images/P/[% OVERDUE.normalized_isbn %].01.THUMBZZZ.jpg" alt="" class="item-thumbnail" /></a>
375 <a href="#"><span class="no-image">No cover image available</span></a>
379 [% IF ( GoogleJackets ) %]
380 [% IF ( OVERDUE.normalized_isbn ) %]
381 <div style="display:block;" title="Click to view in Google Books" class="[% OVERDUE.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>
383 <a href="http://books.google.com/books?q=[% OVERDUE.title |url %]"><span class="no-image">No cover image available</span></a>
387 [% IF ( BakerTaylorEnabled ) %]
388 [% IF ( OVERDUE.normalized_isbn ) %]
389 <a href="https://[% BakerTaylorBookstoreURL |html %][% OVERDUE.normalized_isbn %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL |html %][% OVERDUE.normalized_isbn %]" /></a>
391 <!-- BakerTaylor needs normalized_isbn! --><span class="no-image">No cover image available</span>
395 [% IF ( SyndeticsCoverImages ) %]
396 [% IF ( using_https ) %]
397 <img src="https://secure.syndetics.com/index.aspx?isbn=[% OVERDUE.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&upc=[% OVERDUE.normalized_upc %]&oclc=[% OVERDUE.normalized_oclc %]&type=xw10" alt="" class="item-thumbnail" />
399 <img src="http://www.syndetics.com/index.aspx?isbn=[% OVERDUE.normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %]&upc=[% OVERDUE.normalized_upc %]&oclc=[% OVERDUE.normalized_oclc %]&type=xw10" alt="" class="item-thumbnail" />
403 [% END # /IF jacketcell %]
406 <a class="title" href="/cgi-bin/koha/opac-detail.pl?bib=[% OVERDUE.biblionumber %]">[% OVERDUE.title |html %]
408 <span class="item-details">[% OVERDUE.author %]</span></td>
410 [% UNLESS ( item_level_itypes ) %]
412 [% IF ( OVERDUE.imageurl ) %]
413 <img src="[% OVERDUE.imageurl %]" title="[% OVERDUE.description %]" alt="[% OVERDUE.description %]" />
414 [% END %] [% OVERDUE.description %]
417 [% IF ( show_barcode ) %]
419 <span class="tdlabel">Barcode:</span>
420 [% OVERDUE.barcode %]
424 <span class="tdlabel">Call number:</span>
425 [% OVERDUE.itemcallnumber %]
428 <span title="[% OVERDUE.date_due %]">
429 <span class="tdlabel">Date due:</span>
430 [% OVERDUE.date_due | $KohaDates %]
433 [% IF ( OpacRenewalAllowed ) %]
435 [% IF ( OVERDUE.debarred ) %]
437 [% ELSIF ( OVERDUE.status ) %]
438 [% IF ( canrenew ) %]
439 <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&item=[% OVERDUE.itemnumber %]&bornum=[% OVERDUE.borrowernumber %]">Renew</a>
441 <span class="renewals">([% OVERDUE.renewsleft %] of [% OVERDUE.renewsallowed %] renewals remaining)</span>
442 [% ELSIF ( OVERDUE.onreserve ) %]
449 [% IF ( OPACFinesTab ) %]
451 <span class="tdlabel">Fines:</span>
452 [% IF ( OVERDUE.charges ) %]
463 </div> <!-- / #opac-user-overdues -->
464 [% END # /overdues_count %]
467 [% IF ( reserves_count ) %]
468 <div id="opac-user-holds">
469 <table id="holdst" class="table table-bordered table-striped">
470 <caption>Holds <span class="count">([% reserves_count %] total)</span></caption>
471 <!-- RESERVES TABLE ROWS -->
474 <th class="anti-the">Title</th>
475 <th class="psort">Placed on</th>
477 <th>Pick up location</th>
478 [% IF ( showpriority ) %]
482 <th class="nosort">Modify</th>
486 [% FOREACH RESERVE IN RESERVES %]
487 [% IF ( RESERVE.wait ) %]
488 [% IF ( RESERVE.atdestination ) %]
489 [% IF ( RESERVE.found ) %]
490 <tr class="reserved">
495 <tr class="transfered">
501 <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% RESERVE.biblionumber %]">[% RESERVE.reserves_title %]</a>
504 <td class="reservedate">
505 <span title="[% RESERVE.reservedate %]">
506 <span class="tdlabel">Hold date:</span>
507 [% RESERVE.reservedate | $KohaDates %]
510 <td class="expirationdate">
511 [% IF ( RESERVE.expirationdate ) %]
513 <span class="tdlabel">Expiration:</span>
514 [% RESERVE.expirationdate | $KohaDates %]
517 <span class="tdlabel">Expiration:</span>
522 <span class="tdlabel">Pick up loaction:</span>
525 [% IF ( showpriority ) %]
526 <td class="priority">
527 <span class="tdlabel">Priority:</span>
528 [% RESERVE.priority %]
532 <span class="tdlabel">Status:</span>
533 [% IF ( RESERVE.wait ) %]
534 [% IF ( RESERVE.atdestination ) %]
535 [% IF ( RESERVE.found ) %]
536 Item waiting at <b> [% RESERVE.wbrname %]</b>[% IF ( RESERVE.waitingdate ) %] since [% RESERVE.waitingdate | $KohaDates %][% END %]
537 <input type="hidden" name="pickup" value="[% RESERVE.wbrcd %]" />
539 Item waiting to be pulled from <b> [% RESERVE.wbrname %]</b>
542 Item in transit to <b> [% RESERVE.wbrname %]</b> <input type="hidden" name="pickup" value="[% RESERVE.wbrcd %]" />
545 [% IF ( RESERVE.intransit ) %]
546 Item in transit from <b> [% RESERVE.frombranch %]</b> since
547 [% RESERVE.datesent | $KohaDates %]
548 [% ELSIF ( RESERVE.suspend ) %]
549 Suspended [% IF ( RESERVE.suspend_until ) %] until [% RESERVE.suspend_until %] [% END %]
556 [% IF ( RESERVE.cancelable ) %]
557 <form action="/cgi-bin/koha/opac-modrequest.pl" method="post">
558 <input type="hidden" name="biblionumber" value="[% RESERVE.biblionumber %]" />
559 <input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" />
560 <button type="submit" name="submit" class="btn btn-mini btn-danger" onclick="return confirmDelete(MSG_CONFIRM_DELETE_HOLD);">Cancel</button></form>
564 [% END # /FOREACH RESERVES %]
568 [% IF SuspendHoldsOpac %]
570 <form action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post">
571 <input type="submit" name="submit" class="btn" value="Suspend all holds" onclick="return confirmDelete(MSG_CONFIRM_SUSPEND_HOLDS);" />
572 <input type="hidden" name="suspend" value="1" />
574 [% IF AutoResumeSuspendedHolds %]
575 <label for="suspend_until"> until </label>
576 <input name="suspend_until" id="suspend_until" readonly="readonly" size="10" />
577 <a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('suspend_until').value='';return false;">Clear date</a>
582 <form action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post">
583 <input type="submit" name="submit" class="btn" value="Resume all suspended holds" onclick="return confirmDelete(MSG_CONFIRM_RESUME_HOLDS);" />
584 <input type="hidden" name="suspend" value="0" />
588 </div> <!-- / #opac-user-holds -->
589 [% END # / #reserves_count %]
590 </div> <!-- /#opac-user-views -->
591 </div> <!-- /#userdetails -->
592 </div> <!-- /.span10 -->
593 </div> <!-- /.row-fluid -->
594 </div> <!-- /.container-fluid -->
595 </div> <!-- /#main -->
597 [% INCLUDE 'opac-bottom.inc' %]
600 [% BLOCK jsinclude %]
601 [% INCLUDE 'calendar.inc' %]
602 [% INCLUDE 'datatables.inc' %]
603 <script type="text/JavaScript">
605 var MSG_CONFIRM_DELETE_HOLD = _("Are you sure you want to cancel this hold?");
606 var MSG_CONFIRM_SUSPEND_HOLDS = _("Are you sure you want to suspend all holds?");
607 var MSG_CONFIRM_RESUME_HOLDS = _("Are you sure you want to resume all suspended holds?");
610 $('#opac-user-views').tabs();
612 var dTables = $("#checkoutst,#holdst,#overduest");
613 dTables.each(function(){
614 var thIndex = $(this).find("th.psort").index();
615 $(this).dataTable($.extend(true, {}, dataTablesDefaults, {
616 "aaSorting" : [[ thIndex, 'asc' ]],
618 { "aTargets": [ "nosort" ],"bSortable": false,"bSearchable": false },
619 { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
620 { "sType": "title-string", "aTargets" : [ "title-string" ] }
625 [% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %]
626 [% IF ( OpacRenewalAllowed && canrenew && !userdebarred ) %]
627 $("#renewselected").submit(function(){
629 $("input[type=checkbox]").each(function(){
630 if($(this).is(':checked')){
635 alert(_("Nothing has been selected. Check the box for each item you want to renew"));
639 $("#renewselected_link").live('click',function(){
640 $("#renewselected").submit();
642 $("#renewall_link").live('click',function(){
643 $("#renewall").submit();
645 $("#checkoutst caption").append("<div id=\"renewcontrols\"><a id=\"renewselected_link\" href=\"#\">"+_("Renew selected")+"</a> <a id=\"renewall_link\" href=\"#\">"+_("Renew all")+"</a></div>");
647 $( "#suspend_until" ).datepicker({ minDate: 1 }); // Require that "until date" be in the future