From 9f479edf4c1910c51a1d5bb24a1c302797a15543 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Wed, 27 Feb 2013 12:25:28 +1300 Subject: [PATCH] Bug 9716 - opaccolorstylesheet must be filled in for CCSR To test: Empty out your opaccolorstylesheet system preference (for fun, but not necessary, you can empty out your opaclayoutstylesheet preference too) Switch themes to CCSR Load the opac - if it doesn't go horribly wrong the patch is working. Signed-off-by: Kyle M Hall --- .../opac-tmpl/ccsr/en/includes/doc-head-close.inc | 1 + .../opac-tmpl/prog/en/includes/doc-head-close.inc | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/koha-tmpl/opac-tmpl/ccsr/en/includes/doc-head-close.inc b/koha-tmpl/opac-tmpl/ccsr/en/includes/doc-head-close.inc index b5255ad..0068a89 100644 --- a/koha-tmpl/opac-tmpl/ccsr/en/includes/doc-head-close.inc +++ b/koha-tmpl/opac-tmpl/ccsr/en/includes/doc-head-close.inc @@ -11,6 +11,7 @@ [% ELSE %] [% END %] +[% SET opaccolorstylesheet='colors.css' UNLESS opaccolorstylesheet %] [% IF ( opaccolorstylesheet ) %] [% IF (opaccolorstylesheet.match('^https?:|^\/')) %] diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc b/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc index 45424e8..0e0dd35 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc @@ -9,6 +9,7 @@ [% ELSE %] [% END %] +[% SET opaccolorstylesheet='colors.css' UNLESS opaccolorstylesheet %] [% IF ( opaccolorstylesheet ) %] [% IF (opaccolorstylesheet.match('^https?:|^\/')) %] -- 1.7.2.5