1 <!-- Search results are spit into this table -->
3 <div id='result_table_div' xmlns:xi="http://www.w3.org/2001/XInclude">
7 <!-- for some reason, this is the only way i can force the cell widths -->
8 <thead id='result_thead'>
10 <td class='result_table_pic_header'></td>
15 <tbody id='result_table'>
18 <td class='result_table_row'>
19 <!--#include virtual="result_info.xml"-->
23 <!-- Template for displaying a search result. This row template is cloned and inserted
24 for each result returned -->
26 <tr id='result_table_template' class='hide_me'>
28 <!-- Jacket image goes here -->
30 <td class='result_table_row' align='left'>
31 <table class='result_table_subtable'>
32 <tbody class='result_table_subtbody'>
34 <tr style='height: 1em' name='counts_row' valign="top">
36 <td rowspan='4' class='result_table_pic_header'>
37 <a><img name='item_jacket' class='result_table_pic'/></a>
40 <td class='result_table_title_cell' name='result_table_title_cell'>
41 <!-- Title goes here -->
42 <a title="&result.table.keyword;" name='item_title' class='search_link'>
43 <!-- Title goes here -->
47 <!-- Empty span used for creating OpenLibrary links -->
48 <td rowspan='4' name="openLibraryLink" style="text-align: center; vertical-align: middle; width: 15em;" class="hide_me"></td>
49 <!-- Copy this td for each copy count appended -->
50 <td rowspan='4' nowrap='nowrap' name="copy_count_cell" class='copy_count_cell'>
55 <tr style='height: 1em' >
56 <td class='result_table_author_cell'>
57 <a title="&result.table.author;" name='item_author' class='search_link'>
58 <!-- Author goes here -->
61 <span name='result_table_extra_span' class='hide_me'>
62 <span name='result_table_pub_box' style='padding-left: 10px;'>
63 <span name='result_table_edition_span' style='padding-left: 10px;'></span> |
64 <span name='result_table_pub_span'> </span> |
65 <span name='result_table_phys_span'> </span>
72 <tr style='height:1em;' >
73 <td name='result_table_format_cell' class='result_table_format_cell'>
75 <a name='text_link' class='search_link'>
76 <img src='../../../../images/tor/text.jpg' class='dim tor_pic' />
79 <a name='sound recording-nonmusical_link' class='search_link'>
80 <img src='../../../../images/tor/sound recording-nonmusical.jpg' class='dim tor_pic' />
83 <a name='moving image_link' class='search_link'>
84 <img src='../../../../images/tor/moving image.jpg' class='dim tor_pic' />
87 <a name='software, multimedia_link' class='search_link'>
88 <img src='../../../../images/tor/software, multimedia.jpg' class='dim tor_pic' />
91 <a name='sound recording-musical_link' class='search_link'>
92 <img src='../../../../images/tor/sound recording-musical.jpg' class='dim tor_pic' />
95 <a name='cartographic_link' class='search_link'>
96 <img src='../../../../images/tor/cartographic.jpg' class='dim tor_pic' />
99 <a name='mixed material_link' class='search_link'>
100 <img src='../../../../images/tor/mixed material.jpg' class='dim tor_pic' />
103 <a name='notated music_link' class='search_link'>
104 <img src='../../../../images/tor/notated music.jpg' class='dim tor_pic' />
107 <a name='sound recording_link' class='search_link'>
108 <img src='../../../../images/tor/sound recording.jpg' class='dim tor_pic' />
111 <a name='still image_link' class='search_link'>
112 <img src='../../../../images/tor/still images.jpg' class='dim tor_pic' />
115 <a name='three dimensional object_link' class='search_link'>
116 <img src='../../../../images/tor/three dimensional object.jpg' class='dim tor_pic' />
119 <span class='hide_me'
120 style='color: #9999FF; padding-left: 10px; font-size: 7pt; font-weight: 300;'>
121 <span>&common.relevancy; </span><span name='relevancy_span'> </span>
124 <span class='hide_me' name='place_hold_span'>
125 <a style='padding-left: 8px;' href='javascript:void(0);'
126 class='classic_link' name='place_hold_link'>&opac.holds.placeHold;</a>
129 <!-- Empty span used for creating unAPI links -->
130 <abbr style='padding-left: 8px;' name="unapi" class="unapi-id">
131 <!-- unAPI URI goes here -->
134 <!-- Empty span used for creating Google Book Search-->
135 <span name="googleBooksLink" class="hide_me">
136 <a style='padding-left: 8px;' class='classic_link' name="googleBooks-link">&result.googleBooks.browse;</a>
141 <tr name="local_callnumber_list" class="result_table_title_cell">
143 <span type='opac/slot-data+holdings_xml-full' query='volumes'>
144 <span class='hide_me' debug='true' type='opac/slot-format'><![CDATA[
145 var output = dojo.create('span');
150 dojo.query('volume', item).forEach(function(vol) {
151 if (item_cnt >= max_items) {
152 return output.innerHTML;
154 if (vol.getAttribute('deleted') == 't') {
157 if (vol.getAttribute('opac_visible') == 'f') {
160 dojo.query('copy', vol).forEach(function (cp) {
161 if (item_cnt >= max_items) {
164 if (cp.getAttribute('deleted') == 't') {
167 if (cp.getAttribute('opac_visible') == 'f') {
171 /* Ensure the status is visible */
173 dojo.query('status', cp).forEach(function (status) {
174 visible_status = status.getAttribute('opac_visible');
176 if (visible_status == 'f') {
180 /* Ensure the circulation library is visible */
182 dojo.query('circlib', cp).forEach(function (status) {
183 lib_vis = status.getAttribute('opac_visible');
185 if (lib_vis != 't') {
189 var cp_entry = dojo.create('div');
191 var vol_appended = false;
192 dojo.query('location', cp).forEach(function (location) {
193 loc_visible = location.getAttribute('opac_visible');
194 if (loc_visible == 't') {
196 var cn = dojo.create('span', { style: "font-weight: bold;" }, cp_entry);
197 var cn_txt = dojo.doc.createTextNode(vol.getAttribute('label'));
198 cn.appendChild(cn_txt);
201 var loc = dojo.create('span', { "style": "font-weight: bold;"}, cp_entry);
202 var loc_txt = dojo.doc.createTextNode(' - ' + BT.textContent(location));
203 loc.appendChild(loc_txt);
206 if (loc_visible != 't') {
209 dojo.query('circ_lib', cp).forEach(function (circ_lib) {
210 var cp_lib = dojo.create('span', { "style": "font-weight: bold;" }, cp_entry, "first");
211 var cp_lib_txt = dojo.doc.createTextNode(circ_lib.getAttribute('name') + ' - ');
212 cp_lib.appendChild(cp_lib_txt);
214 dojo.query('status', cp).forEach(function (status) {
215 var cp_status = dojo.create('span', { "style": "font-weight: bold;" }, cp_entry);
216 var cp_status_txt = dojo.doc.createTextNode(' (' + BT.textContent(status) + ')');
217 cp_status.appendChild(cp_status_txt);
221 if (item_cnt >= max_items) {
222 dojo.create('br', null, cp_entry);
223 cp_entry.appendChild(dojo.doc.createTextNode(opac_strings.MORE_COPIES_FULL_RECORD));
225 output.appendChild(cp_entry);
229 return output.innerHTML;
234 <!-- Placeholder for ChiliFresh Review -->
235 <tr class="hide_me" name="chilifreshReview">
236 <td valign="top" colspan="2">
237 <span name="chilifreshReviewLink" class="chili_review"></span>
238 <div name="chilifreshReviewResult" style="display:none"></div>
249 <!-- ====================== -->
250 <table style='width: 100%; margin-top: 12px;' id='result_info_2' class='hide_me'>
253 <tr class='color_4' style='height: 1em;'>
255 <td style='vertical-align: top;' id='next_prev_links2'>
257 <span class='hide_me' id='result_info_div2' style='font-size: 9pt;'>
258 <span> &common.results; </span>
259 <b id='offset_start2'> </b>
261 <b id='offset_end2'> </b>
262 <span> &common.ofAtLeast; </span>
263 <b id='result_count2'> </b>
264 <span style='padding-left: 6px;'> (page </span>
265 <span id='current_page2'> </span>
266 <span> &common.of; </span>
267 <span id='num_pages2'> </span>
270 <span id='start_end_links_span2' class='hide_me'
271 style='padding-left: 40px;' >
272 <a class='search_page_nav_link' id='search_home_link2'
273 title="&rdetail.page.results;">&rdetail.start;</a><a class='search_page_nav_link'
274 id='prev_link2' title='&rdetail.page.previous;'>&rdetail.page.previous.short;</a>
276 <span class='search_page_nav_link' id='page_numbers2'> </span>
277 <a class='search_page_nav_link' id='next_link2'
278 title='&rdetail.page.next;'>&rdetail.page.next.short;</a>
280 <a class='search_page_nav_link'
281 id='end_link2' title="&rdetail.page.last;">&rdetail.end;</a>
288 style='padding-bottom: 4px; text-align:center; vertical-align: top; border-bottom: 1px solid #E0E0E0;'>
290 <span id='search_info_table2' style='font-size: 8pt;'>
291 <b>Available copies / Total copies </b>
298 <!-- ====================== -->
301 <script language='javascript' type='text/javascript'>
302 config.names.result.format_cell = 'result_table_format_cell';
303 config.names.result.format_link = 'resource_link'
304 config.names.result.format_pic = 'format_pic'
307 <!-- ChiliFresh setup -->
308 <script language='javascript' type='text/javascript'>
309 var chilifresh = '<!--#echo var="OILS_CHILIFRESH_ACCOUNT"-->';
310 if (chilifresh=='(none)') { chilifresh = false; }
312 <!--if expr="${OILS_CHILIFRESH_ACCOUNT} && ${OILS_CHILIFRESH_ACCOUNT}!='(none)'"-->
313 <input type="hidden" id="chilifresh_account" name="chilifresh_account"
314 value="<!--#echo var='OILS_CHILIFRESH_ACCOUNT'-->" />
315 <input type="hidden" id="chilifresh_profile" name="chilifresh_profile"
316 value="<!--#echo var='OILS_CHILIFRESH_PROFILE'-->" />
317 <input type="hidden" id="chilifresh_version" name="chilifresh_version" value="onsite_v1" />
318 <input type="hidden" id="chilifresh_type" name="chilifresh_type" value="search" />
319 <script language="javascript" type="text/javascript" src="<!--#echo var='OILS_CHILIFRESH_URL'-->"></script>