2 <![CDATA[<!-- ****************** rdetail_summary.xml ***************************** -->]]>
\r
3 <abbr class="unapi-id" title='tag:<!--#echo var="HTTP_HOST"-->,<!--#echo var="OILS_TIME_YEAR"-->:biblio-record_entry/<!--#echo var="OILS_OPAC_RID"-->'></abbr>
\r
4 <!-- This holds the record summary information -->
\r
6 <table width="100%" border="0" cellpadding="0" cellspacing="0" id="rdetail_details_table">
\r
7 <tbody id="rdetail_details_tbody"><tr>
\r
8 <td width="90" valign="top" id="rdetail_image_cell">
\r
9 <span type='opac/slot-data' query='datafield[tag=020] subfield[code=a],datafield[tag=024] subfield[code=a]' templated='true'>
\r
10 <span class='hide_me' type='opac/template-value' name='ident'>
\r
12 for (var i = 0; item_list[i]; i++) if (content = BT.textContent(item_list[i])) break; /* assignment */
\r
14 "small": buildISBNSrc(plausible_ident(content)),
\r
15 "large": buildISBNSrc(plausible_ident(content), "large")
\r
18 <a id='rdetail_img_link' href='${ident.large}'><img alt="Image of item" style='border: none;' id='rdetail_image' src='${ident.small}' onload='unHideMe($("rdetail_img_link"))' onerror='hideMe($("rdetail.jacket_attrib_div"));hideMe($("rdetail_img_link"));'/></a><br />
\r
20 <div class='jacket_attrib hide_me' id='rdetail.jacket_attrib_div'>
\r
21 <div>&opac.image_provided;</div>
\r
22 <div><a target='_blank' href='&vendor.base_link;' class='classic_link' id='rdetail.jacket_attrib_link'>&vendor.name;</a></div>
\r
27 <table border="0" cellpadding="0" cellspacing="0" width="100%">
\r
28 <tr><td valign="top">
\r
29 <span class="rdetail_item" id='rdetail_title'></span><br />
\r
30 <span style="color:#545454;">&common.author;: </span> <em><a title='&rdetail.author.search;' id='rdetail_author'></a></em>
\r
32 <td align="right" valign="top" nowrap="nowrap" style="white-space:nowrap;">
\r
33 <div style="width:230px;text-align:left;margin-top:3px;"><div style="float:right;">
\r
34 <div style="border-bottom:1px dotted #ccc;padding-top:10px;" class="rdetail_aux_utils"><a href="javascript:;" id="rdetail_place_hold"><img src="/opac/skin/kcls/graphics/green_check.png" alt="place hold" /> <span style="position:relative;top:-3px;left:3px;">Place Hold</span></a></div>
\r
35 <div style="padding-top:6px;" class="rdetail_aux_utils"><div style="position:absolute;"><div style="position:relative;top:5px; left: 25px;"><a title="Add to my list" id="add_mylist" href="javascript:addMyList();">Add to my list</a></div></div><a href="javascript:addMyList();"><img alt="add to my list" src="/opac/skin/kcls/graphics/clipboard.png" /></a></div>
\r
37 <div style="float:right;margin-right:17px;"><img id="rdetail_tor_pic" alt="Format" class="hide_me" src="" /></div></div>
\r
40 <div style="border-top: 1px dotted #ccc;padding-top:17px;">
\r
41 <table border="0" cellpadding="0" width="100%">
\r
43 <td nowrap='nowrap' valign="top"><strong id="rdetail_isbn_lbl" class="">&common.isbn;</strong></td>
\r
44 <td valign="top" id='rdetail_isbn'></td>
\r
45 <td nowrap='nowrap' valign="top"><strong id="rdetail_phys_lbl" class="">&common.physical;</strong></td>
\r
46 <td valign="top" id='rdetail_physical_desc'></td>
\r
48 <td nowrap='nowrap' valign="top"><strong id="rdetail_ed_lbl" class="">&common.edition;</strong></td>
\r
49 <td valign="top" id='rdetail_edition'></td>
\r
50 <td nowrap='nowrap' valign="top"><strong id="rdetail_form_lbl" class="">&common.format;</strong></td>
\r
51 <td valign="top"><img alt="Format" id='' class='tor_pic hide_me' /> <span id='rdetail_tor'></span></td>
\r
53 <td nowrap='nowrap' valign="top"><strong id="rdetail_pubdate_lbl" class="">&common.pubdate;</strong></td>
\r
54 <td valign="top" id='rdetail_pubdate'></td>
\r
55 <td nowrap='nowrap' valign="top"><strong id="rdetail_sum_lbl" class="">Summary</strong></td>
\r
56 <td valign="top" id='rdetail_abstract'></td>
\r
58 <td nowrap='nowrap' valign="top"><strong id="rdetail_pub_lbl" class="">&common.publisher;</strong></td>
\r
59 <td valign="top" id='rdetail_publisher'></td>
\r
60 <td nowrap='nowrap' valign="top"><strong id="rdetail_sub_lbl" class="">&rdetail.summary.subjects;</strong></td>
\r
62 <span type='opac/slot-data' query='datafield[tag="650"]' class='rdetail_item'>
\r
63 <script type='opac/slot-format'><![CDATA[
\r
64 var cgi = new CGI();
\r
65 var other_params = [ 'd', 'l', 'r', 'av', 's', 'sd' ];
\r
68 var list = dojo.query( 'subfield', item );
\r
69 if(list.length) unHideMe($('rdetail_sub_lbl'));
\r
70 for (var i =0; i < list.length; i++) {
\r
71 total += BT.textContent(list[i]) + ' ';
\r
72 var current = '<a href="rresult.xml?rt=subject&tp=subject&t=' + total;
\r
73 for (var p in other_params) {
\r
74 if (cgi.param(other_params[p]))
\r
75 current += '&' + other_params[p] + '=' + cgi.param(other_params[p]);
\r
77 current += '">' + BT.textContent(list[i]) + '</a>'
\r
78 output.push(current);
\r
80 return '<span>' + output.join(' -- ') + '</span><br/>';
\r
96 <table cellpadding="0" cellspacing="0" border="0" width="100%" id="rdetails_status">
\r
97 <tr id="rdetails_status_head">
\r
98 <td width="25%">Location</td>
\r
99 <td width="20%">Call Number</td>
\r
100 <td width="18%">Selving Location</td>
\r
101 <td width="17%">Status</td>
\r
102 <td width="20%">Due Date</td>
\r
104 <tr><td><div style="height:10px;"></div></td></tr>
\r
106 <table cellpadding="0" cellspacing="0" border="0" width="100%">
\r
107 <tbody id="rdetails_status2" class="hide_me">
\r
108 <tr id="rdetails_status_head2">
\r
109 <td width="25%"></td>
\r
110 <td width="20%"></td>
\r
111 <td width="18%"></td>
\r
112 <td width="17%"></td>
\r
113 <td width="20%"></td>
\r
118 <div style="padding-bottom:3px;margin-top:15px;"><a href="javascript:;" onclick="unHideMe($('lib_info_less'));unHideMe($('rdetails_status2'));hideMe($('lib_info_more'));"><img src="/opac/skin/kcls/graphics/plus_sign.png" /></a> <a style="position:relative;top:-3px;" href="javascript:;" onclick="unHideMe($('lib_info_less'));unHideMe($('rdetails_status2'));hideMe($('lib_info_more'));">Show more locations</a></div>
\r
119 <div id="rdetail_extras_expand"><a href="javascript:rdetailShowAllExtras(true);hideMe($('rdetail_extras_expand'));unHideMe($('rdetail_extras_collapse'));"><img src="/opac/skin/kcls/graphics/plus_sign.png" /></a> <a style="position:relative;top:-3px;" href="javascript:rdetailShowAllExtras(true);hideMe($('rdetail_extras_expand'));unHideMe($('rdetail_extras_collapse'));">Expand all tabs</a></div>
\r
120 <div id="rdetail_extras_collapse" class="hide_me"><a href="javascript:rdetailShowAllExtras();hideMe($('rdetail_extras_collapse'));unHideMe($('rdetail_extras_expand'));"><img src="/opac/skin/kcls/graphics/plus_sign.png" /></a> <a style="position:relative;top:-3px;" href="javascript:rdetailShowAllExtras();hideMe($('rdetail_extras_collapse'));unHideMe($('rdetail_extras_expand'));">Collapse all tabs</a></div>
\r
124 <div class="hide_me">
\r
125 <table id='' border="0" width="100%">
\r
126 <tbody id='rdetail_details_tbody'>
\r
129 <td id='' rowspan='2' valign="top" align="center" style="padding-right:10px;">
\r
132 <td class='rdetail_desc' valign="top" colspan="3">
\r
133 <table border="0" width="100%"><tr><td valign="top">
\r
134 <div style="padding-bottom:7px;"><strong>&common.title;:</strong> </div>
\r
136 </td><td width="1" valign="top" align="right" style="white-space:nowrap;">
\r
137 <a href="javascript:;" id=''><img alt="Place Hold" src="/opac/skin/kcls/graphics/place_hold.gif" /></a>
\r
138 <a href="javascript:;" id="rd_reviews_and_more" target="_blank"><img alt="Reviews and More" src="/opac/skin/kcls/graphics/reviews.gif" /></a>
\r
139 <a href="javascript:addMyList();" id=""><img alt="Add to My List" src="/opac/skin/kcls/graphics/add_mylist.gif" /></a>
\r
142 <!-- *** Example of how to use the openils.BibTemplate infrastructure to augment the stock
\r
143 *** summary screen with more and/or different information. In this case, the raw MARC 245. -->
\r
147 <td nowrap='nowrap' colspan="3" valign="bottom" style="padding-bottom:16px;">
\r
148 <div id='rdetail_chilifresh_reviews' class='hide_me'>
\r
149 <div id='chilifreshReviewLink' name='chilifreshReviewLink' class='chili_review'></div>
\r
150 <div id='chilifreshReviewResult' name='chilifreshReviewResult' style='display:none'></div>
\r
154 <tr><td><div style="height:20px;"></div></td></tr>
\r
158 <tr class='hide_me' id='rdetail_online_row'>
\r
159 <!-- *** Example of how to use the openils.BibTemplate infrastructure to augment the stock
\r
160 *** summary screen with complex information, such as location-specific URIs (856$9). -->
\r
161 <td nowrap='nowrap' class='rdetail_desc'>&rdetail.summary.online;
\r
162 <span class='hide_me' type='opac/slot-data' query='datafield[tag=856] subfield[code=9]'>
\r
163 <script type='opac/slot-format'><![CDATA[
\r
164 // There exists at least one localized URI. Clear all links.
\r
165 dojo.query('*:not([type^=opac])', 'rdetail_online').orphan();
\r
170 <td class='rdetail_item' id='rdetail_online' type='opac/slot-data' query='volumes volume uris uri' join=", ">
\r
171 <script type='opac/slot-format'><![CDATA[
\r
172 var link = '<a href="' + item.getAttribute('href') + '">' + item.getAttribute('label') + '</a>';
\r
173 if (item.getAttribute('use_restriction'))
\r
174 link += ' (Use restriction: ' + item.getAttribute('use_restriction') + ')';
\r
182 <!-- Empty span used for creating unAPI links -->
\r
183 <abbr name="unapi" class="unapi-id">
\r
184 <!-- unAPI URI goes here -->
\r
187 <script language='javascript' type='text/javascript'><![CDATA[
\r
189 config.ids.rdetail.details_body = 'rdetail_details_body';
\r
190 config.ids.rdetail.title = 'rdetail_title';
\r
191 config.ids.rdetail.author = 'rdetail_author';
\r
192 config.ids.rdetail.isbn = 'rdetail_isbn';
\r
193 config.ids.rdetail.edition = 'rdetail_edition';
\r
194 config.ids.rdetail.pubdate = 'rdetail_pubdate';
\r
195 config.ids.rdetail.publisher = 'rdetail_publisher';
\r
196 config.ids.rdetail.tor = 'rdetail_tor';
\r
197 config.ids.rdetail.abstr = 'rdetail_abstract';
\r
198 config.ids.rdetail.image = 'rdetail_image';
\r
199 config.ids.rdetail.tor_pic = 'rdetail_tor_pic';
\r
201 dojo.addOnLoad(function() {
\r
202 setTimeout( function () {
\r
203 var here = findOrgUnit(getLocation());
\r
204 if (getDepth() > 0 || getDepth === 0 ) {
\r
205 while (getDepth() < findOrgDepth(here))
\r
206 here = findOrgUnit( here.parent_ou() );
\r
209 dojo.require('openils.BibTemplate');
\r
210 new openils.BibTemplate({ record : new CGI().param('r'), org_unit : here.shortname() }).render();
\r
215 </div> <!-- details_body -->
\r
217 <!-- ChiliFresh setup -->
\r
218 <script language='javascript' type='text/javascript'>
\r
219 var chilifresh = '<!--#echo var="OILS_CHILIFRESH_ACCOUNT"-->';
\r
220 if (chilifresh == '(none)') { chilifresh = false; }
\r
222 <!--if expr="${OILS_CHILIFRESH_ACCOUNT} && ${OILS_CHILIFRESH_ACCOUNT}!='(none)'"-->
\r
223 <input type="hidden" id="chilifresh_account" name="chilifresh_account"
\r
224 value="<!--#echo var='OILS_CHILIFRESH_ACCOUNT'-->" />
\r
225 <input type="hidden" id="chilifresh_profile" name="chilifresh_profile"
\r
226 value="<!--#echo var='OILS_CHILIFRESH_PROFILE'-->" />
\r
227 <input type="hidden" id="chilifresh_version" name="chilifresh_version" value="onsite_v1" />
\r
228 <input type="hidden" id="chilifresh_type" name="chilifresh_type" value="search" />
\r
230 <script type="text/javascript">
\r
231 var sslSwitch = (("https:" == document.location.protocol) ? "https://secure." : "http://");
\r
232 document.write(unescape("%3Cscript src='" + sslSwitch + "chilifresh.com/on-site/js/evergreen.js' type='text/javascript'%3E%3C/script%3E"));
\r
236 <![CDATA[<!-- ****************** end: rdetail_summary.xml ***************************** -->]]>
\r