From ee098df9b5d8968f4a4cf8a930cf1ec680e8585b Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 31 Dec 2012 13:07:02 +0000 Subject: [PATCH] Bug 8883: 'opacsmallimage' doesn't work in ccsr theme This patch makes it possible to customize the CCSR theme using the opacsmallimage system preference. It also enables the LibraryName preference for opacsmallimage alt text. To test, set the opacsmallimage preference and switch to the CCSR theme. Your custom image should appear. Set the LibraryName preference and confirm that the alt attribute of the custom logo changes accordingly. Signed-off-by: Owen Leonard This patch works correctly, although it lacked a description and test plan, which I have added. I would have used IF instead of UNLESS because to me that seems more readable, but it's not a deal-breaker. Signed-off-by: Owen Leonard Signed-off-by: Jonathan Druart Signed-off-by: Jared Camins-Esakov --- koha-tmpl/opac-tmpl/ccsr/en/includes/masthead.inc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/koha-tmpl/opac-tmpl/ccsr/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/ccsr/en/includes/masthead.inc index d666113f45..b1bfb29a38 100644 --- a/koha-tmpl/opac-tmpl/ccsr/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/ccsr/en/includes/masthead.inc @@ -77,7 +77,19 @@