+++ /dev/null
-\r
-<![CDATA[<!-- ****************** rdetail_summary.xml ***************************** -->]]>\r
-<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
-<!-- This holds the record summary information -->\r
-<div>\r
- <table id='rdetail_details_table' border="0" width="100%">\r
- <tbody id='rdetail_details_tbody'>\r
-\r
- <tr>\r
- <td id='rdetail_image_cell' rowspan='2' valign="top" align="center" style="padding-right:10px;">\r
- <span type='opac/slot-data' query='datafield[tag=020] subfield[code=a],datafield[tag=024] subfield[code=a]' templated='true'>\r
- <span class='hide_me' type='opac/template-value' name='ident'>\r
- var content;\r
- for (var i = 0; item_list[i]; i++) {\r
- if (content = BT.textContent(item_list[i])) break; /* assignment */\r
- }\r
- return {\r
- "small": buildISBNSrc(plausible_ident(content)),\r
- "large": buildISBNSrc(plausible_ident(content), "large")\r
- };\r
- </span>\r
- <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
- </span>\r
-\r
- <!-- vendor attribution link -->\r
- <div class='jacket_attrib hide_me' id='rdetail.jacket_attrib_div'>\r
- <div>&opac.image_provided;</div>\r
- <div><a target='_blank' href='&vendor.base_link;' \r
- class='classic_link' id='rdetail.jacket_attrib_link'>&vendor.name;</a></div>\r
- </div>\r
- </td>\r
- <td class='rdetail_desc' valign="top" colspan="3">\r
- <table border="0" width="100%"><tr><td valign="top">\r
- <div style="padding-bottom:7px;"><strong>&common.title;:</strong> <span class="rdetail_item" id='rdetail_title'></span></div>\r
- <strong>&common.author;:</strong> <a title='&rdetail.author.search;' id='rdetail_author'> </a>\r
- </td><td width="1" valign="top" align="right" style="white-space:nowrap;">\r
- <a href="javascript:;" id='rdetail_place_hold'><img alt="Place Hold" src="/opac/skin/kcls/graphics/place_hold.gif" /></a>\r
- <a href="javascript:;" id="rd_reviews_and_more" target="_blank"><img alt="Reviews and More" src="/opac/skin/kcls/graphics/reviews.gif" /></a>\r
- <a href="javascript:addMyList();" id="add_mylist"><img alt="Add to My List" src="/opac/skin/kcls/graphics/add_mylist.gif" /></a>\r
- </td></tr></table>\r
- </td> \r
- <!-- *** Example of how to use the openils.BibTemplate infrastructure to augment the stock\r
- *** summary screen with more and/or different information. In this case, the raw MARC 245. -->\r
- </tr>\r
-\r
- <tr>\r
- <td nowrap='nowrap' colspan="3" valign="bottom" style="padding-bottom:16px;">\r
- <div id='rdetail_chilifresh_reviews' class='hide_me'>\r
- <div id='chilifreshReviewLink' name='chilifreshReviewLink' class='chili_review'></div>\r
- <div id='chilifreshReviewResult' name='chilifreshReviewResult' style='display:none'></div>\r
- </div>\r
- </td>\r
- </tr>\r
- <tr><td><div style="height:20px;"></div></td></tr>\r
- <tr>\r
- <td nowrap='nowrap' valign="top"><strong id="rdetail_isbn_lbl" class="hide_me">&common.isbn;</strong></td>\r
- <td valign="top" id='rdetail_isbn'></td>\r
- <td nowrap='nowrap' valign="top"><strong id="rdetail_phys_lbl" class="hide_me">&common.physical;</strong></td>\r
- <td valign="top" id='rdetail_physical_desc'></td>\r
- </tr><tr>\r
- <td nowrap='nowrap' valign="top"><strong id="rdetail_ed_lbl" class="hide_me">&common.edition;</strong></td>\r
- <td valign="top" id='rdetail_edition'></td>\r
- <td nowrap='nowrap' valign="top"><strong id="rdetail_form_lbl" class="hide_me">&common.format;</strong></td>\r
- <td valign="top"><img alt="Format" id='rdetail_tor_pic' class='tor_pic hide_me' /> <span id='rdetail_tor'></span></td>\r
- </tr><tr>\r
- <td nowrap='nowrap' valign="top"><strong id="rdetail_pubdate_lbl" class="hide_me">&common.pubdate;</strong></td>\r
- <td valign="top" id='rdetail_pubdate'></td>\r
- <td nowrap='nowrap' valign="top"><strong id="rdetail_sum_lbl" class="hide_me">Summary</strong></td>\r
- <td valign="top" id='rdetail_abstract'></td>\r
- </tr><tr>\r
- <td nowrap='nowrap' valign="top"><strong id="rdetail_pub_lbl" class="hide_me">&common.publisher;</strong></td>\r
- <td valign="top" id='rdetail_publisher'></td>\r
- <td nowrap='nowrap' valign="top"><strong id="rdetail_sub_lbl" class="hide_me">&rdetail.summary.subjects;</strong></td>\r
- <td valign="top">\r
- <span type='opac/slot-data' query='datafield[tag="650"]' class='rdetail_item'>\r
- <script type='opac/slot-format'><![CDATA[\r
- var cgi = new CGI();\r
- var other_params = [ 'd', 'l', 'r', 'av', 's', 'sd' ];\r
- var total = '';\r
- var output = [];\r
- var list = dojo.query( 'subfield', item );\r
- if(list.length) unHideMe($('rdetail_sub_lbl'));\r
- for (var i =0; i < list.length; i++) {\r
- total += BT.textContent(list[i]) + ' ';\r
- var current = '<a href="rresult.xml?rt=subject&tp=subject&t=' + total;\r
- for (var p in other_params) {\r
- if (cgi.param(other_params[p]))\r
- current += '&' + other_params[p] + '=' + cgi.param(other_params[p]);\r
- }\r
- current += '">' + BT.textContent(list[i]) + '</a>'\r
- output.push(current);\r
- }\r
- return '<span>' + output.join(' -- ') + '</span><br/>';\r
- ]]></script>\r
- </span>\r
- </td>\r
- </tr>\r
-\r
-\r
-\r
- <tr class='hide_me' id='rdetail_online_row'>\r
- <!-- *** Example of how to use the openils.BibTemplate infrastructure to augment the stock\r
- *** summary screen with complex information, such as location-specific URIs (856$9). -->\r
- <td nowrap='nowrap' class='rdetail_desc'>&rdetail.summary.online;\r
- <span class='hide_me' type='opac/slot-data' query='datafield[tag=856] subfield[code=9]'>\r
- <script type='opac/slot-format'><![CDATA[\r
- // There exists at least one localized URI. Clear all links.\r
- dojo.query('*:not([type^=opac])', 'rdetail_online').orphan();\r
- return '';\r
- ]]></script>\r
- </span>\r
- </td>\r
- <td class='rdetail_item' id='rdetail_online' type='opac/slot-data' query='volumes volume uris uri' join=", ">\r
- <script type='opac/slot-format'><![CDATA[\r
- var link = '<a href="' + item.getAttribute('href') + '">' + item.getAttribute('label') + '</a>';\r
- if (item.getAttribute('use_restriction'))\r
- link += ' (Use restriction: ' + item.getAttribute('use_restriction') + ')';\r
- return link;\r
- ]]></script>\r
- </td>\r
- </tr>\r
- </tbody>\r
- </table>\r
-\r
- <!-- Empty span used for creating unAPI links -->\r
- <abbr name="unapi" class="unapi-id">\r
- <!-- unAPI URI goes here -->\r
- </abbr>\r
-\r
- <script language='javascript' type='text/javascript'><![CDATA[\r
-\r
- config.ids.rdetail.details_body = 'rdetail_details_body'; \r
- config.ids.rdetail.title = 'rdetail_title';\r
- config.ids.rdetail.author = 'rdetail_author';\r
- config.ids.rdetail.isbn = 'rdetail_isbn';\r
- config.ids.rdetail.edition = 'rdetail_edition';\r
- config.ids.rdetail.pubdate = 'rdetail_pubdate';\r
- config.ids.rdetail.publisher = 'rdetail_publisher';\r
- config.ids.rdetail.tor = 'rdetail_tor';\r
- config.ids.rdetail.abstr = 'rdetail_abstract';\r
- config.ids.rdetail.image = 'rdetail_image';\r
- config.ids.rdetail.tor_pic = 'rdetail_tor_pic';\r
-\r
- dojo.addOnLoad(function() {\r
- setTimeout( function () {\r
- var here = findOrgUnit(getLocation());\r
- if (getDepth() > 0 || getDepth === 0 ) {\r
- while (getDepth() < findOrgDepth(here))\r
- here = findOrgUnit( here.parent_ou() );\r
- }\r
-\r
- dojo.require('openils.BibTemplate');\r
- new openils.BibTemplate({ record : new CGI().param('r'), org_unit : here.shortname() }).render();\r
- },0);\r
- });\r
- ]]></script>\r
-\r
-</div> <!-- details_body -->\r
-\r
- <!-- ChiliFresh setup -->\r
- <script language='javascript' type='text/javascript'>\r
- var chilifresh = '<!--#echo var="OILS_CHILIFRESH_ACCOUNT"-->';\r
- if (chilifresh == '(none)') { chilifresh = false; }\r
- </script>\r
- <!--if expr="${OILS_CHILIFRESH_ACCOUNT} && ${OILS_CHILIFRESH_ACCOUNT}!='(none)'"-->\r
- <input type="hidden" id="chilifresh_account" name="chilifresh_account"\r
- value="<!--#echo var='OILS_CHILIFRESH_ACCOUNT'-->" />\r
- <input type="hidden" id="chilifresh_profile" name="chilifresh_profile"\r
- value="<!--#echo var='OILS_CHILIFRESH_PROFILE'-->" />\r
- <input type="hidden" id="chilifresh_version" name="chilifresh_version" value="onsite_v1" />\r
- <input type="hidden" id="chilifresh_type" name="chilifresh_type" value="search" />\r
-<![CDATA[\r
-<script type="text/javascript">\r
-var sslSwitch = (("https:" == document.location.protocol) ? "https://secure." : "http://");\r
-document.write(unescape("%3Cscript src='" + sslSwitch + "chilifresh.com/on-site/js/evergreen.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-]]>\r
- <!--endif-->\r
-<![CDATA[<!-- ****************** end: rdetail_summary.xml ***************************** -->]]>\r