first commit

This commit is contained in:
2024-07-15 11:28:08 +02:00
commit f52d538ea5
21891 changed files with 6161164 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<?php
/**
* Starter import template
*/
?>
<div>
<?php
/**
* Hook before importer messages output.
*
* @hooked Jet_Data_Importer_Interface::check_server_params - 10;
*/
do_action( 'cherry-data-importer/before-messages' );
?>
<?php echo jdi_interface()->get_welcome_message(); ?>
<?php if ( jdi_interface()->is_advanced_import() ) : ?>
<?php jdi_interface()->advanced_import(); ?>
<?php else : ?>
<div class="cdi-actions">
<?php echo jdi_interface()->get_import_files_select( '<div class="cdi-file-select">', '</div>' ); ?>
<?php if ( 1 <= jdi_interface()->get_xml_count() && jdi()->get_setting( array( 'xml', 'use_upload' ) ) ) {
echo '<span class="cdi-delimiter">' . __( 'or', 'jet-data-importer' ) . '</span>';
} ?>
<?php echo jdi_interface()->get_import_file_input( '<div class="cdi-file-upload">', '</div>' ); ?>
</div>
<input type="hidden" name="referrer" value="<?php echo jdi_tools()->get_page_url(); ?>">
<button id="jet-import-start" class="cdi-btn primary">
<span class="dashicons dashicons-download"></span>
<?php esc_html_e( 'Start import', 'jet-data-importer' ); ?>
</button>
<?php endif; ?>
</div>