+++ /dev/null
-
-<!-- This holds the record summary information -->
-<div class='details-grid'>
- <table id='rdetail_details_table'>
- <tbody id='rdetail_details_tbody'>
-
- <tr>
- <td id='rdetail_image_cell' rowspan='10' style='border-right: 1px solid #efefef; text-align: center;'>
- <a id='rdetail_img_link'>
- <img style='margin: 0 auto; border: none;' id='rdetail_image' onerror='hideMe($("rdetail.jacket_attrib_div"));hideMe($("rdetail_img_link"));'/>
- </a>
- <!-- vendor attribution link -->
- <div class='jacket_attrib hide_me' id='rdetail.jacket_attrib_div'>
- <div>&opac.image_provided;</div>
- <div><a target='_blank' href='&vendor.base_link;' class='classic_link' id='rdetail.jacket_attrib_link'>&vendor.name;</a></div>
- </div>
- </td>
- <td class='title'>&common.title;</td>
- <!-- *** Example of how to use the openils.BibTemplate infrastructure to augment the stock
- *** summary screen with more and/or different information. In this case, the raw MARC 245.
- *** Just swap the following two lines of HTML.
- *** See the default skin for more examples of this technique. -->
- <!-- <td type='opac/slot-data' query='datafield[tag=245]' class='rdetail_item' id='rdetail_title'> </td> -->
- <td id='rdetail_title'> </td>
- </tr>
- <tr>
- <td class='title'>&common.author;</td>
- <td><a title='&rdetail.author.search;' id='rdetail_author'></a></td>
- </tr>
- <tr>
- <td class='title'>&common.isbn;</td>
- <td id='rdetail_isbn'> </td>
- </tr>
- <tr>
- <td class='title'>&common.edition;</td>
- <td id='rdetail_edition'> </td>
- </tr>
- <tr>
- <td class='title'>&common.pubdate;</td>
- <td id='rdetail_pubdate'> </td>
- </tr>
- <tr>
- <td class='title'>&common.publisher;</td>
- <td id='rdetail_publisher'> </td>
- </tr>
- <tr>
- <td class='title'>&common.physical;</td>
- <td id='rdetail_physical_desc'> </td>
- </tr>
- <tr>
- <td class='title'>&common.format;</td>
- <td>
- <img id='rdetail_tor_pic' class='tor_pic' />
- <span id='rdetail_tor' style='padding-left: 5px;'> </span>
- </td>
- </tr>
- <tr>
- <td class='title'>&rdetail.detailMain.abstract;</td>
- <td id='rdetail_abstract'> </td>
- </tr>
-
- <tr class='hide_me' id='rdetail_online_row'>
- <!-- *** Example of how to use the openils.BibTemplate infrastructure to augment the stock
- *** summary screen with complex information, such as location-specific URIs (856$9). -->
- <td nowrap='nowrap' class='rdetail_desc'>&rdetail.summary.online;
- <span class='hide_me' type='opac/slot-data' query='datafield[tag=856] subfield[code=9]'>
- <script type='opac/slot-format'><![CDATA[
- // There exists at least one localized URI. Clear all links.
- dojo.query('*:not([type^=opac])', 'rdetail_online').orphan();
- return '';
- ]]></script>
- </span>
- </td>
- <td class='rdetail_item' id='rdetail_online' type='opac/slot-data' query='volumes > volume > uris > uri' join=", ">
- <script type='opac/slot-format'><![CDATA[
- var link = '<a href="' + item.getAttribute('href') + '">' + item.getAttribute('label') + '</a>';
- if (item.getAttribute('use_restriction'))
- link += ' (Use restriction: ' + item.getAttribute('use_restriction') + ')';
- return link;
- ]]></script>
- </td>
- </tr>
- </tbody>
- </table>
- <!-- Empty span used for creating unAPI links -->
- <abbr name="unapi" class="unapi-id">
- <!-- unAPI URI goes here -->
- </abbr>
-
- <script language='javascript' type='text/javascript'><![CDATA[
- config.ids.rdetail.details_body = 'rdetail_details_body';
- config.ids.rdetail.title = 'rdetail_title';
- config.ids.rdetail.author = 'rdetail_author';
- config.ids.rdetail.isbn = 'rdetail_isbn';
- config.ids.rdetail.edition = 'rdetail_edition';
- config.ids.rdetail.pubdate = 'rdetail_pubdate';
- config.ids.rdetail.publisher = 'rdetail_publisher';
- config.ids.rdetail.tor = 'rdetail_tor';
- config.ids.rdetail.abstr = 'rdetail_abstract';
- config.ids.rdetail.image = 'rdetail_image';
- config.ids.rdetail.tor_pic = 'rdetail_tor_pic';
-
- dojo.addOnLoad( function () {
- var here = findOrgUnit(getLocation());
- if (getDepth() > 0 || getDepth === 0 ) {
- while (getDepth() < findOrgDepth(here))
- here = findOrgUnit( here.parent_ou );
- }
-
- dojo.require('openils.BibTemplate');
- new openils.BibTemplate({ record : new CGI().param('r'), org_unit : here.shortname() }).render();
- });
-
- ]]></script>
-
-</div> <!-- details_body -->
-