Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
232624b1 | 3 | | CiviCRM version 4.4 | |
6a488035 TO |
4 | +--------------------------------------------------------------------+ |
5 | | Copyright CiviCRM LLC (c) 2004-2013 | | |
6 | +--------------------------------------------------------------------+ | |
7 | | This file is a part of CiviCRM. | | |
8 | | | | |
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. | | |
12 | | | | |
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. | | |
17 | | | | |
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 | +--------------------------------------------------------------------+ | |
25 | *} | |
26 | {*common template for compose mail*} | |
27 | ||
28 | <div class="crm-accordion-wrapper crm-html_email-accordion "> | |
29 | <div class="crm-accordion-header"> | |
30 | {ts}HTML Format{/ts} | |
31 | {help id="id-message-text" file="CRM/Contact/Form/Task/Email.hlp"} | |
32 | </div><!-- /.crm-accordion-header --> | |
33 | <div class="crm-accordion-body"> | |
ac0a3db5 CW |
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"} | |
6a488035 | 37 | </div> |
ac0a3db5 | 38 | <div class="clear"></div> |
6a488035 TO |
39 | <div class='html'> |
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> | |
42 | {/if} | |
43 | {$form.html_message.html}<br /> | |
44 | </div> | |
45 | </div><!-- /.crm-accordion-body --> | |
46 | </div><!-- /.crm-accordion-wrapper --> | |
47 | ||
6a488035 TO |
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"> | |
ac0a3db5 CW |
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"} | |
56 | </div> | |
6a488035 TO |
57 | <div class='text'> |
58 | {$form.text_message.html}<br /> | |
59 | </div> | |
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} | |
65 | </div> | |
66 | <div class="section"> | |
67 | {$form.saveTemplate.html} {$form.saveTemplate.label} | |
68 | </div> | |
69 | </div> | |
70 | ||
71 | <div id="saveDetails" class="section"> | |
72 | <div class="label">{$form.saveTemplateName.label}</div> | |
73 | <div class="content">{$form.saveTemplateName.html|crmAddClass:huge}</div> | |
74 | </div> | |
75 | ||
76 | {if ! $noAttach} | |
77 | {include file="CRM/Form/attachment.tpl"} | |
78 | {/if} | |
79 | ||
80 | {include file="CRM/Mailing/Form/InsertTokens.tpl"} | |
6a488035 | 81 |