File "csv_opts.php"

Full path: /home/bud/public_html/swamp/wp-admin/wp-content/plugins/formidable-pro/classes/views/xml/csv_opts.php
File size: 1.2 KB
MIME-type: text/x-php
Charset: utf-8

<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( 'You are not allowed to call this page directly.' );
}
?>
<div class="show_csv hide-if-js">
	<p>
		<label class="frm_left_label"><?php esc_html_e( 'CSV Delimiter', 'formidable-pro' ); ?></label>
        <input type="text" name="csv_del" value="<?php echo esc_attr($csv_del); ?>" />
    </p>

	<p>
		<label class="frm_left_label"><?php esc_html_e( 'Import Into Form', 'formidable-pro' ); ?></label>
        <select name="form_id">
		<?php
		foreach ( $forms as $form ) {
            if ( $form->is_template || $form->parent_form_id ) {
                continue;
            }
        ?>
            <option value="<?php echo (int) $form->id; ?>"><?php echo ( $form->name == '' ) ? __( '(no title)' ) : esc_html( $form->name ); ?></option>
        <?php } ?>
        </select>
    </p>
	<p>
		<label for="csv_files">
			<input type="checkbox" name="csv_files" id="csv_files" value="1" <?php checked( $csv_files, 1 ); ?> />
			<?php esc_html_e( 'Import files. If you would like to import files from your CSV, check this box.', 'formidable-pro' ); ?>
		</label>
	</p>
	<p class="howto"><?php esc_html_e( 'Note: Only entries can by imported via CSV.', 'formidable-pro' ); ?></p>
</div>