From 52c5f030bfb3b75e542ecdce4c6fc48b879d0d8a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 14 May 2014 11:29:50 +0200 Subject: [PATCH] Bug 11944: (follow-up) Remove all utf8 filter from templates This patch removes 2 new occurrences introduced by bug 11351 and bug 10493. Signed-off-by: Magnus Enger Removes a nasty "Template process failed: plugin error - EncodeUTF8: plugin not found at /home/magnus/scripts/kohaclone/C4/Templates.pm line 124" from /cgi-bin/koha/admin/itemtypes.pl Signed-off-by: Dobrica Pavlinusic Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt | 5 ++--- koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt index 1a008c805c..2e61a16d32 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt @@ -1,4 +1,3 @@ -[% USE EncodeUTF8 %] [% USE AuthorisedValues %] [% INCLUDE 'doc-head-open.inc' %] Koha › Administration › Item types [% IF ( add_form ) %]› @@ -202,9 +201,9 @@ Item types administration <option value=""></option> [% FOREACH a IN AuthorisedValues.Get('SIP_MEDIA_TYPE', sip_media_type ) %] [% IF a.selected %] - <option value="[% a.authorised_value %]" selected="selected">[% a.lib | $EncodeUTF8 %]</option> + <option value="[% a.authorised_value %]" selected="selected">[% a.lib %]</option> [% ELSE %] - <option value="[% a.authorised_value %]">[% a.lib | $EncodeUTF8 %]</option> + <option value="[% a.authorised_value %]">[% a.lib %]</option> [% END %] [% END %] </select> diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt index 964704fad1..e03247db73 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt @@ -55,7 +55,7 @@ [% ELSIF error == "too_soon" %] - <p>[% item.biblio.title | $EncodeUTF8 %] [% item.biblioitem.subtitle | $EncodeUTF8 %] ( [% item.barcode %] ) cannot be renewed before [% soonestrenewdate | $KohaDates %]. </p> + <p>[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) cannot be renewed before [% soonestrenewdate | $KohaDates %]. </p> [% IF Koha.Preference('AllowRenewalLimitOverride') %] <form method="post" action="/cgi-bin/koha/circ/renew.pl"> -- 2.39.5