Reserve and onloan were reporting the same cardnumber, due to a little bug in detail...
[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" --> <!-- TMPL_LOOP NAME="subtitle" --> <!-- TMPL_VAR NAME="subfield" --><!-- /TMPL_LOOP --></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" -->  <!-- TMPL_LOOP NAME="subtitle" --> <!-- TMPL_VAR NAME="subfield" --><!-- /TMPL_LOOP --></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         <!-- TMPL_IF NAME="XSLTDetailsDisplay" -->
59         <!-- TMPL_VAR NAME="XSLTBloc" -->
60     <!-- TMPL_ELSE -->
61
62     <h3><!-- TMPL_VAR NAME="title" escape="html"--></h3>
63     <!-- TMPL_LOOP NAME="subtitle" -->
64         <h4><!-- TMPL_VAR NAME="subfield" --></h4>
65     <!-- /TMPL_LOOP -->
66             <!-- TMPL_UNLESS NAME="item-level_itypes" --><img src="<!-- TMPL_VAR NAME="imageurl" -->" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- TMPL_VAR NAME="description" -->"><!-- /TMPL_UNLESS -->
67             <!-- TMPL_IF name="unititle" --><p><!-- TMPL_VAR name="unititle" escape="html" --></p><!-- /TMPL_IF -->
68             <!-- 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 -->
69         <ul>
70         <!-- TMPL_IF name="MARCAUTHORS" -->
71             <li><strong>Additional Authors:</strong><ul>
72             <!-- TMPL_LOOP NAME="MARCAUTHORS" -->
73                 <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>
74                 <!-- /TMPL_LOOP -->
75
76         </ul>
77             </li>
78         <!-- /TMPL_IF -->
79 <!-- TMPL_IF NAME="MARCSERIES" -->
80                 <li><strong>Series: </strong><ul><!-- TMPL_LOOP NAME="MARCSERIES" -->
81                 <li><!-- TMPL_LOOP NAME="MARCSERIES_SUBFIELDS_LOOP" --> <!-- TMPL_IF NAME="value" --><a href="/cgi-bin/koha/catalogue/search.pl?q=se:<!-- TMPL_VAR NAME="value" ESCAPE="url"-->"><!-- TMPL_VAR NAME="value" --></a><!-- /TMPL_IF --><!-- TMPL_IF NAME="volumenum" -->. <!-- TMPL_VAR NAME="volumenum" --><!-- /TMPL_IF --><!-- /TMPL_LOOP --></li> 
82                 <!-- /TMPL_LOOP -->
83                 </ul>
84                 </li>
85 <!-- /TMPL_IF -->
86         <!-- TMPL_IF name="publishercode" -->
87     <li><strong>Published by:</strong>
88         <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:<!-- TMPL_VAR NAME="publishercode" ESCAPE="url" -->">
89             <!-- TMPL_VAR NAME="publishercode" ESCAPE="html" -->
90         </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 -->
91     </li>
92     <!-- /TMPL_IF -->
93         <li><strong>Description:</strong>
94                 <!-- TMPL_IF name="pages" --> <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" --> <!-- TMPL_IF NAME="illus" --><!-- TMPL_VAR NAME="illus" --><!-- /TMPL_IF -->
95                 <!-- TMPL_IF name="size" --><!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
96         </li>
97 <!-- TMPL_IF name="MARCURLS" --><li>
98     
99         <strong>Online Resources:</strong>
100     <ul>    <!-- TMPL_LOOP name="MARCURLS" -->
101                 <li><!-- TMPL_IF NAME="part" --><!-- TMPL_VAR NAME="part" -->
102                         <br /><!-- /TMPL_IF --> 
103                 <!-- here you might do a tmpl_if name="toc" and use greybox or equivalent for table of contents -->
104                 <a href="<!-- TMPL_VAR NAME="MARCURL" -->" title="<!-- TMPL_VAR NAME="MARCURL" -->"><!-- TMPL_VAR NAME="linktext" --></a>
105                         <!-- TMPL_IF NAME="notes" --><ul><!-- TMPL_LOOP NAME="notes" --><li><!-- TMPL_VAR NAME="note" --></li><!-- /TMPL_LOOP --></ul><!-- /TMPL_IF --></li>
106             <!-- /TMPL_LOOP --></ul>
107 </li>
108     <!-- /TMPL_IF -->
109     
110     <!-- TMPL_IF name="OpacUrl" -->
111         <li><strong>OPAC View:</strong>
112         <a href="http://<!-- TMPL_VAR name="OpacUrl" -->/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" target="_blank">Open in new window</a>
113                 </li>
114         <!-- /TMPL_IF -->
115         </ul>
116         </div>
117        
118 <!-- TMPL_IF NAME="AmazonEnabled" --><!-- TMPL_IF NAME="AmazonCoverImages" --><div class="yui-u" id="bookcoverimg">
119 <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 -->
120         
121         <div class="yui-u" style="margin-top: 1em;">
122         <ul>
123         <!-- TMPL_IF name="normalized_isbn" -->
124             <li><strong>ISBN:</strong> <!-- TMPL_VAR NAME="normalized_isbn" --></li>
125         <!-- /TMPL_IF -->
126         <!-- TMPL_IF name="issn" -->
127             <li><strong>ISSN:</strong><!-- TMPL_VAR NAME="issn" --></li>
128         <!-- /TMPL_IF -->
129         <!-- TMPL_IF name="collectiontitle" -->
130             <li><strong>Collection: </strong>
131                 <!-- 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 -->
132             </li>
133         <!-- /TMPL_IF -->
134         <!-- TMPL_IF name="MARCSUBJCTS" -->
135             <li><strong>Subjects:</strong> 
136             <ul>
137                 <!-- TMPL_LOOP NAME="MARCSUBJCTS" -->
138                 <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>
139                 <!-- /TMPL_LOOP -->
140                 </ul>
141             </li>
142         <!-- /TMPL_IF -->
143         <!-- TMPL_IF name="copyrightdate" -->
144             <li><strong>Copyright:</strong> <!-- TMPL_VAR NAME="copyrightdate" --></li>
145         <!-- /TMPL_IF -->
146      
147         <!-- TMPL_IF name="classification" -->
148             <li><strong>Classification:</strong> <!-- TMPL_VAR name="subclass" --><!-- TMPL_VAR name="classification" --></li>
149         <!-- /TMPL_IF -->
150         <!-- TMPL_IF name="dewey" -->
151             <li><strong>Dewey:</strong> <!-- TMPL_VAR name="dewey" --></li>
152         <!-- /TMPL_IF -->
153         <!-- TMPL_IF name="URLS" -->
154             <li><strong>URL:</strong> 
155                 <!-- TMPL_LOOP name="URLS" -->
156                     <a href="<!-- TMPL_VAR name="url" -->"><!-- TMPL_VAR NAME="url" --></a>
157                 <!-- /TMPL_LOOP -->
158             </li>
159         <!-- /TMPL_IF -->
160         <!--This grabs all of the lists a bib record appears in -->
161         <!-- TMPL_IF NAME="GetShelves" -->
162                 <li><strong>Lists that include this title: </strong>
163                 <ul>
164                 <!-- TMPL_LOOP NAME="GetShelves" -->
165                         <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelfnumber" -->"><!-- TMPL_VAR NAME="shelfname" --></a></li>
166                 <!-- /TMPL_LOOP -->
167                 </ul>
168                 </li>
169         <!-- /TMPL_IF -->
170         </ul>
171         <!-- /TMPL_IF -->
172 </div>
173 </div>
174
175 <div id="bibliodetails" class="toptabs">
176
177 <ul>   
178 <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#holdings">Holdings</a></li>
179 <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#description">Descriptions</a></li>
180 <!-- TMPL_IF name="subscriptionsnumber" --><li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#subscriptions">Subscriptions</a></li><!-- /TMPL_IF -->
181 <!-- 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 -->
182 <!-- 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 -->
183  </ul>
184
185 <div id="holdings">
186 <!-- TMPL_IF name="count" -->
187         <table>
188             <tr>
189                 <!-- TMPL_IF NAME="item-level_itypes" --><th>Item type</th><!-- /TMPL_IF -->
190                 <th>Location</th>
191                 <!-- TMPL_IF NAME="itemdata_ccode" --><th>Collection</th><!-- /TMPL_IF -->
192                 <th>Call Number</th>
193                 <th>Status</th>
194                 <th>Last seen</th>
195                 <th>Barcode</th>
196                 <!-- TMPL_IF NAME="volinfo" --><th>Publication Details</th><!-- /TMPL_IF -->
197                 <!-- TMPL_IF NAME="itemdata_uri" --><th>URL</th><!-- /TMPL_IF -->
198                 <!-- TMPL_IF NAME="itemdata_copynumber" --><th>Copy No.</th><!-- /TMPL_IF -->
199                 <!-- TMPL_IF NAME="SpineLabelShowPrintOnBibDetails" --><th>Spine Label</th><!-- /TMPL_IF -->
200             </tr>
201             <!-- TMPL_LOOP NAME="itemloop" -->
202                 <tr>
203                     <!-- TMPL_IF NAME="item-level_itypes" -->
204                       <td class="itype">
205                         <!-- TMPL_IF NAME="noItemTypeImages" -->
206                           <!-- TMPL_VAR NAME="description" -->
207                         <!-- TMPL_ELSE -->
208                           <!-- TMPL_IF NAME="imageurl" -->
209                             <img src="<!-- TMPL_VAR NAME="imageurl" -->" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- TMPL_VAR NAME="description" -->" />
210                           <!-- TMPL_ELSE -->
211                             <!-- TMPL_VAR NAME="description" -->
212                           <!-- /TMPL_IF -->
213                         <!-- /TMPL_IF --></td>
214                     <!-- /TMPL_IF -->
215                     <td class="location"><!-- TMPL_UNLESS NAME="singlebranchmode" --><!-- TMPL_VAR NAME="branchname" --><!-- /TMPL_UNLESS --> <!-- TMPL_VAR NAME="location" --> </td>
216                     <!-- TMPL_IF NAME="itemdata_ccode" --><td><!-- TMPL_VAR name="ccode" --></td><!-- /TMPL_IF -->
217                     <td class="itemcallnumber"><!-- TMPL_IF NAME="itemcallnumber" --> <!-- TMPL_VAR NAME="itemcallnumber" --><!-- /TMPL_IF --></td>
218                     <td class="status">
219
220                 <!-- TMPL_IF name="datedue" -->
221                                                 <span class="datedue">Checked out
222                     <!-- TMPL_UNLESS  NAME="NOTSAMEBRANCH" -->
223                           to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">
224                           <!-- TMPL_IF NAME='hidepatronname' -->
225                               <!-- TMPL_VAR NAME="cardnumber" -->
226                           <!-- TMPL_ELSE -->
227                               <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->
228                           <!-- /TMPL_IF -->
229                           </a>
230                     <!-- /TMPL_UNLESS -->
231                                                 : due <!-- TMPL_VAR NAME="datedue" -->
232                                                 </span>
233                 <!-- TMPL_ELSIF Name="transfertwhen" -->
234                            In transit from <!-- TMPL_VAR NAME="transfertfrom" -->,
235                            to <!-- TMPL_VAR NAME="transfertto" -->, since <!-- TMPL_VAR NAME="transfertwhen" -->
236                                                         <!-- FIXME: the "since" clause is redundant w/ lastseen field -->
237                 <!-- /TMPL_IF -->
238
239                 <!-- TMPL_IF NAME="itemlost" -->
240                     <!-- TMPL_IF NAME="itemlostloop" -->
241                     <!-- TMPL_LOOP NAME="itemlostloop" -->
242                         <!-- TMPL_IF NAME="selected" -->
243                                         <span class="lost"><!-- TMPL_VAR NAME="lib" --></span>
244                         <!-- /TMPL_IF -->
245                     <!-- /TMPL_LOOP -->
246                     <!-- TMPL_ELSE -->
247                                         <span class="lost">Unavailable (lost or missing)</span>
248                     <!-- /TMPL_IF -->
249                 <!-- /TMPL_IF -->
250
251                 <!-- TMPL_IF NAME="wthdrawn" -->
252                                         <span class="wdn">Withdrawn</span>
253                 <!-- /TMPL_IF -->
254
255                 <!-- TMPL_IF NAME="damaged" -->
256                     <!-- TMPL_IF NAME="itemdamagedloop" -->
257                         <!-- TMPL_LOOP NAME="itemdamagedloop" -->
258                         <!-- TMPL_IF NAME="selected" -->
259                                         <span class="dmg"><!-- TMPL_VAR NAME="lib" --></span>
260                         <!-- /TMPL_IF -->
261                         <!-- /TMPL_LOOP -->
262                     <!-- TMPL_ELSE -->
263                                         <span class="dmg">Damaged</span>
264                     <!-- /TMPL_IF -->
265                 <!-- /TMPL_IF -->
266
267                 <!-- TMPL_IF Name="itemnotforloan" -->
268                     Not for loan 
269                     <!-- TMPL_IF Name="notforloanvalue" -->
270                         (<!-- TMPL_VAR NAME="notforloanvalue" -->)
271                     <!-- /TMPL_IF -->
272                 <!-- /TMPL_IF -->
273
274                             
275                 <!-- TMPL_IF NAME="reservedate"-->
276                     <!-- TMPL_IF NAME="waitingdate" -->
277                         Waiting
278                     <!-- TMPL_ELSE -->
279                         On hold
280                     <!-- /TMPL_IF -->
281                     <!-- TMPL_IF NAME="canreservefromotherbranches" -->for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="ReservedForBorrowernumber" -->">
282                         <!-- TMPL_IF NAME="hidepatronname" -->
283                             <!-- TMPL_VAR NAME="Reservedcardnumber" -->
284                         <!-- TMPL_ELSE -->
285                             <!-- TMPL_VAR NAME="ReservedForFirstname" --> <!-- TMPL_VAR NAME="ReservedForSurname" -->
286                         <!-- /TMPL_IF -->
287                     </a><!-- /TMPL_IF -->
288                     <!-- TMPL_IF NAME="waitingdate" -->
289                         at<!-- TMPL_ELSE -->expected at
290                     <!-- /TMPL_IF -->   <!-- TMPL_VAR NAME="ExpectedAtLibrary" -->
291                     since
292                     <!-- TMPL_IF NAME="waitingdate" --><!-- TMPL_VAR NAME="waitingdate" -->
293                     <!-- TMPL_ELSE -->
294                         <!-- TMPL_IF name="reservedate" --><!-- TMPL_VAR NAME="reservedate" --><!-- /TMPL_IF -->
295                     <!-- /TMPL_IF -->
296                 <!-- /TMPL_IF -->
297                 <!-- 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" -->
298                                         Available
299                 <!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS -->
300                         
301                     </td>
302                     <td class="datelastseen"><!-- TMPL_VAR NAME="datelastseen" --></td>
303                     <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>
304                                 <!-- TMPL_IF NAME="volinfo" --> <td class="enumchron">
305                                         <!-- TMPL_IF NAME="itemdata_enumchron" -->
306                                                 <!-- TMPL_IF NAME="enumchron" -->
307                                                 <!-- TMPL_VAR NAME="enumchron" --><!-- TMPL_IF NAME="serialseq" --> -- <!-- /TMPL_IF -->
308                                                 <!-- /TMPL_IF -->
309                                         <!-- /TMPL_IF -->
310                                         <!-- TMPL_VAR NAME="serialseq" --><!-- TMPL_IF NAME="publisheddate" --> (<!-- TMPL_VAR NAME="publisheddate" -->)<!-- /TMPL_IF -->
311                                 </td><!-- /TMPL_IF -->
312                                 <!-- TMPL_IF NAME="itemdata_uri" -->
313                                         <td class="uri"><a href="<!-- TMPL_VAR NAME="uri" -->"><!-- TMPL_VAR NAME="uri" --></a></td>
314                                 <!-- /TMPL_IF -->
315                                 <!-- TMPL_IF NAME="itemdata_copynumber" -->
316                                         <td class="copynumber"><!-- TMPL_VAR NAME="copynumber" --></td>
317                                 <!-- /TMPL_IF -->
318                 <!-- TMPL_IF NAME="type" -->
319                     <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>
320                 <!-- /TMPL_IF -->
321                 <!-- TMPL_IF NAME="SpineLabelShowPrintOnBibDetails" -->
322                         <td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=<!-- TMPL_VAR NAME="barcode" -->" >Print Label</a></td>
323                 <!-- /TMPL_IF -->
324
325                 </tr>
326             <!-- /TMPL_LOOP -->
327         </table>
328                 <!-- TMPL_IF NAME="debug_display" -->
329                 <br /><br />
330                 <table>
331                         <tr><td>itemdata_enumchron</td><td><!-- TMPL_VAR NAME="itemdata_enumchron" --></td></tr>
332                         <tr><td>itemdata_copynumber</td><td><!-- TMPL_VAR NAME="itemdata_copynumber" --></td></tr>
333                         <tr><td>serial</td><td><!-- TMPL_VAR NAME="serial" --></td></tr>
334                 </table>
335                 <!-- /TMPL_IF -->
336 <!-- TMPL_ELSE -->
337     <p>No physical items for this record</p>
338 <!-- /TMPL_IF -->
339     </div>
340     
341 <div id="description">
342 <div class="content_set">
343 <!-- TMPL_IF NAME="AmazonEnabled" -->
344 <!-- TMPL_LOOP NAME="AMAZON_EDITORIAL_REVIEWS" -->
345     <!-- TMPL_IF NAME="Content" -->
346     <h4>From <!-- TMPL_VAR NAME="Source" -->:</h4>
347     <p><!-- TMPL_VAR NAME="Content" --></p>
348     <!-- /TMPL_IF -->
349 <!-- /TMPL_LOOP -->
350 <!-- /TMPL_IF-->
351
352 <!-- TMPL_IF name="MARCNOTES" -->
353     <!-- TMPL_LOOP NAME="MARCNOTES" -->
354     <p><!-- TMPL_VAR NAME="marcnote" --></p>
355     <!-- /TMPL_LOOP -->
356     <!-- TMPL_ELSE -->
357     <!-- TMPL_IF name="notes" -->
358     <p><!-- TMPL_VAR NAME="notes" --></p>
359     <!-- /TMPL_IF -->
360 <!-- /TMPL_IF -->
361 </div>
362 </div>
363
364 <!-- TMPL_IF name="subscriptionsnumber" -->
365 <div id="subscriptions">
366 <div class="yui-g">
367 <div id="catalogue_detail_subscriptions">
368     <h2>This is a serial subscription</h2>
369     <p> (There are <!-- TMPL_VAR name="subscriptionsnumber" --> subscriptions associated with this title).</p> 
370     <!-- TMPL_LOOP Name="subscriptions" -->
371             <!-- TMPL_IF name="branchname" --><h3>At library: <!-- TMPL_VAR NAME="branchname" --></h3><!-- TMPL_ELSE -->
372             <!-- TMPL_IF name="branchcode" --><h3>At branch: <!-- TMPL_VAR NAME="branchcode" --></h3><!-- /TMPL_IF --><!-- /TMPL_IF -->
373             <!-- TMPL_IF NAME="subscriptionnotes" --><p><!--TMPL_VAR NAME="subscriptionnotes"--> </p><!-- /TMPL_IF -->
374             <!--TMPL_IF NAME="latestserials"-->
375             <p> The <!-- TMPL_VAR NAME="staffdisplaycount" --> latest issues related to this subscription:</p>
376             <table>
377                 <tr>
378                     <th>Issue #</th>
379                     <th>Date</th>
380                     <th>Status</th>
381                     <th>Note</th>
382                 </tr>
383             <!--TMPL_LOOP Name="latestserials"-->
384                 <tr>
385                     <td><!--TMPL_VAR Name="serialseq"--></td>
386                     <td><!--TMPL_VAR Name="planneddate"--></td>
387                     <td><!--TMPL_IF Name="status1"-->Expected
388                         <!--TMPL_ELSE -->
389                             <!-- TMPL_IF Name="status2"-->Arrived
390                             <!--TMPL_ELSE -->
391                                 <!-- TMPL_IF Name="status3"-->Late
392                                 <!--TMPL_ELSE -->
393                                     <!-- TMPL_IF Name="status4"-->Missing
394                                     <!--TMPL_ELSE -->
395                                         <!-- TMPL_IF Name="status5"-->Not Issued
396                                         <!--/TMPL_IF-->
397                                     <!--/TMPL_IF-->
398                                 <!--/TMPL_IF-->
399                             <!--/TMPL_IF-->
400                         <!--/TMPL_IF--></td>
401                     <td><!--TMPL_VAR Name="notes"--></td>
402                 </tr>
403             <!--/TMPL_LOOP -->
404             </table>
405             <!-- /TMPL_IF -->
406                         <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->">Subscription Details</a>
407     <!-- /TMPL_LOOP -->
408 </div>
409 </div>
410 </div>
411 <!-- /TMPL_IF -->
412
413 <!-- TMPL_IF NAME="FRBRizeEditions" --><!-- TMPL_IF NAME="XISBNS" -->
414 <div id="editions"><h2>Editions</h2>
415 <table>
416 <!-- 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>
417 <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" -->
418   <!-- TMPL_IF name="publishercode" -->
419 <!-- 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 -->
420     <!-- /TMPL_IF -->
421                 <!-- TMPL_IF name="pages" --> <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" --> <!-- TMPL_IF NAME="illus" --><!-- TMPL_VAR NAME="illus" --><!-- /TMPL_IF -->
422                 <!-- TMPL_IF name="size" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="size" -->
423 </td>
424
425 <!-- /TMPL_LOOP -->
426 </table></div><!-- /TMPL_IF -->
427 <!-- /TMPL_IF -->
428
429 <!-- TMPL_IF NAME="AmazonEnabled" --><!-- TMPL_IF NAME="AmazonSimilarItems" -->
430 <div id="related">
431 <h4>Similar Items</h4>
432 <ul>
433 <!-- TMPL_LOOP NAME="AMAZON_SIMILAR_PRODUCTS" -->
434 <!-- TMPL_LOOP NAME="similar_biblionumbers" -->
435 <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>
436 <!-- /TMPL_LOOP -->
437 <!-- /TMPL_LOOP -->
438 </ul>
439 </div>
440 <!-- /TMPL_IF --><!-- /TMPL_IF -->
441
442 </div><!-- /bibliodetails -->
443
444 <div class="yui-g" id="export" style="margin-top: 1em;">
445 <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
446 <table>  <tr>
447       <th>Save Record</th>   </tr>
448   <tr>     <td> Select Download Format:    <select name="format">
449         <option value="mods">MODS (XML)</option>
450         <option value="dc">Dublin Core (XML)</option>
451         <option value="marcxml">MARCXML</option>
452         <option value="marc8">MARC (non-Unicode/MARC-8)</option>
453         <option value="utf8">MARC (Unicode/UTF-8)</option>    </select>
454         <input type="submit" name="save" value="Download Record" /></td>
455   </tr>
456   <tr><td>
457     <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="<!-- TMPL_VAR name="biblionumber" -->" />
458   </td></tr>
459 </table>
460 </form>
461 </div>
462
463
464
465 </div>
466 </div>
467 <div class="yui-b">
468 <!-- TMPL_INCLUDE NAME="biblio-view-menu.inc" -->
469 </div>
470 </div>
471 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->