From e14630aff0b369a9ad1291c9173d8882caf0d4e4 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 27 Mar 2018 16:46:16 +0000 Subject: [PATCH] Bug 19892 (follow-up) Replace one more instance This patch replaces one more instance of [% IF ( numbersphr ) %]. To test, apply the patch and view the source of the OPAC home page. With the OPACNumbersPreferPhrase system preference set to 'use,' you should find this in the HTML source: With the preference set to 'don't use,' you should find this: --- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc index 184ea27..f01513d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -196,7 +196,7 @@ [% ELSE %] [% END # /ms_se %] - [% IF ( numbersphr ) %] + [% IF ( Koha.Preference('OPACNumbersPreferPhrase') ) %] [% IF ( ms_callnum ) %] [% ELSE %] @@ -208,7 +208,7 @@ [% ELSE %] [% END # /ms_callnum %] - [% END # /numbersphr %] + [% END # /IF OPACNumbersPreferPhrase %] [% UNLESS ( Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 ) %] -- 2.1.4