3 [%- USE KohaPlugins -%]
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Koha [% Version | html %]" /> <!-- leave this for stats -->
7 <meta name="viewport" content="width=device-width, initial-scale=1" />
8 <link rel="shortcut icon" href="[% IF ( Koha.Preference('OpacFavicon') ) %][% Koha.Preference('OpacFavicon') | url %][% ELSE %][% interface | url %]/[% theme | url %]/images/favicon.ico[% END %]" type="image/x-icon" />
10 [% Asset.css("lib/bootstrap/css/bootstrap-rtl.min.css") | $raw %]
11 [% Asset.css("lib/jquery/jquery-ui-rtl.css") | $raw %]
12 [% Asset.css("css/right-to-left.css") | $raw %]
14 [% Asset.css("lib/bootstrap/css/bootstrap.min.css") | $raw %]
15 [% Asset.css("lib/jquery/jquery-ui.css") | $raw %]
17 [% IF ( Koha.Preference('opaclayoutstylesheet') ) %]
18 [% SET opaclayoutstylesheet = Koha.Preference('opaclayoutstylesheet') %]
20 [% SET opaclayoutstylesheet = 'opac.css' %]
22 [% IF (opaclayoutstylesheet.match('^https?:|^\/')) %]
23 <link rel="stylesheet" type="text/css" href="[% opaclayoutstylesheet | url %]" />
25 [% Asset.css("css/" _ opaclayoutstylesheet) | $raw %]
27 [% IF ( Koha.Preference('OpacAdditionalStylesheet') ) %]
28 [% SET OpacAdditionalStylesheet = Koha.Preference('OpacAdditionalStylesheet') %]
29 [% IF (OpacAdditionalStylesheet.match('^https?:|^\/')) %]
30 <link rel="stylesheet" type="text/css" href="[% OpacAdditionalStylesheet | url %]" />
32 <link rel="stylesheet" type="text/css" href="[% interface | url %]/[% theme | url %]/css/[% OpacAdditionalStylesheet | url %]" />
35 [% IF ( opac_css_override ) %]
36 <link rel="stylesheet" type="text/css" href="[% interface | url %]/[% theme | url %]/css/[% opac_css_override | url %]" />
38 [% Asset.css("css/print.css", { media = "print" }) | $raw %]
39 [% IF ( Koha.Preference('OPACUserCSS') ) %]
40 <style>[% Koha.Preference('OPACUserCSS') | $raw %]</style>
43 [% SET SCOUserCSS = Koha.Preference('SCOUserCSS') %]
45 <style>[% SCOUserCSS | $raw %]</style>
48 [% IF ( Koha.Preference('OPACBaseURL') ) %]
49 <link rel="unapi-server" type="application/xml" title="unAPI" href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/unapi" />
51 [% PROCESS cssinclude %]
52 <!-- Respond.js brings responsive layout behavior to IE < v.9 -->
54 <script src="[% interface | html %]/[% theme | html %]/lib/respond.min.js"></script>
57 function _(s) { return s } // dummy function for gettext
59 [% Asset.js("lib/modernizr.min.js") | $raw %]
60 [% Asset.css("lib/font-awesome/css/font-awesome.min.css") | $raw %]
61 [% PROCESS 'html_helpers.inc' %]
62 [% KohaPlugins.get_plugins_opac_head | $raw %]