# lib_selector will put the search library box (with limit to available)
# pub_year will put the publication year box
# sort_selector will put the sort results selector
+# id DOM id used for linking labels to form controls. They are pinned
+# here instead of auto-generated (from the attr type, for example)
+# for consistency.
search.adv_config = [
- {adv_label => l("Item Type"), adv_attr => ["mattype", "item_type"]},
- {adv_label => l("Item Form"), adv_attr => "item_form"},
- {adv_label => l("Language"), adv_attr => "item_lang"},
- {adv_label => l("Audience"), adv_attr => ["audience_group", "audience"], adv_break => 1},
- {adv_label => l("Video Format"), adv_attr => "vr_format"},
- {adv_label => l("Literary Form"), adv_attr => "lit_form"},
- {adv_label => l("Shelving Location"), adv_special => "copy_location", js_only => 1, adv_break => 1},
- {adv_label => l("Search Library"), adv_special => "lib_selector"},
- {adv_label => l("Publication Year"), adv_special => "pub_year"},
- {adv_label => l("Sort Results"), adv_special => "sort_selector"},
+ {adv_label => l("Item Type"), adv_attr => ["mattype", "item_type"], id => 'adv_selector_item_type'},
+ {adv_label => l("Item Form"), adv_attr => "item_form", id => 'adv_selector_item_form'},
+ {adv_label => l("Language"), adv_attr => "item_lang", id => 'adv_selector_item_lang'},
+ {adv_label => l("Audience"), adv_attr => ["audience_group", "audience"], id => 'adv_selector_audience', adv_break => 1},
+ {adv_label => l("Video Format"), adv_attr => "vr_format", id => 'adv_selector_video_format'},
++ {adv_label => l("Bib Level"), adv_attr => "bib_level", id => 'adv_selector_bib_level'},
+ {adv_label => l("Literary Form"), adv_attr => "lit_form", id => 'adv_selector_lit_form'},
+ {adv_label => l("Shelving Location"), adv_special => "copy_location", id => 'adv_copy_location_selector', js_only => 1, adv_break => 1},
+ {adv_label => l("Search Library"), adv_special => "lib_selector", id => 'adv_org_selector'},
+ {adv_label => l("Publication Year"), adv_special => "pub_year", id => 'adv_selector_pub_year'},
+ {adv_label => l("Sort Results"), adv_special => "sort_selector", id => 'adv_selector_sort_results'},
];
# Set the default height of the select boxes. Defaults to 4.
[% IF ctx.get_org_setting(
ctx.physical_loc || ctx.aou_tree.id, 'opac.allow_pending_user') %]
<a href="[% mkurl(ctx.opac_root _ '/register') %]">[%
- l('Apply for a PINES Library Card') %]</a> |
+ l('Request Library Card') %]</a> |
+ [% ELSE %]
- <a href="/eg/opac/home">[% l("Home") %]</a> |
++ <a href="http://example.com">[% l('Bottom Link 2') %]</a> |
[% END %]
-- <a href="/eg/kpac/home">[% l("Kids' Catalog") %]</a> |
-- <a href="http://www.georgialibraries.org/lib/directories/pineslibdir.html">[% l('Find a Library Near Me') %]</a> |
-- <a href="http://pines.georgialibraries.org/catalog-help">[% l('Help') %]</a> |
- <a href="http://pines.georgialibraries.org/about/">[% l('About PINES') %]</a> |
- <a href="http://www.georgialibraries.org/public/pines.html">[% l('About PINES') %]</a> |
-- <!-- <a href="/">[% l('Dynamic catalog') %]</a> | -->
-- [% gurl = mkurl(ctx.opac_root _ '/galileo', {}, 1) %]
- <a href="[% gurl %]"> [% l('GALILEO') %] </a>
- <a href="[% gurl %]"> [% l('GALILEO') %] </a> |
++ <a href="http://example.com">[% l('Bottom Link 3') %]</a> |
++ <a href="http://example.com">[% l('Bottom Link 4') %]</a> |
++ <a href="http://example.com">[% l('Bottom Link 5') %]</a>
[% IF ctx.timing %]
<div id="timing">
[% FOR event IN ctx.timing %]
<div class='rdetail_extras_div'>
<div style="margin-bottom:20px;"></div>
-- <!-- Chilifresh patron reviews
-- <strong>[% l('Patron Reviews:') %]</strong>
-- <div style="margin-bottom:20px;">
-- <span class="chili_review" id="isbn_[% attrs.isbn_clean | html %]"> </span>
-- <div id="chili_review_[% attrs.isbn_clean | html %]" style="display: none;" align="center" width="100%"></div>
-- </div>
-- -->
++ <!-- Chilifresh patron reviews -->
++ <strong>[% l('Patron Reviews:') %]</strong>
++ <div style="margin-bottom:20px;">
++ <span class="chili_review" id="isbn_[% attrs.isbn_clean | html %]"> </span>
++ <div id="chili_review_[% attrs.isbn_clean | html %]" style="display: none;" align="center" width="100%"></div>
++ </div>
- <!-- Novelist suggestions-->
- [% IF ENV.OILS_NOVELIST_URL %]
- <!-- <div id='novelist-loading'>[% l('Loading...') %]</div> -->
- <div data-novelist-novelistselect="[% attrs.isbn_clean || attrs.upc %]"></div>
- [% END %]
+ <!-- Novelist suggestions-->
+ [% IF ENV.OILS_NOVELIST_URL %]
+ <div id='novelist-loading'>[% l('Loading...') %]</div>
+ <div data-novelist-novelistselect="[% attrs.isbn_clean || attrs.upc %]"></div>
+ [% END %]
- </div>
</div>