Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
-[% SET intranetstylesheet='staff-global.css' UNLESS intranetstylesheet %]
+[% SET intranetstylesheet='staff-global_' _ KOHA_VERSION _ '.css' UNLESS intranetstylesheet %]
[% IF (intranetstylesheet.match('^https?:|^\/')) %]
<link rel="stylesheet" type="text/css" href="[% intranetstylesheet %]" />
[% ELSE %]
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/jquery/jquery-ui_[% KOHA_VERSION %].css" />
[% END %]
-[% SET opaclayoutstylesheet='opac.css' UNLESS opaclayoutstylesheet %]
+[% SET opaclayoutstylesheet='opac_' _ KOHA_VERSION _ '.css' UNLESS opaclayoutstylesheet %]
[% IF (opaclayoutstylesheet.match('^https?:|^\/')) %]
<link rel="stylesheet" type="text/css" href="[% opaclayoutstylesheet %]" />
[% ELSE %]
// Test need for polyfill
{
test: window.matchMedia,
- nope: "[% interface %]/[% theme %]/lib/media.match.min.js"
+ nope: "[% interface %]/[% theme %]/lib/media.match.min_[% KOHA_VERSION %].js"
},
// and then load enquire
- "[% interface %]/[% theme %]/lib/enquire.min.js",
- "[% interface %]/[% theme %]/js/script.js"
+ "[% interface %]/[% theme %]/lib/enquire.min_[% KOHA_VERSION %].js",
+ "[% interface %]/[% theme %]/js/script_[% KOHA_VERSION %].js"
]);
// Fix for datepicker in a modal