Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
3 | | CiviCRM version 4.3 | | |
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 | {* this template is used for adding/editing/deleting Credit Card *} | |
27 | <div class="form-item form-item crm-block crm-form-block crm-contribution-form-block"> | |
28 | <fieldset><legend>{if $action eq 1}{ts}New Credit Card{/ts}{elseif $action eq 2}{ts}Edit Credit Card{/ts}{else}{ts}Delete Credit Card{/ts}{/if}</legend> | |
29 | ||
30 | {if $action eq 8} | |
31 | <div class="messages status no-popup"> | |
32 | <div class="icon inform-icon"></div> | |
33 | {ts}WARNING: If you delete this option, contributors will not be able to use this credit card type on your Online Contribution pages.{/ts} {ts}Do you want to continue?{/ts} | |
34 | </div> | |
35 | {else} | |
36 | <table class="form-layout-compressed"> | |
37 | <tr class="crm-contribution-form-block-name"> | |
38 | <td class="label">{$form.name.label}</td> | |
39 | <td class="html-adjust">{$form.name.html}<br /> | |
40 | <span class="description">{ts}The name for this credit card type as it should be provided to your payment processor.{/ts}</span> | |
41 | </td> | |
42 | </tr> | |
43 | <tr class="crm-contribution-form-block-title"> | |
44 | <td class="label">{$form.title.label}</td> | |
45 | <td class="html-adjust">{$form.title.html}<br /> | |
46 | <span class="description">{ts}The name for this credit card type as it is displayed to contributors. This may be the same value as the Name above, or a localised title.{/ts}</span> | |
47 | </td> | |
48 | </tr> | |
49 | <tr class="crm-contribution-form-block-is_active"> | |
50 | <td class="label">{$form.is_active.label}</td> | |
51 | <td class="html-adjust">{$form.is_active.html}</td> | |
52 | </tr> | |
53 | </table> | |
54 | {/if} | |
55 | <div class="crm-submit-buttons">{$form.buttons.html}</div> | |
56 | </fieldset> | |
57 | </div> |