c2bfe53eea
Conformance rules for HTML5 is generating warnings for <style> element with type="text/css" attribute when the OPAC page is checked with W3C Validator. Test plan ========= 1/ Click the "Tag cloud" link on the OPAC. Paste the URL to your OPAC page (if it is hosted) to W3C Validator and watch the warning about type attribute "text/css". 2/ Apply patch and re-submit the page to the Validator. The warning will be gone. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: maksim <maksim@inlibro.com> Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
55 lines
3 KiB
HTML
55 lines
3 KiB
HTML
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="generator" content="Koha [% Version %]" /> <!-- leave this for stats -->
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<link rel="shortcut icon" href="[% IF ( OpacFavicon ) %][% OpacFavicon %][% ELSE %][% interface %]/[% theme %]/images/favicon.ico[% END %]" type="image/x-icon" />
|
|
[% IF ( bidi ) %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/bootstrap/css/bootstrap-rtl.min_[% KOHA_VERSION %].css" />
|
|
[% ELSE %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/bootstrap/css/bootstrap.min_[% KOHA_VERSION %].css" />
|
|
[% END %]
|
|
|
|
[% IF ( bidi ) %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/jquery/jquery-ui-rtl_[% KOHA_VERSION %].css" />
|
|
[% ELSE %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/jquery/jquery-ui_[% KOHA_VERSION %].css" />
|
|
[% END %]
|
|
|
|
[% SET opaclayoutstylesheet='opac_' _ KOHA_VERSION _ '.css' UNLESS opaclayoutstylesheet %]
|
|
[% IF (opaclayoutstylesheet.match('^https?:|^\/')) %]
|
|
<link rel="stylesheet" type="text/css" href="[% opaclayoutstylesheet %]" />
|
|
[% ELSE %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/[% opaclayoutstylesheet %]" />
|
|
[% END %]
|
|
[% IF ( OpacAdditionalStylesheet ) %]
|
|
[% IF (OpacAdditionalStylesheet.match('^https?:|^\/')) %]
|
|
<link rel="stylesheet" type="text/css" href="[% OpacAdditionalStylesheet %]" />
|
|
[% ELSE %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/[% OpacAdditionalStylesheet %]" />
|
|
[% END %]
|
|
[% END %]
|
|
[% IF ( opac_css_override ) %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/[% opac_css_override %]" />
|
|
[% END %]
|
|
<link rel="stylesheet" type="text/css" media="print" href="[% interface %]/[% theme %]/css/print_[% KOHA_VERSION %].css" />
|
|
[% IF ( bidi ) %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left_[% KOHA_VERSION %].css" />
|
|
[% END %]
|
|
[% IF ( OPACUserCSS ) %]<style>[% OPACUserCSS %]</style>[% END %]
|
|
[% IF SCO_login %]
|
|
[% SET SCOUserCSS = Koha.Preference('SCOUserCSS') %]
|
|
[% IF SCOUserCSS %]
|
|
<style>[% SCOUserCSS %]</style>
|
|
[% END %]
|
|
[% END %]
|
|
<link rel="unapi-server" type="application/xml" title="unAPI" href="[% OPACBaseURL %]/cgi-bin/koha/unapi" />
|
|
[% PROCESS cssinclude %]
|
|
<!-- Respond.js brings responsive layout behavior to IE < v.9 -->
|
|
<!--[if lt IE 9]>
|
|
<script src="[% interface %]/[% theme %]/lib/respond.min.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript">
|
|
function _(s) { return s } // dummy function for gettext
|
|
</script>
|
|
<script type="text/javascript" src="[% interface %]/[% theme %]/lib/modernizr.min_[% KOHA_VERSION %].js"></script>
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/font-awesome/css/font-awesome.min_[% KOHA_VERSION %].css" />
|
|
[% PROCESS 'html_helpers.inc' %]
|