From 71cc99a322f14a5efe7137c88ad9d73fd963e556 Mon Sep 17 00:00:00 2001 From: Bradley Taylor Date: Thu, 14 Apr 2022 22:36:17 +0100 Subject: [PATCH] Apply nodefaults to row actions --- templates/CRM/ACL/Page/EntityRole.tpl | 2 +- templates/CRM/Activity/Form/Selector.tpl | 2 +- templates/CRM/Activity/Selector/Activity.tpl | 2 +- templates/CRM/Admin/Page/ContactType.tpl | 2 +- templates/CRM/Admin/Page/EventTemplate.tpl | 2 +- templates/CRM/Admin/Page/Extensions/AddNew.tpl | 2 +- templates/CRM/Admin/Page/Extensions/Main.tpl | 2 +- templates/CRM/Admin/Page/Job.tpl | 2 +- templates/CRM/Admin/Page/LabelFormats.tpl | 2 +- templates/CRM/Admin/Page/LocationType.tpl | 2 +- templates/CRM/Admin/Page/MailSettings.tpl | 2 +- templates/CRM/Admin/Page/Mapping.tpl | 2 +- templates/CRM/Admin/Page/MessageTemplates.tpl | 2 +- templates/CRM/Admin/Page/Options.tpl | 2 +- templates/CRM/Admin/Page/ParticipantStatusType.tpl | 2 +- templates/CRM/Admin/Page/PaymentProcessor.tpl | 2 +- templates/CRM/Admin/Page/PdfFormats.tpl | 2 +- templates/CRM/Admin/Page/PreferencesDate.tpl | 2 +- templates/CRM/Admin/Page/RelationshipType.tpl | 2 +- templates/CRM/Admin/Page/Reminders.tpl | 2 +- templates/CRM/Badge/Page/Layout.tpl | 2 +- templates/CRM/Campaign/Page/SurveyType.tpl | 2 +- templates/CRM/Contact/Page/DedupeRules.tpl | 2 +- templates/CRM/Contribute/Page/ContributionType.tpl | 2 +- templates/CRM/Contribute/Page/ManagePremiums.tpl | 2 +- templates/CRM/Financial/Page/FinancialAccount.tpl | 2 +- templates/CRM/Financial/Page/FinancialType.tpl | 2 +- templates/CRM/Financial/Page/FinancialTypeAccount.tpl | 2 +- templates/CRM/Group/Page/GroupRows.tpl | 2 +- templates/CRM/Mailing/Page/Browse.tpl | 2 +- templates/CRM/Mailing/Page/Component.tpl | 2 +- templates/CRM/Member/Page/MembershipStatus.tpl | 2 +- templates/CRM/Member/Page/MembershipType.tpl | 2 +- templates/CRM/PCP/Page/PCP.tpl | 2 +- templates/CRM/Price/Page/Field.tpl | 2 +- templates/CRM/Price/Page/Option.tpl | 2 +- templates/CRM/Price/Page/Set.tpl | 2 +- templates/CRM/SMS/Page/Provider.tpl | 2 +- templates/CRM/UF/Page/Field.tpl | 2 +- templates/CRM/UF/Page/Group.tpl | 4 ++-- 40 files changed, 41 insertions(+), 41 deletions(-) diff --git a/templates/CRM/ACL/Page/EntityRole.tpl b/templates/CRM/ACL/Page/EntityRole.tpl index d76a8fc56f..9b82cb4793 100644 --- a/templates/CRM/ACL/Page/EntityRole.tpl +++ b/templates/CRM/ACL/Page/EntityRole.tpl @@ -35,7 +35,7 @@ {$row.acl_role} {$row.entity} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Activity/Form/Selector.tpl b/templates/CRM/Activity/Form/Selector.tpl index 2398956831..a6ad72efe5 100644 --- a/templates/CRM/Activity/Form/Selector.tpl +++ b/templates/CRM/Activity/Form/Selector.tpl @@ -104,7 +104,7 @@ {if (!empty($row.id))} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {else} {$row.action} {/if} diff --git a/templates/CRM/Activity/Selector/Activity.tpl b/templates/CRM/Activity/Selector/Activity.tpl index 6366cd59c9..8b18015daf 100644 --- a/templates/CRM/Activity/Selector/Activity.tpl +++ b/templates/CRM/Activity/Selector/Activity.tpl @@ -83,7 +83,7 @@ {$row.activity_date_time|crmDate} {$row.status} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Admin/Page/ContactType.tpl b/templates/CRM/Admin/Page/ContactType.tpl index ce86bc09ea..8428faa6f5 100644 --- a/templates/CRM/Admin/Page/ContactType.tpl +++ b/templates/CRM/Admin/Page/ContactType.tpl @@ -36,7 +36,7 @@ {ts}{$row.label}{/ts} {if $row.parent}{ts}{$row.parent_label}{/ts}{else}{ts}(built-in){/ts}{/if} {$row.description} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Admin/Page/EventTemplate.tpl b/templates/CRM/Admin/Page/EventTemplate.tpl index b7a091b847..7b19f4c72a 100644 --- a/templates/CRM/Admin/Page/EventTemplate.tpl +++ b/templates/CRM/Admin/Page/EventTemplate.tpl @@ -46,7 +46,7 @@ {if $row.is_monetary eq 1}{ts}Yes{/ts} {else} {ts}No{/ts} {/if} {if $row.is_online_registration eq 1}{ts}Yes{/ts} {else} {ts}No{/ts} {/if} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Admin/Page/Extensions/AddNew.tpl b/templates/CRM/Admin/Page/Extensions/AddNew.tpl index e70a8a7e01..396b72226d 100644 --- a/templates/CRM/Admin/Page/Extensions/AddNew.tpl +++ b/templates/CRM/Admin/Page/Extensions/AddNew.tpl @@ -26,7 +26,7 @@ Depends: CRM/common/enableDisableApi.tpl and CRM/common/jsortable.tpl {$row.version|escape} {$row.type|capitalize} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} diff --git a/templates/CRM/Admin/Page/Extensions/Main.tpl b/templates/CRM/Admin/Page/Extensions/Main.tpl index 0d98485964..60d9f72609 100644 --- a/templates/CRM/Admin/Page/Extensions/Main.tpl +++ b/templates/CRM/Admin/Page/Extensions/Main.tpl @@ -35,7 +35,7 @@ Depends: CRM/common/enableDisableApi.tpl and CRM/common/jsortable.tpl {/if} {$row.type|escape|capitalize} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} diff --git a/templates/CRM/Admin/Page/Job.tpl b/templates/CRM/Admin/Page/Job.tpl index c4ca2ad77e..2ba136f5d7 100644 --- a/templates/CRM/Admin/Page/Job.tpl +++ b/templates/CRM/Admin/Page/Job.tpl @@ -49,7 +49,7 @@ {if $row.parameters eq null}{ts}no parameters{/ts}{else}
{$row.parameters}
{/if} {if $row.last_run eq null}never{else}{$row.last_run|crmDate:$config->dateformatDatetime}{/if} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Admin/Page/LabelFormats.tpl b/templates/CRM/Admin/Page/LabelFormats.tpl index 5fc325d673..4fceb44fa8 100644 --- a/templates/CRM/Admin/Page/LabelFormats.tpl +++ b/templates/CRM/Admin/Page/LabelFormats.tpl @@ -56,7 +56,7 @@ {icon condition=$row.is_default}{ts}Default{/ts}{/icon}  {if $row.is_reserved eq 1}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}   - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Admin/Page/LocationType.tpl b/templates/CRM/Admin/Page/LocationType.tpl index 3ce80083fb..15fdd2fd5c 100644 --- a/templates/CRM/Admin/Page/LocationType.tpl +++ b/templates/CRM/Admin/Page/LocationType.tpl @@ -41,7 +41,7 @@ {$row.description} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {if $row.is_default}{icon condition=$row.is_default}{ts}Default{/ts}{/icon} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Admin/Page/MailSettings.tpl b/templates/CRM/Admin/Page/MailSettings.tpl index fa655f7636..8982d3d41d 100644 --- a/templates/CRM/Admin/Page/MailSettings.tpl +++ b/templates/CRM/Admin/Page/MailSettings.tpl @@ -44,7 +44,7 @@ {if $row.is_ssl eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {if $row.is_default eq 1}{ts}Bounce Processing (Default){/ts}{else}{ts}Email-to-Activity{/ts}{/if}  - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Admin/Page/Mapping.tpl b/templates/CRM/Admin/Page/Mapping.tpl index d7b3ba0538..bec5a96360 100644 --- a/templates/CRM/Admin/Page/Mapping.tpl +++ b/templates/CRM/Admin/Page/Mapping.tpl @@ -31,7 +31,7 @@ {$row.name} {$row.description} {$row.mapping_type} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Admin/Page/MessageTemplates.tpl b/templates/CRM/Admin/Page/MessageTemplates.tpl index 96d38de5b1..aabb8a72c2 100644 --- a/templates/CRM/Admin/Page/MessageTemplates.tpl +++ b/templates/CRM/Admin/Page/MessageTemplates.tpl @@ -131,7 +131,7 @@ {$row.msg_subject} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Admin/Page/Options.tpl b/templates/CRM/Admin/Page/Options.tpl index ab1ee9f23d..dc3c371f91 100644 --- a/templates/CRM/Admin/Page/Options.tpl +++ b/templates/CRM/Admin/Page/Options.tpl @@ -139,7 +139,7 @@ {/if} {if $row.is_reserved eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Admin/Page/ParticipantStatusType.tpl b/templates/CRM/Admin/Page/ParticipantStatusType.tpl index b5b8aec35a..8018311c4a 100644 --- a/templates/CRM/Admin/Page/ParticipantStatusType.tpl +++ b/templates/CRM/Admin/Page/ParticipantStatusType.tpl @@ -38,7 +38,7 @@ {icon condition=$row.is_counted}{ts}Counted{/ts}{/icon} {$row.weight|smarty:nodefaults} {$row.visibility} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Admin/Page/PaymentProcessor.tpl b/templates/CRM/Admin/Page/PaymentProcessor.tpl index 4e12846cfd..92dffc63a2 100644 --- a/templates/CRM/Admin/Page/PaymentProcessor.tpl +++ b/templates/CRM/Admin/Page/PaymentProcessor.tpl @@ -44,7 +44,7 @@ {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {icon condition=$row.is_default}{ts}Default{/ts}{/icon}  - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Admin/Page/PdfFormats.tpl b/templates/CRM/Admin/Page/PdfFormats.tpl index 6b6ac5a7de..2cb18a1fa7 100644 --- a/templates/CRM/Admin/Page/PdfFormats.tpl +++ b/templates/CRM/Admin/Page/PdfFormats.tpl @@ -52,7 +52,7 @@ {$row.description} {icon condition=$row.is_default}{ts}Default{/ts}{/icon}  {$row.weight|smarty:nodefaults} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Admin/Page/PreferencesDate.tpl b/templates/CRM/Admin/Page/PreferencesDate.tpl index aa39aefd0a..81a2423bde 100644 --- a/templates/CRM/Admin/Page/PreferencesDate.tpl +++ b/templates/CRM/Admin/Page/PreferencesDate.tpl @@ -31,7 +31,7 @@ {if !$row.date_format}{ts}Default{/ts}{else}{$row.date_format}{/if} {$row.start} {$row.end} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Admin/Page/RelationshipType.tpl b/templates/CRM/Admin/Page/RelationshipType.tpl index f1f5c79bd5..0729752e9d 100644 --- a/templates/CRM/Admin/Page/RelationshipType.tpl +++ b/templates/CRM/Admin/Page/RelationshipType.tpl @@ -54,7 +54,7 @@ {if $row.contact_type_b_display} {$row.contact_type_b_display} {if !empty($row.contact_sub_type_b)} - {$row.contact_sub_type_b}{/if} {else} {ts}All Contacts{/ts} {/if} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Admin/Page/Reminders.tpl b/templates/CRM/Admin/Page/Reminders.tpl index 3a08352e62..f4e225f4ef 100644 --- a/templates/CRM/Admin/Page/Reminders.tpl +++ b/templates/CRM/Admin/Page/Reminders.tpl @@ -35,7 +35,7 @@ {$row.status} {if $row.is_repeat eq 1}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}  {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Badge/Page/Layout.tpl b/templates/CRM/Badge/Page/Layout.tpl index c444e5cac7..8a5f4c902d 100644 --- a/templates/CRM/Badge/Page/Layout.tpl +++ b/templates/CRM/Badge/Page/Layout.tpl @@ -40,7 +40,7 @@ {icon condition=$row.is_default}{ts}Default{/ts}{/icon}  - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Campaign/Page/SurveyType.tpl b/templates/CRM/Campaign/Page/SurveyType.tpl index c467c9301c..9fed46dd17 100644 --- a/templates/CRM/Campaign/Page/SurveyType.tpl +++ b/templates/CRM/Campaign/Page/SurveyType.tpl @@ -35,7 +35,7 @@ {$row.weight|smarty:nodefaults} {if $row.is_reserved eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Contact/Page/DedupeRules.tpl b/templates/CRM/Contact/Page/DedupeRules.tpl index 60c8cc87a4..eaef744173 100644 --- a/templates/CRM/Contact/Page/DedupeRules.tpl +++ b/templates/CRM/Contact/Page/DedupeRules.tpl @@ -38,7 +38,7 @@ {$row.title} {$row.used_display} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Contribute/Page/ContributionType.tpl b/templates/CRM/Contribute/Page/ContributionType.tpl index 8a82454224..a73e848dda 100644 --- a/templates/CRM/Contribute/Page/ContributionType.tpl +++ b/templates/CRM/Contribute/Page/ContributionType.tpl @@ -39,7 +39,7 @@ {if $row.is_deductible eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {if $row.is_reserved eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Contribute/Page/ManagePremiums.tpl b/templates/CRM/Contribute/Page/ManagePremiums.tpl index f80c43e5dc..9760a62a99 100644 --- a/templates/CRM/Contribute/Page/ManagePremiums.tpl +++ b/templates/CRM/Contribute/Page/ManagePremiums.tpl @@ -51,7 +51,7 @@ {$row.cost|crmMoney} {$row.financial_type} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Financial/Page/FinancialAccount.tpl b/templates/CRM/Financial/Page/FinancialAccount.tpl index 65ebc0dc7f..43252aa208 100644 --- a/templates/CRM/Financial/Page/FinancialAccount.tpl +++ b/templates/CRM/Financial/Page/FinancialAccount.tpl @@ -54,7 +54,7 @@ {if $row.is_reserved eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {icon condition=$row.is_default}{ts}Default{/ts}{/icon} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Financial/Page/FinancialType.tpl b/templates/CRM/Financial/Page/FinancialType.tpl index c4f55f03ea..6ee791b70b 100644 --- a/templates/CRM/Financial/Page/FinancialType.tpl +++ b/templates/CRM/Financial/Page/FinancialType.tpl @@ -44,7 +44,7 @@ {if $row.is_deductible eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {if $row.is_reserved eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Financial/Page/FinancialTypeAccount.tpl b/templates/CRM/Financial/Page/FinancialTypeAccount.tpl index c3af8775a1..7700c2d237 100644 --- a/templates/CRM/Financial/Page/FinancialTypeAccount.tpl +++ b/templates/CRM/Financial/Page/FinancialTypeAccount.tpl @@ -40,7 +40,7 @@ {$row.financial_account_type}{if $row.account_type_code} ({$row.account_type_code}){/if} {$row.owned_by} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Group/Page/GroupRows.tpl b/templates/CRM/Group/Page/GroupRows.tpl index bf5323c9df..050fbf3377 100644 --- a/templates/CRM/Group/Page/GroupRows.tpl +++ b/templates/CRM/Group/Page/GroupRows.tpl @@ -16,6 +16,6 @@ {$row.description|mb_truncate:80:"...":true} {$row.visibility} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Mailing/Page/Browse.tpl b/templates/CRM/Mailing/Page/Browse.tpl index ad5a0b8d41..c0fdd64d5a 100644 --- a/templates/CRM/Mailing/Page/Browse.tpl +++ b/templates/CRM/Mailing/Page/Browse.tpl @@ -70,7 +70,7 @@ {if call_user_func(array('CRM_Campaign_BAO_Campaign','isCampaignEnable'))} {$row.campaign} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Mailing/Page/Component.tpl b/templates/CRM/Mailing/Page/Component.tpl index ccc1db657f..0cae9fb864 100644 --- a/templates/CRM/Mailing/Page/Component.tpl +++ b/templates/CRM/Mailing/Page/Component.tpl @@ -37,7 +37,7 @@ {$row.body_text|escape} {icon condition=$row.is_default}{ts}Default{/ts}{/icon}  {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Member/Page/MembershipStatus.tpl b/templates/CRM/Member/Page/MembershipStatus.tpl index 99decbbd24..fbfe13c56f 100644 --- a/templates/CRM/Member/Page/MembershipStatus.tpl +++ b/templates/CRM/Member/Page/MembershipStatus.tpl @@ -48,7 +48,7 @@ {if $row.is_admin eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {$row.weight|smarty:nodefaults} {if $row.is_reserved eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} - {if !empty($row.action)}{$row.action|replace:'xx':$row.id}{/if} + {if !empty($row.action)}{$row.action|smarty:nodefaults|replace:'xx':$row.id}{/if} {/foreach} diff --git a/templates/CRM/Member/Page/MembershipType.tpl b/templates/CRM/Member/Page/MembershipType.tpl index 09cd8792eb..d9f0a0914a 100644 --- a/templates/CRM/Member/Page/MembershipType.tpl +++ b/templates/CRM/Member/Page/MembershipType.tpl @@ -49,7 +49,7 @@ {$row.visibility} {$row.weight|smarty:nodefaults} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/PCP/Page/PCP.tpl b/templates/CRM/PCP/Page/PCP.tpl index 9aca301ba3..343d6adef5 100644 --- a/templates/CRM/PCP/Page/PCP.tpl +++ b/templates/CRM/PCP/Page/PCP.tpl @@ -44,7 +44,7 @@ {$row.start_date|crmDate} {if $row.end_date}{$row.end_date|crmDate}{else}({ts}ongoing{/ts}){/if} {$row.status_id} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Price/Page/Field.tpl b/templates/CRM/Price/Page/Field.tpl index 012c40138a..ff98309a5c 100644 --- a/templates/CRM/Price/Page/Field.tpl +++ b/templates/CRM/Price/Page/Field.tpl @@ -74,7 +74,7 @@ {if $row.html_type eq "Text / Numeric Quantity" }{$row.tax_amount|crmMoney}{/if} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Price/Page/Option.tpl b/templates/CRM/Price/Page/Option.tpl index 99dcb42258..dd04c1dda3 100644 --- a/templates/CRM/Price/Page/Option.tpl +++ b/templates/CRM/Price/Page/Option.tpl @@ -79,7 +79,7 @@ {$row.tax_amount|crmMoney} {/if} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/Price/Page/Set.tpl b/templates/CRM/Price/Page/Set.tpl index 4b90dce429..bdd496f32b 100644 --- a/templates/CRM/Price/Page/Set.tpl +++ b/templates/CRM/Price/Page/Set.tpl @@ -52,7 +52,7 @@ {$row.title} {$row.extends} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/SMS/Page/Provider.tpl b/templates/CRM/SMS/Page/Provider.tpl index 3ebf7393f7..ccbf33995b 100644 --- a/templates/CRM/SMS/Page/Provider.tpl +++ b/templates/CRM/SMS/Page/Provider.tpl @@ -38,7 +38,7 @@ {if $row.api_params eq null}{ts}no parameters{/ts}{else}
{$row.api_params}
{/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/UF/Page/Field.tpl b/templates/CRM/UF/Page/Field.tpl index 78b812e5c8..f266f1fab1 100644 --- a/templates/CRM/UF/Page/Field.tpl +++ b/templates/CRM/UF/Page/Field.tpl @@ -53,7 +53,7 @@ {if $row.is_required eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {if $row.is_view eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {if $row.is_reserved eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/foreach} diff --git a/templates/CRM/UF/Page/Group.tpl b/templates/CRM/UF/Page/Group.tpl index 45e3c893ee..4bcd418556 100644 --- a/templates/CRM/UF/Page/Group.tpl +++ b/templates/CRM/UF/Page/Group.tpl @@ -81,7 +81,7 @@ {$row.group_type} {$row.id} {$row.module} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/if} {/foreach} @@ -126,7 +126,7 @@ {$row.group_type} {$row.id} {$row.module} - {$row.action|replace:'xx':$row.id} + {$row.action|smarty:nodefaults|replace:'xx':$row.id} {/if} {/foreach} -- 2.25.1