Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
39de6fd5 | 3 | | CiviCRM version 4.6 | |
6a488035 TO |
4 | +--------------------------------------------------------------------+ |
5 | | Copyright (C) 2011 Marty Wright | | |
6 | | Licensed to CiviCRM under the Academic Free License version 3.0. | | |
7 | +--------------------------------------------------------------------+ | |
8 | | This file is a part of CiviCRM. | | |
9 | | | | |
10 | | CiviCRM is free software; you can copy, modify, and distribute it | | |
11 | | under the terms of the GNU Affero General Public License | | |
12 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | |
13 | | | | |
14 | | CiviCRM is distributed in the hope that it will be useful, but | | |
15 | | WITHOUT ANY WARRANTY; without even the implied warranty of | | |
16 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | |
17 | | See the GNU Affero General Public License for more details. | | |
18 | | | | |
19 | | You should have received a copy of the GNU Affero General Public | | |
20 | | License and the CiviCRM Licensing Exception along | | |
21 | | with this program; if not, contact CiviCRM LLC | | |
22 | | at info[AT]civicrm[DOT]org. If you have questions about the | | |
23 | | GNU Affero General Public License or the licensing of CiviCRM, | | |
24 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
25 | +--------------------------------------------------------------------+ | |
26 | *} | |
27 | {* this template is for configuring Scheduled Reminders *} | |
4d3e4dbe | 28 | {if $setTab eq 1} |
29 | {if $component eq 'event'} | |
30 | {include file="CRM/Event/Form/ManageEvent/Tab.tpl"} | |
31 | {/if} | |
32 | {else} | |
6a488035 TO |
33 | {if $action eq 1 or $action eq 2 or $action eq 8 or $action eq 16384} |
34 | {include file="CRM/Admin/Form/ScheduleReminders.tpl"} | |
35 | {else} | |
581c7be2 CW |
36 | {* include wysiwyg related files*} |
37 | {include file="CRM/common/wysiwyg.tpl" includeWysiwygEditor=true} | |
4d3e4dbe | 38 | {if !$component} |
39 | {capture assign=schedRemindersDocLink}{docURL page="user/current/email/scheduled-reminders/"}{/capture} | |
40 | <div class="help"> | |
41 | {ts}Scheduled reminders allow you to automatically send messages to contacts regarding their memberships, participation in events, or other activities.{/ts} {$schedRemindersDocLink} | |
42 | </div> | |
43 | {/if} | |
581c7be2 | 44 | {if $rows} |
6a488035 TO |
45 | <div id="reminder"> |
46 | {include file="CRM/Admin/Page/Reminders.tpl"} | |
6a488035 | 47 | </div> |
581c7be2 | 48 | {else} |
6a488035 TO |
49 | <div class="messages status no-popup"> |
50 | <div class="icon inform-icon"></div> | |
afd94145 | 51 | {ts}None found.{/ts} |
6a488035 | 52 | </div> |
581c7be2 CW |
53 | {/if} |
54 | <div class="action-link"> | |
4d3e4dbe | 55 | {assign var='link' value="civicrm/admin/scheduleReminders"} |
56 | {if $component} | |
57 | {assign var='urlParams' value="action=add&context=$component&compId=$id&reset=1"} | |
58 | {else} | |
59 | {assign var='urlParams' value="action=add&reset=1"} | |
60 | {/if} | |
f7296a9a | 61 | {crmButton p=$link q=$urlParams id="newScheduleReminder" icon="circle-plus"}{ts}Add Reminder{/ts}{/crmButton} |
581c7be2 | 62 | </div> |
6a488035 | 63 | {/if} |
4d3e4dbe | 64 | {/if} |