9c984ccade
Cleaned up toggle variable in opac-readingrecord.pl and tmpl. Used __odd__ variable instead. Missed </TMPL_UNLESS> in previous patch. Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
84 lines
5.1 KiB
Cheetah
84 lines
5.1 KiB
Cheetah
<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryNameTitle" DEFAULT="Koha Online" --> Catalog › Account for <!-- TMPL_LOOP name="BORROWER_INFO" --><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --><!-- /TMPL_LOOP -->
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<!-- TMPL_IF NAME="GoogleJackets" --><script type="text/javascript">
|
|
//<![CDATA[
|
|
$(document).ready(function(){
|
|
KOHA.Google.GetCoverFromIsbn();
|
|
});
|
|
//]]>
|
|
</script><!-- /TMPL_IF -->
|
|
</head>
|
|
<body id="opac-readingrecord">
|
|
<div id="doc3" class="yui-t1">
|
|
<div id="bd">
|
|
<!-- TMPL_INCLUDE name="masthead.inc" -->
|
|
|
|
<div id="yui-main">
|
|
<div class="yui-b"><div class="yui-g">
|
|
<div class="container">
|
|
<!--CONTENT-->
|
|
<h3><a href="/cgi-bin/koha/opac-user.pl"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->'s account</a> <img src="<!-- TMPL_VAR NAME="themelang" -->../../images/caret.gif" width="16" height="16" alt=">" border="0" /> Checkout History</h3>
|
|
|
|
<!-- TMPL_UNLESS NAME="count" -->
|
|
You have never borrowed anything from this library.
|
|
<!-- TMPL_ELSE -->
|
|
<div id="opac-user-readingrec" class="toptabs">
|
|
<ul class="tabs-nav">
|
|
|
|
<!-- TMPL_IF NAME="showfulllink" -->
|
|
<!-- TMPL_IF NAME="limit" -->
|
|
<li><a href="/cgi-bin/koha/opac-readingrecord.pl?limit=full">Show All Items</a></li><li class="tabs-selected"><a href="#readingrec">Showing Last 50 Items</a></li>
|
|
<!-- TMPL_ELSE -->
|
|
<li class="tabs-selected"><a href="/cgi-bin/koha/opac-readingrecord.pl#readingrec">Showing All Items</a></li><li><a href="/cgi-bin/koha/opac-readingrecord.pl?limit=50">Show Last 50 Items Only</a></li>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_ELSE -->
|
|
<li class="tabs-selected"><a href="/cgi-bin/koha/opac-readingrecord.pl#readingrec">Showing All Items</a></li>
|
|
<!-- /TMPL_IF -->
|
|
</ul>
|
|
<div class="tabs-container"><table id="readingrec">
|
|
<tr>
|
|
<th colspan="2"><!-- TMPL_UNLESS NAME="orderbytitle" --><a
|
|
href="/cgi-bin/koha/opac-readingrecord.pl?order=title">Title</a><!--
|
|
TMPL_ELSE -->Title<!-- /TMPL_UNLESS --></th>
|
|
<!-- TMPL_UNLESS NAME="item-level_itypes" --><th>Item Type</th><!-- /TMPL_UNLESS -->
|
|
<th>Call No.</th>
|
|
<th><!-- TMPL_UNLESS NAME="orderbydate" --><a href="/cgi-bin/koha/opac-readingrecord.pl">Date</a><!-- TMPL_ELSE -->Date<!-- /TMPL_UNLESS --></th>
|
|
</tr>
|
|
|
|
<!-- TMPL_LOOP NAME="READING_RECORD" -->
|
|
|
|
<!-- TMPL_UNLESS NAME="__odd__" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_UNLESS -->
|
|
<td>
|
|
<!-- TMPL_IF NAME="OPACAmazonEnabled" --><!-- TMPL_IF NAME="OPACAmazonCoverImages" --><!-- TMPL_IF NAME="normalized_isbn" --><a href="http://www.amazon.com/gp/reader/<!-- TMPL_VAR NAME="normalized_isbn" -->/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0" src="http://images.amazon.com/images/P/<!-- TMPL_VAR name="normalized_isbn" -->.01.THUMBZZZ.jpg" alt="Cover Image" /></a><!-- TMPL_ELSE --><span class="no-image">No cover image available</span><!-- /TMPL_IF --><!-- /TMPL_IF --><!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="GoogleJackets" --><!-- TMPL_IF NAME="normalized_isbn" --><div style="block" title="<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->" class="<!-- TMPL_VAR name="normalized_isbn" -->" id="gbs-thumbnail<!--TMPL_VAR NAME="__counter__"-->"></div><!-- TMPL_ELSE --><span class="no-image">No cover image available</span><!-- /TMPL_IF --><!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="BakerTaylorEnabled" --><!-- TMPL_IF NAME="normalized_isbn" --><a href="https://<!-- TMPL_VAR NAME="BakerTaylorBookstoreURL" ESCAPE="HTML" --><!-- TMPL_VAR NAME="normalized_isbn" -->"><img alt="See Baker & Taylor" src="<!-- TMPL_VAR NAME="BakerTaylorImageURL" ESCAPE="HTML" --><!-- TMPL_VAR NAME="normalized_isbn" -->" /></a><!-- TMPL_ELSE --><span class="no-image">No cover image available</span><!-- /TMPL_IF --><!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="SyndeticsCoverImages" --><img src="http://www.syndetics.com/index.aspx?isbn=<!-- TMPL_VAR NAME="normalized_isbn" -->/SC.GIF&client=<!-- TMPL_VAR NAME="SyndeticsClientCode" --><!-- TMPL_IF NAME="normalized_upc" -->&upc=<!-- TMPL_VAR NAME="normalized_upc" --><!-- /TMPL_IF --><!-- TMPL_IF NAME="normalized_oclc" -->&oclc=<!-- TMPL_VAR NAME="normalized_oclc" --><!-- /TMPL_IF -->&type=xw10" alt=""/><!-- /TMPL_IF -->
|
|
</td>
|
|
<td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a>
|
|
<span class="item-details">
|
|
<!-- TMPL_VAR NAME="author" -->
|
|
</span></td>
|
|
<!-- TMPL_UNLESS NAME="item-level_itypes" --><td><!-- TMPL_IF NAME="imageurl" --><img src="<!-- TMPL_VAR NAME="imageurl" -->" title="<!-- TMPL_VAR name="description" -->" alt="<!-- TMPL_VAR NAME="description" -->" /><!-- /TMPL_IF --> <!-- TMPL_VAR name="description" --></td><!-- /TMPL_UNLESS -->
|
|
<td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
|
|
<td><!-- TMPL_IF NAME="returndate" --><!-- TMPL_VAR NAME="returndate" --><!-- TMPL_ELSE --><em>(Checked out)</em><!-- /TMPL_IF --></td>
|
|
</tr>
|
|
|
|
<!-- /TMPL_LOOP -->
|
|
</table></div></div>
|
|
|
|
<!-- /TMPL_UNLESS -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
<div class="container">
|
|
<!--TMPL_INCLUDE NAME="navigation.inc" -->
|
|
<!-- TMPL_INCLUDE name="usermenu.inc" -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
|