From 6e22bf56fd6011288553e3350ac1e635f2af1383 Mon Sep 17 00:00:00 2001 From: Christian Wach Date: Fri, 19 Oct 2018 14:21:02 +0100 Subject: [PATCH] Fix "crmURL" parameters in various templates --- templates/CRM/Contact/Page/View/Print.tpl | 4 ++-- templates/CRM/Contact/Page/View/Summary.tpl | 2 +- .../CRM/Event/Cart/Form/Checkout/ParticipantsAndPrices.tpl | 2 +- templates/CRM/common/paymentBlock.tpl | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/CRM/Contact/Page/View/Print.tpl b/templates/CRM/Contact/Page/View/Print.tpl index 87363ba606..b0eecd5d6f 100644 --- a/templates/CRM/Contact/Page/View/Print.tpl +++ b/templates/CRM/Contact/Page/View/Print.tpl @@ -33,7 +33,7 @@ --> {/literal} -
+
     
@@ -41,7 +41,7 @@

{include file="CRM/Contact/Page/View/Summary.tpl"} - +
     
diff --git a/templates/CRM/Contact/Page/View/Summary.tpl b/templates/CRM/Contact/Page/View/Summary.tpl index c1696f58bb..52fb8d38ff 100644 --- a/templates/CRM/Contact/Page/View/Summary.tpl +++ b/templates/CRM/Contact/Page/View/Summary.tpl @@ -80,7 +80,7 @@ {elseif call_user_func(array('CRM_Core_Permission','check'), 'delete contacts')}
  • - {crmButton p='civicrm/contact/view/delete' q="&reset=1&delete=1&cid=$contactId" class="delete" icon="trash"} + {crmButton p='civicrm/contact/view/delete' q="reset=1&delete=1&cid=$contactId" class="delete" icon="trash"} {ts}Delete Contact{/ts} {/crmButton}
  • diff --git a/templates/CRM/Event/Cart/Form/Checkout/ParticipantsAndPrices.tpl b/templates/CRM/Event/Cart/Form/Checkout/ParticipantsAndPrices.tpl index 22d053a2b0..1b7251641e 100644 --- a/templates/CRM/Event/Cart/Form/Checkout/ParticipantsAndPrices.tpl +++ b/templates/CRM/Event/Cart/Form/Checkout/ParticipantsAndPrices.tpl @@ -2,7 +2,7 @@ {if $contact} + {ts 1=$contact.display_name}Welcome %1{/ts}. ({ts 1=$contact.display_name}Not %1, or want to register a different person{/ts}?)
    {/if} {foreach from=$events_in_carts key=index item=event_in_cart} diff --git a/templates/CRM/common/paymentBlock.tpl b/templates/CRM/common/paymentBlock.tpl index d176e10226..9c58c83b86 100644 --- a/templates/CRM/common/paymentBlock.tpl +++ b/templates/CRM/common/paymentBlock.tpl @@ -111,7 +111,7 @@ var payment_instrument_id = $('#payment_instrument_id').val(); - var dataUrl = "{crmURL p='civicrm/payment/form' h=0 q="&formName=`$form.formName`¤cy=`$currency`&`$urlPathVar``$isBackOfficePathVar``$profilePathVar``$contributionPageID``$preProfileID`processor_id="}" + type; + var dataUrl = "{crmURL p='civicrm/payment/form' h=0 q="formName=`$form.formName`¤cy=`$currency`&`$urlPathVar``$isBackOfficePathVar``$profilePathVar``$contributionPageID``$preProfileID`processor_id="}" + type; {literal} if (typeof(CRM.vars) != "undefined") { if (typeof(CRM.vars.coreForm) != "undefined") { -- 2.25.1