Advertisement
cmptrwz

Depth Zero Checkbox

Sep 24th, 2015
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.04 KB | None | 0 0
  1. diff --git a/Open-ILS/src/templates/opac/results.tt2 b/Open-ILS/src/templates/opac/results.tt2
  2. index f1bb957..115cef9 100644
  3. --- a/Open-ILS/src/templates/opac/results.tt2
  4. +++ b/Open-ILS/src/templates/opac/results.tt2
  5. @@ -91,6 +91,14 @@
  6.                              [% l('Group Formats and Editions') %]
  7.                          </label>
  8.                      [% END %]
  9. +                    [% IF loc_value != 1 %]
  10. +                    <label class="results_header_lbl" for="depth_zero">
  11. +                        <input type="checkbox" id="depth_zero" name="depth" value="0"
  12. +                            onchange="this.form.submit()"
  13. +                            [% CGI.param('depth') == '0' ? ' checked="checked"' : '' %] />
  14. +                        [% l('Include results from all MVLC Libraries') %]
  15. +                    </label>
  16. +                    [% END %]
  17.                      [%- IF CGI.param('detail_record_view')
  18.                          OR (show_more_details.default == 'true'
  19.                          OR show_more_details.default == 'hide');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement