From fb7b16c46612be62ef25e2fd5b3bd943bc387619 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 12 Jan 2022 00:23:32 +1300 Subject: [PATCH] Enotice fixes I grepped for 'editor' being assigned & didn't find it. I think changed the editor to 'TextArea' and didn't see the text inside the if so I concluded it is broken. Removing rather than fixing cos no-one noticed it was broken so can't have been important (and probably the wrong place for it) --- templates/CRM/Contact/Form/Task/Email.tpl | 2 +- templates/CRM/Contact/Form/Task/EmailCommon.tpl | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/templates/CRM/Contact/Form/Task/Email.tpl b/templates/CRM/Contact/Form/Task/Email.tpl index c9b9b138a0..f207fa5005 100644 --- a/templates/CRM/Contact/Form/Task/Email.tpl +++ b/templates/CRM/Contact/Form/Task/Email.tpl @@ -68,7 +68,7 @@ {include file="CRM/Campaign/Form/addCampaignToComponent.tpl" campaignTrClass="crm-contactEmail-form-block-campaign_id"} -{include file="CRM/Contact/Form/Task/EmailCommon.tpl"} +{include file="CRM/Contact/Form/Task/EmailCommon.tpl" noAttach=0} {include file="CRM/Activity/Form/FollowUp.tpl" type='email-'}
diff --git a/templates/CRM/Contact/Form/Task/EmailCommon.tpl b/templates/CRM/Contact/Form/Task/EmailCommon.tpl index 6c0f69516e..644950ab62 100644 --- a/templates/CRM/Contact/Form/Task/EmailCommon.tpl +++ b/templates/CRM/Contact/Form/Task/EmailCommon.tpl @@ -21,10 +21,7 @@
- {if !empty($editor) and $editor EQ 'textarea'} -
{ts}NOTE: If you are composing HTML-formatted messages, you may want to enable a Rich Text (WYSIWYG) editor (Administer » Customize Data & Screens » Display Preferences).{/ts}
- {/if} - {$form.html_message.html}
+ {$form.html_message.html}
@@ -59,7 +56,7 @@
{$form.saveTemplateName.html|crmAddClass:huge}
-{if empty($noAttach)} +{if !$noAttach} {include file="CRM/Form/attachment.tpl"} {/if} -- 2.25.1