<link rel="stylesheet" type="text/css" href="[% interface %]/lib/jquery/jquery-ui.css" />
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/bootstrap/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" media="print" href="[% themelang %]/css/print.css" />
-[% IF ( intranetstylesheet ) %]
+[% SET intranetstylesheet='staff-global.css' UNLESS intranetstylesheet %]
+[% IF (intranetstylesheet.match('^https?:|^\/')) %]
<link rel="stylesheet" type="text/css" href="[% intranetstylesheet %]" />
[% ELSE %]
- <link rel="stylesheet" type="text/css" href="[% themelang %]/css/staff-global.css" />
+ <link rel="stylesheet" type="text/css" href="[% themelang %]/css/[% intranetstylesheet %]" />
[% END %]
[% IF ( bidi ) %]
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/right-to-left.css" />
<!-- local colors -->
[% IF ( intranetcolorstylesheet ) %]
- <link rel="stylesheet" type="text/css" href="[% themelang %]/css/[% intranetcolorstylesheet %]" />
+ [% IF (intranetcolorstylesheet.match('^https?:|^\/')) %]
+ <link rel="stylesheet" type="text/css" href="[% intranetcolorstylesheet %]" />
+ [% ELSE %]
+ <link rel="stylesheet" type="text/css" href="[% themelang %]/css/[% intranetcolorstylesheet %]" />
+ [% END %]
[% END %]
<!-- yui js -->
class: url
- .
-
- - Include the stylesheet at
+ - Use the CSS stylesheet
- pref: intranetstylesheet
class: url
- - on all pages in the staff interface, instead of the default. (This should be a complete URL, starting with <code>http://</code>.)
+ - on all pages in the staff interface, instead of the default css (used when leaving this field blank). Enter just a filename, a full local path or a complete URL starting with <code>http://</code> (if the file lives on a remote server). Please note that if you just enter a filename, the file should be in the css subdirectory for each active theme and language within the Koha templates directory. A full local path is expected to start from your HTTP document root.
-
- "Use the following JavaScript for printing slips. Define at least function printThenClose(). For use e.g. with Firefox PlugIn jsPrintSetup, see http://jsprintsetup.mozdev.org/:"
- pref: IntranetSlipPrinterJS
type: textarea
class: code
-
- - Include the stylesheet <code><!-- TMPL_VAR NAME="themelang" -->/css/</code>
+ - Include the additional CSS stylesheet
- pref: intranetcolorstylesheet
class: file
- - on all pages in the staff interface. (Leave blank to disable.)
+ - to override specified settings from the default stylesheet (leave blank to disable.) Enter just a filename, a full local path or a complete URL starting with <code>http://</code> (if the file lives on a remote server). Please note that if you just enter a filename, the file should be in the css subdirectory for each active theme and language within the Koha templates directory. A full local path is expected to start from your HTTP document root.
-
- Use include files from the
- pref: intranet_includes