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