[%- IF ctx.use_stripe %] [% END -%] [%- IF ctx.is_staff %] [% IF ctx.page == 'record' %] [% IF ctx.search_result_index >= 0 %] [% END %] [% IF ctx.mfhd_summaries.size %] [% END %] [% END %] [%- END %] [%- IF ENV.OILS_NOVELIST_URL AND ctx.page == 'record'; url = ENV.OILS_NOVELIST_URL; IF CGI.https; url = url.replace('^http:', 'https:'); END; %] [%- END %] [%- IF want_dojo; -%] [%- # So the following works in Mozilla and Chrome, but not in IE8. # Seems like it /should/ work anywhere, though, and obviate the # next three script tags: %] [% IF use_autosuggest.enabled == "t" AND basic_search != "f"; %] [% END; # use_autosuggest %] [% INCLUDE "opac/parts/acjs.tt2" IF ctx.page == 'record' %] [% INCLUDE "opac/parts/ac_google_books.tt2" IF ctx.page == 'record' AND ctx.google_books_preview %] [% IF ctx.page == 'advanced' %] [% END %] [%- END; # want_dojo -%]