value=CGI.param('sort') class='results_header_sel';
%]
- <!-- applies metarecord search -->
- <br/><!-- <br> may seem redundant, but it allows the
- <input> (below) to drop down inline w/ its label -->
- <div class="adv_search_available">
- <input type='checkbox' name="modifier" value="metabib"
- [%- CGI.param('modifier').grep('metabib').size ?
- ' checked="checked"' : '' %]
- id='opac.result.ismetabib' />
- <label for='opac.result.ismetabib'>
- [% l("Group Formats and Editions") %]</label>
- </div>
+ [% IF NOT metarecords.disabled %]
+ <br/><!-- <br> may seem redundant, but it allows the
+ <input> (below) to drop down inline w/ its label -->
+ <div class="adv_search_available">
+ <input type='checkbox' name="modifier" value="metabib"
+ [%- CGI.param('modifier').grep('metabib').size ?
+ ' checked="checked"' : '' %]
+ id='opac.result.ismetabib' />
+ <label for='opac.result.ismetabib'>
+ [% l("Group Formats and Editions") %]</label>
+ </div>
+ [% END %]
[% CASE "copy_location" %]
<select id="adv_copy_location_selector"
#
# ctx.maintenance_message = "The system will not be available February 29, 2104.";
+
+##############################################################################
+# Metarecords configuration
+# metarecords.disabled = 1; # disable all metarecord access points
+##############################################################################
+
+
%]
<input type='hidden' name='part' value=''/>
[% END %]
[% END %]
- [% IF CGI.param('hold_type') == 'T' AND hdata.record.metarecord %]
- <a href="[% mkurl('', {hold_type => 'M', hold_target => hdata.record.metarecord.id}) %]">
- [% l('Advanced Hold Options') %]
- </a>
- [% END %]
- [% IF hdata.metarecord_filters.formats.size OR # should this be size > 1
- hdata.metarecord_filters.langs.size > 1;
- PROCESS metarecord_hold_filters_selector hold_data=hdata;
+ [% IF NOT metarecords.disabled %]
+ [% IF CGI.param('hold_type') == 'T' AND hdata.record.metarecord %]
+ <a href="[% mkurl('', {hold_type => 'M', hold_target => hdata.record.metarecord.id}) %]">
+ [% l('Advanced Hold Options') %]</a>
+ [% END %]
+ [% IF hdata.metarecord_filters.formats.size OR # should this be size > 1
+ hdata.metarecord_filters.langs.size > 1;
+ PROCESS metarecord_hold_filters_selector hold_data=hdata;
+ END;
END %]
</td>
</tr>
[% CGI.param('modifier').grep('available').size ? ' checked="checked"' : '' %] />
[% l('Limit to available items') %]
</label>
- <label class="results_header_lbl">
- <input type="checkbox" name="modifier" value="metabib"
- onchange="search_modifier_onchange('metabib', this, true)"
- [% CGI.param('modifier').grep('metabib').size ? ' checked="checked"' : '' %] />
- [% l('Group Formats and Editions') %]
- </label>
+ [% IF NOT metarecords.disabled %]
+ <label class="results_header_lbl">
+ <input type="checkbox" name="modifier" value="metabib"
+ onchange="search_modifier_onchange('metabib', this, true)"
+ [% CGI.param('modifier').grep('metabib').size ? ' checked="checked"' : '' %] />
+ [% l('Group Formats and Editions') %]
+ </label>
+ [% END %]
[% IF CGI.param('detail_record_view') %]
<input type="hidden" name="detail_record_view" value="1" />
[% END %]