YetiForceCompany/YetiForceCRM

View on GitHub
layouts/basic/modules/Import/ImportAdvanced.tpl

Summary

Maintainability
Test Coverage
{*<!--
/*********************************************************************************
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("License"); You may not use this file except in compliance with the License
* The Original Code is:  vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
* Contributor(s): YetiForce S.A.
********************************************************************************/
-->*}
{strip}
    <div class='widget_header row '>
        <div class="col-12">
            {include file=\App\Layout::getTemplatePath('BreadCrumbs.tpl', $MODULE_NAME)}
        </div>
    </div>
    <div>
        <form action="index.php" enctype="multipart/form-data" method="POST" name="importAdvanced">
            <input type="hidden" name="module" value="{$FOR_MODULE}" />
            <input type="hidden" name="view" value="Import" />
            <input type="hidden" name="mode" value="import" />
            <input type="hidden" name="type" value="{$USER_INPUT->get('type')}" />
            <input type="hidden" name="extension" value="{$USER_INPUT->get('extension')}" />
            <input type="hidden" name="has_header" value='{$HAS_HEADER}' />
            <input type="hidden" name="file_encoding" value='{$USER_INPUT->get('file_encoding')}' />
            <input type="hidden" name="delimiter" value='{$USER_INPUT->get('delimiter')}' />
            <input type="hidden" name="merge_type" value='{$USER_INPUT->get('merge_type')}' />
            <input type="hidden" name="merge_fields" value='{$MERGE_FIELDS}' />
            <input type="hidden" id="mandatory_fields" name="mandatory_fields" value='{\App\Purifier::encodeHtml($ENCODED_MANDATORY_FIELDS)}' />
            <input type="hidden" name="src_record" value="{$MODULE_MODEL->get('src_record')}" />
            <input type="hidden" name="relationId" value="{$MODULE_MODEL->get('relationId')}" />
            <table class="searchUIBasic col-12 no-margin paddingLRZero">
                {if !empty($ERROR_MESSAGE)}
                    <tr>
                        <td class="style1" align="left" colspan="2">
                            {$ERROR_MESSAGE}
                        </td>
                    </tr>
                {/if}
                <tr>
                    <td class="leftFormBorder1" colspan="2" valign="top">
                        {include file=\App\Layout::getTemplatePath('Import_Step4.tpl', 'Import')}
                    </td>
                </tr>
                <tr>
                    <td align="right" colspan="2">
                        {include file=\App\Layout::getTemplatePath('Import_Advanced_Buttons.tpl', 'Import')}
                    </td>
                </tr>
            </table>
        </form>
{/strip}