2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
8 +--------------------------------------------------------------------+
10 {* Activity Import Wizard - Step 1 (upload data file) *}
11 {* @var $form Contains the array for the form elements and other form associated information assigned to the template by the controller *}
12 <div class="crm-block crm-form-block crm-activity-import-uploadfile-form-block">
14 {* WizardHeader.tpl provides visual display of steps thru the wizard as well as title for current step *}
15 {include file="CRM/common/WizardHeader.tpl"}
19 {ts}The Activity Import Wizard allows you to easily upload activity from other applications into CiviCRM. Contacts must already exist in your CiviCRM database prior to importing activity.{/ts}
23 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
24 <div id="upload-file">
25 <h3>{ts}Upload Data File{/ts}</h3>
26 <table class="form-layout-compressed">
27 <tr class="crm-activity-import-uploadfile-form-block-uploadFile">
28 <td class="label">{$form.uploadFile.label}</td>
29 <td>{$form.uploadFile.html}<br />
30 <span class="description">{ts}File format must be comma-separated-values (CSV).{/ts}</span><br /><span>{ts 1=$uploadSize}Maximum Upload File Size: %1 MB{/ts}</span>
33 <tr class="crm-activity-import-uploadfile-form-block-skipColumnHeader">
34 <td class="label"></td>
35 <td>{$form.skipColumnHeader.html}{$form.skipColumnHeader.label}<br />
36 <span class="description">{ts}Check this box if the first row of your file consists of field names (Example: 'Contact ID', 'Activity Type', 'Activity Date').{/ts}</span>
39 <tr class="crm-import-datasource-form-block-fieldSeparator">
40 <td class="label">{$form.fieldSeparator.label} {help id='id-fieldSeparator' file='CRM/Contact/Import/Form/DataSource'}</td>
41 <td>{$form.fieldSeparator.html}</td>
43 <tr>{include file="CRM/Core/Date.tpl"}</tr>
45 <tr class="crm-activity-import-uploadfile-form-block-savedMapping">
46 <td>{$form.savedMapping.label}</td>
47 <td>{$form.savedMapping.html}<br />
48 <span class="description">{ts}Select Saved Mapping or Leave blank to create a new One.{/ts}</span>
53 <div class="spacer"></div>
55 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>