From f88d1142dfc4174bf69b6f7741d2ac8ae7ed2b48 Mon Sep 17 00:00:00 2001 From: Owen Leonard <oleonard@myacpl.org> Date: Fri, 23 Apr 2021 00:21:30 +0000 Subject: [PATCH] Bug 28193: (follow-up) Correct OpacLoginInstructions in login modal Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> --- 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 28c8ff23d8..b58703b8d0 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -389,9 +389,9 @@ <fieldset class="brief"> <label for="muserid">Login:</label><input type="text" id="muserid" name="userid" /> <label for="mpassword">Password:</label><input type="password" id="mpassword" name="password" /> - [% IF Koha.Preference( 'OpacLoginInstructions' ) %] + [% IF ( OpacLoginInstructions ) %] <div id="nologininstructions-modal" class="nologininstructions"> - [% Koha.Preference( 'OpacLoginInstructions' ) | $raw %] + [% PROCESS koha_news_block news => OpacLoginInstructions %] </div> [% END %] [% IF Koha.Preference('OpacPasswordChange') && Categories.can_any_reset_password %] -- 2.24.3 (Apple Git-128)