New programmer templates for the OPAC. Markup has been pared down, but structure...
[koha.git] / koha-tmpl / opac-tmpl / prog / en / opac-detailprint.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Details for: <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" --><!-- TMPL_VAR NAME="title" --><!-- /TMPL_LOOP -->
2 <!-- TMPL_INCLUDE NAME="doc-head-close-basket-print.inc" -->
3
4 <div id="window">
5 <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
6 <h2><!-- TMPL_VAR NAME="title" --> <!-- TMPL_IF NAME="subtitle" -->: <!-- TMPL_VAR NAME="subtitle" --><!-- /TMPL_IF -->
7 <!-- TMPL_IF NAME="author" -->; By <!-- TMPL_VAR NAME="author" --></h2><!-- /TMPL_IF --> 
8
9 <table>
10
11 <!-- TMPL_IF NAME="abstract" --><tr><th scope="row">Format:</th><td><!-- TMPL_VAR NAME="abstract" --></td></tr><!-- /TMPL_IF -->
12 <!-- TMPL_IF NAME="copyrightdate" -->
13     <tr><th scope="row">Copyright:</th><td><!-- TMPL_VAR NAME="copyrightdate" --></td></tr>
14 <!-- /TMPL_IF -->
15 <!-- TMPL_IF NAME="isbn" -->
16             <tr><th scope="row">ISBN:</th><td><!-- TMPL_VAR NAME="isbn" --></td></tr>
17 <!-- /TMPL_IF -->
18 <!-- TMPL_IF NAME="lccn" -->
19             <tr><th scope="row">LCCN:</th><td><!-- TMPL_VAR NAME="lccn" --></td></tr>
20 <!-- /TMPL_IF -->
21 <!-- TMPL_IF NAME="publishercode" -->
22             <tr><th scope="row">Publisher:</th><td><!-- TMPL_VAR NAME="place" --> <!-- TMPL_VAR NAME="publishercode" --> <!-- TMPL_VAR NAME="publicationyear" --></td></tr>
23 <!-- /TMPL_IF -->
24 <!-- TMPL_IF NAME="pages" -->
25         <tr><th scope="row">Physical Details: </th><td><!-- TMPL_VAR NAME="pages" --> <!-- TMPL_VAR NAME="illus" --> <!-- TMPL_VAR NAME="size" --></td></tr>
26 <!-- /TMPL_IF -->
27 <!-- TMPL_IF NAME="notes" -->
28 <tr><th scope="row">Notes:</th><td><!-- TMPL_VAR NAME="notes" --></td></tr>
29         <!-- /TMPL_IF -->
30         <!-- /TMPL_LOOP -->
31         
32 <!-- TMPL_UNLESS NAME="MARCSUBJCTS" -->
33 <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
34 <!-- TMPL_IF name="subjects" --><tr><th scope="row">Subject(s):</th><td><!-- TMPL_LOOP name="subjects" --><a href="/cgi-bin/koha/opac-search.pl?op=do_search&amp;marclist=bibliosubject.subject&amp;and_or=and&amp;operator=contains&amp;value=<!-- TMPL_VAR NAME="subject" escape="HTML"-->"><!-- TMPL_VAR NAME="subject" --></a>, <!-- /TMPL_LOOP --></td></tr><!-- /TMPL_IF -->
35 <!-- /TMPL_LOOP -->
36 <!-- /TMPL_UNLESS -->
37
38 <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
39  <tr><th scope="row">Record No.:</th><td><!-- TMPL_VAR NAME="biblionumber" --></td></tr> <!-- /TMPL_LOOP -->
40
41 <!-- TMPL_IF NAME="MARCNOTES" -->
42                 <tr>
43                         <th scope="row">Detailed notes:</th>
44                         <td><ul><!-- TMPL_LOOP NAME="MARCNOTES" --><li><!-- TMPL_VAR NAME="marcnote" --></li><!-- /TMPL_LOOP --></ul></td></tr>
45         <!-- /TMPL_IF -->
46                 <!-- TMPL_IF NAME="MARCSUBJCTS" -->
47                 <tr>
48                         <th scope="row">Related links:</th>
49                         <td><ul><!-- TMPL_LOOP NAME="MARCSUBJCTS" --><li><a href="/cgi-bin/koha/opac-search.pl?op=do_search&marclist=bibliosubject.subject&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="marcsubjct" escape="HTML"-->"><!-- TMPL_VAR NAME="marcsubjct" --></a></li><!-- /TMPL_LOOP --></ul></td></tr>
50         <!-- /TMPL_IF -->
51 </table>
52
53 <!-- TMPL_IF NAME="ITEM_RESULTS" -->
54 <table>
55 <!--HOLDINGS INFORMATION HEADER TABLE ROWS-->
56 <tr>
57 <th>Type/Format</th>
58 <th>Call Number</th>
59 <th>Location</th>
60 <th>Due Date</th>
61 <th>Last Seen</th>
62 <th>Barcode</th></tr>
63 <tbody>
64 <!--INFORMATION ROWS-->
65 <!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
66 <tr><td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="description" -->.gif" align="left" title="<!-- TMPL_VAR NAME="barcode" -->" alt="" /><!-- TMPL_VAR NAME="description" --></td>
67 <td><!-- TMPL_VAR NAME="classification" --></td>
68 <td><!-- TMPL_VAR NAME="branchname" --></td>
69 <td><!-- TMPL_VAR NAME="datedue" --></td>
70 <td><!-- TMPL_VAR NAME="datelastseen" --></td>
71 <td><!-- TMPL_VAR NAME="barcode" --></td></tr>
72 <!-- /TMPL_LOOP -->
73 </tbody>
74 </table>
75 <!-- TMPL_ELSE -->
76 <table><tr><td>No copies available.</td></tr></table>
77 <!-- /TMPL_IF -->
78 <script language="javascript" type="text/javascript">
79 function docprint() {
80         window.print();
81         window.close();
82 }
83 </script>
84 </body>
85 </html>