[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/pkg/vtiger/modules/Import/templates/ -> Import_Step4.tpl (source)

   1  {*<!--
   2  /*********************************************************************************

   3  ** The contents of this file are subject to the vtiger CRM Public License Version 1.0

   4   * ("License"); You may not use this file except in compliance with the License

   5   * The Original Code is:  vtiger CRM Open Source

   6   * The Initial Developer of the Original Code is vtiger.

   7   * Portions created by vtiger are Copyright (C) vtiger.

   8   * All Rights Reserved.

   9   *

  10   ********************************************************************************/
  11  -->*}
  12  
  13  <table width="100%" cellspacing="0" cellpadding="10" class="importContents">
  14      <tr>
  15          <td>
  16              <strong>{'LBL_IMPORT_STEP_4'|@vtranslate:$MODULE}:</strong>
  17          </td>
  18          <td>
  19              <span class="big">{'LBL_IMPORT_STEP_4_DESCRIPTION'|@vtranslate:$MODULE}</span>
  20          </td>
  21          <td>
  22              <div id="savedMapsContainer" class="textAlignRight pull-right">
  23                  {include file="Import_Saved_Maps.tpl"|@vtemplate_path:'Import'}
  24              </div>
  25          </td>
  26      </tr>
  27      <tr>
  28          <td>&nbsp;</td>
  29          <td colspan="2">
  30              <input type="hidden" name="field_mapping" id="field_mapping" value="" />
  31              <input type="hidden" name="default_values" id="default_values" value="" />
  32              <table width="100%" cellspacing="0" cellpadding="2" class="listRow table table-bordered table-condensed listViewEntriesTable">
  33                  <thead>
  34                      <tr class="listViewHeaders">
  35                          {if $HAS_HEADER eq true}
  36                          <th width="25%"><a>{'LBL_FILE_COLUMN_HEADER'|@vtranslate:$MODULE}</a></th>
  37                          {/if}
  38                          <th width="25%"><a>{'LBL_ROW_1'|@vtranslate:$MODULE}</a></th>
  39                          <th width="23%"><a>{'LBL_CRM_FIELDS'|@vtranslate:$MODULE}</a></th>
  40                          <th width="27%"><a>{'LBL_DEFAULT_VALUE'|@vtranslate:$MODULE}</a></th>
  41                      </tr>
  42                  </thead>
  43                  <tbody>
  44                      {foreach key=_HEADER_NAME item=_FIELD_VALUE from=$ROW_1_DATA name="headerIterator"}
  45                      {assign var="_COUNTER" value=$smarty.foreach.headerIterator.iteration}
  46                      <tr class="fieldIdentifier" id="fieldIdentifier{$_COUNTER}">
  47                          {if $HAS_HEADER eq true}
  48                          <td class="cellLabel">
  49                              <span name="header_name">{$_HEADER_NAME}</span>
  50                          </td>
  51                          {/if}
  52                          <td class="cellLabel">
  53                              <span>{$_FIELD_VALUE|@textlength_check}</span>
  54                          </td>
  55                          <td class="cellLabel">
  56                              <input type="hidden" name="row_counter" value="{$_COUNTER}" />
  57                              <select name="mapped_fields" class="txtBox chzn-select" style="width: 100%" onchange="ImportJs.loadDefaultValueWidget('fieldIdentifier{$_COUNTER}')">
  58                                  <option value="">{'LBL_NONE'|@vtranslate:$FOR_MODULE}</option>
  59                                  {foreach key=_FIELD_NAME item=_FIELD_INFO from=$AVAILABLE_FIELDS}
  60                                  {assign var="_TRANSLATED_FIELD_LABEL" value=$_FIELD_INFO->getFieldLabelKey()|@vtranslate:$FOR_MODULE}
  61                                  <option value="{$_FIELD_NAME}" {if decode_html($_HEADER_NAME) eq $_TRANSLATED_FIELD_LABEL} selected {/if} data-label="{$_TRANSLATED_FIELD_LABEL}">{$_TRANSLATED_FIELD_LABEL}{if $_FIELD_INFO->isMandatory() eq 'true'}&nbsp; (*){/if}</option>
  62                                  {/foreach}
  63                              </select>
  64                          </td>
  65                          <td class="cellLabel row-fluid" name="default_value_container">&nbsp;</td>
  66                      </tr>
  67                      {/foreach}
  68              </tbody>
  69              </table>
  70          </td>
  71      </tr>
  72      <tr>
  73          <td>&nbsp;</td>
  74          <td align="right" colspan="2">
  75              <input type="checkbox" name="save_map" id="save_map"/>&nbsp;{'LBL_SAVE_AS_CUSTOM_MAPPING'|@vtranslate:$MODULE}&nbsp;&nbsp;
  76              <input type="text" name="save_map_as" id="save_map_as"/>
  77          </td>
  78      </tr>
  79  </table>
  80  {include file="Import_Default_Values_Widget.tpl"|@vtemplate_path:'Import'}


Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1