| 1 | {* |
| 2 | +--------------------------------------------------------------------+ |
| 3 | | CiviCRM version 4.5 | |
| 4 | +--------------------------------------------------------------------+ |
| 5 | | Copyright CiviCRM LLC (c) 2004-2014 | |
| 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 available Payment Processors *} |
| 27 | <div class="crm-block crm-form-block crm-paymentProcessor-type-form-block"> |
| 28 | <fieldset><legend>{if $action eq 1}{ts}New Payment Procesor Type{/ts}{elseif $action eq 2}{ts}Edit Payment Procesor Type{/ts}{else}{ts}Delete Payment Procesor Type{/ts}{/if}</legend> |
| 29 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> |
| 30 | {if $action eq 8} |
| 31 | <div class="messages status no-popup"> |
| 32 | <div class="icon inform-icon"></div> |
| 33 | {ts}Do you want to continue?{/ts} |
| 34 | </div> |
| 35 | {else} |
| 36 | |
| 37 | <table class="form-layout-compressed"> |
| 38 | <tr class="crm-paymentProcessor-type-form-block-title"> |
| 39 | <td class="label">{$form.title.label}</td> |
| 40 | <td>{$form.title.html}</td> |
| 41 | </tr> |
| 42 | <tr class="crm-paymentProcessor-type-form-block-name"> |
| 43 | <td class="label">{$form.name.label}</td> |
| 44 | <td>{$form.name.html}</td> |
| 45 | </tr> |
| 46 | <tr class="crm-paymentProcessor-type-form-block-description"> |
| 47 | <td class="label">{$form.description.label}</td> |
| 48 | <td>{$form.description.html}</td> |
| 49 | </tr> |
| 50 | <tr class="crm-paymentProcessor-type-form-block-billing_mode"> |
| 51 | <td class="label">{$form.billing_mode.label}</td> |
| 52 | <td>{$form.billing_mode.html}</td> |
| 53 | </tr> |
| 54 | <tr class="crm-paymentProcessor-type-form-block-class_name"> |
| 55 | <td class="label">{$form.class_name.label}</td> |
| 56 | <td>{$form.class_name.html}</td> |
| 57 | </tr> |
| 58 | <tr class="crm-paymentProcessor-type-form-block-is_active"> |
| 59 | <td class="label"></td><td>{$form.is_active.html} {$form.is_active.label}</td> |
| 60 | </tr> |
| 61 | <tr class="crm-paymentProcessor-type-form-block-is_default"> |
| 62 | <td class="label"></td><td>{$form.is_default.html} {$form.is_default.label}</td> |
| 63 | </tr> |
| 64 | <tr class="crm-paymentProcessor-type-form-block-is_recur"> |
| 65 | <td class="label"></td><td>{$form.is_recur.html} {$form.is_recur.label}</td> |
| 66 | </tr> |
| 67 | <tr class="crm-paymentProcessor-type-form-block-user_name_label"> |
| 68 | <td class="label">{$form.user_name_label.label}</td> |
| 69 | <td>{$form.user_name_label.html}</td> |
| 70 | </tr> |
| 71 | <tr class="crm-paymentProcessor-type-form-block-password_label"> |
| 72 | <td class="label">{$form.password_label.label}</td> |
| 73 | <td>{$form.password_label.html}</td> |
| 74 | </tr> |
| 75 | <tr class="crm-paymentProcessor-type-form-block-signature_label"> |
| 76 | <td class="label">{$form.signature_label.label}</td> |
| 77 | <td>{$form.signature_label.html}</td> |
| 78 | </tr> |
| 79 | <tr class="crm-paymentProcessor-type-form-block-subject_label"> |
| 80 | <td class="label">{$form.subject_label.label}</td> |
| 81 | <td>{$form.subject_label.html}</td> |
| 82 | </tr> |
| 83 | <tr class="crm-paymentProcessor-type-form-block-url_site_default"> |
| 84 | <td class="label">{$form.url_site_default.label}</td> |
| 85 | <td>{$form.url_site_default.html}</td> |
| 86 | </tr> |
| 87 | <tr class="crm-paymentProcessor-type-form-block-url_api_default"> |
| 88 | <td class="label">{$form.url_api_default.label}</td> |
| 89 | <td>{$form.url_api_default.html}</td> |
| 90 | </tr> |
| 91 | <tr class="crm-paymentProcessor-type-form-block-url_recur_default"> |
| 92 | <td class="label">{$form.url_recur_default.label}</td> |
| 93 | <td>{$form.url_recur_default.html}</td> |
| 94 | </tr> |
| 95 | <tr class="crm-paymentProcessor-type-form-block-url_button_default"> |
| 96 | <td class="label">{$form.url_button_default.label}</td> |
| 97 | <td>{$form.url_button_default.html}</td> |
| 98 | </tr> |
| 99 | <tr class="crm-paymentProcessor-type-form-block-url_site_test_default"> |
| 100 | <td class="label">{$form.url_site_test_default.label}</td> |
| 101 | <td>{$form.url_site_test_default.html}</td> |
| 102 | </tr> |
| 103 | <tr class="crm-paymentProcessor-type-form-block-url_api_test_default"> |
| 104 | <td class="label">{$form.url_api_test_default.label}</td> |
| 105 | <td>{$form.url_api_test_default.html}</td> |
| 106 | </tr> |
| 107 | <tr class="crm-paymentProcessor-type-form-block-url_recur_test_default"> |
| 108 | <td class="label">{$form.url_recur_test_default.label}</td> |
| 109 | <td>{$form.url_recur_test_default.html}</td> |
| 110 | </tr> |
| 111 | <tr class="crm-paymentProcessor-type-form-block-url_button_test_default"> |
| 112 | <td class="label">{$form.url_button_test_default.label}</td> |
| 113 | <td>{$form.url_button_test_default.html}</td> |
| 114 | </tr> |
| 115 | </table> |
| 116 | {/if} |
| 117 | </fieldset> |
| 118 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> |
| 119 | </div> |