_decodeProperties($_smarty_tpl, array ( 'version' => '3.1.39', 'unifunc' => 'content_64943281823c15_23497671', 'has_nocache_code' => false, 'file_dependency' => array ( '4259c23d1f9a8ee2dbd0858c80394ce9e4c47332' => array ( 0 => 'C:\\xampp\\htdocs\\hotelcommerce\\admin\\themes\\default\\template\\controllers\\import\\helpers\\view\\view.tpl', 1 => 1687433793, 2 => 'file', ), ), 'includes' => array ( ), ),false)) { function content_64943281823c15_23497671 (Smarty_Internal_Template $_smarty_tpl) { $_smarty_tpl->_loadInheritance(); $_smarty_tpl->inheritance->init($_smarty_tpl, true); ?> inheritance->instanceBlock($_smarty_tpl, 'Block_2001230176494328155d553_36377307', "override_tpl"); ?> inheritance->endChild($_smarty_tpl, "helpers/view/view.tpl"); } /* {block "override_tpl"} */ class Block_2001230176494328155d553_36377307 extends Smarty_Internal_Block { public $subBlocks = array ( 'override_tpl' => array ( 0 => 'Block_2001230176494328155d553_36377307', ), ); public function callBlock(Smarty_Internal_Template $_smarty_tpl) { ?> type="text/javascript"> var errorEmpty = 'smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Please name your data matching configuration in order to save it.','js'=>1),$_smarty_tpl ) );?> '; var current = 0; function showTable(nb) { $('#btn_left').disabled = null; $('#btn_right').disabled = null; if (nb <= 0) { nb = 0; $('#btn_left').disabled = 'true'; } if (nb >= tpl_vars['nb_table']->value;?> - 1) { nb = tpl_vars['nb_table']->value;?> - 1; $('#btn_right').disabled = 'true'; } $('#table' + current).hide(); current = nb; $('#table' + current).show(); } $(document).ready(function() { var btn_save_import = $('span[class~="process-icon-save-import"]').parent(); var btn_submit_import = $('#import'); if (btn_save_import.length > 0 && btn_submit_import.length > 0) { 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(){ btn_submit_import.before(''); $('#import_form').submit(); }); } showTable(current); }); >
smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Please match each column of your source CSV file to one of the destination columns.'),$_smarty_tpl ) );?>