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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 19 Jul 2019 14:58:26 +0000 (15:58 +0100)
commit6a222fa2afd367257b7e0c9815a92521883128d4
tree2229b5f70576ffb242cde73c0d0f0ba957cf52ad
parent2c600bf439173c8a7a8ecd41a6433cd1199de078
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>
C4/Auth.pm
koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc