Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
2c4c49ca | 3 | | CiviCRM version 4.7 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
e7112fa7 | 5 | | Copyright CiviCRM LLC (c) 2004-2015 | |
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 | <div class="crm-block crm-form-block crm-member-import-uploadfile-form-block"> | |
27 | {* WizardHeader.tpl provides visual display of steps thru the wizard as well as title for current step *} | |
28 | {include file="CRM/common/WizardHeader.tpl"} | |
29 | <div id="help"> | |
30 | {ts}The Membership Import Wizard allows you to easily upload memberships from other applications into CiviCRM.{/ts} | |
31 | {ts}Files to be imported must be in the 'comma-separated-values' format (CSV) and must contain data needed to match the membership data to an existing contact in your CiviCRM database.{/ts} {help id='upload'} | |
32 | </div> | |
33 | {* Membership Import Wizard - Step 1 (upload data file) *} | |
34 | {* @var $form Contains the array for the form elements and other form associated information assigned to the template by the controller *} | |
35 | ||
36 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> | |
37 | <table class="form-layout"> | |
38 | <div id="upload-file" class="form-item"> | |
39 | <tr class="crm-member-import-uploadfile-from-block-uploadFile"> | |
40 | <td class="label">{$form.uploadFile.label}</td> | |
41 | <td>{$form.uploadFile.html}<br /> | |
42 | <span class="description">{ts}File format must be comma-separated-values (CSV).{/ts}</span> | |
43 | <br /><span>{ts 1=$uploadSize}Maximum Upload File Size: %1 MB{/ts}</span> | |
44 | </td> | |
45 | </tr> | |
46 | <tr class="crm-member-import-uploadfile-from-block-skipColumnHeader"> | |
47 | <td class="label"> {$form.skipColumnHeader.html} </td> | |
48 | <td>{$form.skipColumnHeader.label}<br /> | |
49 | <span class="description"> | |
50 | {ts}Check this box if the first row of your file consists of field names (Example: 'Contact ID', 'Amount').{/ts}</span> | |
51 | </td> | |
52 | <tr class="crm-member-import-uploadfile-from-block-contactType"> | |
53 | <td class="label">{$form.contactType.label}</tdt> | |
54 | <td>{$form.contactType.html}<br /> | |
55 | <span class="description"> | |
56 | {ts}Select 'Individual' if you are importing memberships for individual persons.{/ts} | |
57 | {ts}Select 'Organization' or 'Household' if you are importing memberships made by contacts of that type. (NOTE: Some built-in contact types may not be enabled for your site.){/ts} | |
58 | </span> | |
59 | </td> | |
60 | </tr> | |
61 | <tr class="crm-member-import-uploadfile-from-block-onDuplicate"> | |
62 | <td class="label" >{$form.onDuplicate.label}</td> | |
63 | <td>{$form.onDuplicate.html} {help id="id-onDuplicate"}</td> | |
64 | </tr> | |
19a68bae CW |
65 | <tr class="crm-import-datasource-form-block-fieldSeparator"> |
66 | <td class="label">{$form.fieldSeparator.label} {help id='id-fieldSeparator' file='CRM/Contact/Import/Form/DataSource'}</td> | |
67 | <td>{$form.fieldSeparator.html}</td> | |
68 | </tr> | |
6a488035 TO |
69 | <tr class="crm-member-import-uploadfile-from-block-date">{include file="CRM/Core/Date.tpl"}</tr> |
70 | {if $savedMapping} | |
71 | <tr class="crm-member-import-uploadfile-from-block-savedMapping"> | |
72 | <td>{if $loadedMapping}{ts}Select a Different Field Mapping{/ts}{else}{ts}Load Saved Field Mapping{/ts}{/if}</td> | |
73 | <td>{$form.savedMapping.html}<br /> | |
74 | <span class="description">{ts}If you want to use a previously saved import field mapping - select it here.{/ts}</span> | |
75 | </td> | |
76 | </tr> | |
77 | {/if} | |
78 | </div> | |
79 | </table> | |
80 | <div class="spacer"></div> | |
81 | ||
82 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> | |
232624b1 | 83 | </div> |