Lines 1-50
Link Here
|
1 |
[% USE raw %] |
1 |
[% USE raw %] |
|
|
2 |
[% USE Koha %] |
2 |
[%- USE KohaPlugins -%] |
3 |
[%- USE KohaPlugins -%] |
3 |
[% USE Asset %] |
4 |
[% USE Asset %] |
4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
5 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
5 |
<meta name="generator" content="Koha [% Version | html %]" /> <!-- leave this for stats --> |
6 |
<meta name="generator" content="Koha [% Version | html %]" /> <!-- leave this for stats --> |
6 |
<meta name="viewport" content="width=device-width, initial-scale=1" /> |
7 |
<meta name="viewport" content="width=device-width, initial-scale=1" /> |
7 |
<link rel="shortcut icon" href="[% IF ( OpacFavicon ) %][% OpacFavicon | html %][% ELSE %][% interface | html %]/[% theme | html %]/images/favicon.ico[% END %]" type="image/x-icon" /> |
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" /> |
8 |
[% IF ( bidi ) %] |
9 |
[% IF ( bidi ) %] |
9 |
[% Asset.css("lib/bootstrap/css/bootstrap-rtl.min.css") | $raw %] |
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 %] |
10 |
[% ELSE %] |
13 |
[% ELSE %] |
11 |
[% Asset.css("lib/bootstrap/css/bootstrap.min.css") | $raw %] |
14 |
[% Asset.css("lib/bootstrap/css/bootstrap.min.css") | $raw %] |
|
|
15 |
[% Asset.css("lib/jquery/jquery-ui.css") | $raw %] |
12 |
[% END %] |
16 |
[% END %] |
13 |
|
17 |
|
14 |
[% IF ( bidi ) %] |
18 |
[% IF ( bidi ) %] |
15 |
[% Asset.css("lib/jquery/jquery-ui-rtl.css") | $raw %] |
|
|
16 |
[% ELSE %] |
19 |
[% ELSE %] |
17 |
[% Asset.css("lib/jquery/jquery-ui.css") | $raw %] |
|
|
18 |
[% END %] |
20 |
[% END %] |
19 |
|
21 |
[% IF ( Koha.Preference('opaclayoutstylesheet') ) %] |
20 |
[% SET opaclayoutstylesheet='opac.css' UNLESS opaclayoutstylesheet %] |
22 |
[% SET opaclayoutstylesheet = Koha.Preference('opaclayoutstylesheet') %] |
|
|
23 |
[% ELSE %] |
24 |
[% SET opaclayoutstylesheet = 'opac.css' %] |
25 |
[% END %] |
21 |
[% IF (opaclayoutstylesheet.match('^https?:|^\/')) %] |
26 |
[% IF (opaclayoutstylesheet.match('^https?:|^\/')) %] |
22 |
<link rel="stylesheet" type="text/css" href="[% opaclayoutstylesheet | url %]" /> |
27 |
<link rel="stylesheet" type="text/css" href="[% opaclayoutstylesheet | url %]" /> |
23 |
[% ELSE %] |
28 |
[% ELSE %] |
24 |
[% Asset.css("css/" _ opaclayoutstylesheet) | $raw %] |
29 |
[% Asset.css("css/" _ opaclayoutstylesheet) | $raw %] |
25 |
[% END %] |
30 |
[% END %] |
26 |
[% IF ( OpacAdditionalStylesheet ) %] |
31 |
[% IF ( Koha.Preference('OpacAdditionalStylesheet') ) %] |
|
|
32 |
[% SET OpacAdditionalStylesheet = Koha.Preference('OpacAdditionalStylesheet') %] |
27 |
[% IF (OpacAdditionalStylesheet.match('^https?:|^\/')) %] |
33 |
[% IF (OpacAdditionalStylesheet.match('^https?:|^\/')) %] |
28 |
<link rel="stylesheet" type="text/css" href="[% OpacAdditionalStylesheet | url %]" /> |
34 |
<link rel="stylesheet" type="text/css" href="[% OpacAdditionalStylesheet | url %]" /> |
29 |
[% ELSE %] |
35 |
[% ELSE %] |
30 |
<link rel="stylesheet" type="text/css" href="[% interface | html %]/[% theme | html %]/css/[% OpacAdditionalStylesheet | html %]" /> |
36 |
<link rel="stylesheet" type="text/css" href="[% interface | url %]/[% theme | url %]/css/[% OpacAdditionalStylesheet | url %]" /> |
31 |
[% END %] |
37 |
[% END %] |
32 |
[% END %] |
38 |
[% END %] |
33 |
[% IF ( opac_css_override ) %] |
39 |
[% IF ( opac_css_override ) %] |
34 |
<link rel="stylesheet" type="text/css" href="[% interface | html %]/[% theme | html %]/css/[% opac_css_override | html %]" /> |
40 |
<link rel="stylesheet" type="text/css" href="[% interface | url %]/[% theme | url %]/css/[% opac_css_override | url %]" /> |
35 |
[% END %] |
41 |
[% END %] |
36 |
[% Asset.css("css/print.css", { media = "print" }) | $raw %] |
42 |
[% Asset.css("css/print.css", { media = "print" }) | $raw %] |
37 |
[% IF ( bidi ) %] |
43 |
[% IF ( Koha.Preference('OPACUserCSS') ) %] |
38 |
[% Asset.css("css/right-to-left.css") | $raw %] |
44 |
<style>[% Koha.Preference('OPACUserCSS') | $raw %]</style> |
39 |
[% END %] |
45 |
[% END %] |
40 |
[% IF ( OPACUserCSS ) %]<style>[% OPACUserCSS | $raw %]</style>[% END %] |
|
|
41 |
[% IF SCO_login %] |
46 |
[% IF SCO_login %] |
42 |
[% SET SCOUserCSS = Koha.Preference('SCOUserCSS') %] |
47 |
[% SET SCOUserCSS = Koha.Preference('SCOUserCSS') %] |
43 |
[% IF SCOUserCSS %] |
48 |
[% IF SCOUserCSS %] |
44 |
<style>[% SCOUserCSS | $raw %]</style> |
49 |
<style>[% SCOUserCSS | $raw %]</style> |
45 |
[% END %] |
50 |
[% END %] |
46 |
[% END %] |
51 |
[% END %] |
47 |
<link rel="unapi-server" type="application/xml" title="unAPI" href="[% OPACBaseURL | url %]/cgi-bin/koha/unapi" /> |
52 |
[% IF ( Koha.Preference('OPACBaseURL') ) %] |
|
|
53 |
<link rel="unapi-server" type="application/xml" title="unAPI" href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/unapi" /> |
54 |
[% END %] |
48 |
[% PROCESS cssinclude %] |
55 |
[% PROCESS cssinclude %] |
49 |
<!-- Respond.js brings responsive layout behavior to IE < v.9 --> |
56 |
<!-- Respond.js brings responsive layout behavior to IE < v.9 --> |
50 |
<!--[if lt IE 9]> |
57 |
<!--[if lt IE 9]> |
51 |
- |
|
|