From 130cbf6500c6955c4b26e8889be8e53c1c022115 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 21 Mar 2022 10:17:33 +1300 Subject: [PATCH] Never escape 'initHideBoxes' InitHideBoxes is js - fugly as this is we shouldn't escape it - there is a world in which we would re-write it out of existence but not this one.... --- templates/CRM/Activity/Import/Form/MapField.tpl | 2 +- templates/CRM/Contact/Form/Search/Builder.tpl | 2 +- templates/CRM/Contact/Import/Form/MapField.tpl | 2 +- templates/CRM/Contribute/Form/AdditionalInfo/Premium.tpl | 2 +- templates/CRM/Contribute/Import/Form/MapField.tpl | 2 +- templates/CRM/Custom/Form/Group.tpl | 2 +- templates/CRM/Event/Import/Form/MapField.tpl | 2 +- templates/CRM/Member/Import/Form/MapField.tpl | 2 +- templates/CRM/UF/Form/Field.tpl | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/CRM/Activity/Import/Form/MapField.tpl b/templates/CRM/Activity/Import/Form/MapField.tpl index d13151f109..fbc5c78edb 100644 --- a/templates/CRM/Activity/Import/Form/MapField.tpl +++ b/templates/CRM/Activity/Import/Form/MapField.tpl @@ -24,7 +24,7 @@
{include file="CRM/common/formButtons.tpl" location="bottom"}
- {$initHideBoxes} + {$initHideBoxes|smarty:nodefaults} {literal}
{include file="CRM/common/formButtons.tpl" location="bottom"}
- {$initHideBoxes} + {$initHideBoxes|smarty:nodefaults} diff --git a/templates/CRM/Contribute/Form/AdditionalInfo/Premium.tpl b/templates/CRM/Contribute/Form/AdditionalInfo/Premium.tpl index 99e6a19c82..143603cd34 100644 --- a/templates/CRM/Contribute/Form/AdditionalInfo/Premium.tpl +++ b/templates/CRM/Contribute/Form/AdditionalInfo/Premium.tpl @@ -69,5 +69,5 @@ {/if} {if $action ne 2 or $showOption eq true} - {$initHideBoxes} + {$initHideBoxes|smarty:nodefaults} {/if} diff --git a/templates/CRM/Contribute/Import/Form/MapField.tpl b/templates/CRM/Contribute/Import/Form/MapField.tpl index a1b0771421..817b2a0c48 100644 --- a/templates/CRM/Contribute/Import/Form/MapField.tpl +++ b/templates/CRM/Contribute/Import/Form/MapField.tpl @@ -22,7 +22,7 @@ {include file="CRM/Contribute/Import/Form/MapTable.tpl}
{include file="CRM/common/formButtons.tpl" location="bottom"}
- {$initHideBoxes} + {$initHideBoxes|smarty:nodefaults} {literal}