[% cnoffset = CGI.param('cnoffset'); cnoffset = cnoffset.match('^\d+$') ? cnoffset : 0; # verify cnoffset is a sane value %]
[% l("You are now browsing") %] [% ctx.browsing_ou.name | html %]
[% tr_open = 0; FOR cn IN ctx.browsed_call_numbers %] [%- IF loop.index % 3 == 0; tr_open = 1 %] [% END -%] [% IF loop.index % 3 == 2; tr_open = 0 %] [% END %] [% END; IF tr_open %][% END %]
[% l("<< Previous Page") %] [% l("Shelf Browser") %] [% l("Next Page >>") %]
[% rec_attrs = {marc_xml => cn.record.marc}; PROCESS get_marc_attrs args=rec_attrs; ident = rec_attrs.isbn_clean || rec_attrs.upc; IF ident %] [% END %]
[% cn.label | html %]
[% IF rec_attrs.author %][% END %]
[% cn.owning_lib.name | html %]