Koha/koha-tmpl/intranet-tmpl/prog/en/includes/intranetstylesheet.inc
Jonathan Druart bb98e99dc6 Bug 12904: Fix occurrences not caught by script
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
2018-02-08 14:53:24 -03:00

15 lines
722 B
HTML

[% 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 %]/css/[% intranetstylesheet %]" />
[% END %]
<!-- local colors -->
[% IF ( intranetcolorstylesheet ) %]
[% IF (intranetcolorstylesheet.match('^https?:|^\/')) %]
<link rel="stylesheet" type="text/css" href="[% intranetcolorstylesheet %]" />
[% ELSE %]
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/[% intranetcolorstylesheet %]" />
[% END %]
[% END %]