Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
fee14197 | 3 | | CiviCRM version 5 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
8c9251b3 | 5 | | Copyright CiviCRM LLC (c) 2004-2018 | |
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 | *} | |
26 | {if $groupCount == 0 and $mailingCount == 0} | |
27 | <div class="status"> | |
28 | <div class="icon inform-icon"></div> | |
29 | {ts}To send a Mass SMS, you must have a valid group of recipients - either at least one group that's a Mailing List{/ts} | |
30 | </div> | |
31 | {else} | |
32 | <div class="crm-block crm-form-block crm-mailing-group-form-block"> | |
33 | {include file="CRM/common/WizardHeader.tpl"} | |
34 | ||
35 | <table class="form-layout"> | |
36 | <tr class="crm-mailing-group-form-block-name"><td class="label">{$form.name.label}</td><td>{$form.name.html} {help id="sms-name"}</td></tr> | |
6eee0915 | 37 | <tr class="crm-mailing-upload-form-block-sms_provider_id"><td class="label">{$form.sms_provider_id.label}</td><td>{$form.sms_provider_id.html} {help id ="id-sms_provider" isAdmin=$isAdmin}</td></tr> |
6a488035 TO |
38 | </table> |
39 | ||
40 | ||
41 | <div id="id-additional" class="form-item"> | |
42 | <div class="crm-accordion-wrapper "> | |
43 | <div class="crm-accordion-header"> | |
44 | {ts}Mailing Recipients{/ts} | |
45 | </div><!-- /.crm-accordion-header --> | |
46 | <div class="crm-accordion-body"> | |
47 | {strip} | |
48 | ||
49 | <table> | |
50 | {if $groupCount > 0} | |
51 | <tr class="crm-mailing-group-form-block-includeGroups"><td class="label">{$form.includeGroups.label} {help id="include-groups"}</td></tr> | |
52 | <tr class="crm-mailing-group-form-block-includeGroups"><td>{$form.includeGroups.html}</td></tr> | |
53 | <tr class="crm-mailing-group-form-block-excludeGroups"><td class="label">{$form.excludeGroups.label} {help id="exclude-groups"}</td></tr> | |
54 | <tr class="crm-mailing-group-form-block-excludeGroups"><td>{$form.excludeGroups.html}</td></tr> | |
55 | {/if} | |
56 | {if $mailingCount > 0} | |
57 | <tr class="crm-mailing-group-form-block-includeMailings"><td class="label">{$form.includeMailings.label} {help id="include-mailings"}</td></tr> | |
58 | <tr class="crm-mailing-group-form-block-includeMailings"><td>{$form.includeMailings.html}</td></tr> | |
59 | <tr class="crm-mailing-group-form-block-excludeMailings"><td class="label">{$form.excludeMailings.label} {help id="exclude-mailings"}</td></tr> | |
60 | <tr class="crm-mailing-group-form-block-excludeMailings"><td>{$form.excludeMailings.html}</td></tr> | |
61 | {/if} | |
62 | </table> | |
63 | ||
64 | {/strip} | |
65 | </div><!-- /.crm-accordion-body --> | |
66 | </div><!-- /.crm-accordion-wrapper --> | |
67 | ||
68 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl"}</div> | |
69 | </div> | |
70 | ||
6a488035 TO |
71 | </div> |
72 | {/if} |