1 [% PROCESS "default/opac/parts/marc_misc.tt2";
3 q = query_string | url;
6 ctx.result_start = 1 + ctx.page_size * page;
7 ctx.result_stop = 1 + ctx.page_size * (page + 1);
8 IF ctx.result_stop > ctx.hit_count; ctx.result_stop = ctx.hit_count; END;
10 result_count = ctx.result_start;
12 <div style="height: 10px;"></div>
13 [% BLOCK results_count_header %]
14 <div class="results_header_nav1">
15 <table cellpadding="0" cellspacing="0" border="0" width="100%">
17 <td class="h1" width="116">Search Results</td>
18 <td valign="bottom" nowrap="nowrap" class="result_number">
20 <strong>[% ctx.result_start %]</strong>
22 <strong>[% ctx.result_stop %] </strong>
24 <strong>[% ctx.hit_count %]</strong>
25 <span style='padding-left: 6px;'>
27 <strong>[% page + 1 %]</strong>
29 <strong>[% page_count %]</strong>)
32 <td align="right" valign="bottom">
33 <span class='start_end_links_span'>
35 <a class='search_page_nav_link'
36 href="[% np_link _ '&page=' _ (page - 1) %]"
37 title='[% l("Previous page") %]'>
38 <span class="nav_arrow_fix">◄</span> Previous
42 style='padding-left: 11px; padding-right:11px;'>
45 [% IF (page + 1) < page_count %]
46 <a class='search_page_nav_link'
47 href="[% np_link _ '&page=' _ (page + 1) %]"
48 title='[% l("Next page") %]'>
49 Next <span class="nav_arrow_fix">►</span>
58 [% ctx.results_count_header = PROCESS results_count_header;
59 ctx.results_count_header %]
60 <div id="result_table_div">
61 <table cellpadding="0" cellspacing="0" border="0" width="100%">
63 <td valign="top" width="1" style="padding-right:20px;">
64 <div style="width:174px;" class="hide_me" id="tehSideBar">SIDEBAR TODO
67 <td class='opac-auto-015' width="1"></td>
69 <table id="res_table" cellpadding="0" cellspacing="0"
70 border="0" width="100%" style="margin-top:10px;">
71 <tbody id="result_table">
72 [% FOR rec IN ctx.records;
73 attrs = {marc_xml => rec.marc_xml};
74 PROCESS get_marc_attrs args=attrs %]
76 <td class='result_table_row' align='left' width='100%'>
77 <table cellpadding="0" cellspacing="0" class='result_table_subtable'>
78 <tbody class='result_table_subtbody'>
79 <tr name='counts_row'>
80 <td width="58" valign="top"
81 style="font-weight:bold;padding-left:10px;"
82 name="results_row_count">[%
83 result_count; result_count = result_count + 1
85 <td class='result_table_pic_header'
86 width="78" nowrap="nowrap" valign="top">
87 [% ident = attrs.isbn_clean || attrs.upc; IF ident; %]
88 <a href="[% ctx.opac_root %]/record/[% rec.bre.id %]"><img alt="Image of item"
89 name='item_jacket' class='result_table_pic' width="55"
90 src='[% ctx.media_prefix %]/opac/extras/ac/jacket/small/[% ident %]' /></a><br />
93 <td class='result_table_title_cell'
94 name='result_table_title_cell'
97 <a title="[% attrs.title %]" name='item_title'
98 href="[% ctx.opac_root %]/record/[% rec.bre.id %]"
99 class='search_link'>[% attrs.title %]</a>
101 <span style="font-size:11px;">
104 <a title="[% l("Perform an Author Search") %]"
106 href="[% ctx.opac_root %]/results?query=author%3a[% attrs.author | replace('[,\.:;]', '') | uri %]&loc=[% loc %]"
107 class='search_link'>[% attrs.author %]</a>
111 <table cellpadding="0" cellspacing="0" border="0"
112 class="results_info_table">
113 <tr name='bib_cn_list' class='result_table_title_cell'>
115 <strong>Call number:</strong>
119 <tr name="results_pub_tr" class="[% attrs.publisher ? '' : 'hide_me' %]">
121 <strong>Publisher:</strong>
123 <td>[% attrs.publisher; %]</td>
125 <tr name="results_isbn_tr" class="[% attrs.isbn ? '' : 'hide_me' %]">
127 <strong>ISBN:</strong>
129 <td>[% attrs.isbn %]</td>
131 <tr name="results_edition_tr" class="[% attrs.edition ? '' : 'hide_me' %]">
133 <strong>Edition:</strong>
135 <td>[% attrs.edition %]</td>
137 <tr name="results_phys_desc_tr" class="[% attrs.phys_desc ? '' : 'hide_me' %]">
138 <td nowrap="nowrap" valign="top">
139 <strong>Phys. Desc.:</strong>
147 <span name="copy_holds"></span>
148 <span name="copy_holds2"></span><br />
149 <span name="copy_count_avail"></span>
150 <!-- of <span name="copy_count"></span> on
151 <span name="copy_count_total"></span> copies
155 <div class="hide_me">
156 <span name='result_table_extra_span' class='hide_me'>
157 <span name='result_table_pub_box'
158 style='padding-left: 10px;'>
159 <span name='result_table_edition_span'
160 style='padding-left: 10px;'></span> |
161 <span name='result_table_pub_span'> </span> |
162 <span name='result_table_phys_span'> </span>
167 <!-- Copy this td for each copy count appended -->
168 <td nowrap='nowrap' name="copy_count_cell"
169 class='copy_count_cell hide_me' width="1"> </td>
170 <td name='result_table_format_cell'
171 class='result_table_format_cell' align="center" width="1"
172 style="padding:0px 10px;">
173 <img alt="Format" src="" class="hide_me" name="" />
174 <span class='hide_me opac-auto-031'>
175 <span>[% l("Match Score: ") %] </span>
176 <span name='relevancy_span'> </span>
178 <!-- Empty span used for creating unAPI links -->
179 <span class="hide_me">
180 <abbr style='padding-left: 8px;' name="unapi" class="unapi-id">
181 <!-- unAPI URI goes here -->
184 <!-- Empty span used for creating Google Book Search-->
185 <span name="googleBooksLink" class="hide_me">
186 <a style='padding-left: 8px;'
187 class='classic_link hide_me'
188 name="googleBooks-link">[% l("Browse in Google Books Search") %]</a>
191 <td nowrap='nowrap' width="1" align="right">
192 <div style="width:250px;text-align:left;">
193 <div style="float:right;">
194 <div class="results_aux_utils opac-auto-010"><a
195 href="[% ctx.opac_root %]/place_hold?hold_target=[% rec.bre.id %]&hold_type=T" name="place_hold_link"><img
196 src="[% ctx.media_prefix %]/images/green_check.png"
197 alt="place hold" /><span
198 style="position:relative;top:-3px;left:3px;">Place Hold</span></a>
200 <div class="results_aux_utils opac-auto-011">
201 <div style="position:absolute;">
202 <div style="position:relative;top:5px; left: 25px;">
203 <a title="Add to my list"
204 name="result_my_list_link"
205 href="javascript:;">Add to my list</a>
208 <a href="javascript:;"
209 name="result_my_list_link_img"><img
211 src="[% ctx.media_prefix %]/images/clipboard.png" /></a>
213 <div style="padding-top:7px;" class="results_aux_utils">
214 <a title="Reviews and More" target="_blank"
215 name="reviews_and_more" href="javascript:;"><img
216 alt="reviews & more"
217 src="[% ctx.media_prefix %]/images/starz.png" /> <span
218 style="position:relative;top:-5px;">Reviews & More</span></a>
221 <div style="float:right;margin-right:17px;">
222 [% key = attrs.mattype;
223 format_desc = ctx.find_citm(key).value;
224 icon_filename = icon_by_mattype.$key;
226 <img alt="[% format_desc %]" title="[% format_desc %]"
227 src="[% ctx.media_prefix _ '/images/' _ icon_filename %]" />
233 <!-- Placeholder for ChiliFresh Review -->
234 <tr class="hide_me" name="chilifreshReview">
236 <td valign="top" colspan="5">
237 <div style="position:relative;left:-19px;">
238 <span name="chilifreshReviewLink" class="chili_review"></span>
239 <div name="chilifreshReviewResult" style="display:none"></div>
245 <div style="height:0px;border-top:1px solid #b7b7b7;border-bottom:1px solid #d4d4d4;margin:15px 0px;"></div>
246 <!-- <hr class='opac-auto-013' color="#FFCC33" /> -->
261 [% ctx.results_count_header %]
262 <!-- ChiliFresh XXX script TODO -->