Change from kados to XISBN.pm ("handle no response from ThingISBN"), and change to...
authorOwen Leonard <oleonard@myacpl.org>
Thu, 29 Nov 2007 03:13:31 +0000 (21:13 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Thu, 29 Nov 2007 03:26:43 +0000 (21:26 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/XISBN.pm
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl

index 74c2956..ab934a1 100755 (executable)
@@ -75,7 +75,6 @@ sub get_xisbns {
     if ( C4::Context->preference('ThingISBN') ) {
         my $url = "http://www.librarything.com/api/thingISBN/".$isbn;
         $thing_response = _get_url($url,'thingisbn');
-               undef $thing_response if $thing_response == 1;
     }
 
     # XISBN
index fa05585..291eef3 100644 (file)
 </ul></div>
 <!-- /TMPL_IF -->
 
-<!-- TMPL_IF NAME="AmazonSimilarItems " -->
+<!-- TMPL_IF NAME="AmazonSimilarItems" -->
 <div id="related"><h2>Related Items</h2>
 <ul>
 <!-- TMPL_LOOP NAME="SIMILAR_PRODUCTS" -->
 <!-- TMPL_LOOP NAME="product" -->
-<li><img src="/opac-tmpl/prog/itemtypeimg/<!-- TMPL_VAR
-NAME="itemtype" -->.gif" title="<!-- TMPL_VAR NAME="itemtype" -->" />
+<li><img src="/opac-tmpl/prog/itemtypeimg/<!-- TMPL_VAR NAME="itemtype" -->.gif" title="<!-- TMPL_VAR NAME="itemtype" -->" />
 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR
-NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a> by <!--
-TMPL_VAR NAME="author" --> &copy;<!-- TMPL_VAR NAME="copyrightdate"
---></li>
-<img src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="isbn"
--->.01._THUMBZZZ_PU_PU-5_.jpg" />
+NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a> by <!-- TMPL_VAR NAME="author" --> &copy;<!-- TMPL_VAR NAME="copyrightdate" --></li>
+<img src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="isbn" -->.01._THUMBZZZ_PU_PU-5_.jpg" />
 
-   <!-- TMPL_LOOP NAME=items -->
+   <!-- TMPL_LOOP NAME="items" -->
    <!-- TMPL_IF NAME="itype" --><img
 src="/opac-tmpl/prog/itemtypeimg/<!-- TMPL_VAR NAME="itype" -->.gif"
 title="<!-- TMPL_VAR NAME="itype" -->" /><!-- /TMPL_IF -->