Bug 20659: Fix blocking errors display
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / intranetstylesheet.inc
1 [% USE Asset %]
2 [% SET intranetstylesheet='staff-global.css' UNLESS intranetstylesheet %]
3 [% IF (intranetstylesheet.match('^https?:|^\/')) %]
4     <link rel="stylesheet" type="text/css" href="[% intranetstylesheet %]" />
5 [% ELSE %]
6     [% Asset.css("css/" _ intranetstylesheet) %]
7 [% END %]
8
9 <!-- local colors -->
10 [% IF ( intranetcolorstylesheet ) %]
11     [% IF (intranetcolorstylesheet.match('^https?:|^\/')) %]
12         <link rel="stylesheet" type="text/css" href="[% intranetcolorstylesheet %]" />
13     [% ELSE %]
14         <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/[% intranetcolorstylesheet %]" />
15     [% END %]
16 [% END %]