Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
39de6fd5 | 3 | | CiviCRM version 4.6 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
e7112fa7 | 5 | | Copyright CiviCRM LLC (c) 2004-2015 | |
6a488035 TO |
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 | *} | |
f598ae72 | 26 | |
6a488035 TO |
27 | <div class="crm-block crm-form-block crm-mailing-group-form-block"> |
28 | {include file="CRM/common/WizardHeader.tpl"} | |
29 | ||
30 | <table class="form-layout"> | |
31 | <tr class="crm-mailing-group-form-block-name"><td class="label">{$form.name.label}</td><td>{$form.name.html} {help id="mailing-name"}</td></tr> | |
32 | {* CRM-7362 --add campaign *} | |
33 | {include file="CRM/Campaign/Form/addCampaignToComponent.tpl" | |
34 | campaignTrClass="crm-mailing-group-form-block-campaign_id"} | |
35 | ||
36 | {if $context EQ 'search'} | |
37 | <tr class="crm-mailing-group-form-block-baseGroup"> | |
38 | <td class="label">{$form.baseGroup.label}</td> | |
39 | <td>{$form.baseGroup.html} {help id="base-group"}</td> | |
40 | </tr> | |
41 | {/if} | |
42 | ||
43 | <tr class="crm-mailing-group-form-block-dedupeemail"> | |
44 | <td class="label">{$form.dedupe_email.label}</td> | |
45 | <td>{$form.dedupe_email.html} {help id="dedupe-email"}</td> | |
46 | </tr> | |
bac4cd35 | 47 | <tr class="crm-mailing-group-form-block-locationTypeId"> |
48 | <td class="label">{$form.location_type_id.label}</td> | |
49 | <td>{$form.location_type_id.html}</td> | |
50 | </tr> | |
51 | <tr class="crm-mailing-group-form-block-locationSelectionMethod"> | |
52 | <td class="label">{$form.email_selection_method.label}</td> | |
53 | <td>{$form.email_selection_method.html} {help id="email-selection"}</td> | |
54 | </tr> | |
55 | ||
6a488035 TO |
56 | </table> |
57 | ||
f598ae72 | 58 | {if ($groupCount > 0|| $mailingCount > 0)} |
6a488035 TO |
59 | <div id="id-additional" class="form-item"> |
60 | <div class="crm-accordion-wrapper "> | |
61 | <div class="crm-accordion-header"> | |
62 | {if $context EQ 'search'}{ts}Additional Mailing Recipients{/ts}{else}{ts}Mailing Recipients{/ts}{/if} | |
63 | </div><!-- /.crm-accordion-header --> | |
64 | <div class="crm-accordion-body"> | |
65 | {strip} | |
66 | ||
67 | <table> | |
68 | {if $groupCount > 0} | |
69 | <tr class="crm-mailing-group-form-block-includeGroups"><td class="label">{$form.includeGroups.label} {help id="include-groups"}</td></tr> | |
70 | <tr class="crm-mailing-group-form-block-includeGroups"><td>{$form.includeGroups.html}</td></tr> | |
71 | <tr class="crm-mailing-group-form-block-excludeGroups"><td class="label">{$form.excludeGroups.label} {help id="exclude-groups"}</td></tr> | |
72 | <tr class="crm-mailing-group-form-block-excludeGroups"><td>{$form.excludeGroups.html}</td></tr> | |
73 | {/if} | |
74 | {if $mailingCount > 0} | |
75 | <tr class="crm-mailing-group-form-block-includeMailings"><td class="label">{$form.includeMailings.label} {help id="include-mailings"}</td></tr> | |
76 | <tr class="crm-mailing-group-form-block-includeMailings"><td>{$form.includeMailings.html}</td></tr> | |
77 | <tr class="crm-mailing-group-form-block-excludeMailings"><td class="label">{$form.excludeMailings.label} {help id="exclude-mailings"}</td></tr> | |
78 | <tr class="crm-mailing-group-form-block-excludeMailings"><td>{$form.excludeMailings.html}</td></tr> | |
79 | {/if} | |
80 | </table> | |
81 | ||
82 | {/strip} | |
83 | </div><!-- /.crm-accordion-body --> | |
84 | </div><!-- /.crm-accordion-wrapper --> | |
f598ae72 | 85 | {/if} |
6a488035 TO |
86 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl"}</div> |
87 | </div> | |
6a488035 | 88 | </div> |
f598ae72 | 89 |