Bug 23078: Use Koha.Preference in OPAC global header include
authorOwen Leonard <oleonard@myacpl.org>
Fri, 7 Jun 2019 12:52:45 +0000 (12:52 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 6 Aug 2019 14:48:32 +0000 (16:48 +0200)
commita6718b95c1b123a5fb8616a84c110c37a55b3ffd
treead5df7f73111ea003e4d5b4e375558ce0801d276
parentf558185c8fbf5b5740959c0ec06b2188d6b16f4a
Bug 23078: Use Koha.Preference in OPAC global header include

This patch updates the OPAC's doc-head-close.inc so that it uses
'Koha.Preference' syntax to output system preference data. The patch
removes handling of two preferences from Auth.pm which which are covered
by this template change.

This patch also makes some minor changes to consolidate multiple
template checks for "bidi"

To test, apply the patch and test the affected OPAC system preferences:

 - OpacFavicon
 - opaclayoutstylesheet
 - OPACUserCSS
 - OPACBaseURL

Confirm that changes made to these preferences are reflected in the
OPAC.

Signed-off-by: frederik <frederik@inlibro.com>
Signed-off-by: Nadine Pierre <nadine.pierre@inLibro.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 6a222fa2afd367257b7e0c9815a92521883128d4)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Auth.pm
koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc