New programmer templates for the OPAC. Markup has been pared down, but structure...
[koha.git] / koha-tmpl / opac-tmpl / prog / en / opac-detail.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.inc" -->
3 <!--TMPL_INCLUDE NAME="masthead.inc" -->
4 <!--TMPL_INCLUDE NAME="navigation.inc" -->
5
6 <div id="main">
7 <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
8
9 <!-- TMPL_IF NAME="AmazonContent" --><!-- 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="Book Cover Image" /></a><!-- TMPL_ELSE --><img border="0" src="http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif" alt="Book Cover Image" /><!-- /TMPL_IF --><!-- /TMPL_IF -->
10
11
12 <ul>
13 <!-- TMPL_UNLESS NAME="norequests" --><li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->">Place Reserve</a></li><!-- /TMPL_UNLESS -->
14 <li><a class="detail" href="/cgi-bin/koha/opac-MARCdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->">MARC View</a></li>
15 <!-- Hide from NPL --> <li><a class="isbd" href="/cgi-bin/koha/opac-ISBDdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->">ISBD</a></li> <!-- Hide from NPL -->
16 <li><a class="print" href="/cgi-bin/koha/opac-detailprint.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" onclick="Dopop('opac-detailprint.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">Print</a></li>
17 <!-- TMPL_IF name="virtualshelves" --><li><a class="shelf" href="/cgi-bin/koha/opac-addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" onclick="Dopop('opac-addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">Add to My Book List</a></li><!-- /TMPL_IF -->
18 <li><a class="cart" href="#" onclick="addRecord('<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">Add to My Book Bag</a></li>
19 </ul>
20
21
22 <h4>Search for this title in:</h4>
23 <ul>
24 <li><a href="http://www.google.com/search?q=<!-- TMPL_VAR NAME="title" ESCAPE="url" -->+site:worldcatlibraries.org">Other Libraries(WorldCat)</a></li>
25 <li><a href="http://www.scholar.google.com/scholar?q=<!-- TMPL_VAR NAME="title" ESCAPE="url" -->">Other Databases (Google Scholar)</a></li></ul>
26
27 <h2><!-- TMPL_VAR NAME="title" --><!-- TMPL_IF NAME="subtitle" --> <!-- TMPL_VAR NAME="subtitle" --><!-- /TMPL_IF --></h2>
28 <!-- TMPL_IF NAME="author" --><h3>By <a href="/cgi-bin/koha/opac-search.pl?marclist=biblio.author&amp;and_or=and&amp;excluding=&amp;operator=contains&amp;value=<!-- TMPL_VAR NAME="author" -->&amp;resultsperpage=20&amp;orderby=biblio.title&amp;op=do_search"><!-- TMPL_VAR NAME="author" --></a></h3><!-- /TMPL_IF --> 
29
30 <table>
31
32 <!-- TMPL_UNLESS NAME="MARCNOTES" -->
33
34 <!-- TMPL_IF NAME="notes" -->
35 <tr><th scope="row">Notes:</th><td><!-- TMPL_VAR NAME="notes" --></td></tr><!-- /TMPL_IF -->
36
37 <!-- /TMPL_UNLESS -->
38         
39 <!-- TMPL_UNLESS NAME="MARCSUBJCTS" -->
40
41 <!-- TMPL_IF name="subjects" --><tr><th>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 -->
42
43 <!-- /TMPL_UNLESS -->
44
45 <!-- TMPL_IF NAME="MARCNOTES" -->
46                 <tr>
47                         <th scope="row">Detailed notes:</th>
48                         <td scope="row"><ul><!-- TMPL_LOOP NAME="MARCNOTES" --><li><!-- TMPL_VAR NAME="marcnote" --></li><!-- /TMPL_LOOP --></ul></td></tr>
49         <!-- /TMPL_IF -->
50
51 <!-- TMPL_IF NAME="MARCSUBJCTS" -->
52                 <tr>
53                         <th scope="row">Related links:</th>
54                         <td><ul><!-- TMPL_LOOP NAME="MARCSUBJCTS" -->
55                                                         <!-- TMPL_IF name="linkvalue" -->
56                                                                 <li><a href="/cgi-bin/koha/opac-search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR name="link" -->&amp;and_or=and&amp;operator==&amp;value=<!-- TMPL_VAR NAME="linkvalue" escape="HTML"-->"><!-- TMPL_VAR NAME="marcsubjct" --></a></li>
57                                                         <!-- TMPL_ELSE -->
58                                                                 <li><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="marcsubjct" escape="HTML"-->"><!-- TMPL_VAR NAME="marcsubjct" --></a></li>
59                                                         <!-- /TMPL_IF -->
60
61 <!-- /TMPL_LOOP --></ul></td></tr>
62         <!-- /TMPL_IF -->
63 <!-- TMPL_IF NAME="item_description" -->
64 <tr>
65 <th scope="row">Item Description (from Amazon.com):</th>
66 <td><ul><li><!-- TMPL_VAR NAME="item_description" --></li></ul></td></tr>
67 <!-- /TMPL_IF -->
68
69
70
71 <!-- TMPL_IF NAME="abstract" --><tr><th scope="row">Format:</th><td><!-- TMPL_VAR NAME="abstract" --></td></tr><!-- /TMPL_IF -->
72 <!-- TMPL_IF NAME="copyrightdate" -->
73     <tr><th scope="row">Copyright:</th><td><!-- TMPL_VAR NAME="copyrightdate" --></td></tr>
74 <!-- /TMPL_IF -->
75                         <!-- TMPL_IF NAME="seriestitle" --><tr><th scope="row">Series Title:</th><td><a href="/cgi-bin/koha/opac-search.pl?marclist=biblio.seriestitle&amp;and_or=and&amp;excluding=&amp;operator=contains&amp;value=<!-- TMPL_VAR NAME="seriestitle" ESCAPE=URL -->&amp;resultsperpage=20&amp;orderby=biblio.title&amp;op=do_search"><!-- TMPL_VAR NAME="seriestitle" --></a><!-- TMPL_IF NAME="volume" --><!-- TMPL_VAR NAME="volume" --><!-- /TMPL_IF --></td></tr><!-- /TMPL_IF -->
76 <!-- TMPL_IF NAME="isbn" -->
77             <tr><th scope="row">ISBN:</th><td><!-- TMPL_VAR NAME="isbn" --></td></tr>
78 <!-- /TMPL_IF -->
79 <!-- TMPL_IF NAME="lccn" -->
80             <tr><th scope="row">LCCN:</th><td><!-- TMPL_VAR NAME="lccn" --></td></tr>
81 <!-- /TMPL_IF -->
82 <!-- TMPL_IF NAME="publishercode" -->
83             <tr><th scope="row">Publisher:</th><td><!-- TMPL_VAR NAME="place" --> <!-- TMPL_VAR NAME="publishercode" --> <!-- TMPL_VAR NAME="publicationyear" --></td></tr>
84 <!-- /TMPL_IF -->
85 <!-- TMPL_IF NAME="pages" -->
86         <tr><th scope="row">Physical Details: </th><td><!-- TMPL_VAR NAME="pages" --> <!-- TMPL_VAR NAME="illus" --> <!-- TMPL_VAR NAME="size" --></td></tr>
87 <!-- /TMPL_IF -->
88 <!-- /TMPL_LOOP -->
89
90  <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
91  <tr><th scope="row">Record No.:</th><td><!-- TMPL_VAR NAME="biblionumber" --></td></tr> <!-- /TMPL_LOOP -->
92 </table>
93 <table>
94 <!-- TMPL_IF NAME="MARCURLS" -->
95                 <tr><th scope="row">Related URLs: </th><td><ul><!-- TMPL_LOOP NAME="MARCURLS" --><li><a href="<!-- TMPL_VAR NAME="MARCURL" -->"><!-- TMPL_VAR NAME="MARCURL" --></a></li><!-- /TMPL_LOOP --></ul></td></tr>
96         <!-- /TMPL_IF -->
97 </table>
98 <br clear="right" />
99 </div>
100
101 <!-- TMPL_IF NAME="ITEM_RESULTS" -->
102 <table>
103 <!--HOLDINGS INFORMATION HEADER TABLE ROWS-->
104 <tr><!-- <th>&nbsp;</th> -->
105 <th>Type/Format</th>
106 <th>Call Number</th>
107 <th>Location</th>
108 <th>Status</th>
109 <th>Due Date</th>
110 <th>Last Seen</th>
111 <!-- <th>Barcode</th> --></tr>
112 <tbody>
113 <!--INFORMATION ROWS-->
114 <!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
115 <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>
116 <td><!-- TMPL_VAR NAME="classification" --></td>
117                                 <td>
118                                         <!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_VAR NAME="location" --> 
119                                         <!-- TMPL_IF name="itemcallnumber" -->
120                                                 (<!-- TMPL_VAR NAME="itemcallnumber" -->)
121                                         <!-- /TMPL_IF -->
122                                 </td>
123                                 <td>
124                                         <!-- TMPL_IF name="datedue" -->
125                                                 On loan
126                                         <!-- TMPL_ELSE -->
127                                                 <!-- TMPL_IF name="notforloantext" -->
128                                                         <!-- TMPL_VAR name="notforloantext" -->
129                                                 <!-- TMPL_ELSE -->
130                                                         Available
131                                                 <!-- /TMPL_IF -->
132                                         <!-- /TMPL_IF -->
133                                 </td>
134 <td><!-- TMPL_VAR NAME="datedue" --></td>
135 <td><!-- TMPL_VAR NAME="datelastseen" --></td>
136 <!-- <td><!-- TMPL_VAR NAME="barcode" --></td> --></tr>
137 <!-- /TMPL_LOOP -->
138 </tbody>
139 </table>
140 <!-- TMPL_ELSE -->
141 <table><tr><td>No copies available.</td></tr></table>
142 <!-- /TMPL_IF -->
143         <!-- TMPL_IF name="subscriptionsnumber" -->
144                 <p>This is a serial subscription (There are <!-- TMPL_VAR name="subscriptionsnumber" --> subscriptions associated with this title).</p> 
145                 <!-- TMPL_LOOP Name="subscriptions" -->
146                                 <!-- TMPL_IF NAME="subscriptionnotes" --><p><!--TMPL_VAR Name="subscriptionnotes"--> </p><!-- /TMPL_IF -->
147                                 <!--TMPL_IF Name="latestserials"-->
148                                 <p> The three latest issues related to this subscription:</p>
149                                 <table>
150                                 <!--TMPL_LOOP Name="latestserials"-->
151                                         <tr>
152                                                 <td>
153                                                         <!--TMPL_VAR Name="serialseq"-->
154                                                 </td>
155                                                 <td>
156                                                         <!--TMPL_VAR Name="planneddate"-->
157                                                 </td>
158                                                 <td>
159                                                         <!--TMPL_IF Name="status1"-->Waited
160                                                         <!--TMPL_ELSE -->
161                                                                 <!-- TMPL_IF Name="status2"-->Arrived
162                                                                 <!--TMPL_ELSE -->
163                                                                         <!-- TMPL_IF Name="status3"-->Late
164                                                                         <!--TMPL_ELSE -->
165                                                                                 <!-- TMPL_IF Name="status4"-->Missing
166                                                                                 <!--TMPL_ELSE -->
167                                                                                         <!-- TMPL_IF Name="status5"-->Not Issued
168                                                                                         <!--/TMPL_IF-->
169                                                                                 <!--/TMPL_IF-->
170                                                                         <!--/TMPL_IF-->
171                                                                 <!--/TMPL_IF-->
172                                                         <!--/TMPL_IF-->
173                                                 </td>
174                                         </tr>
175                                 <!--/TMPL_LOOP -->
176                                 </table>
177                                 <!-- /TMPL_IF -->
178                 <!-- /TMPL_LOOP -->
179                 <p> For more information: View a record of <a href="/cgi-bin/koha/opac-serial-issues.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" title="Serial issues">this subscription's issues</a></p>
180         <!-- /TMPL_IF -->
181 <!-- TMPL_IF NAME="AmazonContent" -->
182 <!-- Amazon Reviews -->
183 <div id="itemReviews">
184         <h2>Amazon Reader Reviews:</h2>
185         <h4>
186         <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
187         <!-- TMPL_IF NAME="isbn" -->
188                 <a href="http://www.amazon.com/gp/customer-reviews/write-a-review.html/002-2970817-7876066?%5Fencoding=UTF8&asin=<!-- TMPL_VAR NAME="isbn" -->&store=books">Add your own review</a></h4>
189         <!-- /TMPL_IF -->
190         <!-- /TMPL_LOOP --><br/>
191
192         <!-- TMPL_IF NAME="rating" -->
193                 <h4>Rating (from Amazon.com):</h4>
194                 <div id="starMT"><div id="starFull" style="width:<!-- TMPL_VAR NAME="rating" -->px"></div></div>
195
196                 <!-- TMPL_LOOP NAME="REVIEWS" -->
197                 <div class="content_set">
198                 <!-- TMPL_IF NAME="summary" -->
199                         <h4 class="underline">  <!-- TMPL_VAR NAME="summary" --></h4>
200                 <!-- /TMPL_IF -->
201                 <!-- TMPL_IF NAME="comment" -->
202                         <p><!-- TMPL_VAR NAME="comment" -->
203                 </p><!-- /TMPL_IF -->
204                 </div>
205         <!-- /TMPL_LOOP -->
206         <!-- TMPL_ELSE -->
207
208         <div class="content_set">
209         <p class="error"> Sorry, there are no reviews available for this title. </p>
210         </div>
211
212         <!-- /TMPL_IF -->
213 </div> <!-- itemReviews -->
214 <!-- /TMPL_IF-->
215
216 </div>
217 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->