{$plugin.ESTAT_VERSION}

{footer_script} {literal} var translatedString={ {/literal} ciDialogTitle:"{'estat_work_in_progress'|@translate}", ciDialogText:"{'estat_prepare_db_ip'|@translate}", ciDialogFinished:"{'estat_work_finished'|@translate}", liDialogText:"{'estat_log_import_in_progress'|@translate}
", liDialogImportInProgressText:"{$plugin.l10n_logImportInProgress}", liDialogFinished:"{'estat_log_import_finished'|@translate}", liDialogConsolidate:"{'estat_consolidate'|@translate}", liDialogImportStep1:"{'estat_import_step1'|@translate}", liDialogImportStep2:"{'estat_import_step2'|@translate}", liDialogImportStep3:"{'estat_import_step3'|@translate}" {literal} }; $(window).load( function() { $('#iImportLogsChoice') .inputCheckbox( { values: { forced:true, checked:true, unchecked:false }, returnMode:'checked' } ) .inputCheckbox('value', ':all', true); $('#iBtImport').bind('click', function (event) { $('#iImportBt').css('display', 'none'); $.EStatImportLogs({/literal}'{$plugin.urlRequest}', '{$token}'{literal}); } ); $('#iBtDontImport').bind('click', function (event) { $('#iImportBt').css('display', 'none'); $.EStatInstall(2, { {/literal} url:'{$plugin.urlRequest}', token:'{$token}' {literal} } ); } ); $.EStatInstall(0, { {/literal} url:'{$plugin.urlRequest}', token:'{$token}', ipNbRecords:{$plugin.ipNbRecords}, importLog:{$plugin.importLog} {literal} } ); } ); {/literal} {/footer_script}