2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.4 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2013 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
26 {*common template for compose mail*}
28 <div class="crm-accordion-wrapper crm-html_email-accordion ">
29 <div class="crm-accordion-header">
31 {help id="id-message-text" file="CRM/Contact/Form/Task/Email.hlp"}
32 </div><!-- /.crm-accordion-header -->
33 <div class="crm-accordion-body">
34 <div class="helpIcon" id="helphtml">
35 <input class="crm-token-selector big" data-field="html_message" />
36 {help id="id-token-html" tplFile=$tplFile isAdmin=$isAdmin editor=$editor file="CRM/Contact/Form/Task/Email.hlp"}
38 <div class="clear"></div>
40 {if $editor EQ 'textarea'}
41 <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>
43 {$form.html_message.html}<br />
45 </div><!-- /.crm-accordion-body -->
46 </div><!-- /.crm-accordion-wrapper -->
48 <div class="crm-accordion-wrapper crm-plaint_text_email-accordion collapsed">
49 <div class="crm-accordion-header">
50 {ts}Plain-Text Format{/ts}
51 </div><!-- /.crm-accordion-header -->
52 <div class="crm-accordion-body">
53 <div class="helpIcon" id="helptext">
54 <input class="crm-token-selector big" data-field="text_message" />
55 {help id="id-token-text" tplFile=$tplFile file="CRM/Contact/Form/Task/Email.hlp"}
58 {$form.text_message.html}<br />
60 </div><!-- /.crm-accordion-body -->
61 </div><!-- /.crm-accordion-wrapper -->
62 <div id="editMessageDetails" class="section">
63 <div id="updateDetails" class="section" >
64 {$form.updateTemplate.html} {$form.updateTemplate.label}
67 {$form.saveTemplate.html} {$form.saveTemplate.label}
71 <div id="saveDetails" class="section">
72 <div class="label">{$form.saveTemplateName.label}</div>
73 <div class="content">{$form.saveTemplateName.html|crmAddClass:huge}</div>
77 {include file="CRM/Form/attachment.tpl"}
80 {include file="CRM/Mailing/Form/InsertTokens.tpl"}