Bug 2920 Fixes Amazon content use in pro interface
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / catalogue / detail.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Catalog &rsaquo; Details for <!-- TMPL_VAR NAME="title" escape="html" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" --><script type="text/JavaScript" language="JavaScript">
4 //<![CDATA[
5 // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
6 function verify_images() {
7     $("#bookcoverimg img").each(function(i){
8            if ((this.src.indexOf('images.amazon.com') >= 0) || (this.src.indexOf('g-images.amazon.com') >=0)) {
9             w = this.width;
10             h = this.height;
11             if ((w == 1) || (h == 1)) {
12                 $("#bookcoverimg").remove();
13                 $(".yui-gb").attr("class","yui-g");
14             } else if ((this.complete != null) && (!this.complete)) {
15                 $("#bookcoverimg").remove();
16                 $(".yui-gb").attr("class","yui-g");
17             }
18         }
19         });
20         $("#editions img").each(function(i){
21            if ((this.src.indexOf('images.amazon.com') >= 0) || (this.src.indexOf('g-images.amazon.com') >=0)) {
22             w = this.width;
23             h = this.height;
24             if ((w == 1) || (h == 1)) {
25                                 this.src = 'http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
26             } else if ((this.complete != null) && (!this.complete)) {
27                                 this.src = 'http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
28             }
29         }
30         });
31 }
32      $(document).ready(function() {
33         $('#bibliodetails > ul').tabs();
34      });
35      <!-- TMPL_IF NAME="AmazonEnabled" -->$(window).load(function() {
36         verify_images();
37      });<!-- /TMPL_IF -->
38 //]]>
39 </script>
40 </head>
41
42 <body>
43
44 <!-- TMPL_INCLUDE NAME="header.inc" -->
45 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
46
47 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Details for <i><!-- TMPL_VAR NAME="title" escape="html" --></i></div>
48
49 <div id="doc3" class="yui-t2">
50    
51    <div id="bd">
52     <div id="yui-main">
53     <div class="yui-b">
54
55 <!-- TMPL_INCLUDE NAME="cat-toolbar.inc" -->
56     <!-- TMPL_IF NAME="AmazonEnabled" --><div class="yui-gb"><!-- TMPL_ELSE --><div class="yui-g"><!-- /TMPL_IF -->
57     <div id="catalogue_detail_biblio" class="yui-u first">
58         
59     <h3><!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_VAR NAME="subtitle" --></h3> 
60             <!-- TMPL_UNLESS NAME="item-level_itypes" --><img src="<!-- TMPL_VAR NAME="imageurl" -->" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- TMPL_VAR NAME="description" -->"><!-- /TMPL_UNLESS -->
61 <p>            <!-- TMPL_IF name="volume" --> <!-- TMPL_VAR name="volume" --><!-- /TMPL_IF -->
62             <!-- TMPL_IF name="volumedesc" -->, <!-- TMPL_VAR name="volumedesc" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="number" --> <!-- TMPL_VAR NAME="number" --> <!-- /TMPL_IF --></p>
63             <!-- TMPL_IF name="unititle" -->, <!-- TMPL_VAR name="unititle" escape="html" -->/<!-- /TMPL_IF -->
64             <!-- TMPL_IF NAME="author" --><p>By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:<!-- TMPL_VAR NAME="author" ESCAPE="url" -->"><!-- TMPL_VAR NAME="author" --></a></p><!-- /TMPL_IF -->
65         <ul>
66         <!-- TMPL_IF name="MARCAUTHORS" -->
67             <li><strong>Additional Authors:</strong><ul>
68             <!-- TMPL_LOOP NAME="MARCAUTHORS" -->
69                 <li><!-- TMPL_LOOP NAME="MARCAUTHOR_SUBFIELDS_LOOP" --><!-- TMPL_VAR NAME="separator" --><a title="&#8225;<!-- TMPL_VAR NAME="code" --> <!-- TMPL_VAR NAME="value" escape="url" -->" href="/cgi-bin/koha/catalogue/search.pl?q=<!-- TMPL_LOOP NAME="link_loop" --><!-- TMPL_VAR NAME="operator" escape="url" --><!-- TMPL_VAR name="limit" -->:<!-- TMPL_VAR NAME="link" ESCAPE="url" --><!-- /TMPL_LOOP -->"><!-- TMPL_VAR NAME="value" --></a><!-- /TMPL_LOOP --></li>
70                 <!-- /TMPL_LOOP -->
71
72         </ul>
73             </li>
74         <!-- /TMPL_IF -->
75         <!-- TMPL_IF name="publishercode" -->
76     <li><strong>Published by:</strong>
77         <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:<!-- TMPL_VAR NAME="publishercode" ESCAPE="url" -->">
78             <!-- TMPL_VAR NAME="publishercode" ESCAPE="html" -->
79         </a> <!-- TMPL_IF name="place" -->(<!-- TMPL_VAR NAME="place"-->)<!--/TMPL_IF--> <!-- TMPL_IF NAME="publicationyear" -->, <!-- TMPL_VAR NAME="publicationyear" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="editionstatement" --><!-- TMPL_VAR NAME="editionstatement" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="editionresponsability" --><!-- TMPL_VAR NAME="editionresponsability" --><!-- /TMPL_IF -->
80     </li>
81     <!-- /TMPL_IF -->
82         <li><strong>Description:</strong>
83                 <!-- TMPL_IF name="pages" --> <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" --> <!-- TMPL_IF NAME="illus" --><!-- TMPL_VAR NAME="illus" --><!-- /TMPL_IF -->
84                 <!-- TMPL_IF name="size" --><!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
85         </li>
86 <!-- TMPL_IF name="MARCURLS" --><li>
87     
88         <strong>Online Resources:</strong>
89     <ul>    <!-- TMPL_LOOP name="MARCURLS" -->
90                 <li><!-- TMPL_IF NAME="part" --><!-- TMPL_VAR NAME="part" -->
91                         <br /><!-- /TMPL_IF --> 
92                 <!-- here you might do a tmpl_if name="toc" and use greybox or equivalent for table of contents -->
93                 <a href="<!-- TMPL_VAR NAME="MARCURL" -->" title="<!-- TMPL_VAR NAME="MARCURL" -->"><!-- TMPL_VAR NAME="linktext" --></a>
94                         <!-- TMPL_IF NAME="notes" --><ul><!-- TMPL_LOOP NAME="notes" --><li><!-- TMPL_VAR NAME="note" --></li><!-- /TMPL_LOOP --></ul><!-- /TMPL_IF --></li>
95             <!-- /TMPL_LOOP --></ul>
96 </li>
97     <!-- /TMPL_IF -->
98         </ul>
99         </div>
100        
101 <!-- TMPL_IF NAME="AmazonEnabled" --><!-- TMPL_IF NAME="AmazonCoverImages" --><div class="yui-u" id="bookcoverimg">
102 <a href="http://www.amazon<!-- TMPL_VAR NAME="AmazonTld" -->/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.MZZZZZZZ.jpg" alt="" /></a></div><!-- /TMPL_IF --><!-- /TMPL_IF -->
103         
104         <div class="yui-u" style="margin-top: 1em;">
105         <ul>
106         <!-- TMPL_IF name="normalized_isbn" -->
107             <li><strong>ISBN:</strong> <!-- TMPL_VAR NAME="normalized_isbn" --></li>
108         <!-- /TMPL_IF -->
109         <!-- TMPL_IF name="issn" -->
110             <li><strong>ISSN:</strong><!-- TMPL_VAR NAME="issn" --></li>
111         <!-- /TMPL_IF -->
112         <!-- TMPL_IF name="collectiontitle" -->
113             <li><strong>Collection: </strong>
114                 <!-- TMPL_VAR NAME="collectiontitle" --> <!-- TMPL_IF name="collectionvolume" -->, <!-- TMPL_VAR NAME="collectionvolume" --><!-- /TMPL_IF --><!-- TMPL_IF name="collectionissn" --> (<strong>ISSN:</strong> <!-- TMPL_VAR NAME="collectionissn" -->)<!-- /TMPL_IF -->
115             </li>
116         <!-- /TMPL_IF -->
117         <!-- TMPL_IF name="MARCSUBJCTS" -->
118             <li><strong>Subjects:</strong> 
119             <ul>
120                 <!-- TMPL_LOOP NAME="MARCSUBJCTS" -->
121                 <li><!-- TMPL_LOOP NAME="MARCSUBJECT_SUBFIELDS_LOOP" --> <!-- TMPL_VAR NAME="separator" --> <a title="&#8225;<!-- TMPL_VAR NAME="code" --> <!-- TMPL_VAR NAME="value" -->" href="/cgi-bin/koha/catalogue/search.pl?q=<!-- TMPL_LOOP NAME="link_loop" --><!-- TMPL_VAR NAME="operator" escape="url" --><!-- TMPL_VAR name="limit" -->:<!-- TMPL_VAR NAME="link" escape="url" --><!-- /TMPL_LOOP -->"><!-- TMPL_VAR NAME="value" ESCAPE="html" --></a><!-- /TMPL_LOOP --></li>
122                 <!-- /TMPL_LOOP -->
123                 </ul>
124             </li>
125         <!-- /TMPL_IF -->
126         <!-- TMPL_IF name="copyrightdate" -->
127             <li><strong>Copyright:</strong> <!-- TMPL_VAR NAME="copyrightdate" --></li>
128         <!-- /TMPL_IF -->
129      
130         <!-- TMPL_IF name="classification" -->
131             <li><strong>Classification:</strong> <!-- TMPL_VAR name="subclass" --><!-- TMPL_VAR name="classification" --></li>
132         <!-- /TMPL_IF -->
133         <!-- TMPL_IF name="dewey" -->
134             <li><strong>Dewey:</strong> <!-- TMPL_VAR name="dewey" --></li>
135         <!-- /TMPL_IF -->
136         <!-- TMPL_IF name="URLS" -->
137             <li><strong>URL:</strong> 
138                 <!-- TMPL_LOOP name="URLS" -->
139                     <a href="<!-- TMPL_VAR name="url" -->"><!-- TMPL_VAR NAME="url" --></a>
140                 <!-- /TMPL_LOOP -->
141             </li>
142         <!-- /TMPL_IF -->
143         </ul>
144 </div>
145 </div>
146
147 <div id="bibliodetails" class="toptabs">
148
149 <ul>   
150 <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#holdings">Holdings</a></li>
151 <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#description">Descriptions</a></li>
152 <!-- TMPL_IF NAME="FRBRizeEditions" --><!-- TMPL_IF NAME="XISBNS" --><li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#editions">Editions</a></li><!-- /TMPL_IF --><!-- /TMPL_IF -->
153 <!-- TMPL_IF NAME="AmazonSimilarItems" --><li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#related">Related Titles</a></li><!-- /TMPL_IF -->
154  </ul>
155
156 <div id="holdings">
157 <!-- TMPL_IF name="count" -->
158         <table>
159             <tr>
160                 <!-- TMPL_IF NAME="item-level_itypes" --><th>Item type</th><!-- /TMPL_IF -->
161                 <th>Location</th>
162                 <!-- TMPL_IF NAME="itemdata_ccode" --><th>Collection</th><!-- /TMPL_IF -->
163                 <th>Call Number</th>
164                 <th>Status</th>
165                 <th>Last seen</th>
166                 <th>Barcode</th>
167                 <!-- TMPL_IF NAME="volinfo" --><th>Publication Details</th><!-- /TMPL_IF -->
168                 <!-- TMPL_IF NAME="itemdata_copynumber" --><th>Copy No.</th><!-- /TMPL_IF -->
169             </tr>
170             <!-- TMPL_LOOP NAME="itemloop" -->
171                 <tr>
172                     <!-- TMPL_IF NAME="item-level_itypes" -->
173                       <td class="itype">
174                         <!-- TMPL_IF NAME="noItemTypeImages" -->
175                           <!-- TMPL_VAR NAME="description" -->
176                         <!-- TMPL_ELSE -->
177                           <!-- TMPL_IF NAME="imageurl" -->
178                             <img src="<!-- TMPL_VAR NAME="imageurl" -->" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- TMPL_VAR NAME="description" -->" />
179                           <!-- TMPL_ELSE -->
180                             <!-- TMPL_VAR NAME="description" -->
181                           <!-- /TMPL_IF -->
182                         <!-- /TMPL_IF --></td>
183                     <!-- /TMPL_IF -->
184                     <td class="location"><!-- TMPL_UNLESS NAME="singlebranchmode" --><!-- TMPL_VAR NAME="branchname" --><!-- /TMPL_UNLESS --> <!-- TMPL_VAR NAME="location" --> </td>
185                     <!-- TMPL_IF NAME="itemdata_ccode" --><td><!-- TMPL_VAR name="ccode" --></td><!-- /TMPL_IF -->
186                     <td class="itemcallnumber"><!-- TMPL_IF NAME="itemcallnumber" --> <!-- TMPL_VAR NAME="itemcallnumber" --><!-- /TMPL_IF --></td>
187                     <td class="status">
188
189                 <!-- TMPL_IF name="datedue" -->
190                                                 <span class="datedue">Checked out
191                     <!-- TMPL_UNLESS  NAME="NOTSAMEBRANCH" -->
192                           to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></a>
193                     <!-- /TMPL_UNLESS -->
194                                                 : due <!-- TMPL_VAR NAME="datedue" -->
195                                                 </span>
196                 <!-- TMPL_ELSIF Name="transfertwhen" -->
197                            In transit from <!-- TMPL_VAR NAME="transfertfrom" -->,
198                            to <!-- TMPL_VAR NAME="transfertto" -->, since <!-- TMPL_VAR NAME="transfertwhen" -->
199                                                         <!-- FIXME: the "since" clause is redundant w/ lastseen field -->
200                 <!-- /TMPL_IF -->
201
202                 <!-- TMPL_IF NAME="itemlost" -->
203                     <!-- TMPL_IF NAME="itemlostloop" -->
204                     <!-- TMPL_LOOP NAME="itemlostloop" -->
205                         <!-- TMPL_IF NAME="selected" -->
206                                         <span class="lost"><!-- TMPL_VAR NAME="lib" --></span>
207                         <!-- /TMPL_IF -->
208                     <!-- /TMPL_LOOP -->
209                     <!-- TMPL_ELSE -->
210                                         <span class="lost">Unavailable (lost or missing)</span>
211                     <!-- /TMPL_IF -->
212                 <!-- /TMPL_IF -->
213
214                 <!-- TMPL_IF NAME="wthdrawn" -->
215                                         <span class="wdn">Withdrawn</span>
216                 <!-- /TMPL_IF -->
217
218                 <!-- TMPL_IF NAME="damaged" -->
219                     <!-- TMPL_IF NAME="itemdamagedloop" -->
220                         <!-- TMPL_LOOP NAME="itemdamagedloop" -->
221                         <!-- TMPL_IF NAME="selected" -->
222                                         <span class="dmg"><!-- TMPL_VAR NAME="lib" --></span>
223                         <!-- /TMPL_IF -->
224                         <!-- /TMPL_LOOP -->
225                     <!-- TMPL_ELSE -->
226                                         <span class="dmg">Damaged</span>
227                     <!-- /TMPL_IF -->
228                 <!-- /TMPL_IF -->
229
230                 <!-- TMPL_IF Name="itemnotforloan" -->
231                     Not for loan 
232                     <!-- TMPL_IF Name="notforloanvalue" -->
233                         (<!-- TMPL_VAR NAME="notforloanvalue" -->)
234                     <!-- /TMPL_IF -->
235                 <!-- /TMPL_IF -->
236
237                             
238                 <!-- TMPL_IF NAME="reservedate"-->
239                     <!-- TMPL_IF NAME="waitingdate" -->
240                         Waiting
241                     <!-- TMPL_ELSE -->
242                         On hold
243                     <!-- /TMPL_IF -->
244                     <!-- TMPL_IF NAME="canreservefromotherbranches" -->for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="ReservedForBorrowernumber" -->"><!-- TMPL_VAR NAME="ReservedForFirstname" --> <!-- TMPL_VAR NAME="ReservedForSurname" --></a><!-- /TMPL_IF -->
245                     <!-- TMPL_IF NAME="waitingdate" -->
246                         at<!-- TMPL_ELSE -->expected at
247                     <!-- /TMPL_IF -->   <!-- TMPL_VAR NAME="ExpectedAtLibrary" -->
248                     since
249                     <!-- TMPL_IF NAME="waitingdate" --><!-- TMPL_VAR NAME="waitingdate" -->
250                     <!-- TMPL_ELSE -->
251                         <!-- TMPL_IF name="reservedate" --><!-- TMPL_VAR NAME="reservedate" --><!-- /TMPL_IF -->
252                     <!-- /TMPL_IF -->
253                 <!-- /TMPL_IF -->
254                 <!-- TMPL_UNLESS name="itemnotforloan" --><!-- TMPL_UNLESS NAME="onloan" --><!-- TMPL_UNLESS NAME="itemlost" --><!-- TMPL_UNLESS NAME="wthdrawn" --><!-- TMPL_UNLESS NAME="damaged" --><!-- TMPL_UNLESS NAME="transfertwhen" --><!-- TMPL_UNLESS NAME="reservedate" -->
255                                         Available
256                 <!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS -->
257                         
258                     </td>
259                     <td class="datelastseen"><!-- TMPL_VAR NAME="datelastseen" --></td>
260                     <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=<!-- TMPL_VAR NAME="type" -->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->#item<!-- TMPL_VAR NAME="itemnumber">"><!-- TMPL_VAR NAME="barcode" --></a></td>
261                                 <!-- TMPL_IF NAME="volinfo" --> <td class="enumchron">
262                                         <!-- TMPL_IF NAME="itemdata_enumchron" -->
263                                                 <!-- TMPL_IF NAME="enumchron" -->
264                                                 <!-- TMPL_VAR NAME="enumchron" --><!-- TMPL_IF NAME="serialseq" --> -- <!-- /TMPL_IF -->
265                                                 <!-- /TMPL_IF -->
266                                         <!-- /TMPL_IF -->
267                                         <!-- TMPL_VAR NAME="serialseq" --><!-- TMPL_IF NAME="publisheddate" --> (<!-- TMPL_VAR NAME="publisheddate" -->)<!-- /TMPL_IF -->
268                                 </td><!-- /TMPL_IF -->
269                                 <!-- TMPL_IF NAME="itemdata_copynumber" -->
270                                         <td class="copynumber"><!-- TMPL_VAR NAME="copynumber" --></td>
271                                 <!-- /TMPL_IF -->
272                 <!-- TMPL_IF NAME="type" -->
273                     <td><a href="/cgi-bin/koha/maint/catmaintain.pl?type=fixitemtype&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->&amp;item=<!-- TMPL_VAR NAME="itemtype" -->">Fix Itemtype</a></td>
274                 <!-- /TMPL_IF -->
275
276                 </tr>
277             <!-- /TMPL_LOOP -->
278         </table>
279                 <!-- TMPL_IF NAME="debug_display" -->
280                 <br /><br />
281                 <table>
282                         <tr><td>itemdata_enumchron</td><td><!-- TMPL_VAR NAME="itemdata_enumchron" --></td></tr>
283                         <tr><td>itemdata_copynumber</td><td><!-- TMPL_VAR NAME="itemdata_copynumber" --></td></tr>
284                         <tr><td>serial</td><td><!-- TMPL_VAR NAME="serial" --></td></tr>
285                 </table>
286                 <!-- /TMPL_IF -->
287 <!-- TMPL_ELSE -->
288     <p>No physical items for this record</p>
289 <!-- /TMPL_IF -->
290     </div>
291     
292 <div id="description">
293 <div class="content_set">
294 <!-- TMPL_IF NAME="AmazonEnabled" -->
295 <!-- TMPL_LOOP NAME="AMAZON_EDITORIAL_REVIEWS" -->
296     <!-- TMPL_IF NAME="Content" -->
297     <h4>From <!-- TMPL_VAR NAME="Source" -->:</h4>
298     <p><!-- TMPL_VAR NAME="Content" --></p>
299     <!-- /TMPL_IF -->
300 <!-- /TMPL_LOOP -->
301 <!-- /TMPL_IF-->
302
303 <!-- TMPL_IF name="MARCNOTES" -->
304     <!-- TMPL_LOOP NAME="MARCNOTES" -->
305     <p><!-- TMPL_VAR NAME="marcnote" --></p>
306     <!-- /TMPL_LOOP -->
307     <!-- TMPL_ELSE -->
308     <!-- TMPL_IF name="notes" -->
309     <p><!-- TMPL_VAR NAME="notes" --></p>
310     <!-- /TMPL_IF -->
311 <!-- /TMPL_IF -->
312 </div>
313 </div>
314 <!-- TMPL_IF NAME="FRBRizeEditions" --><!-- TMPL_IF NAME="XISBNS" -->
315 <div id="editions"><h2>Editions</h2>
316 <table>
317 <!-- TMPL_LOOP NAME="XISBNS" --><tr><!-- TMPL_IF NAME="AmazonEnabled" --><td><a href="http://www.amazon.com/gp/reader/<!-- TMPL_VAR NAME="normalized_isbn" -->/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="normalized_isbn" -->.01._AA75_PU_PU-5_.jpg" /></a></td><!-- /TMPL_IF --><td><!-- TMPL_IF NAME="noItemTypeImages" --><!-- TMPL_VAR NAME="description" --><!-- TMPL_ELSE --><img src="<!-- TMPL_VAR NAME="imageurl" -->" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- TMPL_VAR NAME="description" -->"><!-- /TMPL_IF --></td><td>
318 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a> by <!-- TMPL_VAR NAME="author" --> &copy;<!-- TMPL_VAR NAME="copyrightdate" -->
319   <!-- TMPL_IF name="publishercode" -->
320 <!-- TMPL_VAR NAME="publishercode" --> <!-- TMPL_IF name="place" -->(<!-- TMPL_VAR NAME="place"-->)<!--/TMPL_IF--> <!-- TMPL_IF NAME="publicationyear" -->, <!-- TMPL_VAR NAME="publicationyear" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="editionstatement" --><!-- TMPL_VAR NAME="editionstatement" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="editionresponsability" --><!-- TMPL_VAR NAME="editionresponsability" --><!-- /TMPL_IF -->
321     <!-- /TMPL_IF -->
322                 <!-- TMPL_IF name="pages" --> <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" --> <!-- TMPL_IF NAME="illus" --><!-- TMPL_VAR NAME="illus" --><!-- /TMPL_IF -->
323                 <!-- TMPL_IF name="size" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="size" -->
324 </td>
325
326 <!-- /TMPL_LOOP -->
327 </table></div><!-- /TMPL_IF -->
328 <!-- /TMPL_IF -->
329
330 <!-- TMPL_IF NAME="AmazonEnabled" --><!-- TMPL_IF NAME="AmazonSimilarItems" -->
331 <div id="related">
332 <h4>Similar Items</h4>
333 <ul>
334 <!-- TMPL_LOOP NAME="AMAZON_SIMILAR_PRODUCTS" -->
335 <!-- TMPL_LOOP NAME="similar_biblionumbers" -->
336 <li><img alt="img" src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="ASIN"-->.01._SS50_.jpg" /> <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" ESCAPE="HTML" --></a> </li>
337 <!-- /TMPL_LOOP -->
338 <!-- /TMPL_LOOP -->
339 </ul>
340 </div>
341 <!-- /TMPL_IF --><!-- /TMPL_IF -->
342
343 </div><!-- /bibliodetails -->
344
345 <div class="yui-g" id="export" style="margin-top: 1em;">
346 <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
347 <table>  <tr>
348       <th>Save Record</th>   </tr>
349   <tr>     <td> Select Download Format:    <select name="format">
350         <option value="mods">MODS (XML)</option>
351         <option value="dc">Dublin Core (XML)</option>
352         <option value="marcxml">MARCXML</option>
353         <option value="marc8">MARC (non-Unicode/MARC-8)</option>
354         <option value="utf8">MARC (Unicode/UTF-8)</option>    </select>
355         <input type="submit" name="save" value="Download Record" /></td>
356   </tr>
357   <tr><td>
358     <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->" />
359   </td></tr>
360 </table>
361 </form>
362 </div>
363
364
365
366 <!-- TMPL_IF name="subscriptionsnumber" -->
367 <div class="yui-g">
368 <div id="catalogue_detail_subscriptions">
369     <h2>This is a serial subscription</h2>
370     <p> (We have <!-- TMPL_VAR name="subscriptionsnumber" --> subscriptions associated with this title).</p> 
371     <!-- TMPL_LOOP Name="subscriptions" -->
372             <!-- TMPL_IF NAME="subscriptionnotes" --><p><!--TMPL_VAR NAME="subscriptionnotes"--> </p><!-- /TMPL_IF -->
373             <!--TMPL_IF NAME="latestserials"-->
374             <p> The <!-- TMPL_VAR NAME="staffdisplaycount" --> latest issues related to this subscription:</p>
375             <table>
376                 <tr>
377                     <th>Issue #</th>
378                     <th>Date</th>
379                     <th>Status</th>
380                     <th>Note</th>
381                 </tr>
382             <!--TMPL_LOOP Name="latestserials"-->
383                 <tr>
384                     <td><!--TMPL_VAR Name="serialseq"--></td>
385                     <td><!--TMPL_VAR Name="planneddate"--></td>
386                     <td><!--TMPL_IF Name="status1"-->Expected
387                         <!--TMPL_ELSE -->
388                             <!-- TMPL_IF Name="status2"-->Arrived
389                             <!--TMPL_ELSE -->
390                                 <!-- TMPL_IF Name="status3"-->Late
391                                 <!--TMPL_ELSE -->
392                                     <!-- TMPL_IF Name="status4"-->Missing
393                                     <!--TMPL_ELSE -->
394                                         <!-- TMPL_IF Name="status5"-->Not Issued
395                                         <!--/TMPL_IF-->
396                                     <!--/TMPL_IF-->
397                                 <!--/TMPL_IF-->
398                             <!--/TMPL_IF-->
399                         <!--/TMPL_IF--></td>
400                     <td><!--TMPL_VAR Name="notes"--></td>
401                 </tr>
402             <!--/TMPL_LOOP -->
403             </table>
404             <!-- /TMPL_IF -->
405                         <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->">Subscription Details</a>
406     <!-- /TMPL_LOOP -->
407 </div>
408 </div>
409 <!-- /TMPL_IF -->
410
411 </div>
412 </div>
413 <div class="yui-b">
414 <!-- TMPL_INCLUDE NAME="biblio-view-menu.inc" -->
415 </div>
416 </div>
417 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->