Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
819d0d41 | 3 | | CiviCRM version 4.5 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
819d0d41 | 5 | | Copyright CiviCRM LLC (c) 2004-2014 | |
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 $confirm} | |
27 | <div class="messages status no-popup"> | |
28 | <div class="icon inform-icon"></div> | |
29 | <label>{$display_name} ({$email})</label> {ts}has been successfully removed from the specified mailing list(s).{/ts} | |
30 | </div> | |
31 | {else} | |
32 | <div> | |
33 | <form action="{$confirmURL}" method="post"> | |
34 | {if $groupExist} | |
35 | <div class="messages status no-popup"> | |
36 | {ts 1=$display_name 2=$email} %1 (%2){/ts}<br/> | |
37 | {ts}Are you sure you want to be removed from the mailing list(s) shown below:{/ts}<br/> | |
38 | </div> | |
39 | <table class="selector" style="width: auto; margin-top: 20px;"> | |
40 | {counter start=0 skip=1 print=false} | |
41 | {foreach from=$groups item=group} | |
42 | <tr class="{cycle values="odd-row,even-row"}"> | |
43 | <td><strong>{$group.title}</strong></td> | |
44 | <td> {$group.description} </td> | |
45 | </tr> | |
46 | {/foreach} | |
47 | </table> | |
48 | <div class="crm-submit-buttons"> | |
49 | <span class="crm-button crm-button-type-save"><input type="submit" name="_qf_unsubscribe_next" value="{ts}Unsubscribe{/ts}" class="form-submit" /></span> | |
50 | <span class="crm-button crm-button-type-cancel"><input type="submit" name="_qf_unsubscribe_cancel" value="{ts}Cancel{/ts}" class="form-submit" /></span> | |
51 | </div> | |
52 | {else} | |
53 | <div class="messages status no-popup"> | |
54 | {ts 1=$display_name 2=$email} %1 (%2){/ts}<br/> | |
55 | {ts}Sorry you are not currently on this mailing list. Perhaps you have already unsubscribed.{/ts}<br/> | |
56 | </div> | |
57 | {/if} | |
58 | </form> | |
59 | </div> | |
232624b1 | 60 | {/if} |