-
-
-
-
- {l s='You can also upload your file via FTP to the following directory:'} {$path_import}.
-
+
+
{l s='Only UTF-8 and ISO-8859-1 encoding are allowed'}
+
{* Import fieldset *}
@@ -93,6 +92,7 @@
{/foreach}
+
{/if}
@@ -132,10 +132,10 @@
-
-
+
{if empty($files_to_import)}
{l s='You must upload a file in order to proceed to the next step'}
{/if}
@@ -274,7 +274,11 @@
$("a#upload_file_import_link").fancybox({
'titleShow' : false,
'transitionIn' : 'elastic',
- 'transitionOut' : 'elastic'
+ 'transitionOut' : 'elastic',
+ 'autoDimensions' : false,
+ 'autoSize' : false,
+ 'width' : 700,
+ 'height' : 300
});
$('#preview_import').submit(function(e){
diff --git a/admin-dev/themes/default/template/controllers/import/helpers/view/view.tpl b/admin-dev/themes/default/template/controllers/import/helpers/view/view.tpl
index 97abf07a2..9f25e6e44 100644
--- a/admin-dev/themes/default/template/controllers/import/helpers/view/view.tpl
+++ b/admin-dev/themes/default/template/controllers/import/helpers/view/view.tpl
@@ -51,7 +51,7 @@
var btn_submit_import = $('#import');
if (btn_save_import.length > 0 && btn_submit_import.length > 0)
{
- btn_submit_import.hide();
+ btn_submit_import.closest('.form-group').hide();
btn_save_import.find('span').removeClass('process-icon-save-import');
btn_save_import.find('span').addClass('process-icon-save');
btn_save_import.click(function(){
@@ -62,31 +62,43 @@
showTable(current);
});
-
-
{l s='View your data'}
-
-
{l s='Save and load your configuration for importing files'} :
-
-
{l s='Save'}
-
-
-
{l s='Load'}
-
{l s='Delete'}
+
+
{l s='View your data'}
+
-
{l s='Please set the value type of each column'}
-
-
{l s='Columns cannot have the same value type'}
+
+
{l s='Please set the value type of each column'}
-
-
{l s='Column'} {l s='must be set'}
+
+ {l s='Columns cannot have the same value type'}
-
{/block}