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)
{include file="CRM/Campaign/Form/addCampaignToComponent.tpl" campaignTrClass="crm-contactEmail-form-block-campaign_id"}
</table>
-{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-'}
<div class="spacer"> </div>
</div>
<div class="clear"></div>
<div class='html'>
- {if !empty($editor) and $editor EQ 'textarea'}
- <div class="help description">{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}</div>
- {/if}
- {$form.html_message.html}<br />
+ {$form.html_message.html}<br />
</div>
</div><!-- /.crm-accordion-body -->
</div><!-- /.crm-accordion-wrapper -->
<div class="content">{$form.saveTemplateName.html|crmAddClass:huge}</div>
</div>
-{if empty($noAttach)}
+{if !$noAttach}
{include file="CRM/Form/attachment.tpl"}
{/if}