Koha/koha-tmpl/intranet-tmpl/prog/en/css
Kyle M Hall 47bd795b82 Bug 10325 - Allow system preferences to be overridable from koha-httpd.conf
For Koha installations with multiple OPAC URLs, It would be nice to be
able to override systeprefs from the http conf file. Case in point,
a library wants to have two separate opacs, one the is only viewable
from within the library that allows patrons to place holds, and a second
public one that does not. In this case, overriding the system preference
RequestOnOpac would accomplish this simply, and with no ill affects.

This feature would of course be should only be used to override
cosmetic effects on the system, and should not be used for system
preferences such as CircControl, but would be great for preferences
such as OpacStarRatings, opacuserjs, OpacHighlightedWords and many
others!

Test Plan:
1) Apply this patch
2) Disable the system pref OpacHighlightedWords
3) Do a seach in the OPAC, not the term is not highlighted
4) Edit your koha-http.conf file, add the line
     SetEnv OVERRIDE_SYSPREF_OpacHighlightedWords "1"
   to your koha-http.conf file's OPAC section.
   Also add the line
     SetEnv OVERRIDE_SYSPREF_NAMES "OpacHighlightedWords"
   to the Intranet section
5) Restart your web server, or just reload it's config
6) Do a seach, now your search term should be highlighted!
7) From the intranet preference editor, view the pref,
   You should see a warning the this preference has been overridden.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-09-08 02:09:53 +00:00
..
treeview
addbiblio.css Bug 9757: Make staff client list contents view more like search results 2013-06-26 09:04:04 -07:00
blue.css Bug 2774 - Path to theme is hard-coded in many places 2013-07-18 16:49:18 +00:00
card.css [10/30] Patron Card Creator home page css 2010-01-11 18:21:11 -05:00
datatables.css Bug 9034 [Follow-up] Add sorting and filtering on items table (catalogue/detail.pl) 2013-02-07 19:35:51 -05:00
help.css
hierarchy.css
humanmsg.css Add humane messages jQuery plugin 2009-09-06 22:55:22 -06:00
label.css [30/40] Work on labels module home page. 2009-09-01 15:53:07 -04:00
login.css Bug 6865 - Follow-up, Replace image-based gradient backgrounds with CSS3 gradients 2012-02-10 16:08:09 +01:00
mainpage.css Bug 2774 - Path to theme is hard-coded in many places 2013-07-18 16:49:18 +00:00
preferences.css Bug 10325 - Allow system preferences to be overridable from koha-httpd.conf 2013-09-08 02:09:53 +00:00
print.css Bug 8893 - show more information on printout 2012-12-03 06:31:05 -05:00
printreceiptinvoice.css Bug 4440 Layout tweaking follow-up patch 2010-11-18 14:33:29 +13:00
quotes.css Bug 7977: Further UI work on the QOTD editor 2012-05-24 14:14:17 +02:00
right-to-left.css Bug 10406: memove div and more obsolete CSS related to YUI autocomplete 2013-06-12 07:24:30 -07:00
spinelabel.css
staff-global.css Bug 9782: hide cancel button when importing MARC bibliographic frameworks 2013-08-28 15:42:30 +00:00
tinymce.css Fix for Bug 6884, Improve TinyMCE configuration on Koha News page 2011-09-24 19:45:47 +12:00
uploader.css Bug 7977: Further UI work on the QOTD uploader 2012-05-24 14:14:15 +02:00