[%- USE KohaPlugins -%]
[% USE Asset %]
[% UNLESS ( is_popup ) %]
[% SET OpacLangSelectorMode = Koha.Preference('OpacLangSelectorMode') %]
[% IF ( opaccredits ) %]
[% END #/ opaccredits %]
[% IF ( OpacKohaUrl ) %]
Powered by
[% IF template.name.match('opac-main.tt') %]
Koha
[% ELSE %]
Koha
[% END %]
[% END # / OpacKohaUrl %]
[% IF OpacLangSelectorMode == 'both' || OpacLangSelectorMode == 'footer' %]
[% IF ( opaclanguagesdisplay ) %]
[% IF ( languages_loop && opaclanguagesdisplay ) %]
[% UNLESS ( one_language_enabled ) %]
[% END # / UNLESS ( one_language_enabled ) %]
[% END # / IF ( languages_loop && opaclanguagesdisplay ) %]
[% END # / IF opaclanguagesdisplay %]
[% END %]
[% END # / UNLESS is_popup %]
[% Asset.js("lib/jquery/jquery.js") %]
[% Asset.js("lib/jquery/jquery-ui.js") %]
[% Asset.js("lib/bootstrap/js/bootstrap.min.js") %]
[% Asset.js("js/global.js") %]
[% IF ( OPACAmazonCoverImages || SyndeticsCoverImages ) %]
[% Asset.js("js/amazonimages.js") %]
[% END %]
[% Asset.js("lib/emoji-picker/js/config.js") %]
[% Asset.js("lib/emoji-picker/js/util.js") %]
[% Asset.js("lib/emoji-picker/js/jquery.emojiarea.js") %]
[% Asset.js("lib/emoji-picker/js/emoji-picker.js") %]
[% IF Koha.Preference( 'opacbookbag' ) == 1 %]
[% Asset.js("js/basket.js") %]
[% ELSIF ( Koha.Preference( 'virtualshelves' ) == 1 ) %]
[% Asset.js("js/basket.js") %]
[% ELSE %]
[% END %]
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %][% IF Koha.Preference( 'TagsEnabled' ) == 1 %][% Asset.js("js/tags.js") %][% END %][% ELSE %][% END %]
[% IF ( GoogleJackets ) %]
[% Asset.js("js/google-jackets.js") %]
[% END %]
[% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
[% Asset.js("js/coce.js") %]
[% END %]
[% IF OpenLibraryCovers || OpenLibrarySearch %]
[% Asset.js("js/openlibrary.js") %]
[% END %]
[% IF OPACLocalCoverImages %]
[% Asset.js("js/localcovers.js") %]
[% END %]
[% IF ( BakerTaylorEnabled ) %]
[% Asset.js("js/bakertaylorimages.js") %]
[% END %]
[% IF ( GoogleIndicTransliteration ) %]
[% Asset.js("js/googleindictransliteration.js") %]
[% END %]
[% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %]
[% END %]
[% Asset.js("lib/jquery/plugins/jquery.cookie.min.js") %]
[% PROCESS jsinclude %]
[% IF ( OPACUserJS ) %]
[% END %]
[% IF SCO_login %]
[% SET SCOUserJS = Koha.Preference('SCOUserJS') %]
[% IF ( SCOUserJS ) %]
[% END %]
[% END %]
[% KohaPlugins.get_plugins_opac_js %]