From 10824d34f46221147b3ca4a8b9fa0acc093dc689 Mon Sep 17 00:00:00 2001
From: eileen
Date: Mon, 13 May 2013 14:29:08 +1200
Subject: [PATCH] CRM-12595 fix formatting in CRM/Upgrade files
---
.../membership_offline_receipt_text.tpl | 2 +-
.../test_preview_subject.tpl | 2 +-
.../message_templates/test_preview_text.tpl | 2 +-
.../event_offline_receipt_html.tpl | 28 +-
.../event_offline_receipt_text.tpl | 2 +-
.../event_online_receipt_html.tpl | 12 +-
.../event_online_receipt_text.tpl | 2 +-
.../message_templates/case_activity_html.tpl | 10 +-
.../message_templates/case_activity_html.tpl | 206 +++----
.../message_templates/case_activity_text.tpl | 74 +--
.../membership_online_receipt_html.tpl | 1 -
.../contribution_recurring_notify_html.tpl | 4 +-
.../petition_confirmation_needed_html.tpl | 2 +-
.../petition_confirmation_needed_text.tpl | 4 +-
.../event_offline_receipt_html.tpl | 22 +-
.../event_offline_receipt_text.tpl | 4 +-
.../event_online_receipt_html.tpl | 14 +-
.../event_online_receipt_text.tpl | 4 +-
.../petition_confirmation_needed_text.tpl | 4 +-
.../membership_online_receipt_html.tpl | 4 +-
.../event_online_receipt_html.tpl | 18 +-
.../event_online_receipt_text.tpl | 6 +-
.../membership_online_receipt_html.tpl | 2 +-
.../membership_offline_receipt_html.tpl | 8 +-
.../membership_offline_receipt_text.tpl | 2 +-
.../membership_online_receipt_html.tpl | 8 +-
.../membership_offline_receipt_html.tpl | 8 +-
.../membership_offline_receipt_text.tpl | 2 +-
.../membership_online_receipt_html.tpl | 8 +-
.../civicrm_msg_template.tpl | 14 +-
.../event_online_receipt_html.tpl | 14 +-
.../event_online_receipt_text.tpl | 4 +-
.../petition_confirmation_needed_html.tpl | 2 +-
.../petition_confirmation_needed_text.tpl | 4 +-
.../event_online_receipt_html.tpl | 44 +-
.../event_online_receipt_text.tpl | 6 +-
.../civicrm_msg_template.tpl | 8 +-
.../contribution_recurring_billing_html.tpl | 2 +-
.../contribution_recurring_edit_text.tpl | 6 +-
.../contribution_recurring_notify_html.tpl | 4 +-
.../contribution_recurring_notify_text.tpl | 2 +-
.../event_online_receipt_html.tpl | 43 +-
.../event_online_receipt_text.tpl | 6 +-
.../membership_autorenew_billing_html.tpl | 3 +-
.../membership_online_receipt_html.tpl | 6 +-
.../event_offline_receipt_html.tpl | 22 +-
.../event_offline_receipt_text.tpl | 4 +-
.../event_online_receipt_html.tpl | 44 +-
.../event_online_receipt_text.tpl | 6 +-
.../membership_offline_receipt_text.tpl | 2 +-
.../event_online_receipt_html.tpl | 44 +-
.../event_online_receipt_text.tpl | 6 +-
.../event_offline_receipt_html.tpl | 22 +-
.../event_offline_receipt_text.tpl | 4 +-
.../event_online_receipt_html.tpl | 44 +-
.../event_online_receipt_text.tpl | 6 +-
.../membership_offline_receipt_html.tpl | 8 +-
.../membership_offline_receipt_text.tpl | 2 +-
.../membership_online_receipt_html.tpl | 6 +-
.../event_online_receipt_html.tpl | 45 +-
.../event_online_receipt_text.tpl | 6 +-
.../membership_online_receipt_html.tpl | 6 +-
.../contribution_online_receipt_html.tpl | 2 +-
CRM/Upgrade/Incremental/Legacy.php | 10 +-
CRM/Upgrade/Incremental/php/ThreeFour.php | 19 +-
CRM/Upgrade/Incremental/php/ThreeTwo.php | 5 +-
CRM/Upgrade/Incremental/sql/2.1.2.mysql | 8 +-
CRM/Upgrade/Incremental/sql/2.2.0.mysql.tpl | 2 +-
CRM/Upgrade/Incremental/sql/2.2.1.mysql.tpl | 18 +-
CRM/Upgrade/Incremental/sql/2.2.3.mysql.tpl | 10 +-
CRM/Upgrade/Incremental/sql/2.2.7.mysql.tpl | 40 +-
.../Incremental/sql/2.2.alpha1.mysql.tpl | 100 ++--
.../Incremental/sql/2.2.alpha3.mysql.tpl | 18 +-
.../Incremental/sql/2.2.beta1.mysql.tpl | 2 +-
.../Incremental/sql/2.2.beta2.mysql.tpl | 18 +-
.../Incremental/sql/2.2.beta3.mysql.tpl | 12 +-
.../Incremental/sql/2.2.beta4.mysql.tpl | 4 +-
CRM/Upgrade/Incremental/sql/3.0.0.mysql.tpl | 32 +-
CRM/Upgrade/Incremental/sql/3.0.3.mysql.tpl | 30 +-
CRM/Upgrade/Incremental/sql/3.0.4.mysql.tpl | 2 +-
.../Incremental/sql/3.0.alpha1.mysql.tpl | 548 +++++++++---------
.../Incremental/sql/3.0.alpha2.mysql.tpl | 2 +-
.../Incremental/sql/3.0.alpha3.mysql.tpl | 3 +-
.../Incremental/sql/3.0.beta1.mysql.tpl | 8 +-
.../Incremental/sql/3.0.beta2.mysql.tpl | 4 +-
CRM/Upgrade/Incremental/sql/3.1.0.mysql.tpl | 2 +-
CRM/Upgrade/Incremental/sql/3.1.3.mysql.tpl | 21 +-
CRM/Upgrade/Incremental/sql/3.1.4.mysql.tpl | 14 +-
CRM/Upgrade/Incremental/sql/3.1.5.mysql.tpl | 4 +-
.../Incremental/sql/3.1.alpha1.mysql.tpl | 124 ++--
.../Incremental/sql/3.1.alpha2.mysql.tpl | 4 +-
.../Incremental/sql/3.1.beta1.mysql.tpl | 34 +-
.../Incremental/sql/3.1.beta2.mysql.tpl | 22 +-
.../Incremental/sql/3.1.beta4.mysql.tpl | 2 +-
.../Incremental/sql/3.1.beta5.mysql.tpl | 4 +-
CRM/Upgrade/Incremental/sql/3.2.1.mysql.tpl | 2 +-
CRM/Upgrade/Incremental/sql/3.2.2.mysql.tpl | 6 +-
CRM/Upgrade/Incremental/sql/3.2.3.mysql.tpl | 8 +-
CRM/Upgrade/Incremental/sql/3.2.4.mysql.tpl | 4 +-
.../Incremental/sql/3.2.alpha1.mysql.tpl | 116 ++--
.../Incremental/sql/3.2.alpha3.mysql.tpl | 74 +--
.../Incremental/sql/3.2.alpha4.mysql.tpl | 6 +-
.../Incremental/sql/3.2.beta1.mysql.tpl | 10 +-
.../Incremental/sql/3.2.beta3.mysql.tpl | 30 +-
.../Incremental/sql/3.2.beta4.mysql.tpl | 42 +-
.../Incremental/sql/3.2.beta5.mysql.tpl | 10 +-
CRM/Upgrade/Incremental/sql/3.3.0.mysql.tpl | 10 +-
CRM/Upgrade/Incremental/sql/3.3.2.mysql.tpl | 22 +-
CRM/Upgrade/Incremental/sql/3.3.4.mysql.tpl | 18 +-
CRM/Upgrade/Incremental/sql/3.3.6.mysql.tpl | 6 +-
.../Incremental/sql/3.3.alpha1.mysql.tpl | 82 +--
.../Incremental/sql/3.3.alpha2.mysql.tpl | 2 +-
.../Incremental/sql/3.3.beta1.mysql.tpl | 26 +-
.../Incremental/sql/3.3.beta2.mysql.tpl | 12 +-
CRM/Upgrade/Incremental/sql/3.4.0.mysql.tpl | 2 +-
CRM/Upgrade/Incremental/sql/3.4.1.mysql.tpl | 12 +-
CRM/Upgrade/Incremental/sql/3.4.2.mysql.tpl | 24 +-
CRM/Upgrade/Incremental/sql/3.4.3.mysql.tpl | 26 +-
CRM/Upgrade/Incremental/sql/3.4.5.mysql.tpl | 20 +-
CRM/Upgrade/Incremental/sql/3.4.6.mysql.tpl | 10 +-
.../Incremental/sql/3.4.alpha1.mysql.tpl | 22 +-
.../Incremental/sql/3.4.alpha2.mysql.tpl | 12 +-
.../Incremental/sql/3.4.alpha3.mysql.tpl | 4 +-
.../Incremental/sql/3.4.beta2.mysql.tpl | 2 +-
.../Incremental/sql/3.4.beta3.mysql.tpl | 2 +-
CRM/Upgrade/Incremental/sql/4.1.0.mysql.tpl | 1 -
CRM/Upgrade/Incremental/sql/4.1.2.mysql.tpl | 2 +-
.../Incremental/sql/4.1.alpha1.mysql.tpl | 144 ++---
.../Incremental/sql/4.1.alpha2.mysql.tpl | 4 +-
.../Incremental/sql/4.1.beta1.mysql.tpl | 2 +-
.../Incremental/sql/4.1.beta2.mysql.tpl | 202 +++----
.../Incremental/sql/4.1.beta3.mysql.tpl | 4 +-
CRM/Upgrade/Incremental/sql/4.2.0.mysql.tpl | 2 +-
CRM/Upgrade/Incremental/sql/4.2.2.mysql.tpl | 2 +-
CRM/Upgrade/Incremental/sql/4.2.3.mysql.tpl | 14 +-
CRM/Upgrade/Incremental/sql/4.2.5.mysql.tpl | 2 +-
.../Incremental/sql/4.2.alpha2.mysql.tpl | 4 +-
.../Incremental/sql/4.2.beta1.mysql.tpl | 2 +-
.../Incremental/sql/4.2.beta6.mysql.tpl | 6 +-
.../Incremental/sql/4.3.alpha1.mysql.tpl | 130 ++---
.../Incremental/sql/4.3.alpha2.mysql.tpl | 4 +-
.../Incremental/sql/4.3.beta3.mysql.tpl | 2 +-
CRM/Upgrade/Incremental/sql/README.txt | 4 +-
CRM/Upgrade/Page/Cleanup.php | 2 +-
CRM/Upgrade/Snapshot/V4p2/Price/BAO/Field.php | 6 +-
CRM/Upgrade/Snapshot/V4p2/Price/BAO/Set.php | 10 +-
CRM/Upgrade/ThreeOne/ThreeOne.php | 2 +-
CRM/Upgrade/ThreeZero/ThreeZero.php | 48 +-
CRM/Upgrade/TwoOne/Form/Step1.php | 2 +-
CRM/Upgrade/TwoOne/Form/Step2.php | 8 +-
CRM/Upgrade/TwoOne/Form/Step3.php | 2 +-
CRM/Upgrade/TwoOne/Form/TwoOneTwo.php | 2 +-
CRM/Upgrade/TwoOne/sql/domain_ids.mysql | 24 +-
CRM/Upgrade/TwoOne/sql/group_values.mysql | 50 +-
CRM/Upgrade/TwoOne/sql/misc.mysql | 98 ++--
CRM/Upgrade/TwoOne/sql/two_one_two.mysql | 8 +-
CRM/Upgrade/TwoTwo/Form/Step3.php | 22 +-
157 files changed, 1733 insertions(+), 1742 deletions(-)
diff --git a/CRM/Upgrade/3.1.alpha1.msg_template/message_templates/membership_offline_receipt_text.tpl b/CRM/Upgrade/3.1.alpha1.msg_template/message_templates/membership_offline_receipt_text.tpl
index fbffc4495d..544c06b0fa 100644
--- a/CRM/Upgrade/3.1.alpha1.msg_template/message_templates/membership_offline_receipt_text.tpl
+++ b/CRM/Upgrade/3.1.alpha1.msg_template/message_templates/membership_offline_receipt_text.tpl
@@ -31,7 +31,7 @@
{if $formValues.paidBy}
{ts}Paid By{/ts}: {$formValues.paidBy}
{if $formValues.check_number}
-{ts}Check Number{/ts}: {$formValues.check_number}
+{ts}Check Number{/ts}: {$formValues.check_number}
{/if}
{/if}
{/if}
diff --git a/CRM/Upgrade/3.1.alpha1.msg_template/message_templates/test_preview_subject.tpl b/CRM/Upgrade/3.1.alpha1.msg_template/message_templates/test_preview_subject.tpl
index c0438bc9f9..20cc6a1050 100644
--- a/CRM/Upgrade/3.1.alpha1.msg_template/message_templates/test_preview_subject.tpl
+++ b/CRM/Upgrade/3.1.alpha1.msg_template/message_templates/test_preview_subject.tpl
@@ -1 +1 @@
-[TEST]
+[TEST]
diff --git a/CRM/Upgrade/3.1.alpha1.msg_template/message_templates/test_preview_text.tpl b/CRM/Upgrade/3.1.alpha1.msg_template/message_templates/test_preview_text.tpl
index bf4c95f105..5821007a01 100644
--- a/CRM/Upgrade/3.1.alpha1.msg_template/message_templates/test_preview_text.tpl
+++ b/CRM/Upgrade/3.1.alpha1.msg_template/message_templates/test_preview_text.tpl
@@ -1,6 +1,6 @@
***********************************************************
-{ts}Test-drive Email / Receipt{/ts}
+{ts}Test-drive Email / Receipt{/ts}
{ts}This is a test-drive email. No live financial transaction has occurred.{/ts}
diff --git a/CRM/Upgrade/3.2.alpha1.msg_template/message_templates/event_offline_receipt_html.tpl b/CRM/Upgrade/3.2.alpha1.msg_template/message_templates/event_offline_receipt_html.tpl
index 77ed2bb943..c2ad87ea6c 100755
--- a/CRM/Upgrade/3.2.alpha1.msg_template/message_templates/event_offline_receipt_html.tpl
+++ b/CRM/Upgrade/3.2.alpha1.msg_template/message_templates/event_offline_receipt_html.tpl
@@ -178,7 +178,7 @@ registration process.{/ts}
{ts}Qty{/ts} |
{ts}Each{/ts} |
{ts}Total{/ts} |
- {if $participantCount }{ts}Total Participants{/ts} | {/if}
+ {if $participantCount }{ts}Total Participants{/ts} | {/if}
{foreach from=$value item=line}
@@ -194,11 +194,11 @@ registration process.{/ts}
|
{$line.line_total|crmMoney}
|
- {if $participantCount }
-
- {$line.participant_count}
+ {if $participantCount }
+ |
+ {$line.participant_count}
|
- {/if}
+ {/if}
{/foreach}
@@ -229,16 +229,16 @@ registration process.{/ts}
{if $participantCount }
- |
- {ts}Total Participants{/ts} |
+
+ {ts}Total Participants{/ts} |
- {assign var="count" value= 0}
- {foreach from=$lineItem item=pcount}
- {foreach from=$pcount item=p_count}
- {assign var="count" value=$count+$p_count.participant_count}
- {/foreach}
- {/foreach}
- {$count}
+ {assign var="count" value= 0}
+ {foreach from=$lineItem item=pcount}
+ {foreach from=$pcount item=p_count}
+ {assign var="count" value=$count+$p_count.participant_count}
+ {/foreach}
+ {/foreach}
+ {$count}
|
{/if}
diff --git a/CRM/Upgrade/3.2.alpha1.msg_template/message_templates/event_offline_receipt_text.tpl b/CRM/Upgrade/3.2.alpha1.msg_template/message_templates/event_offline_receipt_text.tpl
index 9d9e3cefef..87d982d7ab 100755
--- a/CRM/Upgrade/3.2.alpha1.msg_template/message_templates/event_offline_receipt_text.tpl
+++ b/CRM/Upgrade/3.2.alpha1.msg_template/message_templates/event_offline_receipt_text.tpl
@@ -145,7 +145,7 @@ registration process.{/ts}
{ts}Total Participants{/ts}: {$count}
{/if}
-
+
{if $is_pay_later }
==========================================================={if $participantCount }===================={/if}
diff --git a/CRM/Upgrade/3.2.alpha1.msg_template/message_templates/event_online_receipt_html.tpl b/CRM/Upgrade/3.2.alpha1.msg_template/message_templates/event_online_receipt_html.tpl
index 492b91ad2f..edda905918 100755
--- a/CRM/Upgrade/3.2.alpha1.msg_template/message_templates/event_online_receipt_html.tpl
+++ b/CRM/Upgrade/3.2.alpha1.msg_template/message_templates/event_online_receipt_html.tpl
@@ -178,7 +178,7 @@ registration process.{/ts}
{ts}Qty{/ts} |
{ts}Each{/ts} |
{ts}Total{/ts} |
- {if $participantCount }{ts}Total Participants{/ts} | {/if}
+ {if $participantCount }{ts}Total Participants{/ts} | {/if}
{foreach from=$value item=line}
@@ -194,7 +194,7 @@ registration process.{/ts}
|
{$line.line_total|crmMoney}
|
- {if $participantCount }{$line.participant_count} | {/if}
+ {if $participantCount }{$line.participant_count} | {/if}
{/foreach}
@@ -218,17 +218,17 @@ registration process.{/ts}
|
{ts}Total Amount{/ts}
- |
+
{$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}
|
{if $participantCount }
- |
- {ts}Total Participants{/ts} |
+
+ {ts}Total Participants{/ts} |
- {assign var="count" value= 0}
+ {assign var="count" value= 0}
{foreach from=$lineItem item=pcount}
{foreach from=$pcount item=p_count}
{assign var="count" value=$count+$p_count.participant_count}
diff --git a/CRM/Upgrade/3.2.alpha1.msg_template/message_templates/event_online_receipt_text.tpl b/CRM/Upgrade/3.2.alpha1.msg_template/message_templates/event_online_receipt_text.tpl
index 4d0d7a3742..6202fae4b9 100755
--- a/CRM/Upgrade/3.2.alpha1.msg_template/message_templates/event_online_receipt_text.tpl
+++ b/CRM/Upgrade/3.2.alpha1.msg_template/message_templates/event_online_receipt_text.tpl
@@ -145,7 +145,7 @@ registration process.{/ts}
{ts}Total Participants{/ts}: {$count}
{/if}
-
+
{if $is_pay_later }
==========================================================={if $participantCount }===================={/if}
diff --git a/CRM/Upgrade/3.2.alpha3.msg_template/message_templates/case_activity_html.tpl b/CRM/Upgrade/3.2.alpha3.msg_template/message_templates/case_activity_html.tpl
index c1c5dd5f12..59dce775a2 100644
--- a/CRM/Upgrade/3.2.alpha3.msg_template/message_templates/case_activity_html.tpl
+++ b/CRM/Upgrade/3.2.alpha3.msg_template/message_templates/case_activity_html.tpl
@@ -37,20 +37,20 @@
|
{/if}
- {if $editActURL}
+ {if $editActURL}
|
- {ts}Edit this activity{/ts}
+ {ts}Edit this activity{/ts}
|
{/if}
{if $viewActURL}
|
- {ts}View this activity{/ts}
+ {ts}View this activity{/ts}
|
-
- {/if}
+
+ {/if}
{foreach from=$activity.fields item=field}
diff --git a/CRM/Upgrade/3.3.2.msg_template/message_templates/case_activity_html.tpl b/CRM/Upgrade/3.3.2.msg_template/message_templates/case_activity_html.tpl
index 3de0115516..8749ee13af 100644
--- a/CRM/Upgrade/3.3.2.msg_template/message_templates/case_activity_html.tpl
+++ b/CRM/Upgrade/3.3.2.msg_template/message_templates/case_activity_html.tpl
@@ -1,104 +1,104 @@
-
-
-
-
-
-
-
-
-{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture}
-{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture}
-{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
- {ts}Activity Summary{/ts} - {$activityTypeName}
- |
-
- {if $isCaseActivity}
-
- |
- {ts}Your Case Role(s){/ts}
- |
-
- {$contact.role}
- |
-
- {if $manageCaseURL}
-
- |
- {ts}Manage Case{/ts}
- |
-
- {/if}
- {/if}
- {if $editActURL}
-
- |
- {ts}Edit this activity{/ts}
- |
-
- {/if}
- {if $viewActURL}
-
- |
- {ts}View this activity{/ts}
- |
-
- {/if}
- {foreach from=$activity.fields item=field}
-
- |
- {$field.label}{if $field.category}({$field.category}){/if}
- |
-
- {if $field.type eq 'Date'}
- {$field.value|crmDate:$config->dateformatDatetime}
- {else}
- {$field.value}
- {/if}
- |
-
- {/foreach}
-
- {foreach from=$activity.customGroups key=customGroupName item=customGroup}
-
- |
- {$customGroupName}
- |
-
- {foreach from=$customGroup item=field}
-
- |
- {$field.label}
- |
-
- {if $field.type eq 'Date'}
- {$field.value|crmDate:$config->dateformatDatetime}
- {else}
- {$field.value}
- {/if}
- |
-
- {/foreach}
- {/foreach}
-
- |
-
-
-
-
-
+
+
+
+
+
+
+
+
+{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture}
+{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture}
+{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+ {ts}Activity Summary{/ts} - {$activityTypeName}
+ |
+
+ {if $isCaseActivity}
+
+ |
+ {ts}Your Case Role(s){/ts}
+ |
+
+ {$contact.role}
+ |
+
+ {if $manageCaseURL}
+
+ |
+ {ts}Manage Case{/ts}
+ |
+
+ {/if}
+ {/if}
+ {if $editActURL}
+
+ |
+ {ts}Edit this activity{/ts}
+ |
+
+ {/if}
+ {if $viewActURL}
+
+ |
+ {ts}View this activity{/ts}
+ |
+
+ {/if}
+ {foreach from=$activity.fields item=field}
+
+ |
+ {$field.label}{if $field.category}({$field.category}){/if}
+ |
+
+ {if $field.type eq 'Date'}
+ {$field.value|crmDate:$config->dateformatDatetime}
+ {else}
+ {$field.value}
+ {/if}
+ |
+
+ {/foreach}
+
+ {foreach from=$activity.customGroups key=customGroupName item=customGroup}
+
+ |
+ {$customGroupName}
+ |
+
+ {foreach from=$customGroup item=field}
+
+ |
+ {$field.label}
+ |
+
+ {if $field.type eq 'Date'}
+ {$field.value|crmDate:$config->dateformatDatetime}
+ {else}
+ {$field.value}
+ {/if}
+ |
+
+ {/foreach}
+ {/foreach}
+
+ |
+
+
+
+
+
\ No newline at end of file
diff --git a/CRM/Upgrade/3.3.2.msg_template/message_templates/case_activity_text.tpl b/CRM/Upgrade/3.3.2.msg_template/message_templates/case_activity_text.tpl
index 2c7c4cc1e3..70cd0d7db8 100644
--- a/CRM/Upgrade/3.3.2.msg_template/message_templates/case_activity_text.tpl
+++ b/CRM/Upgrade/3.3.2.msg_template/message_templates/case_activity_text.tpl
@@ -1,38 +1,38 @@
-===========================================================
-{ts}Activity Summary{/ts} - {$activityTypeName}
-===========================================================
-{if $isCaseActivity}
-{ts}Your Case Role(s){/ts} : {$contact.role}
-{if $manageCaseURL}
-{ts}Manage Case{/ts} : {$manageCaseURL}
-{/if}
-{/if}
-
-{if $editActURL}
-{ts}Edit this Activity{/ts} : {$editActURL}
-{/if}
-{if $viewActURL}
-{ts}View this Activity{/ts} : {$viewActURL}
-{/if}
-
-{foreach from=$activity.fields item=field}
-{if $field.type eq 'Date'}
-{$field.label}{if $field.category}({$field.category}){/if} : {$field.value|crmDate:$config->dateformatDatetime}
-{else}
-{$field.label}{if $field.category}({$field.category}){/if} : {$field.value}
-{/if}
-{/foreach}
-
-{foreach from=$activity.customGroups key=customGroupName item=customGroup}
-==========================================================
-{$customGroupName}
-==========================================================
-{foreach from=$customGroup item=field}
-{if $field.type eq 'Date'}
-{$field.label} : {$field.value|crmDate:$config->dateformatDatetime}
-{else}
-{$field.label} : {$field.value}
-{/if}
-{/foreach}
-
+===========================================================
+{ts}Activity Summary{/ts} - {$activityTypeName}
+===========================================================
+{if $isCaseActivity}
+{ts}Your Case Role(s){/ts} : {$contact.role}
+{if $manageCaseURL}
+{ts}Manage Case{/ts} : {$manageCaseURL}
+{/if}
+{/if}
+
+{if $editActURL}
+{ts}Edit this Activity{/ts} : {$editActURL}
+{/if}
+{if $viewActURL}
+{ts}View this Activity{/ts} : {$viewActURL}
+{/if}
+
+{foreach from=$activity.fields item=field}
+{if $field.type eq 'Date'}
+{$field.label}{if $field.category}({$field.category}){/if} : {$field.value|crmDate:$config->dateformatDatetime}
+{else}
+{$field.label}{if $field.category}({$field.category}){/if} : {$field.value}
+{/if}
+{/foreach}
+
+{foreach from=$activity.customGroups key=customGroupName item=customGroup}
+==========================================================
+{$customGroupName}
+==========================================================
+{foreach from=$customGroup item=field}
+{if $field.type eq 'Date'}
+{$field.label} : {$field.value|crmDate:$config->dateformatDatetime}
+{else}
+{$field.label} : {$field.value}
+{/if}
+{/foreach}
+
{/foreach}
\ No newline at end of file
diff --git a/CRM/Upgrade/3.3.2.msg_template/message_templates/membership_online_receipt_html.tpl b/CRM/Upgrade/3.3.2.msg_template/message_templates/membership_online_receipt_html.tpl
index 0384ce7b24..a9e277caaf 100644
--- a/CRM/Upgrade/3.3.2.msg_template/message_templates/membership_online_receipt_html.tpl
+++ b/CRM/Upgrade/3.3.2.msg_template/message_templates/membership_online_receipt_html.tpl
@@ -475,7 +475,6 @@
|
-
diff --git a/CRM/Upgrade/3.3.3.msg_template/message_templates/contribution_recurring_notify_html.tpl b/CRM/Upgrade/3.3.3.msg_template/message_templates/contribution_recurring_notify_html.tpl
index 315f0390e8..f9d715d5ab 100644
--- a/CRM/Upgrade/3.3.3.msg_template/message_templates/contribution_recurring_notify_html.tpl
+++ b/CRM/Upgrade/3.3.3.msg_template/message_templates/contribution_recurring_notify_html.tpl
@@ -27,7 +27,7 @@
{if $recur_txnType eq 'START'}
{if $auto_renew_membership}
{ts}Thanks for your auto renew membership sign-up.{/ts}
- {ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed
+
{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed
every %1 %2(s). {/ts}
{else}
@@ -41,7 +41,7 @@
{elseif $recur_txnType eq 'END'}
{if $auto_renew_membership}
- {ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}
+ {ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}
{else}
{ts}Your recurring contribution term has ended.{/ts}
{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you for your support.{/ts}
diff --git a/CRM/Upgrade/3.3.beta1.msg_template/message_templates/petition_confirmation_needed_html.tpl b/CRM/Upgrade/3.3.beta1.msg_template/message_templates/petition_confirmation_needed_html.tpl
index 5547ac0304..2d30dc11c7 100644
--- a/CRM/Upgrade/3.3.beta1.msg_template/message_templates/petition_confirmation_needed_html.tpl
+++ b/CRM/Upgrade/3.3.beta1.msg_template/message_templates/petition_confirmation_needed_html.tpl
@@ -1,6 +1,6 @@
Thank you for signing {$petition.title}.
-In order to complete your signature, we must confirm your e-mail.
+
In order to complete your signature, we must confirm your e-mail.
Please do so by visiting the following web page by clicking
on the link below or pasting the link into your browser.
diff --git a/CRM/Upgrade/3.3.beta1.msg_template/message_templates/petition_confirmation_needed_text.tpl b/CRM/Upgrade/3.3.beta1.msg_template/message_templates/petition_confirmation_needed_text.tpl
index 0e3af09647..899e235f3f 100644
--- a/CRM/Upgrade/3.3.beta1.msg_template/message_templates/petition_confirmation_needed_text.tpl
+++ b/CRM/Upgrade/3.3.beta1.msg_template/message_templates/petition_confirmation_needed_text.tpl
@@ -1,9 +1,9 @@
Thank you for signing {$petition.title}.
-In order to complete your signature, we must confirm your e-mail.
+In order to complete your signature, we must confirm your e-mail.
Please do so by visiting the following web page by clicking
on the link below or pasting the link into your browser.
-Email confirmation page: {$petition.confirmUrl}
+Email confirmation page: {$petition.confirmUrl}
If you did not sign this petition, please ignore this message.
diff --git a/CRM/Upgrade/3.3.beta2.msg_template/message_templates/event_offline_receipt_html.tpl b/CRM/Upgrade/3.3.beta2.msg_template/message_templates/event_offline_receipt_html.tpl
index a427ea8d9f..7e6c5522b0 100644
--- a/CRM/Upgrade/3.3.beta2.msg_template/message_templates/event_offline_receipt_html.tpl
+++ b/CRM/Upgrade/3.3.beta2.msg_template/message_templates/event_offline_receipt_html.tpl
@@ -178,12 +178,12 @@ registration process.{/ts}
{ts}Qty{/ts} |
{ts}Each{/ts} |
{ts}Total{/ts} |
- {if $pricesetFieldsCount }{ts}Total Participants{/ts} | {/if}
+ {if $pricesetFieldsCount }{ts}Total Participants{/ts} | {/if}
{foreach from=$value item=line}
|
- {if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description|truncate:30:"..."} {/if}
+ {if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}{$line.description|truncate:30:"..."} {/if}
|
{$line.qty}
@@ -194,11 +194,11 @@ registration process.{/ts}
|
{$line.line_total|crmMoney}
|
- {if $pricesetFieldsCount }
-
- {$line.participant_count}
+ {if $pricesetFieldsCount }
+ |
+ {$line.participant_count}
|
- {/if}
+ {/if}
{/foreach}
@@ -229,10 +229,10 @@ registration process.{/ts}
{if $pricesetFieldsCount }
- |
- {ts}Total Participants{/ts} |
+
+ {ts}Total Participants{/ts} |
- {assign var="count" value= 0}
+ {assign var="count" value= 0}
{foreach from=$lineItem item=pcount}
{assign var="lineItemCount" value=0}
{if $pcount neq 'skip'}
@@ -241,11 +241,11 @@ registration process.{/ts}
{/foreach}
{if $lineItemCount < 1 }
assign var="lineItemCount" value=1}
- {/if}
+ {/if}
{assign var="count" value=$count+$lineItemCount}
{/if}
{/foreach}
- {$count}
+ {$count}
|
{/if}
diff --git a/CRM/Upgrade/3.3.beta2.msg_template/message_templates/event_offline_receipt_text.tpl b/CRM/Upgrade/3.3.beta2.msg_template/message_templates/event_offline_receipt_text.tpl
index 38b8f5c060..cfc17b293a 100644
--- a/CRM/Upgrade/3.3.beta2.msg_template/message_templates/event_offline_receipt_text.tpl
+++ b/CRM/Upgrade/3.3.beta2.msg_template/message_templates/event_offline_receipt_text.tpl
@@ -145,14 +145,14 @@ registration process.{/ts}
{/foreach}
{if $lineItemCount < 1 }
{assign var="lineItemCount" value=1}
- {/if}
+ {/if}
{assign var="count" value=$count+$lineItemCount}
{/if}
{/foreach}
{ts}Total Participants{/ts}: {$count}
{/if}
-
+
{if $is_pay_later }
==========================================================={if $pricesetFieldsCount }===================={/if}
diff --git a/CRM/Upgrade/3.3.beta2.msg_template/message_templates/event_online_receipt_html.tpl b/CRM/Upgrade/3.3.beta2.msg_template/message_templates/event_online_receipt_html.tpl
index 8a2d2ca8cd..24e6cf49da 100644
--- a/CRM/Upgrade/3.3.beta2.msg_template/message_templates/event_online_receipt_html.tpl
+++ b/CRM/Upgrade/3.3.beta2.msg_template/message_templates/event_online_receipt_html.tpl
@@ -178,7 +178,7 @@ registration process.{/ts}
{ts}Qty{/ts} |
{ts}Each{/ts} |
{ts}Total{/ts} |
- {if $pricesetFieldsCount }{ts}Total Participants{/ts} | {/if}
+ {if $pricesetFieldsCount }{ts}Total Participants{/ts} | {/if}
{foreach from=$value item=line}
@@ -194,7 +194,7 @@ registration process.{/ts}
|
{$line.line_total|crmMoney}
|
- {if $pricesetFieldsCount }{$line.participant_count} | {/if}
+ {if $pricesetFieldsCount }{$line.participant_count} | {/if}
{/foreach}
@@ -218,17 +218,17 @@ registration process.{/ts}
|
{ts}Total Amount{/ts}
- |
+
{$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}
|
{if $pricesetFieldsCount }
- |
- {ts}Total Participants{/ts} |
+
+ {ts}Total Participants{/ts} |
- {assign var="count" value= 0}
+ {assign var="count" value= 0}
{foreach from=$lineItem item=pcount}
{assign var="lineItemCount" value=0}
{if $pcount neq 'skip'}
@@ -237,7 +237,7 @@ registration process.{/ts}
{/foreach}
{if $lineItemCount < 1 }
{assign var="lineItemCount" value=1}
- {/if}
+ {/if}
{assign var="count" value=$count+$lineItemCount}
{/if}
{/foreach}
diff --git a/CRM/Upgrade/3.3.beta2.msg_template/message_templates/event_online_receipt_text.tpl b/CRM/Upgrade/3.3.beta2.msg_template/message_templates/event_online_receipt_text.tpl
index a6242680fe..1bfc5b0d35 100644
--- a/CRM/Upgrade/3.3.beta2.msg_template/message_templates/event_online_receipt_text.tpl
+++ b/CRM/Upgrade/3.3.beta2.msg_template/message_templates/event_online_receipt_text.tpl
@@ -145,14 +145,14 @@ registration process.{/ts}
{/foreach}
{if $lineItemCount < 1 }
{assign var="lineItemCount" value=1}
- {/if}
+ {/if}
{assign var="count" value=$count+$lineItemCount}
{/if}
{/foreach}
{ts}Total Participants{/ts}: {$count}
{/if}
-
+
{if $is_pay_later }
==========================================================={if $pricesetFieldsCount }===================={/if}
diff --git a/CRM/Upgrade/3.3.beta2.msg_template/message_templates/petition_confirmation_needed_text.tpl b/CRM/Upgrade/3.3.beta2.msg_template/message_templates/petition_confirmation_needed_text.tpl
index 1d9c3d60d9..8549b39b4c 100644
--- a/CRM/Upgrade/3.3.beta2.msg_template/message_templates/petition_confirmation_needed_text.tpl
+++ b/CRM/Upgrade/3.3.beta2.msg_template/message_templates/petition_confirmation_needed_text.tpl
@@ -1,8 +1,8 @@
Thank you for signing {$petition.title}.
-In order to complete your signature, we must confirm your e-mail.
+In order to complete your signature, we must confirm your e-mail.
Please do so by visiting the following email confirmation web page:
-{$petition.confirmUrlPlainText}
+{$petition.confirmUrlPlainText}
If you did not sign this petition, please ignore this message.
diff --git a/CRM/Upgrade/3.4.3.msg_template/message_templates/membership_online_receipt_html.tpl b/CRM/Upgrade/3.4.3.msg_template/message_templates/membership_online_receipt_html.tpl
index b4d9d1258d..a9800e053a 100644
--- a/CRM/Upgrade/3.4.3.msg_template/message_templates/membership_online_receipt_html.tpl
+++ b/CRM/Upgrade/3.4.3.msg_template/message_templates/membership_online_receipt_html.tpl
@@ -318,7 +318,7 @@
|
{/foreach}
{/if}
-
+
{if ! ($contributeMode eq 'notify' OR $contributeMode eq 'directIPN') and $is_monetary}
{if $is_pay_later}
@@ -478,7 +478,7 @@
-
+
diff --git a/CRM/Upgrade/3.4.5.msg_template/message_templates/event_online_receipt_html.tpl b/CRM/Upgrade/3.4.5.msg_template/message_templates/event_online_receipt_html.tpl
index 9d608c726e..8f6227533f 100644
--- a/CRM/Upgrade/3.4.5.msg_template/message_templates/event_online_receipt_html.tpl
+++ b/CRM/Upgrade/3.4.5.msg_template/message_templates/event_online_receipt_html.tpl
@@ -177,7 +177,7 @@ registration process.{/ts}
{ts}Qty{/ts} |
{ts}Each{/ts} |
{ts}Total{/ts} |
- {if $pricesetFieldsCount }{ts}Total Participants{/ts} | {/if}
+ {if $pricesetFieldsCount }{ts}Total Participants{/ts} | {/if}
{foreach from=$value item=line}
@@ -193,7 +193,7 @@ registration process.{/ts}
|
{$line.line_total|crmMoney}
|
- {if $pricesetFieldsCount }{$line.participant_count} | {/if}
+ {if $pricesetFieldsCount }{$line.participant_count} | {/if}
{/foreach}
@@ -217,17 +217,17 @@ registration process.{/ts}
|
{ts}Total Amount{/ts}
- |
+
{$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}
|
{if $pricesetFieldsCount }
- |
- {ts}Total Participants{/ts} |
+
+ {ts}Total Participants{/ts} |
- {assign var="count" value= 0}
+ {assign var="count" value= 0}
{foreach from=$lineItem item=pcount}
{assign var="lineItemCount" value=0}
{if $pcount neq 'skip'}
@@ -236,7 +236,7 @@ registration process.{/ts}
{/foreach}
{if $lineItemCount < 1 }
{assign var="lineItemCount" value=1}
- {/if}
+ {/if}
{assign var="count" value=$count+$lineItemCount}
{/if}
{/foreach}
@@ -385,8 +385,8 @@ registration process.{/ts}
|
| {$customProfile.title.$pid} |
{foreach from=$eachProfile item=val key=field}
{foreach from=$val item=v key=f}
- | {$field} |
- {$v} |
+ {$field} |
+ {$v} |
{/foreach}
{/foreach}
diff --git a/CRM/Upgrade/3.4.5.msg_template/message_templates/event_online_receipt_text.tpl b/CRM/Upgrade/3.4.5.msg_template/message_templates/event_online_receipt_text.tpl
index 680dd12c7e..5d714f8997 100644
--- a/CRM/Upgrade/3.4.5.msg_template/message_templates/event_online_receipt_text.tpl
+++ b/CRM/Upgrade/3.4.5.msg_template/message_templates/event_online_receipt_text.tpl
@@ -145,14 +145,14 @@ registration process.{/ts}
{/foreach}
{if $lineItemCount < 1 }
{assign var="lineItemCount" value=1}
- {/if}
+ {/if}
{assign var="count" value=$count+$lineItemCount}
{/if}
{/foreach}
{ts}Total Participants{/ts}: {$count}
{/if}
-
+
{if $is_pay_later }
==========================================================={if $pricesetFieldsCount }===================={/if}
@@ -226,7 +226,7 @@ registration process.{/ts}
{foreach from=$customPost item=customPos key=j}
==========================================================={if $pricesetFieldsCount }===================={/if}
-{$customPost_grouptitle.$j}
+{$customPost_grouptitle.$j}
==========================================================={if $pricesetFieldsCount }===================={/if}
{foreach from=$customPos item=customValue key=customName}
diff --git a/CRM/Upgrade/3.4.5.msg_template/message_templates/membership_online_receipt_html.tpl b/CRM/Upgrade/3.4.5.msg_template/message_templates/membership_online_receipt_html.tpl
index fc579fee9f..5304917bdf 100644
--- a/CRM/Upgrade/3.4.5.msg_template/message_templates/membership_online_receipt_html.tpl
+++ b/CRM/Upgrade/3.4.5.msg_template/message_templates/membership_online_receipt_html.tpl
@@ -317,7 +317,7 @@
{/foreach}
{/if}
-
+
{if ! ($contributeMode eq 'notify' OR $contributeMode eq 'directIPN') and $is_monetary}
{if $is_pay_later}
diff --git a/CRM/Upgrade/3.4.6.msg_template/message_templates/membership_offline_receipt_html.tpl b/CRM/Upgrade/3.4.6.msg_template/message_templates/membership_offline_receipt_html.tpl
index f807ea9668..fd64489b85 100644
--- a/CRM/Upgrade/3.4.6.msg_template/message_templates/membership_offline_receipt_html.tpl
+++ b/CRM/Upgrade/3.4.6.msg_template/message_templates/membership_offline_receipt_html.tpl
@@ -97,13 +97,13 @@
| {ts}Qty{/ts} |
{ts}Each{/ts} |
{ts}Total{/ts} |
- {ts}Membership Start Date{/ts} |
- {ts}Membership End Date{/ts} |
+ {ts}Membership Start Date{/ts} |
+ {ts}Membership End Date{/ts} |
{foreach from=$value item=line}
|
- {if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description|truncate:30:"..."} {/if}
+ {if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}{$line.description|truncate:30:"..."} {/if}
|
{$line.qty}
@@ -117,7 +117,7 @@
|
{$line.start_date}
|
-
+ |
{$line.end_date}
|
diff --git a/CRM/Upgrade/3.4.6.msg_template/message_templates/membership_offline_receipt_text.tpl b/CRM/Upgrade/3.4.6.msg_template/message_templates/membership_offline_receipt_text.tpl
index 38478bd0ff..246f8fcb96 100644
--- a/CRM/Upgrade/3.4.6.msg_template/message_templates/membership_offline_receipt_text.tpl
+++ b/CRM/Upgrade/3.4.6.msg_template/message_templates/membership_offline_receipt_text.tpl
@@ -53,7 +53,7 @@
{if $formValues.paidBy}
{ts}Paid By{/ts}: {$formValues.paidBy}
{if $formValues.check_number}
-{ts}Check Number{/ts}: {$formValues.check_number}
+{ts}Check Number{/ts}: {$formValues.check_number}
{/if}
{/if}
{/if}
diff --git a/CRM/Upgrade/3.4.6.msg_template/message_templates/membership_online_receipt_html.tpl b/CRM/Upgrade/3.4.6.msg_template/message_templates/membership_online_receipt_html.tpl
index 27fe0baadf..86045ef014 100644
--- a/CRM/Upgrade/3.4.6.msg_template/message_templates/membership_online_receipt_html.tpl
+++ b/CRM/Upgrade/3.4.6.msg_template/message_templates/membership_online_receipt_html.tpl
@@ -175,8 +175,8 @@
{ts}Qty{/ts} |
{ts}Each{/ts} |
{ts}Total{/ts} |
- {ts}Membership Start Date{/ts} |
- {ts}Membership End Date{/ts} |
+ {ts}Membership Start Date{/ts} |
+ {ts}Membership End Date{/ts} |
{foreach from=$value item=line}
@@ -195,7 +195,7 @@
|
{$line.start_date}
|
-
+ |
{$line.end_date}
|
@@ -356,7 +356,7 @@
{/foreach}
{/if}
-
+
{if ! ($contributeMode eq 'notify' OR $contributeMode eq 'directIPN') and $is_monetary}
{if $is_pay_later}
diff --git a/CRM/Upgrade/3.4.7.msg_template/message_templates/membership_offline_receipt_html.tpl b/CRM/Upgrade/3.4.7.msg_template/message_templates/membership_offline_receipt_html.tpl
index 1ab774792f..a08797b05b 100644
--- a/CRM/Upgrade/3.4.7.msg_template/message_templates/membership_offline_receipt_html.tpl
+++ b/CRM/Upgrade/3.4.7.msg_template/message_templates/membership_offline_receipt_html.tpl
@@ -95,13 +95,13 @@
| {ts}Item{/ts} |
{ts}Fee{/ts} |
- {ts}Membership Start Date{/ts} |
- {ts}Membership End Date{/ts} |
+ {ts}Membership Start Date{/ts} |
+ {ts}Membership End Date{/ts} |
{foreach from=$value item=line}
|
- {if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description|truncate:30:"..."} {/if}
+ {if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}{$line.description|truncate:30:"..."} {/if}
|
{$line.line_total|crmMoney}
@@ -109,7 +109,7 @@
|
{$line.start_date}
|
-
+ |
{$line.end_date}
|
diff --git a/CRM/Upgrade/3.4.7.msg_template/message_templates/membership_offline_receipt_text.tpl b/CRM/Upgrade/3.4.7.msg_template/message_templates/membership_offline_receipt_text.tpl
index e766b577a3..e1cd9f0477 100644
--- a/CRM/Upgrade/3.4.7.msg_template/message_templates/membership_offline_receipt_text.tpl
+++ b/CRM/Upgrade/3.4.7.msg_template/message_templates/membership_offline_receipt_text.tpl
@@ -51,7 +51,7 @@
{if $formValues.paidBy}
{ts}Paid By{/ts}: {$formValues.paidBy}
{if $formValues.check_number}
-{ts}Check Number{/ts}: {$formValues.check_number}
+{ts}Check Number{/ts}: {$formValues.check_number}
{/if}
{/if}
{/if}
diff --git a/CRM/Upgrade/3.4.7.msg_template/message_templates/membership_online_receipt_html.tpl b/CRM/Upgrade/3.4.7.msg_template/message_templates/membership_online_receipt_html.tpl
index 9446f42ad0..eef92f32d7 100644
--- a/CRM/Upgrade/3.4.7.msg_template/message_templates/membership_online_receipt_html.tpl
+++ b/CRM/Upgrade/3.4.7.msg_template/message_templates/membership_online_receipt_html.tpl
@@ -173,8 +173,8 @@
| {ts}Item{/ts} |
{ts}Fee{/ts} |
- {ts}Membership Start Date{/ts} |
- {ts}Membership End Date{/ts} |
+ {ts}Membership Start Date{/ts} |
+ {ts}Membership End Date{/ts} |
{foreach from=$value item=line}
@@ -187,7 +187,7 @@
|
{$line.start_date}
|
-
+ |
{$line.end_date}
|
@@ -348,7 +348,7 @@
{/foreach}
{/if}
-
+
{if ! ($contributeMode eq 'notify' OR $contributeMode eq 'directIPN') and $is_monetary}
{if $is_pay_later}
diff --git a/CRM/Upgrade/3.4.beta2.msg_template/civicrm_msg_template.tpl b/CRM/Upgrade/3.4.beta2.msg_template/civicrm_msg_template.tpl
index e67396e662..4f2ce6f5c8 100644
--- a/CRM/Upgrade/3.4.beta2.msg_template/civicrm_msg_template.tpl
+++ b/CRM/Upgrade/3.4.beta2.msg_template/civicrm_msg_template.tpl
@@ -1,15 +1,15 @@
-- CRM-7817
{if $addPetitionOptionGroup}
-INSERT INTO `civicrm_option_group`
- ( `name`, {localize field='label'}label{/localize}, {localize field='description'}description{/localize}, `is_reserved`, `is_active` )
-VALUES
+INSERT INTO `civicrm_option_group`
+ ( `name`, {localize field='label'}label{/localize}, {localize field='description'}description{/localize}, `is_reserved`, `is_active` )
+VALUES
( 'msg_tpl_workflow_petition', {localize}'{ts escape="sql"}Message Template Workflow for Petition{/ts}'{/localize},{localize}'{ts escape="sql"}Message Template Workflow for Petition{/ts}'{/localize}, 0, 1 );
SELECT @option_group_id := MAX(id) from civicrm_option_group WHERE name = 'msg_tpl_workflow_petition';
-INSERT INTO `civicrm_option_value`
- ( `option_group_id`, {localize field='label'}label{/localize}, `name`, `value`, `weight`, `is_active` )
+INSERT INTO `civicrm_option_value`
+ ( `option_group_id`, {localize field='label'}label{/localize}, `name`, `value`, `weight`, `is_active` )
VALUES
( @option_group_id, {localize}'{ts escape="sql"}Petition - signature added{/ts}'{/localize}, 'petition_sign', 1, 1, 1 ),
( @option_group_id, {localize}'{ts escape="sql"}Petition - need verification{/ts}'{/localize}, 'petition_confirmation_needed', 2, 2, 1 );
@@ -27,8 +27,8 @@ SELECT @tpl_ovid_petition_confirmation_needed := MAX(id) FROM civicrm_option_val
{fetch assign=text_petition_confirmation_needed file="`$smarty.const.SMARTY_DIR`/../../CRM/Upgrade/3.4.beta2.msg_template/message_templates/petition_confirmation_needed_text.tpl"}
{fetch assign=html_petition_confirmation_needed file="`$smarty.const.SMARTY_DIR`/../../CRM/Upgrade/3.4.beta2.msg_template/message_templates/petition_confirmation_needed_html.tpl"}
-INSERT INTO civicrm_msg_template
- (msg_title, msg_subject, msg_text, msg_html, workflow_id, is_default, is_reserved)
+INSERT INTO civicrm_msg_template
+ (msg_title, msg_subject, msg_text, msg_html, workflow_id, is_default, is_reserved)
VALUES
( '{ts escape="sql"}Petition - signature added{/ts}', '{$subject_petition_sign|escape:"quotes"}', '{$text_petition_sign|escape:"quotes"}', '{$html_petition_sign|escape:"quotes"}', @tpl_ovid_petition_sign, 1, 0),
diff --git a/CRM/Upgrade/3.4.beta2.msg_template/message_templates/event_online_receipt_html.tpl b/CRM/Upgrade/3.4.beta2.msg_template/message_templates/event_online_receipt_html.tpl
index 423e26699e..4a6b89ed97 100644
--- a/CRM/Upgrade/3.4.beta2.msg_template/message_templates/event_online_receipt_html.tpl
+++ b/CRM/Upgrade/3.4.beta2.msg_template/message_templates/event_online_receipt_html.tpl
@@ -178,7 +178,7 @@ registration process.{/ts}
| {ts}Qty{/ts} |
{ts}Each{/ts} |
{ts}Total{/ts} |
- {if $pricesetFieldsCount }{ts}Total Participants{/ts} | {/if}
+ {if $pricesetFieldsCount }{ts}Total Participants{/ts} | {/if}
{foreach from=$value item=line}
@@ -194,7 +194,7 @@ registration process.{/ts}
|
{$line.line_total|crmMoney}
|
- {if $pricesetFieldsCount }{$line.participant_count} | {/if}
+ {if $pricesetFieldsCount }{$line.participant_count} | {/if}
{/foreach}
@@ -218,17 +218,17 @@ registration process.{/ts}
|
{ts}Total Amount{/ts}
- |
+
{$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}
|
{if $pricesetFieldsCount }
- |
- {ts}Total Participants{/ts} |
+
+ {ts}Total Participants{/ts} |
- {assign var="count" value= 0}
+ {assign var="count" value= 0}
{foreach from=$lineItem item=pcount}
{assign var="lineItemCount" value=0}
{if $pcount neq 'skip'}
@@ -237,7 +237,7 @@ registration process.{/ts}
{/foreach}
{if $lineItemCount < 1 }
{assign var="lineItemCount" value=1}
- {/if}
+ {/if}
{assign var="count" value=$count+$lineItemCount}
{/if}
{/foreach}
diff --git a/CRM/Upgrade/3.4.beta2.msg_template/message_templates/event_online_receipt_text.tpl b/CRM/Upgrade/3.4.beta2.msg_template/message_templates/event_online_receipt_text.tpl
index 54ad50ac27..c5bc46f328 100644
--- a/CRM/Upgrade/3.4.beta2.msg_template/message_templates/event_online_receipt_text.tpl
+++ b/CRM/Upgrade/3.4.beta2.msg_template/message_templates/event_online_receipt_text.tpl
@@ -145,14 +145,14 @@ registration process.{/ts}
{/foreach}
{if $lineItemCount < 1 }
{assign var="lineItemCount" value=1}
- {/if}
+ {/if}
{assign var="count" value=$count+$lineItemCount}
{/if}
{/foreach}
{ts}Total Participants{/ts}: {$count}
{/if}
-
+
{if $is_pay_later }
==========================================================={if $pricesetFieldsCount }===================={/if}
diff --git a/CRM/Upgrade/3.4.beta2.msg_template/message_templates/petition_confirmation_needed_html.tpl b/CRM/Upgrade/3.4.beta2.msg_template/message_templates/petition_confirmation_needed_html.tpl
index 5547ac0304..2d30dc11c7 100644
--- a/CRM/Upgrade/3.4.beta2.msg_template/message_templates/petition_confirmation_needed_html.tpl
+++ b/CRM/Upgrade/3.4.beta2.msg_template/message_templates/petition_confirmation_needed_html.tpl
@@ -1,6 +1,6 @@
Thank you for signing {$petition.title}.
-In order to complete your signature, we must confirm your e-mail.
+ In order to complete your signature, we must confirm your e-mail.
Please do so by visiting the following web page by clicking
on the link below or pasting the link into your browser.
diff --git a/CRM/Upgrade/3.4.beta2.msg_template/message_templates/petition_confirmation_needed_text.tpl b/CRM/Upgrade/3.4.beta2.msg_template/message_templates/petition_confirmation_needed_text.tpl
index 1d9c3d60d9..8549b39b4c 100644
--- a/CRM/Upgrade/3.4.beta2.msg_template/message_templates/petition_confirmation_needed_text.tpl
+++ b/CRM/Upgrade/3.4.beta2.msg_template/message_templates/petition_confirmation_needed_text.tpl
@@ -1,8 +1,8 @@
Thank you for signing {$petition.title}.
-In order to complete your signature, we must confirm your e-mail.
+In order to complete your signature, we must confirm your e-mail.
Please do so by visiting the following email confirmation web page:
-{$petition.confirmUrlPlainText}
+{$petition.confirmUrlPlainText}
If you did not sign this petition, please ignore this message.
diff --git a/CRM/Upgrade/4.1.alpha1.msg_template/message_templates/event_online_receipt_html.tpl b/CRM/Upgrade/4.1.alpha1.msg_template/message_templates/event_online_receipt_html.tpl
index fa3bb17d1c..331348c83c 100644
--- a/CRM/Upgrade/4.1.alpha1.msg_template/message_templates/event_online_receipt_html.tpl
+++ b/CRM/Upgrade/4.1.alpha1.msg_template/message_templates/event_online_receipt_html.tpl
@@ -21,13 +21,13 @@
|
|
- Dear {contact.display_name},
+ Dear {contact.display_name},
{if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}
{$event.confirm_email_text|htmlize}
{else}
- Thank you for your participation. This letter is a confirmation that your registration has been received and your status has been updated to {if $isOnWaitlist}waitlisted{else}registered{/if} for the following:
+ Thank you for your participation. This letter is a confirmation that your registration has been received and your status has been updated to {if $isOnWaitlist}waitlisted{else}registered{/if} for the following:
{/if}
@@ -72,20 +72,20 @@ registration process.{/ts}
{if $conference_sessions}
|
|
- {ts}Your schedule:{/ts}
+ {ts}Your schedule:{/ts}
|
- {assign var='group_by_day' value='NA'}
- {foreach from=$conference_sessions item=session}
- {if $session.start_date|date_format:"%Y/%m/%d" != $group_by_day|date_format:"%Y/%m/%d"}
- {assign var='group_by_day' value=$session.start_date}
+ {assign var='group_by_day' value='NA'}
+ {foreach from=$conference_sessions item=session}
+ {if $session.start_date|date_format:"%Y/%m/%d" != $group_by_day|date_format:"%Y/%m/%d"}
+ {assign var='group_by_day' value=$session.start_date}
{$group_by_day|date_format:"%m/%d/%Y"}
- {/if}
- {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}
- {if $session.location} {$session.location} {/if}
- {/foreach}
+ {/if}
+ {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}
+ {if $session.location} {$session.location} {/if}
+ {/foreach}
|
{/if}
@@ -192,7 +192,7 @@ registration process.{/ts}
|
- {$payer.name}
+ {$payer.name}
|
{/if}
@@ -224,7 +224,7 @@ registration process.{/ts}
{ts}Qty{/ts} |
{ts}Each{/ts} |
{ts}Total{/ts} |
- {if $pricesetFieldsCount }{ts}Total Participants{/ts} | {/if}
+ {if $pricesetFieldsCount }{ts}Total Participants{/ts} | {/if}
{foreach from=$value item=line}
@@ -240,7 +240,7 @@ registration process.{/ts}
|
{$line.line_total|crmMoney}
|
- {if $pricesetFieldsCount }{$line.participant_count} | {/if}
+ {if $pricesetFieldsCount }{$line.participant_count} | {/if}
{/foreach}
@@ -264,17 +264,17 @@ registration process.{/ts}
|
{ts}Total Amount{/ts}
- |
+
{$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}
|
{if $pricesetFieldsCount }
- |
- {ts}Total Participants{/ts} |
+
+ {ts}Total Participants{/ts} |
- {assign var="count" value= 0}
+ {assign var="count" value= 0}
{foreach from=$lineItem item=pcount}
{assign var="lineItemCount" value=0}
{if $pcount neq 'skip'}
@@ -283,7 +283,7 @@ registration process.{/ts}
{/foreach}
{if $lineItemCount < 1 }
{assign var="lineItemCount" value=1}
- {/if}
+ {/if}
{assign var="count" value=$count+$lineItemCount}
{/if}
{/foreach}
@@ -433,8 +433,8 @@ registration process.{/ts}
|
| {$customProfile.title.$pid} |
{foreach from=$eachProfile item=val key=field}
{foreach from=$val item=v key=f}
- | {$field} |
- {$v} |
+ {$field} |
+ {$v} |
{/foreach}
{/foreach}
@@ -461,7 +461,7 @@ registration process.{/ts}
{/foreach}
{/foreach}
{/if}
-
+
diff --git a/CRM/Upgrade/4.1.alpha1.msg_template/message_templates/event_online_receipt_text.tpl b/CRM/Upgrade/4.1.alpha1.msg_template/message_templates/event_online_receipt_text.tpl
index acadb4f1f0..750dd0b93f 100644
--- a/CRM/Upgrade/4.1.alpha1.msg_template/message_templates/event_online_receipt_text.tpl
+++ b/CRM/Upgrade/4.1.alpha1.msg_template/message_templates/event_online_receipt_text.tpl
@@ -172,14 +172,14 @@ You were registered by: {$payer.name}
{/foreach}
{if $lineItemCount < 1 }
{assign var="lineItemCount" value=1}
- {/if}
+ {/if}
{assign var="count" value=$count+$lineItemCount}
{/if}
{/foreach}
{ts}Total Participants{/ts}: {$count}
{/if}
-
+
{if $is_pay_later}
==========================================================={if $pricesetFieldsCount }===================={/if}
@@ -252,7 +252,7 @@ You were registered by: {$payer.name}
{foreach from=$customPost item=customPos key=j}
==========================================================={if $pricesetFieldsCount }===================={/if}
-{$customPost_grouptitle.$j}
+{$customPost_grouptitle.$j}
==========================================================={if $pricesetFieldsCount }===================={/if}
{foreach from=$customPos item=customValue key=customName}
diff --git a/CRM/Upgrade/4.2.alpha1.msg_template/civicrm_msg_template.tpl b/CRM/Upgrade/4.2.alpha1.msg_template/civicrm_msg_template.tpl
index d7be75a354..9f7a745490 100644
--- a/CRM/Upgrade/4.2.alpha1.msg_template/civicrm_msg_template.tpl
+++ b/CRM/Upgrade/4.2.alpha1.msg_template/civicrm_msg_template.tpl
@@ -1,11 +1,11 @@
{php}
$dir = SMARTY_DIR . '/../../CRM/Upgrade/4.2.alpha1.msg_template/message_templates';
-
+
$ovNames = array(
'contribution' => array(
'contribution_recurring_cancelled' => ts('Contributions - Recurring Cancellation Notification', array('escape' => 'sql')),
'contribution_recurring_billing' => ts('Contributions - Recurring Billing Updates', array('escape' => 'sql')),
- 'contribution_recurring_edit' => ts('Contributions - Recurring Updates', array('escape' => 'sql')),
+ 'contribution_recurring_edit' => ts('Contributions - Recurring Updates', array('escape' => 'sql')),
),
'membership' => array(
'membership_autorenew_cancelled' => ts('Memberships - Auto-renew Cancellation Notification', array('escape' => 'sql')),
@@ -13,8 +13,8 @@
),
);
- $ignoreTemplate = array_merge(array_keys($ovNames['contribution']), array_keys($ovNames['membership']));
-
+ $ignoreTemplate = array_merge(array_keys($ovNames['contribution']), array_keys($ovNames['membership']));
+
$this->assign('ovNames', $ovNames);
$this->assign('dir', $dir);
$templates = array();
diff --git a/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/contribution_recurring_billing_html.tpl b/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/contribution_recurring_billing_html.tpl
index 3e3ad1b6fc..f2b9d48842 100644
--- a/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/contribution_recurring_billing_html.tpl
+++ b/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/contribution_recurring_billing_html.tpl
@@ -58,7 +58,7 @@
{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}
-
+
diff --git a/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/contribution_recurring_edit_text.tpl b/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/contribution_recurring_edit_text.tpl
index 71a02ccbc1..423b00c9cd 100644
--- a/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/contribution_recurring_edit_text.tpl
+++ b/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/contribution_recurring_edit_text.tpl
@@ -1,8 +1,8 @@
-{ts 1=$contact.display_name}Dear %1{/ts},
+{ts 1=$contact.display_name}Dear %1{/ts},
-{ts}Your recurring contribution has been updated as requested:{/ts}
+{ts}Your recurring contribution has been updated as requested:{/ts}
{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Recurring contribution is for %1, every %2(s) %3{/ts}
-{if $installments}{ts 1=$installments} for %1 installments.{/ts}{/if}
+{if $installments}{ts 1=$installments} for %1 installments.{/ts}{/if}
{ts 1=$receipt_from_email}If you have questions please contact us at %1.{/ts}
\ No newline at end of file
diff --git a/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/contribution_recurring_notify_html.tpl b/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/contribution_recurring_notify_html.tpl
index fc8513b2d7..3a6b18bac1 100644
--- a/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/contribution_recurring_notify_html.tpl
+++ b/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/contribution_recurring_notify_html.tpl
@@ -67,7 +67,7 @@
|
- {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments details for this recurring contribution by visiting this web page.{/ts}
+ {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments details for this recurring contribution by visiting this web page.{/ts}
|
{/if}
@@ -77,7 +77,7 @@
{if $auto_renew_membership}
|
- {ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}
+ {ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}
|
{else}
diff --git a/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/contribution_recurring_notify_text.tpl b/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/contribution_recurring_notify_text.tpl
index 86602b7b40..5f54ca1568 100644
--- a/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/contribution_recurring_notify_text.tpl
+++ b/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/contribution_recurring_notify_text.tpl
@@ -10,7 +10,7 @@
{ts 1=$cancelSubscriptionUrl}This membership will be renewed automatically. You can cancel the auto-renewal option by visiting this web page.{/ts}
{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by visiting this web page.{/ts}
-
+
{else}
{ts}Thanks for your recurring contribution sign-up.{/ts}
diff --git a/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/event_online_receipt_html.tpl b/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/event_online_receipt_html.tpl
index 40eb560bdb..1081ba353e 100644
--- a/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/event_online_receipt_html.tpl
+++ b/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/event_online_receipt_html.tpl
@@ -21,13 +21,13 @@
|
- Dear {contact.display_name},
+ Dear {contact.display_name},
{if $event.confirm_email_text AND (not $isOnWaitlist AND not $isRequireApproval)}
{$event.confirm_email_text|htmlize}
{else}
- Thank you for your participation. This letter is a confirmation that your registration has been received and your status has been updated to {if $isOnWaitlist}waitlisted{else}registered{/if} for the following:
+ Thank you for your participation. This letter is a confirmation that your registration has been received and your status has been updated to {if $isOnWaitlist}waitlisted{else}registered{/if} for the following:
{/if}
@@ -72,20 +72,20 @@ registration process.{/ts}
{if $conference_sessions}
|
|
- {ts}Your schedule:{/ts}
+ {ts}Your schedule:{/ts}
|
- {assign var='group_by_day' value='NA'}
- {foreach from=$conference_sessions item=session}
- {if $session.start_date|date_format:"%Y/%m/%d" != $group_by_day|date_format:"%Y/%m/%d"}
- {assign var='group_by_day' value=$session.start_date}
+ {assign var='group_by_day' value='NA'}
+ {foreach from=$conference_sessions item=session}
+ {if $session.start_date|date_format:"%Y/%m/%d" != $group_by_day|date_format:"%Y/%m/%d"}
+ {assign var='group_by_day' value=$session.start_date}
{$group_by_day|date_format:"%m/%d/%Y"}
- {/if}
- {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}
- {if $session.location} {$session.location} {/if}
- {/foreach}
+ {/if}
+ {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}
+ {if $session.location} {$session.location} {/if}
+ {/foreach}
|
{/if}
@@ -180,7 +180,7 @@ registration process.{/ts}
|
- {$payer.name}
+ {$payer.name}
|
{/if}
@@ -212,7 +212,7 @@ registration process.{/ts}
{ts}Qty{/ts} |
{ts}Each{/ts} |
{ts}Total{/ts} |
- {if $pricesetFieldsCount }{ts}Total Participants{/ts} | {/if}
+ {if $pricesetFieldsCount }{ts}Total Participants{/ts} | {/if}
{foreach from=$value item=line}
@@ -228,7 +228,7 @@ registration process.{/ts}
|
{$line.line_total|crmMoney}
|
- {if $pricesetFieldsCount }{$line.participant_count} | {/if}
+ {if $pricesetFieldsCount }{$line.participant_count} | {/if}
{/foreach}
@@ -243,17 +243,17 @@ registration process.{/ts}
|
{ts}Total Amount{/ts}
- |
+
{$totalAmount|crmMoney} {if $hookDiscount.message}({$hookDiscount.message}){/if}
|
{if $pricesetFieldsCount }
- |
- {ts}Total Participants{/ts} |
+
+ {ts}Total Participants{/ts} |
- {assign var="count" value= 0}
+ {assign var="count" value= 0}
{foreach from=$lineItem item=pcount}
{assign var="lineItemCount" value=0}
{if $pcount neq 'skip'}
@@ -262,7 +262,7 @@ registration process.{/ts}
{/foreach}
{if $lineItemCount < 1 }
{assign var="lineItemCount" value=1}
- {/if}
+ {/if}
{assign var="count" value=$count+$lineItemCount}
{/if}
{/foreach}
@@ -412,8 +412,8 @@ registration process.{/ts}
|
| {$customProfile.title.$pid} |
{foreach from=$eachProfile item=val key=field}
{foreach from=$val item=v key=f}
- | {$field} |
- {$v} |
+ {$field} |
+ {$v} |
{/foreach}
{/foreach}
@@ -440,7 +440,6 @@ registration process.{/ts}
{/foreach}
{/foreach}
{/if}
-
diff --git a/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/event_online_receipt_text.tpl b/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/event_online_receipt_text.tpl
index 31e1cda915..6b0a012826 100644
--- a/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/event_online_receipt_text.tpl
+++ b/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/event_online_receipt_text.tpl
@@ -158,14 +158,14 @@ You were registered by: {$payer.name}
{/foreach}
{if $lineItemCount < 1 }
{assign var="lineItemCount" value=1}
- {/if}
+ {/if}
{assign var="count" value=$count+$lineItemCount}
{/if}
{/foreach}
{ts}Total Participants{/ts}: {$count}
{/if}
-
+
{if $is_pay_later}
==========================================================={if $pricesetFieldsCount }===================={/if}
@@ -238,7 +238,7 @@ You were registered by: {$payer.name}
{foreach from=$customPost item=customPos key=j}
==========================================================={if $pricesetFieldsCount }===================={/if}
-{$customPost_grouptitle.$j}
+{$customPost_grouptitle.$j}
==========================================================={if $pricesetFieldsCount }===================={/if}
{foreach from=$customPos item=customValue key=customName}
diff --git a/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/membership_autorenew_billing_html.tpl b/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/membership_autorenew_billing_html.tpl
index 9997c5ef09..0277abcb0d 100644
--- a/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/membership_autorenew_billing_html.tpl
+++ b/CRM/Upgrade/4.2.alpha1.msg_template/message_templates/membership_autorenew_billing_html.tpl
@@ -58,8 +58,7 @@
{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}
-
-
+