1 <div id='cn_browse' class='cn_browser'>
2 <div id='cn_browse_div'>
4 <span>[% l("You are now browsing") %]</span>
5 <strong>[% ctx.get_aou(CGI.param('loc')).name %]</strong>
7 <table class='data_grid bookshelf' width='100%'>
11 <a id='cn_browse_prev' class='classic_link' href="[% ctx.opac_root %]/record/[% ctx.bre_id _ extras_propagator _ '&cnoffset=' _ ((CGI.param('cnoffset') || 0) - 1) _ '&expand=cnbrowse#cnbrowse' %]"<b>[%
12 l("<< Previous Page")
15 <td colspan='1' align='center'>[% l("Shelf Browser") %]</td>
17 <a id='cn_browse_next' class='classic_link' href="[% ctx.opac_root %]/record/[% ctx.bre_id _ extras_propagator _ '&cnoffset=' _ ((CGI.param('cnoffset') || 0) + 1) _ '&expand=cnbrowse#cnbrowse' %]"<b>[%
18 l("Next Page >>")
24 [% tr_open = 0; FOR cn IN ctx.browsed_call_numbers %]
25 [%- IF loop.index % 3 == 0; tr_open = 1 %]
26 <tr id='cn_browse_row'>
28 <td id='cn_browse_td' class='cn_browse_item' width='25%' valign='top'>
29 [% rec_attrs = {marc_xml => cn.record.marc};
30 PROCESS get_marc_attrs args=rec_attrs;
31 ident = rec_attrs.isbn_clean || rec_attrs.upc;
33 <a href="[% ctx.opac_root %]/record/[% cn.record.id _ extras_propagator %]"><img height='60' width='50'
34 class='cn_browse_info' name='cn_browse_pic' border='0'
35 src="[% ctx.media_prefix %]/opac/extras/ac/jacket/small/[% ident %]" /></a>
37 <div class='cn_browse_info bold' name='cn_browse_cn'>[% cn.label %]</div>
38 <div class='cn_browse_info'>
39 <a name='cn_browse_title' class='classic_link' href="[% ctx.opac_root %]/record/[% cn.record.id _ extras_propagator %]">[% rec_attrs.title %]</a>
41 [% IF rec_attrs.author %]<div class='cn_browse_info'>
42 <a name='cn_browse_author' class='classic_link'
43 href="[% ctx.opac_root %]/results?qtype=author&query=[%- rec_attrs.author | replace('[,\.:;]', '') | uri %]&loc=[% CGI.param('loc') | uri %]">[% rec_attrs.author %]</a>
45 <div class='cn_browse_info' name='cn_browse_lib'>[% cn.owning_lib.name %]</div>
47 [% IF loop.index % 3 == 2; tr_open = 0 %]
50 [% END; IF tr_open %]</tr>[% END %]