From 917ec3700ee2694333219b21d5f16d7c2b147254 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 19 Jul 2018 18:47:46 -0300 Subject: [PATCH] Bug 13618: Manually replace missing .raw Signed-off-by: Owen Leonard Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens --- .../intranet-tmpl/prog/en/includes/doc-head-close.inc | 2 +- .../intranet-tmpl/prog/en/includes/intranet-bottom.inc | 2 +- koha-tmpl/intranet-tmpl/prog/en/includes/popup-bottom.inc | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt | 2 +- .../prog/en/modules/authorities/authorities.tt | 2 +- .../intranet-tmpl/prog/en/modules/cataloguing/additem.tt | 2 +- .../intranet-tmpl/prog/en/modules/circ/circulation.tt | 6 +++--- .../intranet-tmpl/prog/en/modules/circ/pendingreserves.tt | 2 +- .../intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt | 2 +- .../intranet-tmpl/prog/en/modules/members/boraccount.tt | 2 +- .../prog/en/modules/members/tables/guarantor_search.tt | 2 +- .../prog/en/modules/members/tables/members_results.tt | 2 +- .../prog/en/modules/reports/guided_reports_start.tt | 2 +- .../intranet-tmpl/prog/en/modules/reports/itemslost.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/includes/bodytag.inc | 8 ++++---- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 8 ++++---- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 2 +- .../opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt | 2 +- 18 files changed, 26 insertions(+), 26 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc index 8be66b2804..c8d268015e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc @@ -18,7 +18,7 @@ [% Asset.css("lib/font-awesome/css/font-awesome.min.css") | $raw %] [% Asset.css("css/print.css", { media = "print" }) | $raw %] [% INCLUDE intranetstylesheet.inc %] -[% IF ( bidi ) %][% Asset.css("css/right-to-left.css").raw %][% END %] +[% IF ( bidi ) %][% Asset.css("css/right-to-left.css") | $raw %][% END %] [% IF ( login ) %] [% Asset.css("css/login.css") | $raw %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc index 89619a01b1..022c4e33a2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc @@ -69,7 +69,7 @@ [% IF ( footerjs ) %] [% INCLUDE js_includes.inc %] - [% jsinclude.raw # Parse the page template's JavaScript block if necessary %] + [% jsinclude | $raw # Parse the page template's JavaScript block if necessary %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/popup-bottom.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/popup-bottom.inc index 7fd95b948a..9a113d4cec 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/popup-bottom.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/popup-bottom.inc @@ -1,7 +1,7 @@ [% USE raw %] [% IF ( footerjs ) %] [% INCLUDE js_includes.inc popup=1 %] - [% jsinclude.raw # Parse the page template's JavaScript block if necessary %] + [% jsinclude | $raw # Parse the page template's JavaScript block if necessary %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt index 8de52996d2..09a44d9147 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt @@ -244,7 +244,7 @@ } $(document).ready(function() { - columns_settings = [% ColumnsSettings.GetColumns( 'admin', 'currency', 'currencies-table', 'json' ).raw %] + columns_settings = [% ColumnsSettings.GetColumns( 'admin', 'currency', 'currencies-table', 'json' ) | $raw %] var issuest = KohaTable("currencies-table", { dom: 'B<"clearfix">t', "columnDefs": [ diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt index e61faa339a..032761fc14 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt @@ -65,7 +65,7 @@ function AreMandatoriesNotOk(){ [% FOREACH subfield_loo IN innerloo.subfield_loop %] [% IF ( subfield_loo.mandatory ) %]mandatories.push("[% subfield_loo.id | html %]"); tab.push("[% BIG_LOO.number | html %]"); - label.push("[% subfield_loo.marc_lib.raw |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]"); + label.push("[% subfield_loo.marc_lib | $raw |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]"); [% END %] [% END %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt index 38e8fcdd3e..8f14152e89 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt @@ -303,7 +303,7 @@ function confirm_deletion() { [% ELSE %] ... [% END %] - [%- mv.javascript.raw -%] + [%- mv.javascript | $raw -%] [% END %] [% ELSIF ( mv.type == 'text' ) %] [% IF mv.readonly %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 6cdc633bf6..c345a264fa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -693,9 +693,9 @@ No patron matched [% message | html %] [% IF ( debarredcomment ) %] with the explanation:
[% IF debarredcomment.search('OVERDUES_PROCESS') %] - Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ').raw | html_line_break %] + Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | raw | html_line_break %] [% ELSE %] - [% debarredcomment.raw | html_line_break %] + [% debarredcomment | raw | html_line_break %] [% END %] [% END %] @@ -1004,7 +1004,7 @@ No patron matched [% message | html %] var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export"); var MSG_CONFIRM_DELETE_MESSAGE = _("Are you sure you want to delete this message? This cannot be undone."); - columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'circulation', 'issues-table', 'json' ).raw %] + columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'circulation', 'issues-table', 'json' ) | $raw %] [% IF borrowernumber and patron %] if($.cookie("holdfor") != [% patron.borrowernumber | html %]){ diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt index 137deea951..c6c71197cd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt @@ -204,7 +204,7 @@ [% INCLUDE 'columns_settings.inc' %]