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

<h3><?php _e('Export Users to CSV','userpro'); ?></h3>
<table class="form-table">

	<tr valign="top">
		<th scope="row"><label for="exp_users_num"><?php _e('Number of Users to export','userpro'); ?></label></th>
		<td>
			<input type="text" name="exp_users_num" id="exp_users_num" value="100" class="regular-text" />
		</td>
	</tr>
	
	<tr valign="top">
		<th scope="row"><label for="exp_exclude"><?php _e('Do not include these fields in export','userpro'); ?></label></th>
		<td>
			<input type="text" name="exp_exclude" id="exp_exclude" value="" class="regular-text" />
			<span class="description"><?php _e('A comma seperated list of fields to exclude from the export. e.g. first_name,user_login,id,user_email','userpro'); ?></span>
		</td>
	</tr>

	<tr valign="top">
		<th scope="row"><label for="exp_include"><?php _e('Only Include these fields in export','userpro'); ?></label></th>
		<td>
			<input type="text" name="exp_include" id="exp_include" value="" class="regular-text" />
			<span class="description"><?php _e('A comma seperated list of fields to include only in the export. e.g. first_name,user_login,id,user_email','userpro'); ?></span>
		</td>
	</tr>
	
</table>

<p class="submit">
	<input type="submit" name="export_users" id="export_users" class="button button-primary" value="<?php _e('Export to CSV','userpro'); ?>"  />
</p>
<h3><?php _e('Import Users from CSV','userpro'); ?></h3>
<table class="form-table">
<tr valign="top">
		<th scope="row"><label for="import_users_file"><?php _e('Upload users CSV file to import','userpro'); ?></label></th>
		<td>
			<input type="file" name="import_users_file" id="import_users_file" class="regular-text" />
		</td>
	</tr>
<tr valign="top">
		<th scope="row"><label for="send_email_notification"><?php _e('Send email notification to users on registration','userpro'); ?></label></th>
		<td>
			<select name="send_email_notification" id="send_email_notification" class="chosen-select" style="width:300px">
				<option value="1" ><?php _e('Yes','userpro'); ?></option>
				<option value="0" ><?php _e('No','userpro'); ?></option>
			</select>
		</td>
	</tr>	
</table>
<p class="submit">
	<input type="submit" name="import_users" id="import_users" class="button button-primary" value="<?php _e('Import from CSV','userpro'); ?>"  />
</p>

</form>