1 [% PROCESS "default/opac/parts/marc_misc.tt2";
4 np_link = '?query=' _ q;
6 np_link = np_link _ "&loc=" _ loc;
8 IF depth or depth == 0;
9 np_link = np_link _ "&depth=" _ depth;
11 ctx.result_start = 1 + ctx.page_size * page;
12 ctx.result_stop = 1 + ctx.page_size * (page + 1);
13 IF ctx.result_stop > ctx.hit_count; ctx.result_stop = ctx.hit_count; END;
15 result_count = ctx.result_start;
17 <div style="height: 10px;"></div>
18 [% BLOCK results_count_header %]
19 <div class="results_header_nav1">
20 <table cellpadding="0" cellspacing="0" border="0" width="100%">
22 <td class="h1" width="116">Search Results</td>
23 <td valign="bottom" nowrap="nowrap" class="result_number">
25 <strong>[% ctx.result_start %]</strong>
27 <strong>[% ctx.result_stop %] </strong>
29 <strong>[% ctx.hit_count %]</strong>
30 <span style='padding-left: 6px;'>
32 <strong>[% page + 1 %]</strong>
34 <strong>[% page_count %]</strong>)
37 <td align="right" valign="bottom">
38 <span class='start_end_links_span'>
40 <a class='search_page_nav_link'
41 href="[% np_link _ '&page=' _ (page - 1) %]"
42 title='[% l("Previous page") %]'>
43 <span class="nav_arrow_fix">◄</span> Previous
47 style='padding-left: 11px; padding-right:11px;'>
50 [% IF (page + 1) < page_count %]
51 <a class='search_page_nav_link'
52 href="[% np_link _ '&page=' _ (page + 1) %]"
53 title='[% l("Next page") %]'>
54 Next <span class="nav_arrow_fix">►</span>
63 [% ctx.results_count_header = PROCESS results_count_header;
64 ctx.results_count_header %]
65 <div id="result_table_div">
66 <table cellpadding="0" cellspacing="0" border="0" width="100%">
68 <td valign="top" width="1" style="padding-right:20px;">
69 <div style="width:174px;" class="hide_me" id="tehSideBar">SIDEBAR TODO
72 <td class='opac-auto-015' width="1"></td>
74 <table id="res_table" cellpadding="0" cellspacing="0"
75 border="0" width="100%" style="margin-top:10px;">
76 <tbody id="result_table">
77 [% FOR rec IN ctx.records;
78 attrs = {marc_xml => rec.marc_xml};
79 PROCESS get_marc_attrs args=attrs %]
81 <td class='result_table_row' align='left' width='100%'>
82 <table cellpadding="0" cellspacing="0" class='result_table_subtable'>
83 <tbody class='result_table_subtbody'>
84 <tr name='counts_row'>
85 <td width="58" valign="top"
86 style="font-weight:bold;padding-left:10px;"
87 name="results_row_count">[%
88 result_count; result_count = result_count + 1
90 <td class='result_table_pic_header'
91 width="78" nowrap="nowrap" valign="top">
92 [% ident = attrs.isbn_clean || attrs.upc; IF ident; %]
93 <a href="[% ctx.opac_root %]/record/[% rec.bre.id %]"><img alt="Image of item"
94 name='item_jacket' class='result_table_pic' width="55"
95 src='[% ctx.media_prefix %]/opac/extras/ac/jacket/small/[% ident %]' /></a><br />
98 <td class='result_table_title_cell'
99 name='result_table_title_cell'
102 <a title="[% attrs.title %]" name='item_title'
103 href="[% ctx.opac_root %]/record/[% rec.bre.id %]"
104 class='search_link'>[% attrs.title %]</a>
106 <span style="font-size:11px;">
109 <a title="[% l("Perform an Author Search") %]"
111 href="[% ctx.opac_root %]/results?query=author%3a[% attrs.author | replace('[,\.:;]', '') | uri %]&loc=[% loc %]"
112 class='search_link'>[% attrs.author %]</a>
116 <table cellpadding="0" cellspacing="0" border="0"
117 class="results_info_table">
118 <tr name='bib_cn_list' class='result_table_title_cell'>
120 <strong>Call number:</strong>
124 <tr name="results_pub_tr" class="[% attrs.publisher ? '' : 'hide_me' %]">
126 <strong>Publisher:</strong>
128 <td>[% attrs.publisher; %]</td>
130 <tr name="results_isbn_tr" class="[% attrs.isbn ? '' : 'hide_me' %]">
132 <strong>ISBN:</strong>
134 <td>[% attrs.isbn %]</td>
136 <tr name="results_edition_tr" class="[% attrs.edition ? '' : 'hide_me' %]">
138 <strong>Edition:</strong>
140 <td>[% attrs.edition %]</td>
142 <tr name="results_phys_desc_tr" class="[% attrs.phys_desc ? '' : 'hide_me' %]">
143 <td nowrap="nowrap" valign="top">
144 <strong>Phys. Desc.:</strong>
152 <span name="copy_holds"></span>
153 <span name="copy_holds2"></span><br />
154 <span name="copy_count_avail"></span>
155 <!-- of <span name="copy_count"></span> on
156 <span name="copy_count_total"></span> copies
160 <div class="hide_me">
161 <span name='result_table_extra_span' class='hide_me'>
162 <span name='result_table_pub_box'
163 style='padding-left: 10px;'>
164 <span name='result_table_edition_span'
165 style='padding-left: 10px;'></span> |
166 <span name='result_table_pub_span'> </span> |
167 <span name='result_table_phys_span'> </span>
172 <!-- Copy this td for each copy count appended -->
173 <td nowrap='nowrap' name="copy_count_cell"
174 class='copy_count_cell hide_me' width="1"> </td>
175 <td name='result_table_format_cell'
176 class='result_table_format_cell' align="center" width="1"
177 style="padding:0px 10px;">
178 <img alt="Format" src="" class="hide_me" name="" />
179 <span class='hide_me opac-auto-031'>
180 <span>[% l("Match Score: ") %] </span>
181 <span name='relevancy_span'> </span>
183 <!-- Empty span used for creating unAPI links -->
184 <span class="hide_me">
185 <abbr style='padding-left: 8px;' name="unapi" class="unapi-id">
186 <!-- unAPI URI goes here -->
189 <!-- Empty span used for creating Google Book Search-->
190 <span name="googleBooksLink" class="hide_me">
191 <a style='padding-left: 8px;'
192 class='classic_link hide_me'
193 name="googleBooks-link">[% l("Browse in Google Books Search") %]</a>
196 <td nowrap='nowrap' width="1" align="right">
197 <div style="width:250px;text-align:left;">
198 <div style="float:right;">
199 <div class="results_aux_utils opac-auto-010"><a
200 href="[% ctx.opac_root %]/place_hold?hold_target=[% rec.bre.id %]&hold_type=T" name="place_hold_link"><img
201 src="[% ctx.media_prefix %]/images/green_check.png"
202 alt="place hold" /><span
203 style="position:relative;top:-3px;left:3px;">Place Hold</span></a>
205 <div class="results_aux_utils opac-auto-011">
206 <div style="position:absolute;">
207 <div style="position:relative;top:5px; left: 25px;">
208 <a title="Add to my list"
209 name="result_my_list_link"
210 href="javascript:;">Add to my list</a>
213 <a href="javascript:;"
214 name="result_my_list_link_img"><img
216 src="[% ctx.media_prefix %]/images/clipboard.png" /></a>
218 <div style="padding-top:7px;" class="results_aux_utils">
219 <a title="Reviews and More" target="_blank"
220 name="reviews_and_more" href="javascript:;"><img
221 alt="reviews & more"
222 src="[% ctx.media_prefix %]/images/starz.png" /> <span
223 style="position:relative;top:-5px;">Reviews & More</span></a>
226 <div style="float:right;margin-right:17px;">
227 [% key = attrs.mattype;
228 format_desc = ctx.find_citm(key).value;
229 icon_filename = icon_by_mattype.$key;
231 <img alt="[% format_desc %]" title="[% format_desc %]"
232 src="[% ctx.media_prefix _ '/images/' _ icon_filename %]" />
238 <!-- Placeholder for ChiliFresh Review -->
239 <tr class="hide_me" name="chilifreshReview">
241 <td valign="top" colspan="5">
242 <div style="position:relative;left:-19px;">
243 <span name="chilifreshReviewLink" class="chili_review"></span>
244 <div name="chilifreshReviewResult" style="display:none"></div>
250 <div style="height:0px;border-top:1px solid #b7b7b7;border-bottom:1px solid #d4d4d4;margin:15px 0px;"></div>
251 <!-- <hr class='opac-auto-013' color="#FFCC33" /> -->
266 [% ctx.results_count_header %]
267 <!-- ChiliFresh XXX script TODO -->