134 lines
5.1 KiB
Smarty
134 lines
5.1 KiB
Smarty
{showTip id='csv_convert_to_xml' type='warning' message={l s='From v2.173 we decided to support CSV in the same way as XML format. ' mod='pshowimporter'}|cat:{l s='Module will convert all your past, recent and every new file from CSV to XML. ' mod='pshowimporter'}|cat:{l s='This step will standarize the process of import for XML and CSV files. ' mod='pshowimporter'}|cat:{l s='To convert your CSV file to XML document please select `Convert to XML` option on the files list below.' mod='pshowimporter'}}
|
|
|
|
{showTip id='primary_config_moved_to_step_3' type='warning' message={l s='In version v2.179, most options were moved from step 2 (basic configuration) to step 3 (data matching). ' mod='pshowimporter'}|cat:{l s='As a result of these changes, all files have to be reconfigured. ' mod='pshowimporter'}|cat:{l s='If you have any problems, please feel free to create bug reports using this URL: http://helpdesk.prestashow.pl/open.php' mod='pshowimporter'}}
|
|
|
|
{if $isDuringImport && $isDuringCronImport}
|
|
<div class="text-center">
|
|
<div class="panel-heading" style="color: #fff;">
|
|
<span class="text-danger">
|
|
{l s='Direct import not finished!' mod='pshowimporter'}
|
|
</span>
|
|
</div>
|
|
<div class="panel-wrapper">
|
|
<p>{l s='At this time, someone directly imports file' mod='pshowimporter'}: {$isDuringImport}</p>
|
|
<p>{l s='You cannot start new import before finish last one.' mod='pshowimporter'}</p>
|
|
<p>{l s='Import started' mod='pshowimporter'}: {$importStartDate}</p>
|
|
<p>{l s='Import last updated' mod='pshowimporter'}: {$importUpdateDate}</p>
|
|
<p>{l s='Imported' mod='pshowimporter'}: {$imported}</p>
|
|
<p>{l s='You cannot start new import before finish last one.' mod='pshowimporter'}</p>
|
|
<p>{l s='What you want to do?' mod='pshowimporter'}</p>
|
|
</div>
|
|
<div class="panel-footer">
|
|
<a href="{$link->getAdminLink('PShowImporterMain', true)}&page=stop"
|
|
class="btn btn-default"
|
|
onclick="javascript: return confirm('{l s='Are you sure you want to stop import?' mod='pshowimporter'}');">
|
|
<i class="process-icon-cancel"></i> {l s='Stop' mod='pshowimporter'}</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="panel">
|
|
{elseif $isDuringImport}
|
|
<div class="text-center">
|
|
<div class="panel-heading" style="color: #fff;">
|
|
<span class="text-danger">
|
|
{l s='You not finished last import!' mod='pshowimporter'}
|
|
</span>
|
|
</div>
|
|
<div class="panel-wrapper">
|
|
<p>{l s='Name' mod='pshowimporter'}: {$isDuringImport}</p>
|
|
<p>{l s='You cannot start new import before finish last one.' mod='pshowimporter'}</p>
|
|
<p>{l s='Import started' mod='pshowimporter'}: {$importStartDate}</p>
|
|
<p>{l s='Import last updated' mod='pshowimporter'}: {$importUpdateDate}</p>
|
|
<p>{l s='Imported' mod='pshowimporter'}: {$imported}</p>
|
|
<p>{l s='What you want to do?' mod='pshowimporter'}</p>
|
|
</div>
|
|
<div class="panel-footer">
|
|
<a href="{$link->getAdminLink('PShowImporterMain', true)}&page=stop"
|
|
class="btn btn-default"
|
|
onclick="javascript: return confirm('{l s='Are you sure you want to stop import?' mod='pshowimporter'}');">
|
|
<i class="process-icon-cancel"></i> {l s='Stop' mod='pshowimporter'}</a>
|
|
<a href="{$link->getAdminLink('PShowImporterImport', true)}&page=import" class="btn btn-default">
|
|
<i class="process-icon-save"></i>{l s='Continue' mod='pshowimporter'}</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="panel">
|
|
|
|
{/if}
|
|
|
|
{if !$writeableImportConfig}
|
|
|
|
<div class="alert alert-warning">
|
|
<p>
|
|
{l s='Module do not have write permissions to' mod='pshowimporter'}:
|
|
{$modulePath}import-config
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="panel">
|
|
|
|
{/if}
|
|
|
|
{if !$writeableImportLog}
|
|
|
|
<div class="alert alert-warning">
|
|
<p>
|
|
{l s='Module do not have write permissions to' mod='pshowimporter'}:
|
|
{$modulePath}import-log
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="panel">
|
|
|
|
{/if}
|
|
|
|
{if !$writeableImportStatus}
|
|
|
|
<div class="alert alert-warning">
|
|
<p>
|
|
{l s='Module do not have write permissions to' mod='pshowimporter'}:
|
|
{$modulePath}import-status
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="panel">
|
|
|
|
{/if}
|
|
|
|
{if !$writeableUpload}
|
|
|
|
<div class="alert alert-warning">
|
|
<p>
|
|
{l s='Module do not have write permissions to' mod='pshowimporter'}:
|
|
{$modulePath}upload
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="panel">
|
|
|
|
{/if}
|
|
|
|
{if !$writeableUpdate}
|
|
|
|
<div class="alert alert-warning">
|
|
<p>
|
|
{l s='Module do not have write permissions to' mod='pshowimporter'}:
|
|
{$modulePath}update
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="panel">
|
|
|
|
{/if}
|
|
|
|
{include file='./../parts/import_steps.tpl' step=1}
|
|
|
|
</div>
|
|
|
|
{include file='./../parts/import_queue.tpl' import_queue=$import_queue import_button=!$isDuringImport}
|
|
|
|
<div class="panel">
|
|
|
|
{include file='../parts/files_list.tpl'} |