Merge git://git.koha.org/pub/scm/koha
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / catalogue / detail.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Catalogue &rsaquo; Details for <!-- TMPL_VAR NAME="title" --></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         $("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                 }
21          $(document).ready(function() {
22                 $('#bibliodetails').tabs();
23          });
24          <!-- TMPL_IF NAME="AmazonContent" -->$(window).load(function() {
25                 verify_images();
26          });<!-- /TMPL_IF -->
27 //]]>
28 </script>
29 </head>
30
31 <body>
32
33 <!-- TMPL_INCLUDE NAME="header.inc" -->
34 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
35
36 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalogue</a>  &rsaquo; Details for <i><!-- TMPL_VAR NAME="title" --></i></div>
37
38 <div id="doc3" class="yui-t2">
39    
40    <div id="bd">
41         <div id="yui-main">
42         <div class="yui-b">
43
44 <!-- TMPL_INCLUDE NAME="cat-toolbar.inc" -->
45     <!-- TMPL_IF NAME="AmazonContent" --><div class="yui-gb"><!-- TMPL_ELSE --><div class="yui-g"><!-- /TMPL_IF -->
46         <div id="catalogue_detail_biblio" class="yui-u first">
47                 
48     <h3><!-- TMPL_VAR NAME="title" --></h3>     
49         <p>
50             [
51             <!-- TMPL_IF name="description" -->
52                 <!-- TMPL_VAR name="description" -->
53             <!-- TMPL_ELSE -->
54                 <!-- TMPL_VAR NAME="itemtype" -->
55             <!-- /TMPL_IF -->
56             ] :
57             <!-- TMPL_IF name="volume" --> <!-- TMPL_VAR name="volume" --><!-- /TMPL_IF -->
58             <!-- TMPL_IF name="volumedesc" -->, <!-- TMPL_VAR name="volumedesc" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="number" --> <!-- TMPL_VAR NAME="number" --> <!-- /TMPL_IF -->
59             <!-- TMPL_IF name="unititle" -->, <!-- TMPL_VAR name="unititle" --><!-- /TMPL_IF -->
60             / <!-- TMPL_IF NAME="author" -->By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:<!-- TMPL_VAR NAME="author" -->"><!-- TMPL_VAR NAME="author" --></a><!-- /TMPL_IF -->
61                 <ul>
62         <!-- TMPL_IF name="MARCAUTHORS" -->
63             <li><strong>Additional Authors:</strong><ul>
64                         <!-- TMPL_LOOP NAME="MARCAUTHORS" -->
65                 <li><!-- TMPL_LOOP NAME="MARCAUTHOR_SUBFIELDS_LOOP" --><!-- TMPL_VAR NAME="separator" --><a title="‡<!-- 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 --><!-- TMPL_VAR name='limit' -->:<!-- TMPL_VAR NAME=link --><!-- /TMPL_LOOP -->"><!-- TMPL_VAR NAME="value" --></a><!-- /TMPL_LOOP --></li>
66                 <!-- /TMPL_LOOP -->
67
68                 </ul>
69             </li>
70         <!-- /TMPL_IF -->
71                 <!-- TMPL_IF name="publishercode" -->
72     <li><strong>Published by:</strong>
73         <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:<!-- TMPL_VAR NAME="publishercode"-->">
74             <!-- TMPL_VAR NAME="publishercode" --> 
75         </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 -->
76     </li>
77     <!-- /TMPL_IF -->
78         <li><strong>Description:</strong>
79                 <!-- TMPL_IF name="pages" --> <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" --> <!-- TMPL_IF NAME="illus" --><!-- TMPL_VAR NAME="illus" --><!-- /TMPL_IF -->
80                 <!-- TMPL_IF name="size" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="size" -->
81         </li>
82                 </ul>
83                 </div>
84                 
85 <!-- TMPL_IF NAME="AmazonContent" --><div class="yui-u" id="bookcoverimg">
86                 <!-- 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="" /></a>
87 <!-- TMPL_ELSE -->
88         <img src="http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif" alt="" border="0" />
89 <!-- /TMPL_IF --></div><!-- /TMPL_IF -->
90                 
91                 <div class="yui-u" style="margin-top: 1em;">
92                 <ul>
93         <!-- TMPL_IF name="isbn" -->
94             <li><strong>ISBN:</strong> <!-- TMPL_VAR NAME="isbn" --></li>
95         <!-- /TMPL_IF -->
96         <!-- TMPL_IF name="issn" -->
97             <li><strong>ISSN:</strong><!-- TMPL_VAR NAME="issn" --></li>
98         <!-- /TMPL_IF -->
99         <!-- TMPL_IF name="collectiontitle" -->
100             <li><strong>Collection: </strong>
101                 <!-- 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 -->
102             </li>
103         <!-- /TMPL_IF -->
104         <!-- TMPL_IF name="MARCSUBJCTS" -->
105             <li><strong>Subjects:</strong> 
106             <ul>
107                 <!-- TMPL_LOOP NAME="MARCSUBJCTS" -->
108                                 <li><!-- TMPL_LOOP NAME="MARCSUBJECT_SUBFIELDS_LOOP" --><!-- TMPL_VAR NAME="separator" --><a title="‡<!-- 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 --><!-- TMPL_VAR name='limit' -->:<!-- TMPL_VAR NAME=link --><!-- /TMPL_LOOP -->"><!-- TMPL_VAR NAME="value" --></a><!-- /TMPL_LOOP --></li>
109                 <!-- /TMPL_LOOP -->
110                                 </ul>
111             </li>
112         <!-- /TMPL_IF -->
113         <!-- TMPL_IF name="copyrightdate" -->
114             <li><strong>Copyright:</strong> <!-- TMPL_VAR NAME="copyrightdate" --></li>
115         <!-- /TMPL_IF -->
116      
117         <!-- TMPL_IF name="classification" -->
118             <li><strong>Classification:</strong> <!-- TMPL_VAR name="subclass" --><!-- TMPL_VAR name="classification" --></li>
119         <!-- /TMPL_IF -->
120         <!-- TMPL_IF name="dewey" -->
121             <li><strong>Dewey:</strong> <!-- TMPL_VAR name="dewey" --></li>
122         <!-- /TMPL_IF -->
123         <!-- TMPL_IF name="URLS" -->
124             <li><strong>URL:</strong> 
125                 <!-- TMPL_LOOP name="URLS" -->
126                     <a href="<!-- TMPL_VAR name="url" -->"><!-- TMPL_VAR NAME="url" --></a>
127                 <!-- /TMPL_LOOP -->
128             </li>
129         <!-- /TMPL_IF -->
130                 </ul>
131 </div>
132
133 </div>
134
135 <div id="bibliodetails" class="toptabs">
136
137 <ul>   
138 <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#holdings">Holdings</a></li>
139 <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#description">Description</a></li>
140 <!-- TMPL_IF NAME="FRBRizeEditions" --><li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#editions">Editions</a></li><!-- /TMPL_IF -->
141 <!-- 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 -->
142  </ul>
143
144 <div id="holdings">
145 <!-- TMPL_IF name="count" -->
146         <table>
147             <tr>
148                 <th>Item type</th>
149                 <th>Location</th>
150                 <th>Status</th>
151                 <th>Date Due</th>
152                 <th>Last seen</th>
153                 <th>Barcode</th>
154                 <th>Volume</th>
155             </tr>
156             <!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
157                 <tr>
158                     <td><!-- TMPL_VAR NAME="description" --></td>
159                     <td><!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_VAR name="location" --> <!-- TMPL_IF NAME="itemcallnumber" --> <!-- TMPL_VAR NAME="itemcallnumber" --><!-- /TMPL_IF --></td>
160                     <td><!-- TMPL_IF name="datedue" -->
161                             <!-- TMPL_IF  NAME="NOTSAMEBRANCH" -->
162                               Checked out to a borrower from another branch
163                             <!-- TMPL_ELSE -->
164                               Checked out to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></a>
165                             <!-- /TMPL_IF -->
166                         <!-- TMPL_ELSE -->
167                             <!-- TMPL_IF name="bi_notforloan" -->
168                                 Not For loan (itemtype)
169                             <!-- TMPL_ELSE -->
170                                 <!-- TMPL_IF name="notforloan" -->
171                                     <!-- TMPL_VAR name="notforloan" -->
172                                 <!-- TMPL_ELSE -->
173                                     <!-- TMPL_IF name="itemlost"-->
174                                         Item lost
175                                     <!-- TMPL_ELSE -->
176                                     <!-- TMPL_IF NAME="wthdrawn" -->Item Cancelled
177                                     <!-- TMPL_ELSE -->
178                                        <!-- TMPL_IF NAME="count_reserves" -->
179                                          <!-- TMPL_VAR NAME="count_reserves" -->
180                                        <!-- TMPL_ELSE -->
181                                          Available
182                                        <!-- /TMPL_IF -->
183                                      <!-- /TMPL_IF -->
184                                     <!-- /TMPL_IF -->
185                                 <!-- /TMPL_IF -->
186                             <!-- /TMPL_IF -->
187                         <!-- /TMPL_IF -->
188                         </td>
189                     <td><!-- TMPL_VAR NAME="datedue" --></td>
190                     <td><!-- TMPL_VAR NAME="datelastseen" --></td>
191                     <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=<!-- TMPL_VAR NAME="type" -->&amp;item=<!-- TMPL_VAR NAME="itemnumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->"><!-- TMPL_VAR NAME="barcode" --></a></td>
192                     <td><!-- TMPL_VAR NAME="volumeddesc" --></td>
193                     <!-- TMPL_IF NAME="type" -->
194                         <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>
195                         </td>
196                     <!-- /TMPL_IF -->
197                 </tr>
198             <!-- /TMPL_LOOP -->
199         </table>
200 <!-- TMPL_ELSE -->
201     <p>No physical items for this record</p>
202 <!-- /TMPL_IF -->
203     </div>
204         
205 <div id="description">
206         <!-- TMPL_IF name="MARCNOTES" -->
207         <!-- TMPL_LOOP NAME="MARCNOTES" -->
208         <p><!-- TMPL_VAR NAME="marcnote" --></p>
209                 <!-- /TMPL_LOOP -->
210         <!-- TMPL_ELSE -->
211             <!-- TMPL_IF name="notes" -->
212                 <p><!-- TMPL_VAR NAME="notes" --></p>
213             <!-- /TMPL_IF -->
214         <!-- /TMPL_IF -->
215 </div>
216
217 <!-- TMPL_IF NAME="FRBRizeEditions" -->
218 <div id="editions"><h2>Editions</h2>
219 <ul>
220 <!-- TMPL_LOOP NAME="XISBNS" -->
221 <li><img src="/opac-tmpl/prog/itemtypeimg/<!-- TMPL_VAR NAME="itemtype" -->.gif" title="<!-- TMPL_VAR NAME="itemtype" -->" />
222 <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>
223 <img src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="isbn" -->.01._AA75_PU_PU-5_.jpg" />
224         <!-- TMPL_LOOP NAME=items -->
225         <!-- TMPL_IF NAME="itype" --><img src="/opac-tmpl/prog/itemtypeimg/<!-- TMPL_VAR NAME="itype" -->.gif" title="<!-- TMPL_VAR NAME="itype" -->" /><!-- /TMPL_IF -->
226         barcode:<!-- TMPL_VAR NAME="barcode" -->
227         <!-- /TMPL_LOOP -->
228
229 <!-- /TMPL_LOOP -->
230 </ul></div>
231 <!-- /TMPL_IF -->
232
233 <!-- TMPL_IF NAME="AmazonSimilarItems" -->
234 <div id="related"><h2>Related Items</h2>
235 <ul>
236 <!-- TMPL_LOOP NAME="SIMILAR_PRODUCTS" -->
237 <!-- TMPL_LOOP NAME="product" -->
238 <li><img src="/opac-tmpl/prog/itemtypeimg/<!-- TMPL_VAR NAME="itemtype" -->.gif" title="<!-- TMPL_VAR NAME="itemtype" -->" />
239 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR
240 NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a> by <!-- TMPL_VAR NAME="author" --> &copy;<!-- TMPL_VAR NAME="copyrightdate" --></li>
241 <img src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="isbn" -->.01._THUMBZZZ_PU_PU-5_.jpg" />
242
243    <!-- TMPL_LOOP NAME="items" -->
244    <!-- TMPL_IF NAME="itype" --><img
245 src="/opac-tmpl/prog/itemtypeimg/<!-- TMPL_VAR NAME="itype" -->.gif"
246 title="<!-- TMPL_VAR NAME="itype" -->" /><!-- /TMPL_IF -->
247    barcode:<!-- TMPL_VAR NAME="barcode" -->
248    <!-- /TMPL_LOOP -->
249 <!-- /TMPL_LOOP -->
250 <!-- /TMPL_LOOP -->
251 </ul></div><!-- /TMPL_IF -->
252
253 </div><!-- /bibliodetails -->
254
255 <div class="yui-g" id="export" style="margin-top: 1em;">
256 <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
257 <table>  <tr>
258       <th>Save Record</th>   </tr>
259   <tr>     <td> Select Download Format:    <select name="format">
260                 <option value="mods">MODS (XML)</option>
261         <option value="dc">Dublin Core (XML)</option>
262                 <option value="marcxml">MARCXML</option>
263         <option value="marc8">MARC (non-Unicode/MARC-8)</option>
264         <option value="utf8">MARC (Unicode/UTF-8)</option>    </select>
265                 <input type="submit" name="save" value="Download Record" /></td>
266   </tr>
267   <tr><input type="hidden" name="op" value="export" /><input type="hidden" NAME="bib" VALUE="<!-- TMPL_VAR name="biblionumber" -->" />
268   </tr></table>
269 </form>
270 </div>
271
272
273
274 <!-- TMPL_IF name="subscriptionsnumber" -->
275 <div class="yui-g">
276 <div id="catalogue_detail_subscriptions">
277     <h2>This is a serial subscription</h2>
278     <p> (We have <!-- TMPL_VAR name="subscriptionsnumber" --> subscriptions associated with this title).</p> 
279     <!-- TMPL_LOOP Name="subscriptions" -->
280             <!-- TMPL_IF NAME="subscriptionnotes" --><p><!--TMPL_VAR NAME="subscriptionnotes"--> </p><!-- /TMPL_IF -->
281             <!--TMPL_IF NAME="latestserials"-->
282             <p> The three latest issues related to this subscription:</p>
283             <table>
284                 <tr>
285                     <th>Issue #</th>
286                     <th>Date</th>
287                     <th>Status</th>
288                     <th>Note</th>
289                                 </tr>
290             <!--TMPL_LOOP Name="latestserials"-->
291                 <tr>
292                     <td><!--TMPL_VAR Name="serialseq"--></td>
293                     <td><!--TMPL_VAR Name="planneddate"--></td>
294                     <td><!--TMPL_IF Name="status1"-->Awaited
295                         <!--TMPL_ELSE -->
296                             <!-- TMPL_IF Name="status2"-->Arrived
297                             <!--TMPL_ELSE -->
298                                 <!-- TMPL_IF Name="status3"-->Late
299                                 <!--TMPL_ELSE -->
300                                     <!-- TMPL_IF Name="status4"-->Missing
301                                     <!--TMPL_ELSE -->
302                                         <!-- TMPL_IF Name="status5"-->Not Issued
303                                         <!--/TMPL_IF-->
304                                     <!--/TMPL_IF-->
305                                 <!--/TMPL_IF-->
306                             <!--/TMPL_IF-->
307                         <!--/TMPL_IF--></td>
308                     <td><!--TMPL_VAR Name="notes"--></td>
309                 </tr>
310             <!--/TMPL_LOOP -->
311             </table>
312             <!-- /TMPL_IF -->
313     <!-- /TMPL_LOOP -->
314 </div>
315 </div>
316 <!-- /TMPL_IF -->
317
318 </div>
319 </div>
320 <div class="yui-b">
321 <!-- TMPL_INCLUDE NAME="biblio-view-menu.inc" -->
322 </div>
323 </div>
324 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->