From b7acefa116c9ae1e738b5c53f30cf0d6c11d8784 Mon Sep 17 00:00:00 2001 From: Agustin Moyano Date: Thu, 1 Jul 2021 21:00:31 -0300 Subject: [PATCH] Bug 27948: (follow-up) Use Koha.news and PROCESS koha_news_block to bring disclaimer Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- .../bootstrap/en/modules/opac-request-article.tt | 16 +++++++--------- opac/opac-request-article.pl | 2 +- 2 files changed, 8 insertions(+), 10 deletions(-) mode change 100755 => 100644 opac/opac-request-article.pl diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt index fe44076b1a..8aa98eb5eb 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt @@ -1,7 +1,8 @@ [% USE Koha %] -[% USE raw %] [% USE Branches %] [% USE ItemTypes %] +[% USE KohaNews %] +[% USE raw %] [% INCLUDE 'doc-head-open.inc' %] Request article › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog @@ -12,6 +13,8 @@ [% INCLUDE 'bodytag.inc' bodyid='opac-request-article' %] [% INCLUDE 'masthead.inc' %] +[% SET disclaimer = KohaNews.get( location => "ArticleRequestsDisclaimerText", lang => lang, library => branchcode ) %] +