]> git.evergreen-ils.org Git - Evergreen.git/commit
Maintenance message: avoid Unicode corruption, support KPAC
authorDan Scott <dscott@laurentian.ca>
Thu, 11 Jul 2013 14:41:32 +0000 (10:41 -0400)
committerBen Shum <bshum@biblio.org>
Thu, 11 Jul 2013 15:02:49 +0000 (11:02 -0400)
commit6a25b321280371818281ea180cdbf4e90509acc2
tree0c9891a1115adbe84498c63378dea56725b748cd
parent6fbaf6cec686cfe25b2186799ed7b0368aa1cc6f
Maintenance message: avoid Unicode corruption, support KPAC

By shifting from an Apache config environment variable to a config.tt2
variable, we gain the advantage of more robust Unicode support as well
as the ability to turn maintenance messages on or off without requiring
a reload of Apache.

However, we do lose the convenience of per-vhost maintenance messages;
sites requiring this functionality can use the ctx.hostname variable to
provide conditional per-host messages.

This also adds support for displaying the maintenance message in the
KPAC.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/examples/apache/eg.conf.in
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
Open-ILS/src/templates/kpac/parts/base.tt2
Open-ILS/src/templates/opac/parts/config.tt2
Open-ILS/src/templates/opac/parts/topnav.tt2
Open-ILS/web/css/skin/default/kpac/style.css