• File: import_export.php
  • Full Path: /home/dealkatnwc/www/wp-content/plugins/userpro/admin/panels/import_export.php
  • Date Modified: 02/11/2019 5:40 PM
  • File size: 2.92 KB
  • MIME-type: text/html
  • Charset: utf-8
<form method="post" action="">

<h3><i class="userpro-icon-wrench"></i><?php _e('Import / Export (Settings only)','userpro'); ?></h3>

<table class="form-table">

	<tr valign="top">
		<th scope="row"><label><?php _e('Export Settings','userpro'); ?></label></th>
		<td>
			<?php $this->create_export_download_link(true, 'userpro_export_options'); ?>
			<span class="description"><?php _e('Download the file of userpro settings','userpro'); ?></span>
		</td>
	</tr>
	
	<tr valign="top">
		<th scope="row"><label for="userpro_import"><?php _e('Import Settings','userpro'); ?></label></th>
		<td>
			<textarea name="userpro_import" id="userpro_import" class="large-text" rows="10"></textarea>
			<p><input type="submit" name="import_settings" id="import_settings" class="button button-primary" value="<?php _e('Import','userpro'); ?>" /></p>
			<span class="description"><?php _e('Just copy the export file data in to above text box and click on the import button','userpro'); ?></span>
		</td>
	</tr>

</table>

<h3><i class="userpro-icon-wrench"></i><?php _e('Import / Export Fields','userpro'); ?></h3>

<table class="form-table">

	<tr valign="top">
		<th scope="row"><label><?php _e('Export Fields','userpro'); ?></label></th>
		<td>
			<?php $this->create_export_download_link(true, 'userpro_export_fields'); ?>
			<span class="description"><?php _e('Download the file of userpro fields','userpro'); ?></span>
		</td>
	</tr>
	
	<tr valign="top">
		<th scope="row"><label for="userpro_import_fields"><?php _e('Import Fields','userpro'); ?></label></th>
		<td>
			<textarea name="userpro_import_fields" id="userpro_import_fields" class="large-text" rows="10"></textarea>
			<p><input type="submit" name="import_fields" id="import_fields" class="button button-primary" value="<?php _e('Import','userpro'); ?>" /></p><span class="description"><?php _e('Just copy the export file data in to above text box and click on the import button','userpro'); ?></span>
		</td>
	</tr>

</table>

<h3><i class="userpro-icon-wrench"></i><?php _e('Import / Export Field Groups','userpro'); ?></h3>

<table class="form-table">

	<tr valign="top">
		<th scope="row"><label><?php _e('Export Field Groups','userpro'); ?></label></th>
		<td>
			<?php $this->create_export_download_link(true, 'userpro_export_groups'); ?>
			<span class="description"><?php _e('Download the file of userpro Field Groups','userpro'); ?></span>	
		</td>
	</tr>
	
	<tr valign="top">
		<th scope="row"><label for="userpro_import_groups"><?php _e('Import Field Groups','userpro'); ?></label></th>
		<td>
			<textarea name="userpro_import_groups" id="userpro_import_groups" class="large-text" rows="10"></textarea>
			<p><input type="submit" name="import_groups" id="import_groups" class="button button-primary" value="<?php _e('Import','userpro'); ?>" /></p><span class="description"><?php _e('Just copy the export file data in to above text box and click on the import button','userpro'); ?></span>
		</td>
	</tr>

</table>

</form>