[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-detail.tmpl [rel_2_2]
From: |
Joshua Ferraro |
Subject: |
[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-detail.tmpl [rel_2_2] |
Date: |
Sat, 04 Feb 2006 01:53:31 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Joshua Ferraro <address@hidden> 06/02/04 01:53:31
Modified files:
koha-tmpl/opac-tmpl/npl/en: opac-detail.tmpl
Log message:
Adds Fully Preferences-based Amazon.com feature. See mail to koha-devel
for details.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/opac-tmpl/npl/en/opac-detail.tmpl.diff?only_with_tag=rel_2_2&tr1=1.1.2.10&tr2=1.1.2.11&r1=text&r2=text
Patches:
Index: koha/koha-tmpl/opac-tmpl/npl/en/opac-detail.tmpl
diff -u koha/koha-tmpl/opac-tmpl/npl/en/opac-detail.tmpl:1.1.2.10
koha/koha-tmpl/opac-tmpl/npl/en/opac-detail.tmpl:1.1.2.11
--- koha/koha-tmpl/opac-tmpl/npl/en/opac-detail.tmpl:1.1.2.10 Thu Jan 5
20:33:53 2006
+++ koha/koha-tmpl/opac-tmpl/npl/en/opac-detail.tmpl Sat Feb 4 01:53:31 2006
@@ -7,7 +7,8 @@
<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
<div class="details">
<div class="detail-sidebar">
-<!-- Display for NPL <!-- TMPL_IF NAME="isbn" --><img
src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="isbn"
-->.01.MZZZZZZZ.jpg" alt="Book Cover Image" /><!-- /TMPL_IF --> //Display for
NPL -->
+<!-- TMPL_IF NAME="AmazonContent" --><!-- TMPL_IF NAME="isbn" --><a
href="http://www.amazon.com/gp/reader/<!-- TMPL_VAR NAME="isbn"
-->/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0"
src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="isbn"
-->.01._PIdp-schmooS,TopRight,7,-26_SCMZZZZZZZ_.jpg" alt="Book Cover Image"
/></a><!-- TMPL_ELSE --><img border="0"
src="http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif";
alt="Book Cover Image" /><!-- /TMPL_IF --><!-- /TMPL_IF -->
+
<div class="operations">
<ul>
<!-- TMPL_UNLESS NAME="norequests" --><li><a class="reserve"
href="/cgi-bin/koha/opac-reserve.pl?bib=<!-- TMPL_VAR NAME="biblionumber"
-->">Place Reserve</a></li><!-- /TMPL_UNLESS -->
@@ -60,6 +61,12 @@
<!-- /TMPL_LOOP --></ul></td></tr>
<!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="item_description" -->
+<tr>
+<th>Item Description (from Amazon.com):</th>
+<td><ul><li><!-- TMPL_VAR NAME="item_description" --></li></ul></td></tr>
+<!-- /TMPL_IF -->
+
<!-- TMPL_IF NAME="abstract" --><tr><th>Format:</th><td><!-- TMPL_VAR
NAME="abstract" --></td></tr><!-- /TMPL_IF -->
@@ -172,6 +179,40 @@
<!-- /TMPL_LOOP -->
<p> For more information: View a record of <a
href="/cgi-bin/koha/opac-serial-issues.pl?biblionumber=<!-- TMPL_VAR
NAME="biblionumber" -->" title="Serial issues">this subscription's
issues</a></p>
<!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="AmazonContent" -->
+<!-- Amazon Reviews -->
+<div id="itemReviews">
+ <h2>Amazon Reader Reviews:</h2>
+ <h4>
+ <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
+ <!-- TMPL_IF NAME="isbn" -->
+ <a
href="http://www.amazon.com/gp/customer-reviews/write-a-review.html/002-2970817-7876066?%5Fencoding=UTF8&asin=<!--
TMPL_VAR NAME="isbn" -->&store=books">Add your own review</a></h4>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP --><br/>
+
+ <!-- TMPL_IF NAME="rating" -->
+ <h4>Rating (from Amazon.com):</h4>
+ <div id="starMT"><div id="starFull" style="width:<!-- TMPL_VAR
NAME="rating" -->px"></div></div>
+
+ <!-- TMPL_LOOP NAME="REVIEWS" -->
+ <div class="content_set">
+ <!-- TMPL_IF NAME="summary" -->
+ <h4 class="underline"> <!-- TMPL_VAR NAME="summary"
--></h4>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="comment" -->
+ <p><!-- TMPL_VAR NAME="comment" -->
+ </p><!-- /TMPL_IF -->
+ </div>
+ <!-- /TMPL_LOOP -->
+ <!-- TMPL_ELSE -->
+
+ <div class="content_set">
+ <p class="error"> Sorry, there are no reviews available for this title.
</p>
+ </div>
+
+ <!-- /TMPL_IF -->
+</div> <!-- itemReviews -->
+<!-- /TMPL_IF-->
</div>
</div>
</body>
- [Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-detail.tmpl [rel_2_2],
Joshua Ferraro <=