2 <abbr class="unapi-id" title='tag:<!--#echo var="HTTP_HOST"-->,<!--#echo var="OILS_TIME_YEAR"-->:biblio-record_entry/<!--#echo var="OILS_OPAC_RID"-->'></abbr>
3 <!-- This holds the record summary information -->
5 <table id='rdetail_details_table'>
6 <tbody id='rdetail_details_tbody'>
9 <td id='rdetail_image_cell' rowspan='10'>
10 <a id='rdetail_img_link'>
11 <img style='border: none;' id='rdetail_image'
13 hideMe($("rdetail.jacket_attrib_div"));
14 hideMe($("rdetail_img_link"));'/>
16 <!-- vendor attribution link -->
17 <div class='jacket_attrib hide_me' id='rdetail.jacket_attrib_div'>
18 <div>&opac.image_provided;</div>
19 <div><a target='_blank' href='&vendor.base_link;'
20 class='classic_link' id='rdetail.jacket_attrib_link'>&vendor.name;</a></div>
23 <td nowrap='nowrap' class='rdetail_desc'>&common.title;</td>
24 <!-- *** Example of how to use the openils.BibTemplate infrastructure to augment the stock
25 *** summary screen with more and/or different information. In this case, the raw MARC 245. -->
26 <!-- <td type='opac/slot-data' query='datafield[tag=245]' class='rdetail_item' id='rdetail_title'> </td> -->
27 <td class='rdetail_item' id='rdetail_title'> </td>
31 <td nowrap='nowrap' class='rdetail_desc'>&common.author;</td>
32 <td class='rdetail_item'>
33 <a title='&rdetail.author.search;' id='rdetail_author'> </a>
38 <td nowrap='nowrap' class='rdetail_desc'>&common.isbn;</td>
39 <td class='rdetail_item' id='rdetail_isbn'> </td>
43 <td nowrap='nowrap' class='rdetail_desc'>&common.edition;</td>
44 <td class='rdetail_item' id='rdetail_edition'> </td>
48 <td nowrap='nowrap' class='rdetail_desc'>&common.pubdate;</td>
49 <td class='rdetail_item' id='rdetail_pubdate'> </td>
53 <td nowrap='nowrap' class='rdetail_desc'>&common.publisher;</td>
54 <td class='rdetail_item' id='rdetail_publisher'> </td>
59 <td nowrap='nowrap' class='rdetail_desc'>&common.physical;</td>
60 <td class='rdetail_item' id='rdetail_physical_desc'> </td>
64 <td nowrap='nowrap' class='rdetail_desc'>&common.format;</td>
65 <td class='rdetail_item'>
66 <img id='rdetail_tor_pic' class='tor_pic' />
67 <span id='rdetail_tor' style='padding-left: 5px;'> </span>
72 <td nowrap='nowrap' class='rdetail_desc'>&rdetail.detailMain.abstract;</td>
73 <td class='rdetail_item' id='rdetail_abstract'> </td>
76 <!-- *** Example of how to use the openils.BibTemplate infrastructure to augment the stock
77 *** summary screen with complex information, such as new search links on subjects. -->
80 <td nowrap='nowrap' class='rdetail_desc'>Subjects</td>
81 <td type='opac/slot-data' query='datafield[tag=650]' class='rdetail_item'>
82 <script type='opac/slot-format'><![CDATA[
84 var other_params = [ 'd', 'l', 'r', 'av', 's', 'sd' ];
87 var list = dojo.query( 'subfield', item );
88 for (var i =0; i < list.length; i++) {
89 total += dojox.data.dom.textContent(list[i]) + ' ';
90 var current = '<a href="rresult.xml?rt=subject&t=' + total;
91 for (var p in other_params) {
92 if (cgi.param(other_params[p]))
93 current += '&' + other_params[p] + '=' + cgi.param(other_params[p]);
95 current += '">' + dojox.data.dom.textContent(list[i]) + '</a>'
98 return '<span>' + output.join(' -- ') + '</span><br/>';
104 <tr class='hide_me' id='rdetail_online_row'>
105 <td nowrap='nowrap' class='rdetail_desc'>&rdetail.summary.online;</td>
106 <td class='rdetail_item' id='rdetail_online'></td>
108 <!-- *** Example of how to use the openils.BibTemplate infrastructure to augment the stock
109 *** summary screen with complex information, such as location-specific URIs (856$9).
110 *** This replaces the <td> elements directly above. -->
112 <td nowrap='nowrap' class='rdetail_desc'>&rdetail.summary.online;
113 <span class='hide_me' type='opac/slot-data' query='datafield[tag=856] subfield[code=9]'>
114 <script type='opac/slot-format'><![CDATA[
115 // There exists at least one localized URI. Clear all links.
116 dojo.query('*:not([type^=opac])', 'rdetail_online').orphan();
121 <td class='rdetail_item' id='rdetail_online' type='opac/slot-data' query='volumes > volume > uris > uri' join=", ">
122 <script type='opac/slot-format'><![CDATA[
123 var link = '<a href="' + item.getAttribute('href') + '">' + item.getAttribute('label') + '</a>';
124 if (item.getAttribute('use_restriction')) link += ' (Use restriction: ' + item.getAttribute('use_restriction') + ')';
135 <!-- Empty span used for creating unAPI links -->
136 <abbr name="unapi" class="unapi-id">
137 <!-- unAPI URI goes here -->
140 <script language='javascript' type='text/javascript'><![CDATA[
142 config.ids.rdetail.details_body = 'rdetail_details_body';
143 config.ids.rdetail.title = 'rdetail_title';
144 config.ids.rdetail.author = 'rdetail_author';
145 config.ids.rdetail.isbn = 'rdetail_isbn';
146 config.ids.rdetail.edition = 'rdetail_edition';
147 config.ids.rdetail.pubdate = 'rdetail_pubdate';
148 config.ids.rdetail.publisher = 'rdetail_publisher';
149 config.ids.rdetail.tor = 'rdetail_tor';
150 config.ids.rdetail.abstr = 'rdetail_abstract';
151 config.ids.rdetail.image = 'rdetail_image';
152 config.ids.rdetail.tor_pic = 'rdetail_tor_pic';
154 dojo.addOnLoad( function () {
155 var here = findOrgUnit(getLocation());
156 if (getDepth() > 0 || getDepth === 0 ) {
157 while (getDepth() < findOrgDepth(here))
158 here = findOrgUnit( here.parent_ou() );
161 dojo.require('openils.BibTemplate');
162 new openils.BibTemplate({ record : new CGI().param('r'), org_unit : here.shortname() }).render();
166 </div> <!-- details_body -->