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