示例#1
0
 * of this program must display Appropriate Legal Notices, as required under
 * Section 5 of the GNU Affero General Public License version 3.
 *
 * In accordance with Section 7(b) of the GNU Affero General Public License
 * version 3, these Appropriate Legal Notices must retain the display of the
 * WP Ultimate CSV Importer copyright notice. If the display of the logo is
 * not reasonably feasible for technical reasons, the Appropriate Legal
 * Notices must display the words
 * "Copyright Smackcoders. 2014. All rights reserved".
 ********************************************************************************/
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
$impObj = new WPImporter_includes_helper();
$nonceKey = $impObj->create_nonce_key();
if (!wp_verify_nonce($nonceKey, 'smack_nonce')) {
    die('You are not allowed to do this operation.Please contact your admin.');
}
$impCheckobj = CallWPImporterObj::checkSecurity();
if ($impCheckobj != 'true') {
    die($impCheckobj);
}
global $wpdb;
$all_arr = array();
$all_arr = $_REQUEST['postdata'];
$all_arr = $all_arr[0];
if ($all_arr['action'] == 'file_exist_check') {
    $file_with_version = $all_arr['filename'];
    $temp_arr = array();
    $temp_arr = explode("(", $file_with_version);
 * of this program must display Appropriate Legal Notices, as required under
 * Section 5 of the GNU Affero General Public License version 3.
 *
 * In accordance with Section 7(b) of the GNU Affero General Public License
 * version 3, these Appropriate Legal Notices must retain the display of the
 * WP Ultimate CSV Importer copyright notice. If the display of the logo is
 * not reasonably feasible for technical reasons, the Appropriate Legal
 * Notices must display the words
 * "Copyright Smackcoders. 2015. All rights reserved".
 ********************************************************************************/
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
$impCE = new WPImporter_includes_helper();
$nonce_Key = $impCE->create_nonce_key();
?>
<div style="width:100%;">
	<div id="accordion">
		<table class="table-importer">
			<tr>
				<td>
					<h3><?php 
echo __('CSV Import Options', 'wp-ultimate-csv-importer');
?>
</h3>

					<div
						id='sec-one' <?php 
if ($_REQUEST['step'] != 'uploadfile') {
    ?>
示例#3
0
function translate_reqString()
{
    $HelperObj = new WPImporter_includes_helper();
    $wp_ultimate_msg = array('dashboard_msg' => __('NO LOGS YET NOW.', 'wp-ultimate-csv-importer'), 'emptytemplate' => __('Template name is empty', 'wp-ultimate-csv-importer'), 'exist_template' => __('Template Name already exists', 'wp-ultimate-csv-importer'), 'error_msg' => __('Error: ', 'wp-ultimate-csv-importer'), 'mandatory_msg' => __(' - Mandatory fields. Please map the fields to proceed.', 'wp-ultimate-csv-importer'), 'generalmsg' => __(' should be mapped.', 'wp-ultimate-csv-importer'), 'reqfd_role' => __('role', 'wp-ultimate-csv-importer'), 'validatefile' => __('File must be .zip!', 'wp-ultimate-csv-importer'), 'reqfdmsg' => __('Fill all mandatory fields.', 'wp-ultimate-csv-importer'), 'import_progress' => __('Your Import Is In Progress...', 'wp-ultimate-csv-importer'), 'terminateImport' => __('Import process has been terminated.', 'wp-ultimate-csv-importer'), 'continueImport' => __(' Import process has been continued.', 'wp-ultimate-csv-importer'), 'ultimatepromsg' => __(' Feature is available only for PRO!.', 'wp-ultimate-csv-importer'), 'validate_recordnum' => __('Please enter numeric characters only', 'wp-ultimate-csv-importer'), 'validate_exportmsg' => __('Please choose one module to export the records!', 'wp-ultimate-csv-importer'), 'customlist' => __('Please choose anyone of Custompost Lists'), 'customtaxonomy' => __('Please choose anyone of Customtaxonomy Lists'), 'fileformatmsg' => __('Un Supported File Format', 'wp-ultimate-csv-importer'), 'secure_key' => $HelperObj->create_nonce_key());
    return $wp_ultimate_msg;
}