Ultimate CSV Importer - Version 3.8.3

Version Description

Download this release

Release Info

Developer smackcoders
Plugin Icon 128x128 Ultimate CSV Importer
Version 3.8.3
Comparing to
See all releases

Code changes from version 3.8.2 to 3.8.3

Readme.txt CHANGED
@@ -2,10 +2,10 @@
2
  Contributors: smackcoders
3
  Donate link: http://www.smackcoders.com/donate.html
4
  Tags: admin, administration, author, automatic, blog, categories, category, cms, contact, content, custom, custom post, dashboard, database, e-commerce, ecommerce, edit, event, events, feed, Formatting, free, gallery, image, images, import, integration, language, link, links, list, marketing, media, menu, meta, mobile, multisite, navigation, News, page, pages, performance, photo, photos, picture, pictures, plugin, plugins, Post, posts, profile, registration, rss, seo, Share, sharing, shop, shortcode, shortcodes, statistics, stats, store, tag, tags, Taxonomy, template, text, thumbnail, thumbnails, title, upload, url, user, users, video, woocommerce, wordpress, wpmu, xml, youtube,
5
- Requires at least: 4.2
6
  Tested up to: 4.3.1
7
- Stable tag: 3.8.2
8
- Version: 3.8.2
9
  Author: smackcoders
10
  Author URI: http://profiles.wordpress.org/smackcoders/
11
 
@@ -128,7 +128,7 @@ Your WordPress theme should support featured image. If not, please add the follo
128
  * DB Optimizer, System status etc.
129
 
130
  Compare Free Vs Pro[Features](https://www.wpultimatecsvimporter.com/wp-ultimate-csv-importer-plugin?utm_source=WpOrg&utm_medium=Readme&utm_campaign=ListingTraffic)>>
131
- Learn More from [User Manual](https://www.wpultimatecsvimporter.com/documentation?utm_source=WpOrg&utm_medium=Readme&utm_campaign=ListingTraffic)>>
132
 
133
 
134
  = Common Issues =
@@ -174,7 +174,7 @@ Also you can follow the instructions as given here
174
 
175
  == Installation ==
176
 
177
- * [Step By Step Installation with Snaps](http://www.wpultimatecsvimporter.com/documentation?utm_source=WpOrg&utm_medium=Readme&utm_campaign=ListingTraffic)
178
 
179
 
180
  == Screenshots ==
@@ -203,10 +203,14 @@ php_value auto_append_file none
203
 
204
  This will solve your issue or get support from hosting if you dint have sufficient permission.
205
 
206
- [Click Here for More Details](http://www.wpultimatecsvimporter.com/documentation?utm_source=WpOrg&utm_medium=Readme&utm_campaign=ListingTraffic)
207
 
208
  == Changelog ==
209
 
 
 
 
 
210
  = 3.8.2 =
211
  * Fixed : Wordpress 4.3.1 compatibility added.
212
  * Fixed : Dashboard entry issue fix.
@@ -481,6 +485,9 @@ This will solve your issue or get support from hosting if you dint have sufficie
481
 
482
  == Upgrade Notice ==
483
 
 
 
 
484
  = 3.8.2 =
485
  * Upgrade now for more improvements.
486
 
2
  Contributors: smackcoders
3
  Donate link: http://www.smackcoders.com/donate.html
4
  Tags: admin, administration, author, automatic, blog, categories, category, cms, contact, content, custom, custom post, dashboard, database, e-commerce, ecommerce, edit, event, events, feed, Formatting, free, gallery, image, images, import, integration, language, link, links, list, marketing, media, menu, meta, mobile, multisite, navigation, News, page, pages, performance, photo, photos, picture, pictures, plugin, plugins, Post, posts, profile, registration, rss, seo, Share, sharing, shop, shortcode, shortcodes, statistics, stats, store, tag, tags, Taxonomy, template, text, thumbnail, thumbnails, title, upload, url, user, users, video, woocommerce, wordpress, wpmu, xml, youtube,
5
+ Requires at least: 4.3.1
6
  Tested up to: 4.3.1
7
+ Stable tag: 3.8.3
8
+ Version: 3.8.3
9
  Author: smackcoders
10
  Author URI: http://profiles.wordpress.org/smackcoders/
11
 
128
  * DB Optimizer, System status etc.
129
 
130
  Compare Free Vs Pro[Features](https://www.wpultimatecsvimporter.com/wp-ultimate-csv-importer-plugin?utm_source=WpOrg&utm_medium=Readme&utm_campaign=ListingTraffic)>>
131
+ Learn More from [User Manual](https://www.wpultimatecsvimporter.com/documentation/all-import/user-guide/simple-step-by-step-user-guide?utm_source=WpOrg&utm_medium=Readme&utm_campaign=ListingTraffic)>>
132
 
133
 
134
  = Common Issues =
174
 
175
  == Installation ==
176
 
177
+ * [Step By Step Installation with Snaps](https://www.wpultimatecsvimporter.com/documentation/all-import/user-guide/simple-step-by-step-user-guide/?utm_source=WpOrg&utm_medium=Readme&utm_campaign=ListingTraffic)
178
 
179
 
180
  == Screenshots ==
203
 
204
  This will solve your issue or get support from hosting if you dint have sufficient permission.
205
 
206
+ [Click Here for More Details](https://www.wpultimatecsvimporter.com/documentation/all-import/user-guide/simple-step-by-step-user-guide/?utm_source=WpOrg&utm_medium=Readme&utm_campaign=ListingTraffic)
207
 
208
  == Changelog ==
209
 
210
+ = 3.8.3 =
211
+ * Fixed : Text domain is added for language translation system.
212
+ * Fixed : Bugs fixed for detecting duplicate post content and title option.
213
+
214
  = 3.8.2 =
215
  * Fixed : Wordpress 4.3.1 compatibility added.
216
  * Fixed : Dashboard entry issue fix.
485
 
486
  == Upgrade Notice ==
487
 
488
+ = 3.8.3 =
489
+ * Upgrade now for improvements in multi language translation.
490
+
491
  = 3.8.2 =
492
  * Upgrade now for more improvements.
493
 
includes/WPImporter_includes_helper.php CHANGED
@@ -112,28 +112,28 @@ class WPImporter_includes_helper {
112
  public function getImportDataConfiguration(){
113
  $importDataConfig = "<div class='importstatus'id='importallwithps_div'>
114
  <table><tr><td>
115
- <label id='importalign'>".__('Import with post status',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</label><span class='mandatory'> *</span></td><td>
116
  <div style='float:left;margin-right:10px;'>
117
  <select name='importallwithps' id='importallwithps' onChange='selectpoststatus();' >
118
- <option value='0'>".__('Status as in CSV',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</option>
119
- <option value='1'>".__('Publish',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</option>
120
- <option value='2'>".__('Sticky',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</option>
121
- <option value='4'>".__('Private',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</option>
122
- <option value='3'>".__('Protected',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</option>
123
- <option value='5'>".__('Draft',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</option>
124
- <option value='6'>".__('Pending',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</option>
125
  </select></div>
126
  <div style='float:right;'>
127
  <a href='#' class='tooltip'>
128
  <img src='".WP_CONST_ULTIMATE_CSV_IMP_DIR."images/help.png' />
129
  <span class='tooltipPostStatus'>
130
  <img class='callout' src='".WP_CONST_ULTIMATE_CSV_IMP_DIR."images/callout.gif' />
131
- ". __('Select the status for the post imported, if not defined within your csv .E.g.publish',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."
132
  <img src='". WP_CONST_ULTIMATE_CSV_IMP_DIR."images/help.png' style='margin-top: 6px;float:right;' />
133
  </span></a> </div>
134
  </td></tr><tr><td>
135
- <div id='globalpassword_label' class='globalpassword' style='display:none;'><label>". __('Password',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</label><span class='mandatory'> *</span></div></td><td>
136
- <div id='globalpassword_text' class='globalpassword' style='display:none;'><input type = 'text' id='globalpassword_txt' name='globalpassword_txt' placeholder=".__('Password for all post',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."></div></td></tr></table>
137
  </div>";
138
  return $importDataConfig;
139
  }
@@ -339,20 +339,30 @@ class WPImporter_includes_helper {
339
  similar_text($strippedTextPCont, $strippedText, $p);
340
  if ($p == 100) {
341
  $this->dupPostCount++;
342
- $this->detailedLog[$currentLimit]['post_id'] = "Created record no $currentLimit - failed";
343
  return false;
344
  }
345
  }
346
  return true;
347
  } else if ($type == 'title') {
348
  $post_exist = $wpdb->get_results("select ID from " . $wpdb->posts . " where post_title = \"{$text}\" and post_type = \"{$gettype}\" and post_status in('publish','future','draft','pending','private')");
349
- if (count($post_exist) == 0 && ($text != null || $text != ''))
350
- return true;
351
- }
352
- $this->dupPostCount++;
353
- $this->detailedLog[$currentLimit]['post_id'] = "Created record no $currentLimit - failed";
354
- return false;
355
- }
 
 
 
 
 
 
 
 
 
 
356
 
357
  /**
358
  * function to fetch the featured image from remote URL
@@ -379,9 +389,9 @@ class WPImporter_includes_helper {
379
  }
380
  if ($rawdata == false) {
381
  if ($logObj == '') {
382
- $this->detailedLog[$currentLimit]['image'] = "<b>" .__('Image',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." -</b> " .__('host not resolved',WP_CONST_ULTIMATE_CSV_IMP_SLUG);
383
  } else {
384
- $logObj->detailedLog[$currentLimit]['image'] = "<b>" . __('Image',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." -</b>" .__('host not resolved',WP_CONST_ULTIMATE_CSV_IMP_SLUG);
385
  }
386
  } else {
387
  if (file_exists($fimg_path)) {
@@ -390,7 +400,7 @@ class WPImporter_includes_helper {
390
  $fp = fopen($fimg_path, 'x');
391
  fwrite($fp, $rawdata);
392
  fclose($fp);
393
- $logObj->detailedLog[$currentLimit]['image'] = "<b>". __('Image',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." -</b>" . $fimg_name;
394
  }
395
  curl_close($ch);
396
  return $fimg_name;
@@ -584,6 +594,11 @@ class WPImporter_includes_helper {
584
  if ($this->conDupCheck == 'true' && $this->postFlag)
585
  $this->postFlag = $this->duplicateChecks('content', $data_array ['post_content'], $data_array ['post_type'], $currentLimit, $data_array ['post_title']);
586
 
 
 
 
 
 
587
  if ($this->postFlag) {
588
  unset ($sticky);
589
  if (empty($data_array['post_status']))
@@ -595,29 +610,29 @@ class WPImporter_includes_helper {
595
  switch ($data_array ['post_status']) {
596
  case 1 :
597
  $data_array['post_status'] = 'publish';
598
- $this->detailedLog[$currentLimit]['poststatus'] = "<b>". __('Status',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." - </b>".__('publish',WP_CONST_ULTIMATE_CSV_IMP_SLUG);
599
  break;
600
  case 2 :
601
  $data_array['post_status'] = 'publish';
602
  $sticky = true;
603
- $this->detailedLog[$currentLimit]['poststatus'] = "<b>". __('Status',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." - </b>".__('sticky',WP_CONST_ULTIMATE_CSV_IMP_SLUG);
604
  break;
605
  case 3 :
606
  $data_array['post_status'] = 'publish';
607
  $data_array ['post_password'] = $_POST ['postsPassword'];
608
- $this->detailedLog[$currentLimit]['poststatus'] = "<b>". __('Status',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." - </b>".__('protected with password',WP_CONST_ULTIMATE_CSV_IMP_SLUG). $data_array['post_password'];
609
  break;
610
  case 4 :
611
  $data_array ['post_status'] = 'private';
612
- $this->detailedLog[$currentLimit]['poststatus'] = "<b>". __('Status',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." - </b>".__('private',WP_CONST_ULTIMATE_CSV_IMP_SLUG);
613
  break;
614
  case 5 :
615
  $data_array ['post_status'] = 'draft';
616
- $this->detailedLog[$currentLimit]['poststatus'] = "<b>". __('Status',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." - </b>".__('draft',WP_CONST_ULTIMATE_CSV_IMP_SLUG);
617
  break;
618
  case 6 :
619
  $data_array ['post_status'] = 'pending';
620
- $this->detailedLog[$currentLimit]['poststatus'] = "<b>". __('Status',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." - </b>".__('pending',WP_CONST_ULTIMATE_CSV_IMP_SLUG);
621
  break;
622
  default :
623
  $poststatus = $data_array['post_status'] = strtolower($data_array['post_status']);
@@ -630,24 +645,24 @@ class WPImporter_includes_helper {
630
  $postpwd = substr($poststatus, 0, -1);
631
  $data_array['post_status'] = 'publish';
632
  $data_array ['post_password'] = $postpwd;
633
- $this->detailedLog[$currentLimit]['poststatus'] = "<b>".__('Status',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." - </b>".__('protected with password',WP_CONST_ULTIMATE_CSV_IMP_SLUG) . $data_array['post_password'];
634
  } else {
635
  $data_array['post_status'] = 'publish';
636
  $data_array ['post_password'] = $poststatus;
637
- $this->detailedLog[$currentLimit]['poststatus'] = "<b>". __('Status',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." - </b>".__('protected with password',WP_CONST_ULTIMATE_CSV_IMP_SLUG) . $data_array['post_password'];
638
  }
639
  } else {
640
  $data_array['post_status'] = 'publish';
641
- $this->detailedLog[$currentLimit]['poststatus'] = "<b>". __('Status',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." - </b>".__('publish',WP_CONST_ULTIMATE_CSV_IMP_SLUG);
642
  }
643
  }
644
  if ($data_array['post_status'] == 'sticky') {
645
  $data_array['post_status'] = 'publish';
646
  $sticky = true;
647
- $this->detailedLog[$currentLimit]['poststatus'] = "<b>".__('Status',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." - </b>".__('sticky',WP_CONST_ULTIMATE_CSV_IMP_SLUG);
648
  }
649
  else {
650
- $this->detailedLog[$currentLimit]['poststatus'] = "<b>".__('Status',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." - </b>" . $data_array['post_status'];
651
  }
652
  }
653
  // Post Format Options
@@ -731,17 +746,17 @@ class WPImporter_includes_helper {
731
  if (empty($postauthor) || !$postauthor[0]->ID) {
732
  $data_array ['post_author'] = 1;
733
  $admindet = $wpdb->get_results("select ID,user_login from $wpdb->users where ID = 1");
734
- $this->detailedLog[$currentLimit]['assigned_author'] = "<b>" .__('Author - not found (assigned to',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." </b>" . $admindet[0]->user_login . ")";
735
  $this->noPostAuthCount++;
736
  } else {
737
  $data_array ['post_author'] = $postauthor [0]->ID;
738
- $this->detailedLog[$currentLimit]['assigned_author'] = "<b>".__('Author',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." - </b>" . $postauthor[0]->user_login;
739
  }
740
  }
741
  else{
742
  $data_array ['post_author'] = 1;
743
  $admindet = $wpdb->get_results("select ID,user_login from $wpdb->users where ID = 1");
744
- $this->detailedLog[$currentLimit]['assigned_author'] = "<b>".__('Author - not found (assigned to',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." </b>" . $admindet[0]->user_login . ")";
745
  $this->noPostAuthCount++;
746
  }
747
 
@@ -749,10 +764,10 @@ class WPImporter_includes_helper {
749
  $data_array ['post_date'] = str_replace('/', '-', $data_array ['post_date']);
750
  if (!isset($data_array ['post_date'])){
751
  $data_array ['post_date'] = date('Y-m-d H:i:s');
752
- $this->detailedLog[$currentLimit]['postdate'] = "<b>".__('Date',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." - </b>" . $data_array ['post_date'];
753
  }else{
754
  $data_array ['post_date'] = date('Y-m-d H:i:s', strtotime($data_array ['post_date']));
755
- $this->detailedLog[$currentLimit]['postdate'] = "<b>".__('Date',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." - </b>" . $data_array ['post_date'];
756
  }
757
  if(isset($data_array ['post_slug'])){
758
  $data_array ['post_name'] = $data_array ['post_slug'];
@@ -762,7 +777,7 @@ class WPImporter_includes_helper {
762
  if($data_array){
763
  if($ret_array['importallwithps'] == 3){
764
  $data_array['post_password'] = $ret_array['globalpassword_txt'];
765
- $this->detailedLog[$currentLimit]['poststatus'] = "<b>".__('Status',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." - </b>".__('protected with password',WP_CONST_ULTIMATE_CSV_IMP_SLUG) . $ret_array['globalpassword_txt'];
766
  }
767
  }
768
  if ($data_array) {
@@ -773,7 +788,7 @@ class WPImporter_includes_helper {
773
  // $inline_shortcode = $inlineImagesObj->capture_all_shortcodes($data_array['post_content']);
774
  } else {
775
  $post_id = wp_insert_post($data_array);
776
- $this->detailedLog[$currentLimit]['post_id'] = "<b>".__('Created Post_ID',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." - </b>" . $post_id . " - success";
777
  }
778
  }
779
  unset($postauthor);
@@ -844,7 +859,7 @@ class WPImporter_includes_helper {
844
  $this->detailedLog[$currentLimit]['tags'] .= $tag_value . "|";
845
  wp_set_post_tags($post_id, $tag_value);
846
  }
847
- $this->detailedLog[$currentLimit]['tags'] = "<b>".__('Tags',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." - </b>" .substr($this->detailedLog[$currentLimit]['tags'], 0, -1);
848
  }
849
 
850
  // Create/Add category to post
@@ -862,7 +877,7 @@ class WPImporter_includes_helper {
862
  foreach($assigned_categories as $cateKey => $cateVal) {
863
  $this->detailedLog[$currentLimit]['category'] .= $cateKey . "|";
864
  }
865
- $this->detailedLog[$currentLimit]['category'] = "<b>".__('Category',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." - </b>" .substr($this->detailedLog[$currentLimit]['category'], 0, -1);
866
  wp_set_object_terms($post_id, $split_cate, 'category');
867
  }
868
  // Add featured image
@@ -906,16 +921,16 @@ class WPImporter_includes_helper {
906
  else{
907
  $skippedRecords[] = $_SESSION['SMACK_SKIPPED_RECORDS'];
908
  }
 
 
909
  }
910
- $this->detailedLog[$currentLimit]['verify_here'] = "<b>Verify Here -</b> <a href='" . get_permalink( $post_id ) . "' title='" . esc_attr( sprintf( __( 'View &#8220;%s&#8221;' ), $data_array['post_title'] ) ) . "' rel='permalink' target='_blank'>" . __( 'Web View',WP_CONST_ULTIMATE_CSV_IMP_SLUG ) . "</a> | <a href='" . get_edit_post_link( $post_id, true ) . "' title='" . esc_attr( __( 'Edit this item',WP_CONST_ULTIMATE_CSV_IMP_SLUG ) ) . "' target='_blank'>" . __( 'Admin View',WP_CONST_ULTIMATE_CSV_IMP_SLUG ) . "</a>";
911
-
912
  unset($data_array);
913
  }
914
 
915
  // Create Data base for Statistic chart
916
  public static function activate() {
917
  if (!defined('PDO::ATTR_DRIVER_NAME')) {
918
- echo __("Make sure you have enable the PDO extensions in your environment before activate the plugin!",WP_CONST_ULTIMATE_CSV_IMP_SLUG);
919
  die;
920
  }
921
  global $wpdb;
@@ -1025,7 +1040,7 @@ class WPImporter_includes_helper {
1025
 
1026
  // Function to show common notice for PRO Feature
1027
  public function common_notice_for_pro_feature() {
1028
- return "<p align='center'> <label style='color:red;'> ".__('This feature is only available in Pro!',WP_CONST_ULTIMATE_CSV_IMP_SLUG)." </label> <a href='http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html' target='_blank'>". __('Go Pro Now',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a> </p>";
1029
  }
1030
 
1031
  // Function for common footer
@@ -1092,23 +1107,23 @@ class WPImporter_includes_helper {
1092
  $get_pluginData = get_plugin_data(plugin_dir_path( __FILE__ ).'../index.php');
1093
  $footer = '';
1094
  $footer .= '<div style="padding:10px;">';
1095
- $footer .= '<label class="plugintags"><a href="http://www.wpultimatecsvimporter.com" target="_blank">'.__("Home",WP_CONST_ULTIMATE_CSV_IMP_SLUG).'</a></label><label class="plugintags"><a href="http://wiki.smackcoders.com/WP_Ultimate_CSV_Importer?utm_source=WpPlugin&utm_medium=Free&utm_campaign=SupportTraffic" target="_blank">'. __("Wiki",WP_CONST_ULTIMATE_CSV_IMP_SLUG).'</a></label>
1096
- <label class="plugintags"><a href="http://www.wpultimatecsvimporter.com" target="_blank">' .__('Tutorials',WP_CONST_ULTIMATE_CSV_IMP_SLUG).'</a></label> <label class="plugintags"><a href="http://wiki.smackcoders.com/WP_Ultimate_CSV_Importer_Videos?utm_source=WpPlugin&utm_medium=Free&utm_campaign=SupportTraffic" target="_blank">'. __("Videos",WP_CONST_ULTIMATE_CSV_IMP_SLUG).'</a></label>
1097
- <label class="plugintags"><a href="http://blog.smackcoders.com/wordpress-ultimate-csv-importer-csv-sample-files-and-updates.html?utm_source=WpPlugin&utm_medium=Free&utm_campaign=SupportTraffic" target="_blank">'. __("Sample Files",WP_CONST_ULTIMATE_CSV_IMP_SLUG).'</a></label>';
1098
  $footer .= '</div>';
1099
  $footer .= '<div style="padding:10px;margin-bottom:20px;">';
1100
  if(isset ($_REQUEST['__module']) && $_REQUEST['__module'] != 'settings')
1101
- $footer .= "<div style='float:right;margin-top:-49px;'><a class='label label-info' href='".get_admin_url()."admin.php?page=".WP_CONST_ULTIMATE_CSV_IMP_SLUG."/index.php&__module=settings'>". __('Click here to Enable any disabled module',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></div>";
1102
  if(isset ($_REQUEST['__module']) && $_REQUEST['__module'] == 'settings') {
1103
- $footer .= "<div style='float:right;margin-top:-48px;'><span style='margin-right:20px;'><a class='label label-info' href='http://wordpress.org/plugins/wp-ultimate-csv-importer/developers/'>".__('Get Old Versions',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></span><a class='label label-info' href='".get_admin_url()."admin.php?page=".WP_CONST_ULTIMATE_CSV_IMP_SLUG."/index.php&__module=support'>".__('Click here to Get some useful links')."</a></div>";
1104
- $footer .= "<div style='float:right;margin-right:15px;'> </span> ".__('Current Version',WP_CONST_ULTIMATE_CSV_IMP_SLUG).":".$get_pluginData['Version']." </div>";
1105
  }
1106
  if(isset ($_REQUEST['__module']) && $_REQUEST['__module'] != 'support' && $_REQUEST['__module'] != 'settings') {
1107
- $footer .= "<div style='float:right;margin-right:225px;margin-top:-48px;'><span style='margin-right:20px;'> <a class='label label-info' href='http://wordpress.org/plugins/wp-ultimate-csv-importer/developers/'>". __('Get Old Versions',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></span><a class='label label-info' href='".get_admin_url()."admin.php?page=".WP_CONST_ULTIMATE_CSV_IMP_SLUG."/index.php&__module=support'>". __('Click here to Get some useful links',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></div>";
1108
  $footer .= "<div style='float:right;margin-right:15px;'> ".'Current Version'.": ".$get_pluginData['Version']." </div>";
1109
  }
1110
  if(isset ($_REQUEST['__module']) && $_REQUEST['__module'] == 'support'){
1111
- $footer .= "<div style='float:right;margin-right:15px;'><span style='margin-right:20px;'>".__('Current Version',WP_CONST_ULTIMATE_CSV_IMP_SLUG).": ".$get_pluginData['Version']." </span><span style='margin-right:10px;'><a class='label label-info' href='http://wordpress.org/plugins/wp-ultimate-csv-importer/developers/'>". __('Get Old Versions',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></span></div>";
1112
  }
1113
  $footer .= '</div>';
1114
  $footer .= '<div style="float:right;margin-right:15px;margin-top:-10px;"> <label>Plugin By <a href="http://www.smackcoders.com"> Smackcoders</a></label> </div>';
@@ -1121,11 +1136,11 @@ class WPImporter_includes_helper {
1121
 
1122
  <div align="center" style="text-align:left;margin-top:-33px;">
1123
  <div id="boxmethod1" class="method1">
1124
- <label><span class="radio-icon"><input type="radio" name="importmethod" id="uploadfilefromcomputer" onclick="choose_import_method(this.id);" checked/></span> <span class="header-text" id="importopt">' . __('From Computer',WP_CONST_ULTIMATE_CSV_IMP_SLUG) . '</span> </label> <br>
1125
  <!-- The fileinput-button span is used to style the file input field as button -->
1126
  <div id="method1" style="display:block;height:40px;">
1127
  <span class="btn btn-success fileinput-button">
1128
- <span>' . __('Browse',WP_CONST_ULTIMATE_CSV_IMP_SLUG) . '</span>
1129
  <input id="fileupload" type="file" name="files[]" multiple>
1130
  <a href="#" id="zip_process" style = "display:none"> Click Here To Process Zip </a>
1131
  </span>';
@@ -1133,20 +1148,20 @@ class WPImporter_includes_helper {
1133
  $smack_csv_import_method .= '<span style="padding-top:10px;">
1134
  <div id="progress" class="progress">
1135
  <div class="progress-bar progress-bar-success"></div>
1136
- <div align="center" id="helpnotify" style="width:100%;"><p class="msgborder" style="color:green;">' . __('You can also drag and drop files here',WP_CONST_ULTIMATE_CSV_IMP_SLUG) . '</div>
1137
  </div>
1138
  </span>
1139
  </div>
1140
  </div>
1141
  <div style = "opacity: 0.3;background-color: ghostwhite;">
1142
  <div id="boxmethod2" class="method2">
1143
- <label><span class="radio-icon"><input type="radio" name="importmethod" id="dwnldftpfile" /></span> <span class="header-text" id="importopt">' . __('From FTP',WP_CONST_ULTIMATE_CSV_IMP_SLUG) . '</span> </label> <img src="' . WP_CONTENT_URL . '/plugins/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG . '/images/pro_icon.gif" title="PRO Feature" /> <br>
1144
  </div>
1145
  <div id="boxmethod3" class="method3">
1146
- <label> <span class="radio-icon"><input type="radio" name="importmethod" id="dwnldextrfile" /></span> <span class="header-text" id="importopt">' . __('From URL',WP_CONST_ULTIMATE_CSV_IMP_SLUG) . '</span></label> <img src="' . WP_CONTENT_URL . '/plugins/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG . '/images/pro_icon.gif" title="PRO Feature" /> <br>
1147
  </div>
1148
  <div id="boxmethod4" class="method4">
1149
- <label><span class="radio-icon"><input type="radio" name="importmethod" id="useuploadedfile" /></span> <span class="header-text" id="importopt">' . __('From Already Uploaded',WP_CONST_ULTIMATE_CSV_IMP_SLUG) . '</span></label> <img src="' . WP_CONTENT_URL . '/plugins/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG . '/images/pro_icon.gif" title="PRO Feature" /> <br>
1150
  </div>
1151
  </div>
1152
 
@@ -1155,7 +1170,7 @@ class WPImporter_includes_helper {
1155
  $curr_module = $_REQUEST['__module'];
1156
  if($curr_module == 'post' || $curr_module == 'page' || $curr_module == 'custompost' || $curr_module == 'eshop') {
1157
  $smack_csv_import_method .= '<div class="media_handling" align="left">
1158
- <span class="advancemediahandling"> <label id="importalign"> <input type="checkbox" name="advance_media_handling" id="advance_media_handling" onclick = "filezipopen();" /> '.__("Advance Media Handling",WP_CONST_ULTIMATE_CSV_IMP_SLUG).' </label> </span>
1159
  <span id = "filezipup" style ="display:none;">
1160
  <span class="advancemediahandling" style="padding-left:30px;"> <input type="file" name="inlineimages" id="inlineimages" onchange ="checkextension(this.value);" /> </span>
1161
  </span>
112
  public function getImportDataConfiguration(){
113
  $importDataConfig = "<div class='importstatus'id='importallwithps_div'>
114
  <table><tr><td>
115
+ <label id='importalign'>". __('Import with post status','wp-ultimate-csv-importer') ."</label><span class='mandatory'> *</span></td><td>
116
  <div style='float:left;margin-right:10px;'>
117
  <select name='importallwithps' id='importallwithps' onChange='selectpoststatus();' >
118
+ <option value='0'>Status as in CSV</option>
119
+ <option value='1'>Publish</option>
120
+ <option value='2'>Sticky</option>
121
+ <option value='4'>Private</option>
122
+ <option value='3'>Protected</option>
123
+ <option value='5'>Draft</option>
124
+ <option value='6'>Pending</option>
125
  </select></div>
126
  <div style='float:right;'>
127
  <a href='#' class='tooltip'>
128
  <img src='".WP_CONST_ULTIMATE_CSV_IMP_DIR."images/help.png' />
129
  <span class='tooltipPostStatus'>
130
  <img class='callout' src='".WP_CONST_ULTIMATE_CSV_IMP_DIR."images/callout.gif' />
131
+ ". __('Select the status for the post imported, if not defined within your csv .E.g.publish','wp-ultimate-csv-importer')."
132
  <img src='". WP_CONST_ULTIMATE_CSV_IMP_DIR."images/help.png' style='margin-top: 6px;float:right;' />
133
  </span></a> </div>
134
  </td></tr><tr><td>
135
+ <div id='globalpassword_label' class='globalpassword' style='display:none;'><label>". __('Password','wp-ultimate-csv-importer')."</label><span class='mandatory'> *</span></div></td><td>
136
+ <div id='globalpassword_text' class='globalpassword' style='display:none;'><input type = 'text' id='globalpassword_txt' name='globalpassword_txt' placeholder=".__('Password for all post','wp-ultimate-csv-importer')."></div></td></tr></table>
137
  </div>";
138
  return $importDataConfig;
139
  }
339
  similar_text($strippedTextPCont, $strippedText, $p);
340
  if ($p == 100) {
341
  $this->dupPostCount++;
342
+ $this->detailedLog[$currentLimit]['verify_here'] = "Post-content Already Exists. It can't be imported.";
343
  return false;
344
  }
345
  }
346
  return true;
347
  } else if ($type == 'title') {
348
  $post_exist = $wpdb->get_results("select ID from " . $wpdb->posts . " where post_title = \"{$text}\" and post_type = \"{$gettype}\" and post_status in('publish','future','draft','pending','private')");
349
+ if (!(count($post_exist) == 0 && ($text != null || $text != ''))) {
350
+ $this->dupPostCount++;
351
+ $this->detailedLog[$currentLimit]['verify_here'] = "Post-title Already Exists. It can't be imported.";
352
+ return false;
353
+ }
354
+ return true;
355
+ } else if ($type == 'title && content') {
356
+ $post_exist = $wpdb->get_results("select ID from " . $wpdb->posts . " where post_title = \"{$postTitle}\" and post_content = \"{$text}\" and post_status IN('publish','future','draft','pending','private')");
357
+ if (!(count($post_exist) == 0 && ($text != null || $text != ''))) {
358
+ $this->dupPostCount++;
359
+ $this->detailedLog[$currentLimit]['verify_here'] = "Post-title and post-content Already Exists. It can't be imported.";
360
+ return false;
361
+ }
362
+ return true;
363
+ }
364
+ }
365
+
366
 
367
  /**
368
  * function to fetch the featured image from remote URL
389
  }
390
  if ($rawdata == false) {
391
  if ($logObj == '') {
392
+ $this->detailedLog[$currentLimit]['image'] = "<b>" .__('Image','wp-ultimate-csv-importer')." -</b> " .__('host not resolved','wp-ultimate-csv-importer');
393
  } else {
394
+ $logObj->detailedLog[$currentLimit]['image'] = "<b>" . __('Image','wp-ultimate-csv-importer')." -</b>" .__('host not resolved','wp-ultimate-csv-importer');
395
  }
396
  } else {
397
  if (file_exists($fimg_path)) {
400
  $fp = fopen($fimg_path, 'x');
401
  fwrite($fp, $rawdata);
402
  fclose($fp);
403
+ $logObj->detailedLog[$currentLimit]['image'] = "<b>". __('Image','wp-ultimate-csv-importer')." -</b>" . $fimg_name;
404
  }
405
  curl_close($ch);
406
  return $fimg_name;
594
  if ($this->conDupCheck == 'true' && $this->postFlag)
595
  $this->postFlag = $this->duplicateChecks('content', $data_array ['post_content'], $data_array ['post_type'], $currentLimit, $data_array ['post_title']);
596
 
597
+ if ($this->titleDupCheck == 'true' && $this->conDupCheck == 'true')
598
+ $this->postFlag = $this->duplicateChecks('title && content', $data_array ['post_content'], $data_array ['post_type'], $currentLimit, $data_array ['post_title']);
599
+
600
+
601
+
602
  if ($this->postFlag) {
603
  unset ($sticky);
604
  if (empty($data_array['post_status']))
610
  switch ($data_array ['post_status']) {
611
  case 1 :
612
  $data_array['post_status'] = 'publish';
613
+ $this->detailedLog[$currentLimit]['poststatus'] = "<b>". __('Status','wp-ultimate-csv-importer')." - </b>".__('publish','wp-ultimate-csv-importer');
614
  break;
615
  case 2 :
616
  $data_array['post_status'] = 'publish';
617
  $sticky = true;
618
+ $this->detailedLog[$currentLimit]['poststatus'] = "<b>". __('Status','wp-ultimate-csv-importer')." - </b>".__('sticky','wp-ultimate-csv-importer');
619
  break;
620
  case 3 :
621
  $data_array['post_status'] = 'publish';
622
  $data_array ['post_password'] = $_POST ['postsPassword'];
623
+ $this->detailedLog[$currentLimit]['poststatus'] = "<b>". __('Status','wp-ultimate-csv-importer')." - </b>".__('protected with password','wp-ultimate-csv-importer'). $data_array['post_password'];
624
  break;
625
  case 4 :
626
  $data_array ['post_status'] = 'private';
627
+ $this->detailedLog[$currentLimit]['poststatus'] = "<b>". __('Status','wp-ultimate-csv-importer')." - </b>".__('private','wp-ultimate-csv-importer');
628
  break;
629
  case 5 :
630
  $data_array ['post_status'] = 'draft';
631
+ $this->detailedLog[$currentLimit]['poststatus'] = "<b>". __('Status','wp-ultimate-csv-importer')." - </b>".__('draft','wp-ultimate-csv-importer');
632
  break;
633
  case 6 :
634
  $data_array ['post_status'] = 'pending';
635
+ $this->detailedLog[$currentLimit]['poststatus'] = "<b>". __('Status','wp-ultimate-csv-importer')." - </b>".__('pending','wp-ultimate-csv-importer');
636
  break;
637
  default :
638
  $poststatus = $data_array['post_status'] = strtolower($data_array['post_status']);
645
  $postpwd = substr($poststatus, 0, -1);
646
  $data_array['post_status'] = 'publish';
647
  $data_array ['post_password'] = $postpwd;
648
+ $this->detailedLog[$currentLimit]['poststatus'] = "<b>".__('Status','wp-ultimate-csv-importer')." - </b>".__('protected with password','wp-ultimate-csv-importer') . $data_array['post_password'];
649
  } else {
650
  $data_array['post_status'] = 'publish';
651
  $data_array ['post_password'] = $poststatus;
652
+ $this->detailedLog[$currentLimit]['poststatus'] = "<b>". __('Status','wp-ultimate-csv-importer')." - </b>".__('protected with password','wp-ultimate-csv-importer') . $data_array['post_password'];
653
  }
654
  } else {
655
  $data_array['post_status'] = 'publish';
656
+ $this->detailedLog[$currentLimit]['poststatus'] = "<b>". __('Status','wp-ultimate-csv-importer')." - </b>".__('publish','wp-ultimate-csv-importer');
657
  }
658
  }
659
  if ($data_array['post_status'] == 'sticky') {
660
  $data_array['post_status'] = 'publish';
661
  $sticky = true;
662
+ $this->detailedLog[$currentLimit]['poststatus'] = "<b>".__('Status','wp-ultimate-csv-importer')." - </b>".__('sticky','wp-ultimate-csv-importer');
663
  }
664
  else {
665
+ $this->detailedLog[$currentLimit]['poststatus'] = "<b>".__('Status','wp-ultimate-csv-importer')." - </b>" . $data_array['post_status'];
666
  }
667
  }
668
  // Post Format Options
746
  if (empty($postauthor) || !$postauthor[0]->ID) {
747
  $data_array ['post_author'] = 1;
748
  $admindet = $wpdb->get_results("select ID,user_login from $wpdb->users where ID = 1");
749
+ $this->detailedLog[$currentLimit]['assigned_author'] = "<b>" .__('Author - not found (assigned to','wp-ultimate-csv-importer')." </b>" . $admindet[0]->user_login . ")";
750
  $this->noPostAuthCount++;
751
  } else {
752
  $data_array ['post_author'] = $postauthor [0]->ID;
753
+ $this->detailedLog[$currentLimit]['assigned_author'] = "<b>".__('Author','wp-ultimate-csv-importer')." - </b>" . $postauthor[0]->user_login;
754
  }
755
  }
756
  else{
757
  $data_array ['post_author'] = 1;
758
  $admindet = $wpdb->get_results("select ID,user_login from $wpdb->users where ID = 1");
759
+ $this->detailedLog[$currentLimit]['assigned_author'] = "<b>".__('Author - not found (assigned to','wp-ultimate-csv-importer')." </b>" . $admindet[0]->user_login . ")";
760
  $this->noPostAuthCount++;
761
  }
762
 
764
  $data_array ['post_date'] = str_replace('/', '-', $data_array ['post_date']);
765
  if (!isset($data_array ['post_date'])){
766
  $data_array ['post_date'] = date('Y-m-d H:i:s');
767
+ $this->detailedLog[$currentLimit]['postdate'] = "<b>".__('Date','wp-ultimate-csv-importer')." - </b>" . $data_array ['post_date'];
768
  }else{
769
  $data_array ['post_date'] = date('Y-m-d H:i:s', strtotime($data_array ['post_date']));
770
+ $this->detailedLog[$currentLimit]['postdate'] = "<b>".__('Date','wp-ultimate-csv-importer')." - </b>" . $data_array ['post_date'];
771
  }
772
  if(isset($data_array ['post_slug'])){
773
  $data_array ['post_name'] = $data_array ['post_slug'];
777
  if($data_array){
778
  if($ret_array['importallwithps'] == 3){
779
  $data_array['post_password'] = $ret_array['globalpassword_txt'];
780
+ $this->detailedLog[$currentLimit]['poststatus'] = "<b>".__('Status','wp-ultimate-csv-importer')." - </b>".__('protected with password','wp-ultimate-csv-importer') . $ret_array['globalpassword_txt'];
781
  }
782
  }
783
  if ($data_array) {
788
  // $inline_shortcode = $inlineImagesObj->capture_all_shortcodes($data_array['post_content']);
789
  } else {
790
  $post_id = wp_insert_post($data_array);
791
+ $this->detailedLog[$currentLimit]['post_id'] = "<b>".__('Created Post_ID','wp-ultimate-csv-importer')." - </b>" . $post_id . " - success";
792
  }
793
  }
794
  unset($postauthor);
859
  $this->detailedLog[$currentLimit]['tags'] .= $tag_value . "|";
860
  wp_set_post_tags($post_id, $tag_value);
861
  }
862
+ $this->detailedLog[$currentLimit]['tags'] = "<b>".__('Tags','wp-ultimate-csv-importer')." - </b>" .substr($this->detailedLog[$currentLimit]['tags'], 0, -1);
863
  }
864
 
865
  // Create/Add category to post
877
  foreach($assigned_categories as $cateKey => $cateVal) {
878
  $this->detailedLog[$currentLimit]['category'] .= $cateKey . "|";
879
  }
880
+ $this->detailedLog[$currentLimit]['category'] = "<b>".__('Category','wp-ultimate-csv-importer')." - </b>" .substr($this->detailedLog[$currentLimit]['category'], 0, -1);
881
  wp_set_object_terms($post_id, $split_cate, 'category');
882
  }
883
  // Add featured image
921
  else{
922
  $skippedRecords[] = $_SESSION['SMACK_SKIPPED_RECORDS'];
923
  }
924
+
925
+ $this->detailedLog[$currentLimit]['verify_here'] = "<b>Verify Here -</b> <a href='" . get_permalink( $post_id ) . "' title='" . esc_attr( sprintf( __( 'View &#8220;%s&#8221;' ), $data_array['post_title'] ) ) . "' rel='permalink' target='_blank'>" . __( 'Web View','wp-ultimate-csv-importer' ) . "</a> | <a href='" . get_edit_post_link( $post_id, true ) . "' title='" . esc_attr( __( 'Edit this item','wp-ultimate-csv-importer' ) ) . "' target='_blank'>" . __( 'Admin View','wp-ultimate-csv-importer' ) . "</a>";
926
  }
 
 
927
  unset($data_array);
928
  }
929
 
930
  // Create Data base for Statistic chart
931
  public static function activate() {
932
  if (!defined('PDO::ATTR_DRIVER_NAME')) {
933
+ echo __("Make sure you have enable the PDO extensions in your environment before activate the plugin!",'wp-ultimate-csv-importer');
934
  die;
935
  }
936
  global $wpdb;
1040
 
1041
  // Function to show common notice for PRO Feature
1042
  public function common_notice_for_pro_feature() {
1043
+ return "<p align='center'> <label style='color:red;'> ".__('This feature is only available in Pro!','wp-ultimate-csv-importer')." </label> <a href='http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html' target='_blank'>". __('Go Pro Now','wp-ultimate-csv-importer')."</a> </p>";
1044
  }
1045
 
1046
  // Function for common footer
1107
  $get_pluginData = get_plugin_data(plugin_dir_path( __FILE__ ).'../index.php');
1108
  $footer = '';
1109
  $footer .= '<div style="padding:10px;">';
1110
+ $footer .= '<label class="plugintags"><a href="http://www.wpultimatecsvimporter.com" target="_blank">'.__("Home",'wp-ultimate-csv-importer').'</a></label><label class="plugintags"><a href="http://wiki.smackcoders.com/WP_Ultimate_CSV_Importer?utm_source=WpPlugin&utm_medium=Free&utm_campaign=SupportTraffic" target="_blank">'. __("Wiki",'wp-ultimate-csv-importer').'</a></label>
1111
+ <label class="plugintags"><a href="http://www.wpultimatecsvimporter.com" target="_blank">' .__('Tutorials','wp-ultimate-csv-importer').'</a></label> <label class="plugintags"><a href="http://wiki.smackcoders.com/WP_Ultimate_CSV_Importer_Videos?utm_source=WpPlugin&utm_medium=Free&utm_campaign=SupportTraffic" target="_blank">'. __("Videos",'wp-ultimate-csv-importer').'</a></label>
1112
+ <label class="plugintags"><a href="http://blog.smackcoders.com/wordpress-ultimate-csv-importer-csv-sample-files-and-updates.html?utm_source=WpPlugin&utm_medium=Free&utm_campaign=SupportTraffic" target="_blank">'. __("Sample Files",'wp-ultimate-csv-importer').'</a></label>';
1113
  $footer .= '</div>';
1114
  $footer .= '<div style="padding:10px;margin-bottom:20px;">';
1115
  if(isset ($_REQUEST['__module']) && $_REQUEST['__module'] != 'settings')
1116
+ $footer .= "<div style='float:right;margin-top:-49px;'><a class='label label-info' href='".get_admin_url()."admin.php?page=".WP_CONST_ULTIMATE_CSV_IMP_SLUG."/index.php&__module=settings'>". __('Click here to Enable any disabled module','wp-ultimate-csv-importer')."</a></div>";
1117
  if(isset ($_REQUEST['__module']) && $_REQUEST['__module'] == 'settings') {
1118
+ $footer .= "<div style='float:right;margin-top:-48px;'><span style='margin-right:20px;'><a class='label label-info' href='http://wordpress.org/plugins/wp-ultimate-csv-importer/developers/'>".__('Get Old Versions','wp-ultimate-csv-importer')."</a></span><a class='label label-info' href='".get_admin_url()."admin.php?page=".WP_CONST_ULTIMATE_CSV_IMP_SLUG."/index.php&__module=support'>".__('Click here to Get some useful links')."</a></div>";
1119
+ $footer .= "<div style='float:right;margin-right:15px;'> </span> ".__('Current Version','wp-ultimate-csv-importer').":".$get_pluginData['Version']." </div>";
1120
  }
1121
  if(isset ($_REQUEST['__module']) && $_REQUEST['__module'] != 'support' && $_REQUEST['__module'] != 'settings') {
1122
+ $footer .= "<div style='float:right;margin-right:225px;margin-top:-48px;'><span style='margin-right:20px;'> <a class='label label-info' href='http://wordpress.org/plugins/wp-ultimate-csv-importer/developers/'>". __('Get Old Versions','wp-ultimate-csv-importer')."</a></span><a class='label label-info' href='".get_admin_url()."admin.php?page=".WP_CONST_ULTIMATE_CSV_IMP_SLUG."/index.php&__module=support'>". __('Click here to Get some useful links','wp-ultimate-csv-importer')."</a></div>";
1123
  $footer .= "<div style='float:right;margin-right:15px;'> ".'Current Version'.": ".$get_pluginData['Version']." </div>";
1124
  }
1125
  if(isset ($_REQUEST['__module']) && $_REQUEST['__module'] == 'support'){
1126
+ $footer .= "<div style='float:right;margin-right:15px;'><span style='margin-right:20px;'>".__('Current Version','wp-ultimate-csv-importer').": ".$get_pluginData['Version']." </span><span style='margin-right:10px;'><a class='label label-info' href='http://wordpress.org/plugins/wp-ultimate-csv-importer/developers/'>". __('Get Old Versions','wp-ultimate-csv-importer')."</a></span></div>";
1127
  }
1128
  $footer .= '</div>';
1129
  $footer .= '<div style="float:right;margin-right:15px;margin-top:-10px;"> <label>Plugin By <a href="http://www.smackcoders.com"> Smackcoders</a></label> </div>';
1136
 
1137
  <div align="center" style="text-align:left;margin-top:-33px;">
1138
  <div id="boxmethod1" class="method1">
1139
+ <label><span class="radio-icon"><input type="radio" name="importmethod" id="uploadfilefromcomputer" onclick="choose_import_method(this.id);" checked/></span> <span class="header-text" id="importopt">' . __('From Computer','wp-ultimate-csv-importer') . '</span> </label> <br>
1140
  <!-- The fileinput-button span is used to style the file input field as button -->
1141
  <div id="method1" style="display:block;height:40px;">
1142
  <span class="btn btn-success fileinput-button">
1143
+ <span>' . __('Browse','wp-ultimate-csv-importer') . '</span>
1144
  <input id="fileupload" type="file" name="files[]" multiple>
1145
  <a href="#" id="zip_process" style = "display:none"> Click Here To Process Zip </a>
1146
  </span>';
1148
  $smack_csv_import_method .= '<span style="padding-top:10px;">
1149
  <div id="progress" class="progress">
1150
  <div class="progress-bar progress-bar-success"></div>
1151
+ <div align="center" id="helpnotify" style="width:100%;"><p class="msgborder" style="color:green;">' . __('You can also drag and drop files here','wp-ultimate-csv-importer') . '</div>
1152
  </div>
1153
  </span>
1154
  </div>
1155
  </div>
1156
  <div style = "opacity: 0.3;background-color: ghostwhite;">
1157
  <div id="boxmethod2" class="method2">
1158
+ <label><span class="radio-icon"><input type="radio" name="importmethod" id="dwnldftpfile" /></span> <span class="header-text" id="importopt">' . __('From FTP','wp-ultimate-csv-importer') . '</span> </label> <img src="' . WP_CONTENT_URL . '/plugins/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG . '/images/pro_icon.gif" title="PRO Feature" /> <br>
1159
  </div>
1160
  <div id="boxmethod3" class="method3">
1161
+ <label> <span class="radio-icon"><input type="radio" name="importmethod" id="dwnldextrfile" /></span> <span class="header-text" id="importopt">' . __('From URL','wp-ultimate-csv-importer') . '</span></label> <img src="' . WP_CONTENT_URL . '/plugins/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG . '/images/pro_icon.gif" title="PRO Feature" /> <br>
1162
  </div>
1163
  <div id="boxmethod4" class="method4">
1164
+ <label><span class="radio-icon"><input type="radio" name="importmethod" id="useuploadedfile" /></span> <span class="header-text" id="importopt">' . __('From Already Uploaded','wp-ultimate-csv-importer') . '</span></label> <img src="' . WP_CONTENT_URL . '/plugins/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG . '/images/pro_icon.gif" title="PRO Feature" /> <br>
1165
  </div>
1166
  </div>
1167
 
1170
  $curr_module = $_REQUEST['__module'];
1171
  if($curr_module == 'post' || $curr_module == 'page' || $curr_module == 'custompost' || $curr_module == 'eshop') {
1172
  $smack_csv_import_method .= '<div class="media_handling" align="left">
1173
+ <span class="advancemediahandling"> <label id="importalign"> <input type="checkbox" name="advance_media_handling" id="advance_media_handling" onclick = "filezipopen();" /> '.__("Advance Media Handling",'wp-ultimate-csv-importer').' </label> </span>
1174
  <span id = "filezipup" style ="display:none;">
1175
  <span class="advancemediahandling" style="padding-left:30px;"> <input type="file" name="inlineimages" id="inlineimages" onchange ="checkextension(this.value);" /> </span>
1176
  </span>
index.php CHANGED
@@ -2,8 +2,10 @@
2
  /******************************
3
  * Plugin Name: WP Ultimate CSV Importer
4
  * Description: A plugin that helps to import the data's from a CSV file.
5
- * Version: 3.8.2
6
  * Author: smackcoders.com
 
 
7
  * Plugin URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html
8
  * Author URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html
9
  */
@@ -286,7 +288,7 @@ add_action('wp_ajax_importByRequest', 'importByRequest');
286
  */
287
  function trans_alert_str(){
288
  if(isset($_POST['alertmsg']))
289
- echo __($_POST['alertmsg'],WP_CONST_ULTIMATE_CSV_IMP_SLUG);
290
  die();
291
 
292
  }
2
  /******************************
3
  * Plugin Name: WP Ultimate CSV Importer
4
  * Description: A plugin that helps to import the data's from a CSV file.
5
+ * Version: 3.8.3
6
  * Author: smackcoders.com
7
+ * Text Domain: wp-ultimate-csv-importer
8
+ * Domain Path: /languages
9
  * Plugin URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html
10
  * Author URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html
11
  */
288
  */
289
  function trans_alert_str(){
290
  if(isset($_POST['alertmsg']))
291
+ echo __($_POST['alertmsg'],'wp-ultimate-csv-importer');
292
  die();
293
 
294
  }
js/ultimate-importer-free.js CHANGED
@@ -598,8 +598,8 @@ function importRecordsbySettings(siteurl)
598
  // var no_of_columns = document.getElementById('h2').value;
599
  var step = document.getElementById('stepstatus').value;
600
  var mappingArr = document.getElementById('mappingArr').value;
601
- var dupContent = document.getElementById('duplicatecontent').checked;
602
- var dupTitle = document.getElementById('duplicatetitle').checked;
603
  var currentlimit = document.getElementById('currentlimit').value;
604
  var tmpCnt = document.getElementById('tmpcount').value;
605
  var no_of_tot_records = document.getElementById('tot_records').value;
@@ -643,8 +643,13 @@ function importRecordsbySettings(siteurl)
643
  return false;
644
  }
645
  var advancemedia = "";
646
- if(importas == 'post' || importas == 'page' || importas == 'custompost' || importas == 'eshop')
647
- advancemedia = document.getElementById('advance_media_handling').checked;
 
 
 
 
 
648
  var postdata = new Array();
649
  postdata = {'dupContent':dupContent,'dupTitle':dupTitle,'importlimit':importlimit,'limit':currentlimit,'totRecords':tot_no_of_records,'selectedImporter':importas,'uploadedFile':uploadedFile,'tmpcount':tmpCnt,'importinlineimage':importinlineimage,'inlineimagehandling':imagehandling,'inline_image_location':inline_image_location,'advance_media':advancemedia,'wpnonce':noncekey}
650
 
@@ -671,6 +676,7 @@ function importRecordsbySettings(siteurl)
671
  setTimeout(function(){importRecordsbySettings()},0);
672
  } else {
673
  document.getElementById('log').innerHTML += data+'<br/>';
 
674
  document.getElementById('log').innerHTML += "<p style='margin-left:10px;color:red;'>"+translateAlertString('Import process has been terminated.')+"</p>";
675
  document.getElementById('ajaxloader').style.display="none";
676
  document.getElementById('startbutton').style.display = "none";
@@ -711,7 +717,8 @@ function continueprocess() {
711
  } else {
712
  document.getElementById('terminatenow').style.display = "";
713
  }
714
- document.getElementById('log').innerHTML += "<div style='margin-left:10px;color:green;'>"+translateAlertString('Import process has been continued.')+"</div></br>";
 
715
  document.getElementById('ajaxloader').style.display = "";
716
  document.getElementById('startbutton').style.display = "";
717
  document.getElementById('continuebutton').style.display = "none";
598
  // var no_of_columns = document.getElementById('h2').value;
599
  var step = document.getElementById('stepstatus').value;
600
  var mappingArr = document.getElementById('mappingArr').value;
601
+ //var dupContent = document.getElementById('duplicatecontent').checked;
602
+ //var dupTitle = document.getElementById('duplicatetitle').checked;
603
  var currentlimit = document.getElementById('currentlimit').value;
604
  var tmpCnt = document.getElementById('tmpcount').value;
605
  var no_of_tot_records = document.getElementById('tot_records').value;
643
  return false;
644
  }
645
  var advancemedia = "";
646
+ var dupContent = "";
647
+ var dupTitle = "";
648
+ if(importas == 'post' || importas == 'page' || importas == 'custompost' || importas == 'eshop'){
649
+ advancemedia = document.getElementById('advance_media_handling').checked;
650
+ dupContent = document.getElementById('duplicatecontent').checked;
651
+ dupTitle = document.getElementById('duplicatetitle').checked;
652
+ }
653
  var postdata = new Array();
654
  postdata = {'dupContent':dupContent,'dupTitle':dupTitle,'importlimit':importlimit,'limit':currentlimit,'totRecords':tot_no_of_records,'selectedImporter':importas,'uploadedFile':uploadedFile,'tmpcount':tmpCnt,'importinlineimage':importinlineimage,'inlineimagehandling':imagehandling,'inline_image_location':inline_image_location,'advance_media':advancemedia,'wpnonce':noncekey}
655
 
676
  setTimeout(function(){importRecordsbySettings()},0);
677
  } else {
678
  document.getElementById('log').innerHTML += data+'<br/>';
679
+ if(parseInt(tmpCnt) < parseInt(tot_no_of_records)-1)
680
  document.getElementById('log').innerHTML += "<p style='margin-left:10px;color:red;'>"+translateAlertString('Import process has been terminated.')+"</p>";
681
  document.getElementById('ajaxloader').style.display="none";
682
  document.getElementById('startbutton').style.display = "none";
717
  } else {
718
  document.getElementById('terminatenow').style.display = "";
719
  }
720
+ if (parseInt(tmpCnt) < parseInt(tot_no_of_records))
721
+ document.getElementById('log').innerHTML += "<div style='margin-left:10px;color:green;'>"+translateAlertString(' Import process has been continued.')+"</div></br>";
722
  document.getElementById('ajaxloader').style.display = "";
723
  document.getElementById('startbutton').style.display = "";
724
  document.getElementById('continuebutton').style.display = "none";
modules/comments/templates/index.php CHANGED
@@ -44,7 +44,7 @@ $nonce_Key = $impCE->create_nonce_key();
44
  <table class="table-importer">
45
  <tr>
46
  <td>
47
- <h3><?php echo __('CSV Import Options',WP_CONST_ULTIMATE_CSV_IMP_SLUG);?></h3>
48
  <div id='sec-one' <?php if($_REQUEST['step']!= 'uploadfile') {?> style='display:none;' <?php } ?>>
49
  <?php if(is_dir($impCE->getUploadDirectory('default'))){
50
  if (!is_writable($impCE->getUploadDirectory('default'))) {
@@ -82,16 +82,16 @@ $nonce_Key = $impCE->create_nonce_key();
82
  <tr>
83
  <div id='showmappingtemplate' style='float:left;padding-left:10px;'>
84
  <select disabled>
85
- <option value ='select template' /> <?php echo __('select template',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </option>
86
  </select>
87
  <img src="<?php echo WP_CONTENT_URL; ?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG; ?>/images/pro_icon.gif" title="PRO Feature" />
88
  </div>
89
 
90
  </div>
91
  <div style="float:right;">
92
- <input type='button' name='clearform' id='clearform' value='<?php echo __("Clear",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' onclick="Reload();"
93
  class='btn btn-warning' style="margin-right:15px;"/>
94
- <input type='submit' name='importfile' id='importfile' title = '<?php echo __("Next",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' value='<?php echo $impCE->reduceStringLength(__("Next",WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Next');echo(" >>");?>' disabled
95
  class='btn btn-primary' style="margin-right:15px;"/>
96
  </div>
97
  </tr>
@@ -217,11 +217,11 @@ else{
217
  $custom_key = array();
218
  $wpcsvsettings=get_option('wpcsvfreesettings');
219
  ?>
220
- <h3><?php echo __('Map CSV to WP fields/attributes',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
221
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'mapping_settings') { ?>
222
  <div id='sec-two' <?php if($_REQUEST['step']!= 'mapping_settings'){ ?> style='display:none;' <?php } ?> >
223
  <div class='mappingsection'>
224
- <h2><div class="secondformheader"><?php echo __('Import Data Configuration',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div></h2>
225
 
226
  <div id="select_cust_taxonomy" class="select_cust_taxonomy" style="margin-top: 30px;">
227
 
@@ -274,9 +274,9 @@ $allcustomposts.=$value.',';
274
  <input type='hidden' id='stepstatus' name='stepstatus' value='<?php if(isset($_REQUEST['__module'])) { echo $_REQUEST['step']; } ?>' />
275
  <input type='hidden' id='mappingArr' name='mappingArr' value='' />
276
  <input type='button' id='prev_record' name='prev_record' class="btn btn-primary" value='<<' onclick='gotoelement(this.id);' />
277
- <label style="padding-right:10px;" id='preview_of_row'><?php echo __('Showing preview of row # 1',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label>
278
  <input type='button' id='next_record' name='next_record' class="btn btn-primary" value='>>' onclick='gotoelement(this.id);' />
279
- <label id="importalign" style="margin-right:8px;"><?php echo __('Go To Row #',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label><input type='text' id='goto_element' name='goto_element' />
280
  <input type='button' id='apply_element' name='apply_element' value='Show' class="btn btn-success" onclick='gotoelement(this.id);' style="margin-right:10px;margin-left:5px"/>
281
  </div>
282
  </td>
@@ -285,14 +285,14 @@ $allcustomposts.=$value.',';
285
  $count = 0;
286
  $cmdsObj = new CommentsActions();
287
  ?>
288
- <tr><td class="left_align columnheader"> <b><?php echo __('CSV HEADER',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></b> </td><td class="columnheader"> <b><?php echo __('WP FIELDS',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></b> </td><td class="columnheader"> <b><?php echo __('CSV ROW',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></b> </td><td></td></tr>
289
  <?php
290
  foreach ($impCE->headers as $key => $value) {
291
  ?>
292
  <tr>
293
  <td class="left_align csvheader"><label><?php print($value);?></label></td>
294
  <td class="left_align"><select name="mapping<?php print($count); ?>" id="mapping<?php print($count); ?>" class="uiButton" onchange="addcustomfield(this.value,<?php echo $count; ?>);">
295
- <option id="select"><?php echo __('-- Select --',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></option>
296
  <?php
297
  foreach ($cmdsObj->defCols as $key1 => $value1) {
298
  if ($key1 == 'post_name')
@@ -341,12 +341,12 @@ $allcustomposts.=$value.',';
341
  <img src="<?php echo WP_PLUGIN_URL . '/' .WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png'; ?>" />
342
  <span class="tooltipFour">
343
  <img class="callout" src="<?php echo WP_PLUGIN_URL . '/'. WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/callout.gif'; ?>" />
344
- <strong><?php echo __('Give a name for your new custom field',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></strong>
345
  <img src="<?php echo WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png' ; ?>" style="margin-top: 6px;float:right;" />
346
  </span>
347
  </a>
348
  </span>
349
- <span style="display: none; color: red; margin-left: 5px;" id="customspan<?php echo $count ?>"><?php echo __('Replace the custom value',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span>
350
  </td>
351
  </tr>
352
  <?php
@@ -364,20 +364,20 @@ $mFieldsArr = substr($mFieldsArr, 0, -1);
364
  <div>
365
  <div class="goto_import_options" align=center>
366
  <div class="mappingactions" style="margin-top:26px;">
367
- <input type='button' id='clear_mapping' title = '<?php echo __("clear Mapping",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' class='clear_mapping btn btn-warning' name='clear_mapping' value='<?php echo __("Clear",WP_CONST_ULTIMATE_CSV_IMP_SLUG); echo ' ';echo $impCE->reduceStringLength(__(" Mapping",WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Mapping'); ?>' onclick='clearMapping();' style = 'float:left'/>
368
  <span style = ''>
369
  <a href="#" class="tooltip tooltip_smack" style = ''>
370
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
371
  <span class="tooltipClearMapping">
372
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
373
- <strong><?php echo __('Refresh to re-map fields',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></strong>
374
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
375
  </span>
376
  </a>
377
  </span>
378
  </div>
379
  <div class="mappingactions" >
380
- <input type='submit' id='goto_importer_setting' title = '<?php echo __("Next",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>'class='goto_importer_setting btn btn-info' name='goto_importer_setting' value='<?php echo $impCE->reduceStringLength(__('Next',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Next'); ?> >>' />
381
  </div>
382
  </div>
383
  </div>
@@ -388,7 +388,7 @@ $mFieldsArr = substr($mFieldsArr, 0, -1);
388
  </tr>
389
  <tr>
390
  <td>
391
- <h3><?php echo __('Settings and Performance',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
392
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'importoptions') { ?>
393
  <div id='sec-three' <?php if($_REQUEST['step']!= 'importoptions'){ ?> style='display:none;' <?php } ?> >
394
  <?php if(isset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES'])) { ?>
@@ -411,8 +411,8 @@ $mFieldsArr = substr($mFieldsArr, 0, -1);
411
  <div class="postbox" id="options" style=" margin-bottom:0px;">
412
  <!-- <h4 class="hndle">Search settings</h4>-->
413
  <div class="inside">
414
- <label id='importalign'><input type ='radio' id='importNow' name='importMode' value='' onclick='choose_import_mode(this.id);' checked/> <?php echo __("Import right away",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label>
415
- <label id='importalign'><input type ='radio' id='scheduleNow' name='importMode' value='' onclick='choose_import_mode(this.id);' disabled/> <?php echo __("Schedule now",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label>
416
  <div id='schedule' style='display:none'>
417
  <input type ='hidden' id='select_templatename' name='#select_templatename' value = '<?php if(isset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'])) { echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'] ; } ?>'>
418
  <?php //echo WPImporter_includes_schedulehelper::generatescheduleHTML(); ?>
@@ -443,12 +443,12 @@ $mFieldsArr = substr($mFieldsArr, 0, -1);
443
  </select><br>
444
  <input name="filterhtml" id="filterhtml" type="checkbox" value="1"> Filter out HTML-Tags while comparing <br>
445
  <input name="filterhtmlentities" id="filterhtmlentities" type="checkbox" value="1"> Decode HTML-Entities before comparing <br>-->
446
- <label id='importalign'><input name='duplicatecontent' id='duplicatecontent' type="checkbox" value=""> <?php echo __('Detect duplicate post content',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> <br>
447
  <input type='hidden' name='wpnoncekey' id='wpnoncekey' value='<?php echo $nonce_Key; ?>' />
448
- <label id='importalign'><input name='duplicatetitle' id='duplicatetitle' type="checkbox" value="" > <?php echo __('Detect duplicate post title',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> <br>
449
 
450
- <label id='importalign'><?php echo __('No. of posts/rows per server request',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> <span class="mandatory" style="margin-left:-13px;margin-right:10px">*</span> <input name="importlimit" id="importlimit" type="text" value="1" placeholder="10" onblur="check_allnumeric(this.value);"></label> <?php echo $impCE->helpnotes(); ?><br>
451
- <span class='msg' id='server_request_warning' style="display:none;color:red;margin-left:-10px;"><?php echo __('You can set upto',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> <?php echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['totRecords']; ?> <?php echo __('per request.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span>
452
  <input type="hidden" id="currentlimit" name="currentlimit" value="0"/>
453
  <input type="hidden" id="tmpcount" name="tmpcount" value="0" />
454
  <input type="hidden" id="terminateaction" name="terminateaction" value="continue" />
@@ -457,12 +457,12 @@ $mFieldsArr = substr($mFieldsArr, 0, -1);
457
  Ignore these words while comparing <input name="filterwords" id="filterwords" type="text" value="">
458
  </li>-->
459
  </ul>
460
- <input id="startbutton" class="btn btn-primary" type="button" value="<?php echo __('Import Now',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings();" />
461
- <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="<?php echo __('Terminate Now',WP_CONST_ULTIMATE_CSV_IMP_SLUG);?>" style="display:none;" onclick="terminateProcess();" />
462
- <input class="btn btn-warning" type="button" value="<?php echo __('Reload',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" id="importagain" style="display:none" onclick="import_again();" />
463
- <input id="continuebutton" class="btn btn-lg btn-success" type="button" value="<?php echo __('Continue',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" style="display:none;color: #ffffff;" onclick="continueprocess();">
464
  <!-- <input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
465
- <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> <?php echo __('Processing...',WP_CONST_ULTIMATE_CSV_IMP_SLUG);?></div>
466
  <div class="clear"></div>
467
  </form>
468
  </div>
@@ -483,7 +483,7 @@ $mFieldsArr = substr($mFieldsArr, 0, -1);
483
  <table class="table-importer">
484
  <tr>
485
  <td>
486
- <h3><?php echo __("Summary",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
487
  <div id='reportLog' class='postbox' style='display:none;'>
488
  <input type='hidden' name = 'csv_version' id = 'csv_version' value = "<?php if(isset($_POST['uploaded_csv_name'])) { echo $_POST['uploaded_csv_name']; } ?>">
489
  <div id="logtabs" class="logcontainer">
44
  <table class="table-importer">
45
  <tr>
46
  <td>
47
+ <h3><?php echo __('CSV Import Options','wp-ultimate-csv-importer');?></h3>
48
  <div id='sec-one' <?php if($_REQUEST['step']!= 'uploadfile') {?> style='display:none;' <?php } ?>>
49
  <?php if(is_dir($impCE->getUploadDirectory('default'))){
50
  if (!is_writable($impCE->getUploadDirectory('default'))) {
82
  <tr>
83
  <div id='showmappingtemplate' style='float:left;padding-left:10px;'>
84
  <select disabled>
85
+ <option value ='select template' /> <?php echo __('select template','wp-ultimate-csv-importer'); ?> </option>
86
  </select>
87
  <img src="<?php echo WP_CONTENT_URL; ?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG; ?>/images/pro_icon.gif" title="PRO Feature" />
88
  </div>
89
 
90
  </div>
91
  <div style="float:right;">
92
+ <input type='button' name='clearform' id='clearform' value='<?php echo __("Clear",'wp-ultimate-csv-importer'); ?>' onclick="Reload();"
93
  class='btn btn-warning' style="margin-right:15px;"/>
94
+ <input type='submit' name='importfile' id='importfile' title = '<?php echo __("Next",'wp-ultimate-csv-importer'); ?>' value='<?php echo $impCE->reduceStringLength(__("Next",'wp-ultimate-csv-importer'),'Next');echo(" >>");?>' disabled
95
  class='btn btn-primary' style="margin-right:15px;"/>
96
  </div>
97
  </tr>
217
  $custom_key = array();
218
  $wpcsvsettings=get_option('wpcsvfreesettings');
219
  ?>
220
+ <h3><?php echo __('Map CSV to WP fields/attributes','wp-ultimate-csv-importer'); ?></h3>
221
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'mapping_settings') { ?>
222
  <div id='sec-two' <?php if($_REQUEST['step']!= 'mapping_settings'){ ?> style='display:none;' <?php } ?> >
223
  <div class='mappingsection'>
224
+ <h2><div class="secondformheader"><?php echo __('Import Data Configuration','wp-ultimate-csv-importer'); ?></div></h2>
225
 
226
  <div id="select_cust_taxonomy" class="select_cust_taxonomy" style="margin-top: 30px;">
227
 
274
  <input type='hidden' id='stepstatus' name='stepstatus' value='<?php if(isset($_REQUEST['__module'])) { echo $_REQUEST['step']; } ?>' />
275
  <input type='hidden' id='mappingArr' name='mappingArr' value='' />
276
  <input type='button' id='prev_record' name='prev_record' class="btn btn-primary" value='<<' onclick='gotoelement(this.id);' />
277
+ <label style="padding-right:10px;" id='preview_of_row'><?php echo __('Showing preview of row # 1','wp-ultimate-csv-importer'); ?> </label>
278
  <input type='button' id='next_record' name='next_record' class="btn btn-primary" value='>>' onclick='gotoelement(this.id);' />
279
+ <label id="importalign" style="margin-right:8px;"><?php echo __('Go To Row #','wp-ultimate-csv-importer'); ?></label><input type='text' id='goto_element' name='goto_element' />
280
  <input type='button' id='apply_element' name='apply_element' value='Show' class="btn btn-success" onclick='gotoelement(this.id);' style="margin-right:10px;margin-left:5px"/>
281
  </div>
282
  </td>
285
  $count = 0;
286
  $cmdsObj = new CommentsActions();
287
  ?>
288
+ <tr><td class="left_align columnheader"> <b><?php echo __('CSV HEADER','wp-ultimate-csv-importer'); ?></b> </td><td class="columnheader"> <b><?php echo __('WP FIELDS','wp-ultimate-csv-importer'); ?></b> </td><td class="columnheader"> <b><?php echo __('CSV ROW','wp-ultimate-csv-importer'); ?></b> </td><td></td></tr>
289
  <?php
290
  foreach ($impCE->headers as $key => $value) {
291
  ?>
292
  <tr>
293
  <td class="left_align csvheader"><label><?php print($value);?></label></td>
294
  <td class="left_align"><select name="mapping<?php print($count); ?>" id="mapping<?php print($count); ?>" class="uiButton" onchange="addcustomfield(this.value,<?php echo $count; ?>);">
295
+ <option id="select"><?php echo __('-- Select --','wp-ultimate-csv-importer'); ?></option>
296
  <?php
297
  foreach ($cmdsObj->defCols as $key1 => $value1) {
298
  if ($key1 == 'post_name')
341
  <img src="<?php echo WP_PLUGIN_URL . '/' .WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png'; ?>" />
342
  <span class="tooltipFour">
343
  <img class="callout" src="<?php echo WP_PLUGIN_URL . '/'. WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/callout.gif'; ?>" />
344
+ <strong><?php echo __('Give a name for your new custom field','wp-ultimate-csv-importer'); ?></strong>
345
  <img src="<?php echo WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png' ; ?>" style="margin-top: 6px;float:right;" />
346
  </span>
347
  </a>
348
  </span>
349
+ <span style="display: none; color: red; margin-left: 5px;" id="customspan<?php echo $count ?>"><?php echo __('Replace the custom value','wp-ultimate-csv-importer'); ?></span>
350
  </td>
351
  </tr>
352
  <?php
364
  <div>
365
  <div class="goto_import_options" align=center>
366
  <div class="mappingactions" style="margin-top:26px;">
367
+ <input type='button' id='clear_mapping' title = '<?php echo __("clear Mapping",'wp-ultimate-csv-importer'); ?>' class='clear_mapping btn btn-warning' name='clear_mapping' value='<?php echo __("Clear",'wp-ultimate-csv-importer'); echo ' ';echo $impCE->reduceStringLength(__(" Mapping",'wp-ultimate-csv-importer'),'Mapping'); ?>' onclick='clearMapping();' style = 'float:left'/>
368
  <span style = ''>
369
  <a href="#" class="tooltip tooltip_smack" style = ''>
370
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
371
  <span class="tooltipClearMapping">
372
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
373
+ <strong><?php echo __('Refresh to re-map fields','wp-ultimate-csv-importer'); ?></strong>
374
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
375
  </span>
376
  </a>
377
  </span>
378
  </div>
379
  <div class="mappingactions" >
380
+ <input type='submit' id='goto_importer_setting' title = '<?php echo __("Next",'wp-ultimate-csv-importer'); ?>'class='goto_importer_setting btn btn-info' name='goto_importer_setting' value='<?php echo $impCE->reduceStringLength(__('Next','wp-ultimate-csv-importer'),'Next'); ?> >>' />
381
  </div>
382
  </div>
383
  </div>
388
  </tr>
389
  <tr>
390
  <td>
391
+ <h3><?php echo __('Settings and Performance','wp-ultimate-csv-importer'); ?></h3>
392
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'importoptions') { ?>
393
  <div id='sec-three' <?php if($_REQUEST['step']!= 'importoptions'){ ?> style='display:none;' <?php } ?> >
394
  <?php if(isset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES'])) { ?>
411
  <div class="postbox" id="options" style=" margin-bottom:0px;">
412
  <!-- <h4 class="hndle">Search settings</h4>-->
413
  <div class="inside">
414
+ <label id='importalign'><input type ='radio' id='importNow' name='importMode' value='' onclick='choose_import_mode(this.id);' checked/> <?php echo __("Import right away",'wp-ultimate-csv-importer'); ?> </label>
415
+ <label id='importalign'><input type ='radio' id='scheduleNow' name='importMode' value='' onclick='choose_import_mode(this.id);' disabled/> <?php echo __("Schedule now",'wp-ultimate-csv-importer'); ?> </label>
416
  <div id='schedule' style='display:none'>
417
  <input type ='hidden' id='select_templatename' name='#select_templatename' value = '<?php if(isset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'])) { echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'] ; } ?>'>
418
  <?php //echo WPImporter_includes_schedulehelper::generatescheduleHTML(); ?>
443
  </select><br>
444
  <input name="filterhtml" id="filterhtml" type="checkbox" value="1"> Filter out HTML-Tags while comparing <br>
445
  <input name="filterhtmlentities" id="filterhtmlentities" type="checkbox" value="1"> Decode HTML-Entities before comparing <br>-->
446
+ <label id='importalign'><input name='duplicatecontent' id='duplicatecontent' type="checkbox" value=""> <?php echo __('Detect duplicate post content','wp-ultimate-csv-importer'); ?></label> <br>
447
  <input type='hidden' name='wpnoncekey' id='wpnoncekey' value='<?php echo $nonce_Key; ?>' />
448
+ <label id='importalign'><input name='duplicatetitle' id='duplicatetitle' type="checkbox" value="" > <?php echo __('Detect duplicate post title','wp-ultimate-csv-importer'); ?></label> <br>
449
 
450
+ <label id='importalign'><?php echo __('No. of posts/rows per server request','wp-ultimate-csv-importer'); ?></label> <span class="mandatory" style="margin-left:-13px;margin-right:10px">*</span> <input name="importlimit" id="importlimit" type="text" value="1" placeholder="10" onblur="check_allnumeric(this.value);"></label> <?php echo $impCE->helpnotes(); ?><br>
451
+ <span class='msg' id='server_request_warning' style="display:none;color:red;margin-left:-10px;"><?php echo __('You can set upto','wp-ultimate-csv-importer'); ?> <?php echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['totRecords']; ?> <?php echo __('per request.','wp-ultimate-csv-importer'); ?></span>
452
  <input type="hidden" id="currentlimit" name="currentlimit" value="0"/>
453
  <input type="hidden" id="tmpcount" name="tmpcount" value="0" />
454
  <input type="hidden" id="terminateaction" name="terminateaction" value="continue" />
457
  Ignore these words while comparing <input name="filterwords" id="filterwords" type="text" value="">
458
  </li>-->
459
  </ul>
460
+ <input id="startbutton" class="btn btn-primary" type="button" value="<?php echo __('Import Now','wp-ultimate-csv-importer'); ?>" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings();" />
461
+ <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="<?php echo __('Terminate Now','wp-ultimate-csv-importer');?>" style="display:none;" onclick="terminateProcess();" />
462
+ <input class="btn btn-warning" type="button" value="<?php echo __('Reload','wp-ultimate-csv-importer'); ?>" id="importagain" style="display:none" onclick="import_again();" />
463
+ <input id="continuebutton" class="btn btn-lg btn-success" type="button" value="<?php echo __('Continue','wp-ultimate-csv-importer'); ?>" style="display:none;color: #ffffff;" onclick="continueprocess();">
464
  <!-- <input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
465
+ <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> <?php echo __('Processing...','wp-ultimate-csv-importer');?></div>
466
  <div class="clear"></div>
467
  </form>
468
  </div>
483
  <table class="table-importer">
484
  <tr>
485
  <td>
486
+ <h3><?php echo __("Summary",'wp-ultimate-csv-importer'); ?></h3>
487
  <div id='reportLog' class='postbox' style='display:none;'>
488
  <input type='hidden' name = 'csv_version' id = 'csv_version' value = "<?php if(isset($_POST['uploaded_csv_name'])) { echo $_POST['uploaded_csv_name']; } ?>">
489
  <div id="logtabs" class="logcontainer">
modules/custompost/templates/index.php CHANGED
@@ -44,7 +44,7 @@ $nonce_Key = $impCE->create_nonce_key();
44
  <table class="table-importer">
45
  <tr>
46
  <td>
47
- <h3><?php echo __('CSV Import Options',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
48
  <div id='sec-one' <?php if($_REQUEST['step']!= 'uploadfile') {?> style='display:none;' <?php } ?>>
49
  <?php if(is_dir($impCE->getUploadDirectory('default'))){
50
  if (!is_writable($impCE->getUploadDirectory('default'))) {
@@ -79,16 +79,16 @@ $nonce_Key = $impCE->create_nonce_key();
79
  <tr>
80
  <div id='showmappingtemplate' style='float:left;padding-left:10px;'>
81
  <select disabled>
82
- <option value ='select template' > <?php echo __('select template',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </option>
83
  </select>
84
  <img src="<?php echo WP_CONTENT_URL; ?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG; ?>/images/pro_icon.gif" title="PRO Feature" />
85
  </div>
86
 
87
  </div>
88
  <div style="float:right;">
89
- <input type='button' name='clearform' id='clearform' value='<?php echo __("Clear",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' onclick="Reload();"
90
  class='btn btn-warning' style="margin-right:15px" />
91
- <input type='submit' name='importfile' title = '<?php echo __('Next',WP_CONST_ULTIMATE_CSV_IMP_SLUG);?>' id='importfile' value='<?php echo $impCE->reduceStringLength(__("Next",WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Next'); echo (" >>");?>' disabled
92
  class='btn btn-primary'style="margin-right:15px"/>
93
  </div>
94
  </tr>
@@ -216,11 +216,11 @@ $nonce_Key = $impCE->create_nonce_key();
216
  $custom_key = array();
217
  $wpcsvsettings=get_option('wpcsvfreesettings');
218
  ?>
219
- <h3>Map CSV to WP fields/attributes</h3>
220
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'mapping_settings' ) { ?>
221
  <div id='sec-two' <?php if($_REQUEST['step']!= 'mapping_settings'){ ?> style='display:none;' <?php } ?> >
222
  <div class='mappingsection'>
223
- <h2><div class="secondformheader">Import Data Configuration</div></h2>
224
  <?php
225
  if(isset($_FILES['inlineimages'])) {
226
  if(isset($_POST['uploadfilename']) && $_POST['uploadfilename'] != ''){
@@ -249,10 +249,10 @@ $nonce_Key = $impCE->create_nonce_key();
249
  <?php if(isset($_REQUEST['__module']) && $_REQUEST['__module']=='custompost'){ ?>
250
  <div class='importstatus' style='display:true;'>
251
  <input type="hidden" id="customposts" name="customposts" value="">
252
- <div style = 'float:left'> <label id="importalign"> <?php echo __('Select Post Type',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label> <span class="mandatory"> * </span> </div>
253
  <div style = 'float:left;margin-right:10px'>
254
  <select name='custompostlist' id='custompostlist'>
255
- <option value='select'><?php echo __('---Select---',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></option>
256
  <?php
257
  $cust_post_list_count=0;
258
  foreach (get_post_types() as $key => $value) {
@@ -324,10 +324,10 @@ $nonce_Key = $impCE->create_nonce_key();
324
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
325
  <span class="tooltipCustompost">
326
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
327
- <strong><?php echo __('Select your custompost type',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></strong>
328
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
329
  </span>
330
- </a><label id='cust_post_empty' style='display:none'><?php echo __('CUSTOMPOST LIST IS EMPTY',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label>
331
  </div>
332
  </div>
333
  <?php } ?>
@@ -386,10 +386,10 @@ $nonce_Key = $impCE->create_nonce_key();
386
  <input type='hidden' id='mappingArr' name='mappingArr' value='' />
387
  <input type='hidden' id='inline_image_location' name='inline_image_location' value='<?php if(isset($extracted_image_location)){ echo $extracted_image_location;}?>' />
388
  <input type='button' id='prev_record' name='prev_record' class="btn btn-primary" value='<<' onclick='gotoelement(this.id);' />
389
- <label style="padding-right:10px;" id='preview_of_row'><?php echo __('Showing preview of row # 1',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label>
390
  <input type='button' id='next_record' name='next_record' class="btn btn-primary" value='>>' onclick='gotoelement(this.id);' />
391
- <label id="importalign" style="margin-right:8px;"> <?php echo __('Go To Row #',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label><input type='text' id='goto_element' name='goto_element' />
392
- <input type='button' id='apply_element' name='apply_element' class="btn btn-success" value='<?php echo __("Show",WP_CONST_ULTIMATE_CSV_IMP_SLUG);?>' onclick='gotoelement(this.id);' style="margin-right:10px;margin-left:5px"/>
393
  </div>
394
  </td>
395
  </tr>
@@ -405,7 +405,7 @@ $nonce_Key = $impCE->create_nonce_key();
405
  unset($impCE->defCols['wp_page_template']);
406
  }
407
  ?>
408
- <tr><td class="left_align columnheader"> <b><?php echo __('CSV HEADER',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></b> </td><td class="columnheader"> <b><?php echo __('WP FIELDS',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></b> </td><td class="columnheader"> <b><?php echo __('CSV ROW',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></b> </td><td></td></tr>
409
  <?php
410
  $mappingFields_arr = array();
411
  foreach ($impCE->headers as $key => $value)
@@ -413,7 +413,7 @@ $nonce_Key = $impCE->create_nonce_key();
413
  <tr>
414
  <td class="left_align csvheader"> <label> <?php print($value);?> </label> </td>
415
  <td class="left_align"> <select name="mapping<?php print($count); ?>" id="mapping<?php print($count); ?>" class="uiButton" onchange="addcustomfield(this.value,<?php echo $count; ?>);">
416
- <option id = "select"> <?php echo __('-- Select --',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </option>
417
  <?php
418
  foreach ($impCE->defCols as $key1 => $value1)
419
  {
@@ -470,18 +470,18 @@ $nonce_Key = $impCE->create_nonce_key();
470
  <span id='elementVal_<?php echo $key; ?>' > <?php echo $getrecords[0][$value]; ?> </span>
471
  </td>
472
  <td width = "180px;">
473
- <input class="customfieldtext" type="text" id="textbox<?php print($count); ?>" name="textbox<?php print($count); ?>" TITLE="<?php echo __('Replace the default value',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" style="display: none;float:left;width:160px;" value="<?php echo $value ?>"/>
474
  <span style="display: none;float:left" id="customspan<?php echo $count ?>">
475
  <a href="#" class="tooltip">
476
  <img src="<?php echo WP_PLUGIN_URL . '/' .WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png'; ?>" />
477
  <span class="tooltipPostStatus">
478
  <img class="callout" src="<?php echo WP_PLUGIN_URL . '/'. WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/callout.gif'; ?>" />
479
- <strong><?php echo __('Give a name for your new custom field',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></strong>
480
  <img src="<?php echo WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png' ; ?>" style="margin-top: 6px;float:right;" />
481
  </span>
482
  </a>
483
  </span>
484
- <span style="display: none; color: red; margin-left: 5px;" id="customspan<?php echo $count ?>"><?php echo __('Replace the custom value',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span>
485
  </td>
486
  </tr>
487
  <?php
@@ -502,20 +502,20 @@ $nonce_Key = $impCE->create_nonce_key();
502
  <div>
503
  <div class="goto_import_options" align=center>
504
  <div class="mappingactions" style="margin-top:26px;">
505
- <input type='button' id='clear_mapping' title = '<?php echo __('Clear Mapping',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' class='clear_mapping btn btn-warning' name='clear_mapping' value='<?php echo __('Clear',WP_CONST_ULTIMATE_CSV_IMP_SLUG);echo ' '; echo $impCE->reduceStringLength(__(' Mapping',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Mapping'); ?>' onclick='clearMapping();' style = 'float:left'/>
506
  <span style = ''>
507
  <a href="#" class="tooltip tooltip_smack" style = ''>
508
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
509
  <span class="tooltipClearMapping">
510
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
511
- <strong><?php echo __('Refresh to re-map fields',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></strong>
512
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
513
  </span>
514
  </a>
515
  </span>
516
  </div>
517
  <div class="mappingactions" >
518
- <input type='submit' id='goto_importer_setting' title = '<?php echo __('Next',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' class='goto_importer_setting btn btn-info' name='goto_importer_setting' value='<?php echo $impCE->reduceStringLength(__('Next',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Next'); ?> >>' />
519
  </div>
520
  </div>
521
  </div>
@@ -527,7 +527,7 @@ $nonce_Key = $impCE->create_nonce_key();
527
  </tr>
528
  <tr>
529
  <td>
530
- <h3><?php echo __('Settings and Performance',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
531
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'importoptions') { ?>
532
  <div id='sec-three' <?php if($_REQUEST['step']!= 'importoptions'){ ?> style='display:none;' <?php } ?> >
533
  <?php //$prevoptionindex='';?>
@@ -557,8 +557,8 @@ $nonce_Key = $impCE->create_nonce_key();
557
  <div class="postbox" id="options" style=" margin-bottom:0px;">
558
  <!-- <h4 class="hndle">Search settings</h4>-->
559
  <div class="inside">
560
- <label id="importalign"><input type ='radio' id='importNow' name='importMode' value='' onclick='choose_import_mode(this.id);' checked/> <?php echo __("Import right away",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label>
561
- <label id="importalign"><input type ='radio' id='scheduleNow' name='importMode' value='' onclick='choose_import_mode(this.id);' disabled/> <?php echo __("Schedule now",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label>
562
  <div id='schedule' style='display:none'>
563
  <input type ='hidden' id='select_templatename' name='#select_templatename' value = '<?php if(isset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'])) { echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'] ; } ?>'>
564
  <?php //echo WPImporter_includes_schedulehelper::generatescheduleHTML(); ?>
@@ -587,16 +587,16 @@ $nonce_Key = $impCE->create_nonce_key();
587
  </select><br>
588
  <input name="filterhtml" id="filterhtml" type="checkbox" value="1"> Filter out HTML-Tags while comparing <br>
589
  <input name="filterhtmlentities" id="filterhtmlentities" type="checkbox" value="1"> Decode HTML-Entities before comparing <br>-->
590
- <label id="importalign"><input name='duplicatecontent' id='duplicatecontent' type="checkbox" value=""> <?php echo __('Detect duplicate post content',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> <br>
591
  <input type='hidden' name='wpnoncekey' id='wpnoncekey' value='<?php echo $nonce_Key; ?>' />
592
- <label id="importalign"><input name='duplicatetitle' id='duplicatetitle' type="checkbox" value="" > <?php echo __('Detect duplicate post title',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> <br>
593
- <label id="importalign"><?php echo __('No. of posts/rows per server request',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> <span class="mandatory" style="margin-left:-13px;margin-right:10px">*</span> <input name="importlimit" id="importlimit" type="text" value="1" placeholder="10" onblur="check_allnumeric(this.value);"></label> <?php echo $impCE->helpnotes(); ?><br>
594
- <span class='msg' id='server_request_warning' style="display:none;color:red;margin-left:-10px;"><?php echo __('You can set upto',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> <?php echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['totRecords']; ?> per request.</span>
595
  <input type="hidden" id="currentlimit" name="currentlimit" value="0"/>
596
  <input type="hidden" id="tmpcount" name="tmpcount" value="0" />
597
  <input type="hidden" id="terminateaction" name="terminateaction" value="continue" />
598
  <label id="innertitle">Inline image options</label><br />
599
- <label id='importalign'> <input type ='checkbox' id='multiimage' name='multiimage' value = '' > <?php echo __('Insert Inline Images',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label><br>
600
  <!-- <div id='inlineimageoption' style="display:none;" >
601
  <label id="importalign"><input type="radio" name="inlineimage_location" id="imagewithextension" value="imagewithextension" onclick="inline_image_option(this.value);" /> Image name with extension </label>
602
  <label id="importalign"><input type="radio" name="inlineimage_location" id="inlineimage_location" value="inlineimage_location" onclick="inline_image_option(this.value);" /> <input type="text" name="imagelocation" id="imagelocation" placeholder="Inline Image Location" value="" onblur="customimagelocation(this.value);" style="margin-top:5px;margin-left:10px"/></label>
@@ -607,12 +607,12 @@ $nonce_Key = $impCE->create_nonce_key();
607
  Ignore these words while comparing <input name="filterwords" id="filterwords" type="text" value="">
608
  </li>-->
609
  </ul>
610
- <input id="startbutton" class="btn btn-primary" type="button" value="<?php echo __('Import Now',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings();" >
611
- <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="<?php echo __('Terminate Now',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" style="display:none;" onclick="terminateProcess();" />
612
- <input class="btn btn-warning" type="button" value="<?php echo __('Reload',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" id="importagain" style="display:none" onclick="import_again();" />
613
- <input id="continuebutton" class="btn btn-lg btn-success" type="button" value="<?php echo __('Continue',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" style="display:none;color: #ffffff;" onclick="continueprocess();">
614
  <!--<input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
615
- <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> <?php echo __('Processing...',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div>
616
  <div class="clear"></div>
617
  </form>
618
  </div>
@@ -633,7 +633,7 @@ $nonce_Key = $impCE->create_nonce_key();
633
  <table class="table-importer">
634
  <tr>
635
  <td>
636
- <h3><?php echo __("Summary",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
637
  <div id='reportLog' class='postbox' style='display:none;'>
638
  <input type='hidden' name = 'csv_version' id = 'csv_version' value = "<?php if(isset($_POST['uploaded_csv_name'])) { echo $_POST['uploaded_csv_name']; } ?>">
639
  <div id="logtabs" class="logcontainer">
44
  <table class="table-importer">
45
  <tr>
46
  <td>
47
+ <h3><?php echo __('CSV Import Options','wp-ultimate-csv-importer'); ?></h3>
48
  <div id='sec-one' <?php if($_REQUEST['step']!= 'uploadfile') {?> style='display:none;' <?php } ?>>
49
  <?php if(is_dir($impCE->getUploadDirectory('default'))){
50
  if (!is_writable($impCE->getUploadDirectory('default'))) {
79
  <tr>
80
  <div id='showmappingtemplate' style='float:left;padding-left:10px;'>
81
  <select disabled>
82
+ <option value ='select template' > <?php echo __('select template','wp-ultimate-csv-importer'); ?> </option>
83
  </select>
84
  <img src="<?php echo WP_CONTENT_URL; ?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG; ?>/images/pro_icon.gif" title="PRO Feature" />
85
  </div>
86
 
87
  </div>
88
  <div style="float:right;">
89
+ <input type='button' name='clearform' id='clearform' value='<?php echo __("Clear",'wp-ultimate-csv-importer'); ?>' onclick="Reload();"
90
  class='btn btn-warning' style="margin-right:15px" />
91
+ <input type='submit' name='importfile' title = '<?php echo __('Next','wp-ultimate-csv-importer');?>' id='importfile' value='<?php echo $impCE->reduceStringLength(__("Next",'wp-ultimate-csv-importer'),'Next'); echo (" >>");?>' disabled
92
  class='btn btn-primary'style="margin-right:15px"/>
93
  </div>
94
  </tr>
216
  $custom_key = array();
217
  $wpcsvsettings=get_option('wpcsvfreesettings');
218
  ?>
219
+ <h3><?php echo __('Map CSV to WP fields/attributes','wp-ultimate-csv-importer'); ?></h3>
220
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'mapping_settings' ) { ?>
221
  <div id='sec-two' <?php if($_REQUEST['step']!= 'mapping_settings'){ ?> style='display:none;' <?php } ?> >
222
  <div class='mappingsection'>
223
+ <h2><div class="secondformheader"><?php echo __('Import Data Configuration','wp-ultimate-csv-importer'); ?></div></h2>
224
  <?php
225
  if(isset($_FILES['inlineimages'])) {
226
  if(isset($_POST['uploadfilename']) && $_POST['uploadfilename'] != ''){
249
  <?php if(isset($_REQUEST['__module']) && $_REQUEST['__module']=='custompost'){ ?>
250
  <div class='importstatus' style='display:true;'>
251
  <input type="hidden" id="customposts" name="customposts" value="">
252
+ <div style = 'float:left'> <label id="importalign"> <?php echo __('Select Post Type','wp-ultimate-csv-importer'); ?> </label> <span class="mandatory"> * </span> </div>
253
  <div style = 'float:left;margin-right:10px'>
254
  <select name='custompostlist' id='custompostlist'>
255
+ <option value='select'>---Select---</option>
256
  <?php
257
  $cust_post_list_count=0;
258
  foreach (get_post_types() as $key => $value) {
324
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
325
  <span class="tooltipCustompost">
326
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
327
+ <strong><?php echo __('Select your custompost type','wp-ultimate-csv-importer'); ?></strong>
328
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
329
  </span>
330
+ </a><label id='cust_post_empty' style='display:none'><?php echo __('CUSTOMPOST LIST IS EMPTY','wp-ultimate-csv-importer'); ?></label>
331
  </div>
332
  </div>
333
  <?php } ?>
386
  <input type='hidden' id='mappingArr' name='mappingArr' value='' />
387
  <input type='hidden' id='inline_image_location' name='inline_image_location' value='<?php if(isset($extracted_image_location)){ echo $extracted_image_location;}?>' />
388
  <input type='button' id='prev_record' name='prev_record' class="btn btn-primary" value='<<' onclick='gotoelement(this.id);' />
389
+ <label style="padding-right:10px;" id='preview_of_row'><?php echo __('Showing preview of row # 1','wp-ultimate-csv-importer'); ?></label>
390
  <input type='button' id='next_record' name='next_record' class="btn btn-primary" value='>>' onclick='gotoelement(this.id);' />
391
+ <label id="importalign" style="margin-right:8px;"> <?php echo __('Go To Row #','wp-ultimate-csv-importer'); ?></label><input type='text' id='goto_element' name='goto_element' />
392
+ <input type='button' id='apply_element' name='apply_element' class="btn btn-success" value='<?php echo __("Show",'wp-ultimate-csv-importer'); ?>' onclick='gotoelement(this.id);' style="margin-right:10px;margin-left:5px"/>
393
  </div>
394
  </td>
395
  </tr>
405
  unset($impCE->defCols['wp_page_template']);
406
  }
407
  ?>
408
+ <tr><td class="left_align columnheader"> <b><?php echo __('CSV HEADER','wp-ultimate-csv-importer'); ?></b> </td><td class="columnheader"> <b><?php echo __('WP FIELDS','wp-ultimate-csv-importer'); ?></b> </td><td class="columnheader"> <b><?php echo __('CSV ROW','wp-ultimate-csv-importer'); ?></b> </td><td></td></tr>
409
  <?php
410
  $mappingFields_arr = array();
411
  foreach ($impCE->headers as $key => $value)
413
  <tr>
414
  <td class="left_align csvheader"> <label> <?php print($value);?> </label> </td>
415
  <td class="left_align"> <select name="mapping<?php print($count); ?>" id="mapping<?php print($count); ?>" class="uiButton" onchange="addcustomfield(this.value,<?php echo $count; ?>);">
416
+ <option id = "select">-- Select --</option>
417
  <?php
418
  foreach ($impCE->defCols as $key1 => $value1)
419
  {
470
  <span id='elementVal_<?php echo $key; ?>' > <?php echo $getrecords[0][$value]; ?> </span>
471
  </td>
472
  <td width = "180px;">
473
+ <input class="customfieldtext" type="text" id="textbox<?php print($count); ?>" name="textbox<?php print($count); ?>" TITLE="<?php echo __('Replace the default value','wp-ultimate-csv-importer'); ?>" style="display: none;float:left;width:160px;" value="<?php echo $value ?>"/>
474
  <span style="display: none;float:left" id="customspan<?php echo $count ?>">
475
  <a href="#" class="tooltip">
476
  <img src="<?php echo WP_PLUGIN_URL . '/' .WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png'; ?>" />
477
  <span class="tooltipPostStatus">
478
  <img class="callout" src="<?php echo WP_PLUGIN_URL . '/'. WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/callout.gif'; ?>" />
479
+ <strong><?php echo __('Give a name for your new custom field','wp-ultimate-csv-importer'); ?></strong>
480
  <img src="<?php echo WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png' ; ?>" style="margin-top: 6px;float:right;" />
481
  </span>
482
  </a>
483
  </span>
484
+ <span style="display: none; color: red; margin-left: 5px;" id="customspan<?php echo $count ?>"><?php echo __('Replace the custom value','wp-ultimate-csv-importer'); ?></span>
485
  </td>
486
  </tr>
487
  <?php
502
  <div>
503
  <div class="goto_import_options" align=center>
504
  <div class="mappingactions" style="margin-top:26px;">
505
+ <input type='button' id='clear_mapping' title = '<?php echo __('Clear Mapping','wp-ultimate-csv-importer'); ?>' class='clear_mapping btn btn-warning' name='clear_mapping' value='<?php echo __('Clear','wp-ultimate-csv-importer');echo ' '; echo $impCE->reduceStringLength(__(' Mapping','wp-ultimate-csv-importer'),'Mapping'); ?>' onclick='clearMapping();' style = 'float:left'/>
506
  <span style = ''>
507
  <a href="#" class="tooltip tooltip_smack" style = ''>
508
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
509
  <span class="tooltipClearMapping">
510
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
511
+ <strong><?php echo __('Refresh to re-map fields','wp-ultimate-csv-importer'); ?></strong>
512
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
513
  </span>
514
  </a>
515
  </span>
516
  </div>
517
  <div class="mappingactions" >
518
+ <input type='submit' id='goto_importer_setting' title = '<?php echo __('Next','wp-ultimate-csv-importer'); ?>' class='goto_importer_setting btn btn-info' name='goto_importer_setting' value='<?php echo $impCE->reduceStringLength(__('Next','wp-ultimate-csv-importer'),'Next'); ?> >>' />
519
  </div>
520
  </div>
521
  </div>
527
  </tr>
528
  <tr>
529
  <td>
530
+ <h3><?php echo __('Settings and Performance','wp-ultimate-csv-importer'); ?></h3>
531
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'importoptions') { ?>
532
  <div id='sec-three' <?php if($_REQUEST['step']!= 'importoptions'){ ?> style='display:none;' <?php } ?> >
533
  <?php //$prevoptionindex='';?>
557
  <div class="postbox" id="options" style=" margin-bottom:0px;">
558
  <!-- <h4 class="hndle">Search settings</h4>-->
559
  <div class="inside">
560
+ <label id="importalign"><input type ='radio' id='importNow' name='importMode' value='' onclick='choose_import_mode(this.id);' checked/> <?php echo __("Import right away",'wp-ultimate-csv-importer'); ?> </label>
561
+ <label id="importalign"><input type ='radio' id='scheduleNow' name='importMode' value='' onclick='choose_import_mode(this.id);' disabled/> <?php echo __("Schedule now",'wp-ultimate-csv-importer'); ?> </label>
562
  <div id='schedule' style='display:none'>
563
  <input type ='hidden' id='select_templatename' name='#select_templatename' value = '<?php if(isset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'])) { echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'] ; } ?>'>
564
  <?php //echo WPImporter_includes_schedulehelper::generatescheduleHTML(); ?>
587
  </select><br>
588
  <input name="filterhtml" id="filterhtml" type="checkbox" value="1"> Filter out HTML-Tags while comparing <br>
589
  <input name="filterhtmlentities" id="filterhtmlentities" type="checkbox" value="1"> Decode HTML-Entities before comparing <br>-->
590
+ <label id="importalign"><input name='duplicatecontent' id='duplicatecontent' type="checkbox" value=""> <?php echo __('Detect duplicate post content','wp-ultimate-csv-importer'); ?></label> <br>
591
  <input type='hidden' name='wpnoncekey' id='wpnoncekey' value='<?php echo $nonce_Key; ?>' />
592
+ <label id="importalign"><input name='duplicatetitle' id='duplicatetitle' type="checkbox" value="" > <?php echo __('Detect duplicate post title','wp-ultimate-csv-importer'); ?></label> <br>
593
+ <label id="importalign"><?php echo __('No. of posts/rows per server request','wp-ultimate-csv-importer'); ?></label> <span class="mandatory" style="margin-left:-13px;margin-right:10px">*</span> <input name="importlimit" id="importlimit" type="text" value="1" placeholder="10" onblur="check_allnumeric(this.value);"></label> <?php echo $impCE->helpnotes(); ?><br>
594
+ <span class='msg' id='server_request_warning' style="display:none;color:red;margin-left:-10px;"><?php echo __('You can set upto','wp-ultimate-csv-importer'); ?> <?php echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['totRecords']; ?><?php echo __('per request.','wp-ultimate-csv-importer'); ?></span>
595
  <input type="hidden" id="currentlimit" name="currentlimit" value="0"/>
596
  <input type="hidden" id="tmpcount" name="tmpcount" value="0" />
597
  <input type="hidden" id="terminateaction" name="terminateaction" value="continue" />
598
  <label id="innertitle">Inline image options</label><br />
599
+ <label id='importalign'> <input type ='checkbox' id='multiimage' name='multiimage' value = '' > <?php echo __('Insert Inline Images','wp-ultimate-csv-importer'); ?> </label><br>
600
  <!-- <div id='inlineimageoption' style="display:none;" >
601
  <label id="importalign"><input type="radio" name="inlineimage_location" id="imagewithextension" value="imagewithextension" onclick="inline_image_option(this.value);" /> Image name with extension </label>
602
  <label id="importalign"><input type="radio" name="inlineimage_location" id="inlineimage_location" value="inlineimage_location" onclick="inline_image_option(this.value);" /> <input type="text" name="imagelocation" id="imagelocation" placeholder="Inline Image Location" value="" onblur="customimagelocation(this.value);" style="margin-top:5px;margin-left:10px"/></label>
607
  Ignore these words while comparing <input name="filterwords" id="filterwords" type="text" value="">
608
  </li>-->
609
  </ul>
610
+ <input id="startbutton" class="btn btn-primary" type="button" value="<?php echo __('Import Now','wp-ultimate-csv-importer'); ?>" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings();" >
611
+ <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="<?php echo __('Terminate Now','wp-ultimate-csv-importer'); ?>" style="display:none;" onclick="terminateProcess();" />
612
+ <input class="btn btn-warning" type="button" value="<?php echo __('Reload','wp-ultimate-csv-importer'); ?>" id="importagain" style="display:none" onclick="import_again();" />
613
+ <input id="continuebutton" class="btn btn-lg btn-success" type="button" value="<?php echo __('Continue','wp-ultimate-csv-importer'); ?>" style="display:none;color: #ffffff;" onclick="continueprocess();">
614
  <!--<input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
615
+ <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> <?php echo __('Processing...','wp-ultimate-csv-importer'); ?></div>
616
  <div class="clear"></div>
617
  </form>
618
  </div>
633
  <table class="table-importer">
634
  <tr>
635
  <td>
636
+ <h3><?php echo __("Summary",'wp-ultimate-csv-importer'); ?></h3>
637
  <div id='reportLog' class='postbox' style='display:none;'>
638
  <input type='hidden' name = 'csv_version' id = 'csv_version' value = "<?php if(isset($_POST['uploaded_csv_name'])) { echo $_POST['uploaded_csv_name']; } ?>">
639
  <div id="logtabs" class="logcontainer">
modules/customtaxonomy/templates/index.php CHANGED
@@ -37,4 +37,4 @@
37
  if ( ! defined( 'ABSPATH' ) )
38
  exit; // Exit if accessed directly
39
 
40
- echo "<div align='center' style='width:100%;'> <p class='warnings' style='width:50%;text-align:center;color:red;'>". __('This feature is only available in PRO!.',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</p></div>";
37
  if ( ! defined( 'ABSPATH' ) )
38
  exit; // Exit if accessed directly
39
 
40
+ echo "<div align='center' style='width:100%;'> <p class='warnings' style='width:50%;text-align:center;color:red;'>". __('This feature is only available in PRO!.','wp-ultimate-csv-importer')."</p></div>";
modules/dashboard/templates/index.php CHANGED
@@ -50,14 +50,14 @@ $ret_arr=array();
50
  #} ?>
51
  <div class="box-one">
52
  <div class="top-right-box">
53
- <h3><span style="margin: -5px 5px 5px 5px;"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR;?>images/chart_bar.png" /></span><?php echo __('Importers Activity',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
54
  <div class="top-right-content">
55
  <div id='dispLabel'></div>
56
  <div class='lineStats' id='lineStats' style='height: 250px;width:100%;margin-top:15px; margin-bottom:15px;'></div>
57
  </div>
58
  </div>
59
  <div class="top-right-box">
60
- <h3><span style="margin: -5px 5px 5px 5px;"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR;?>images/stat_icon.png"></span><?php echo __('Import Statistics',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
61
  <div class="top-right-content">
62
  <div id='dispLabel'></div>
63
  <div class='pieStats' id='pieStats' style='float:left;height:250px;width:100%;margin-top:15px;margin-bottom:15px;'></div>
50
  #} ?>
51
  <div class="box-one">
52
  <div class="top-right-box">
53
+ <h3><span style="margin: -5px 5px 5px 5px;"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR;?>images/chart_bar.png" /></span><?php echo __('Importers Activity','wp-ultimate-csv-importer'); ?></h3>
54
  <div class="top-right-content">
55
  <div id='dispLabel'></div>
56
  <div class='lineStats' id='lineStats' style='height: 250px;width:100%;margin-top:15px; margin-bottom:15px;'></div>
57
  </div>
58
  </div>
59
  <div class="top-right-box">
60
+ <h3><span style="margin: -5px 5px 5px 5px;"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR;?>images/stat_icon.png"></span><?php echo __('Import Statistics','wp-ultimate-csv-importer'); ?></h3>
61
  <div class="top-right-content">
62
  <div id='dispLabel'></div>
63
  <div class='pieStats' id='pieStats' style='float:left;height:250px;width:100%;margin-top:15px;margin-bottom:15px;'></div>
modules/eshop/actions/actions.php CHANGED
@@ -118,20 +118,30 @@ class EshopActions extends SkinnyActions {
118
  similar_text($strippedTextPCont, $strippedText, $p);
119
  if ($p == 100) {
120
  $this->dupPostCount++;
121
- $this->detailedLog[$currentLimit]['post_id'] = "Created record no $currentLimit - failed";
122
  return false;
123
  }
124
  }
125
  return true;
126
  } else if ($type == 'title') {
127
  $post_exist = $wpdb->get_results("select ID from " . $wpdb->posts . " where post_title = \"{$text}\" and post_type = \"{$gettype}\" and post_status in('publish','future','draft','pending','private')");
128
- if (count($post_exist) == 0 && ($text != null || $text != ''))
129
- return true;
130
- }
131
- $this->dupPostCount++;
132
- $this->detailedLog[$currentLimit]['post_id'] = "Created record no $currentLimit - failed";
133
- return false;
134
- }
 
 
 
 
 
 
 
 
 
 
135
 
136
  /**
137
  * Get field colum keys
@@ -422,8 +432,8 @@ class EshopActions extends SkinnyActions {
422
  $fimg_path = $full_path;
423
 
424
  $fimg_name = @basename($f_img);
 
425
  $fimg_name = preg_replace('/[^a-zA-Z0-9._\s]/', '', $fimg_name);
426
- $fimg_name = strtolower(str_replace(' ','-',$fimg_name));
427
 
428
  $fimg_name = urlencode($fimg_name);
429
 
@@ -433,8 +443,8 @@ class EshopActions extends SkinnyActions {
433
  $fimg_name = $fimg_name . '.jpg';
434
 
435
  $f_img_slug = '';
 
436
  $f_img_slug = preg_replace('/[^a-zA-Z0-9._\s]/', '',$f_img_slug);
437
- $f_img_slug = strtolower(str_replace('','-',$f_img_slug));
438
 
439
 
440
  $post_slug_value = strtolower($f_img_slug);
@@ -487,6 +497,9 @@ class EshopActions extends SkinnyActions {
487
  if ($this->conDupCheck == 'true' && $this->postFlag)
488
  $this->postFlag = $this->duplicateChecks('content', $data_array ['post_content'], $data_array ['post_type'], $currentLimit, $data_array ['post_title']);
489
 
 
 
 
490
  if ($this->postFlag) {
491
  unset ($sticky);
492
  if (empty($data_array['post_status']))
@@ -745,9 +758,9 @@ class EshopActions extends SkinnyActions {
745
  else{
746
  $skippedRecords[] = $_SESSION['SMACK_SKIPPED_RECORDS'];
747
  }
748
- }
749
  $this->detailedLog[$currentLimit]['verify_here'] = "<b>Verify Here -</b> <a href='" . get_permalink( $post_id ) . "' title='" . esc_attr( sprintf( __( 'View &#8220;%s&#8221;' ), $data_array['post_title'] ) ) . "' rel='permalink' target='_blank'>" . __( 'Web View' ) . "</a> | <a href='" . get_edit_post_link( $post_id, true ) . "' title='" . esc_attr( __( 'Edit this item' ) ) . "' target='_blank'>" . __( 'Admin View' ) . "</a>";
750
-
751
  unset($data_array);
752
  }
753
  /**
118
  similar_text($strippedTextPCont, $strippedText, $p);
119
  if ($p == 100) {
120
  $this->dupPostCount++;
121
+ $this->detailedLog[$currentLimit]['verify_here'] = "Post-content Already Exists. It can't be imported";
122
  return false;
123
  }
124
  }
125
  return true;
126
  } else if ($type == 'title') {
127
  $post_exist = $wpdb->get_results("select ID from " . $wpdb->posts . " where post_title = \"{$text}\" and post_type = \"{$gettype}\" and post_status in('publish','future','draft','pending','private')");
128
+ if (!(count($post_exist) == 0 && ($text != null || $text != ''))) {
129
+ $this->dupPostCount++;
130
+ $this->detailedLog[$currentLimit]['verify_here'] = "Post-title Already Exists. It can't be imported.";
131
+ return false;
132
+ }
133
+ return true;
134
+ } else if ($type == 'title && content') {
135
+ $post_exist = $wpdb->get_results("select ID from " . $wpdb->posts . " where post_title = \"{$postTitle}\" and post_content = \"{$text}\" and post_status IN('publish','future','draft','pending','private')");
136
+ if (!(count($post_exist) == 0 && ($text != null || $text != ''))) {
137
+ $this->dupPostCount++;
138
+ $this->detailedLog[$currentLimit]['verify_here'] = "Post-title and post-content Already Exists. It can't be imported.";
139
+ return false;
140
+ }
141
+ return true;
142
+ }
143
+ }
144
+
145
 
146
  /**
147
  * Get field colum keys
432
  $fimg_path = $full_path;
433
 
434
  $fimg_name = @basename($f_img);
435
+ $fimg_name = strtolower(str_replace(' ','-',$fimg_name));
436
  $fimg_name = preg_replace('/[^a-zA-Z0-9._\s]/', '', $fimg_name);
 
437
 
438
  $fimg_name = urlencode($fimg_name);
439
 
443
  $fimg_name = $fimg_name . '.jpg';
444
 
445
  $f_img_slug = '';
446
+ $f_img_slug = strtolower(str_replace('','-',$f_img_slug));
447
  $f_img_slug = preg_replace('/[^a-zA-Z0-9._\s]/', '',$f_img_slug);
 
448
 
449
 
450
  $post_slug_value = strtolower($f_img_slug);
497
  if ($this->conDupCheck == 'true' && $this->postFlag)
498
  $this->postFlag = $this->duplicateChecks('content', $data_array ['post_content'], $data_array ['post_type'], $currentLimit, $data_array ['post_title']);
499
 
500
+ if ($this->titleDupCheck == 'true' && $this->conDupCheck == 'true')
501
+ $this->postFlag = $this->duplicateChecks('title && content', $data_array ['post_content'], $data_array ['post_type'], $currentLimit, $data_array ['post_title']);
502
+
503
  if ($this->postFlag) {
504
  unset ($sticky);
505
  if (empty($data_array['post_status']))
758
  else{
759
  $skippedRecords[] = $_SESSION['SMACK_SKIPPED_RECORDS'];
760
  }
761
+
762
  $this->detailedLog[$currentLimit]['verify_here'] = "<b>Verify Here -</b> <a href='" . get_permalink( $post_id ) . "' title='" . esc_attr( sprintf( __( 'View &#8220;%s&#8221;' ), $data_array['post_title'] ) ) . "' rel='permalink' target='_blank'>" . __( 'Web View' ) . "</a> | <a href='" . get_edit_post_link( $post_id, true ) . "' title='" . esc_attr( __( 'Edit this item' ) ) . "' target='_blank'>" . __( 'Admin View' ) . "</a>";
763
+ }
764
  unset($data_array);
765
  }
766
  /**
modules/eshop/templates/index.php CHANGED
@@ -47,7 +47,7 @@ $eshopObj->isplugin();
47
  <table class="table-importer">
48
  <tr>
49
  <td>
50
- <h3><?php echo __('CSV Import Options',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
51
  <div id='sec-one' <?php if($_REQUEST['step']!= 'uploadfile') {?> style='display:none;' <?php } ?>>
52
  <?php if(is_dir($impCE->getUploadDirectory('default'))){
53
  if (!is_writable($impCE->getUploadDirectory('default'))) {
@@ -117,7 +117,7 @@ if ($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['isplugin_avail'] != 'not_avail'
117
  <tr>
118
  <div id='showmappingtemplate' style='float:left;padding-left:10px;'>
119
  <select disabled/>
120
- <option value ='select template' > <?php echo __('select template',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </option>
121
  </select>
122
  <img src="<?php echo WP_CONTENT_URL; ?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG; ?>/images/pro_icon.gif" title="PRO Feature" />
123
  </div>
@@ -127,9 +127,9 @@ if ($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['isplugin_avail'] != 'not_avail'
127
  </div>
128
 
129
  <div style="float:right;">
130
- <input type='button' name='clearform' id='clearform' value='<?php echo __("Clear",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' onclick="Reload();" class='btn btn-warning' style="margin-right:15px"/>
131
 
132
- <input type='submit' name='importfile' id='importfile' title = '<?php echo __("Next",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' value='<?php echo $impCE->reduceStringLength(__("Next",WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Next'); echo __(" >>");?>' disabled class='btn btn-primary' style="margin-right:15px"/>
133
  </div>
134
  </tr>
135
  </table>
@@ -256,11 +256,11 @@ if ($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['isplugin_avail'] != 'not_avail'
256
  $custom_key = array();
257
  $wpcsvsettings=get_option('wpcsvfreesettings');
258
  ?>
259
- <h3><?php echo __('Map CSV to WP fields/attributes',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
260
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'mapping_settings') { ?>
261
  <div id='sec-two' <?php if($_REQUEST['step']!= 'mapping_settings'){ ?> style='display:none;' <?php } ?> >
262
  <div class='mappingsection'>
263
- <h2><div class="secondformheader"><?php echo __('Import Data Configuration',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div></h2>
264
  <?php
265
  if(isset($_FILES['inlineimages'])) {
266
  if(isset($_POST['uploadfilename']) && $_POST['uploadfilename'] != ''){
@@ -289,10 +289,10 @@ if ($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['isplugin_avail'] != 'not_avail'
289
  <?php if(isset($_REQUEST['__module']) && $_REQUEST['__module']=='custompost'){ ?>
290
  <div class='importstatus' style='display:true;'>
291
  <input type="hidden" id="customposts" name="customposts" value="">
292
- <div style = 'float:left'> <label> <?php echo __('Select Post Type',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label> <span class="mandatory"> * </span> </div>
293
  <div style = 'float:left;margin-right:10px' >
294
  <select name='custompostlist' id='custompostlist'>
295
- <option value='select'><?php echo __('---Select---',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></option>
296
  <?php
297
  foreach (get_post_types() as $key => $value) {
298
  if (($value != 'featured_image') && ($value != 'attachment') && ($value != 'wpsc-product') && ($value != 'wpsc-product-file') && ($value != 'revision') && ($value != 'nav_menu_item') && ($value != 'post') && ($value != 'page') && ($value != 'wp-types-group') && ($value != 'wp-types-user-group')) {?>
@@ -306,7 +306,7 @@ if ($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['isplugin_avail'] != 'not_avail'
306
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
307
  <span class="tooltipCustompost">
308
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
309
- <strong><?php echo __('Select your custompost type',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></strong>
310
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
311
  </span>
312
  </a>
@@ -370,10 +370,10 @@ if ($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['isplugin_avail'] != 'not_avail'
370
  <input type='hidden' id='mappingArr' name='mappingArr' value='' />
371
  <input type='hidden' id='inline_image_location' name='inline_image_location' value='<?php if(isset($extracted_image_location)){ echo $extracted_image_location;} ?>' />
372
  <input type='button' id='prev_record' name='prev_record' class="btn btn-primary" value='<<' onclick='gotoelement(this.id);' />
373
- <label style="padding-right:10px;" id='preview_of_row'><?php echo __('Showing preview of row # 1',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label>
374
  <input type='button' id='next_record' name='next_record' class="btn btn-primary" value='>>' onclick='gotoelement(this.id);' />
375
- <label id="importalign" style="margin-right:8px;"> <?php echo __('Go To Row #',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label><input type='text' id='goto_element' name='goto_element' />
376
- <input type='button' id='apply_element' name='apply_element' class="btn btn-success" value='Show' onclick='gotoelement(this.id);' style="margin-right:10px;margin-left:5px"/>
377
  </div>
378
  </td>
379
  </tr>
@@ -388,7 +388,7 @@ if ($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['isplugin_avail'] != 'not_avail'
388
  unset($impCE->defCols['wp_page_template']);
389
  }
390
  ?>
391
- <tr><td class="left_align columnheader"> <b><?php echo __('CSV HEADER',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></b> </td><td class="columnheader"> <b><?php echo __('WP FIELDS',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></b> </td><td class="columnheader"> <b><?php echo __('CSV ROW',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></b> </td><td></td></tr>
392
  <?php
393
  $eshopObj = new EshopActions();
394
  foreach ($impCE->headers as $key => $value)
@@ -396,7 +396,7 @@ if ($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['isplugin_avail'] != 'not_avail'
396
  <tr>
397
  <td class="left_align csvheader"> <label> <?php print($value);?> </label> </td>
398
  <td class="left_align"> <select name="mapping<?php print($count); ?>" id="mapping<?php print($count); ?>" class="uiButton" onchange="addcustomfield(this.value,<?php echo $count; ?>);">
399
- <option id = "select"> <?php echo __('-- Select --',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </option>
400
  <?php
401
  foreach ($eshopObj->defCols as $key1 => $value1)
402
  {
@@ -459,12 +459,12 @@ if ($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['isplugin_avail'] != 'not_avail'
459
  <img src="<?php echo WP_PLUGIN_URL . '/' .WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png'; ?>" />
460
  <span class="tooltipPostStatus">
461
  <img class="callout" src="<?php echo WP_PLUGIN_URL . '/'. WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/callout.gif'; ?>" />
462
- <strong><?php echo __('Give a name for your new custom field',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></strong>
463
  <img src="<?php echo WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png' ; ?>" style="margin-top: 6px;float:right;" />
464
  </span>
465
  </a>
466
  </span>
467
- <span style="display: none; color: red; margin-left: 5px;" id="customspan<?php echo $count ?>"><?php echo __('Replace the custom value',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span>
468
  </td>
469
  </tr>
470
  <?php
@@ -485,20 +485,20 @@ if ($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['isplugin_avail'] != 'not_avail'
485
  <div>
486
  <div class="goto_import_options" align=center>
487
  <div class="mappingactions" style="margin-top;26px;">
488
- <input type='button' id='clear_mapping' title = '<?php echo __('clear Mapping',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' class='clear_mapping btn btn-warning' name='clear_mapping' value='<?php echo __('Clear',WP_CONST_ULTIMATE_CSV_IMP_SLUG); echo ' ';echo $impCE->reduceStringLength(__(' Mapping',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Mapping'); ?>' onclick='clearMapping();' style = 'float:left'/>
489
  <span style = ''>
490
  <a href="#" class="tooltip tooltip_smack" style = ''>
491
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
492
  <span class="tooltipClearMapping">
493
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
494
- <strong><?php echo __('Refresh to re-map fields',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></strong>
495
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
496
  </span>
497
  </a>
498
  </span>
499
  </div>
500
  <div class="mappingactions" >
501
- <input type='submit' id='goto_importer_setting' title = '<?php echo __("Next",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' class='goto_importer_setting btn btn-info' name='goto_importer_setting' value='<?php echo $impCE->reduceStringLength(__('Next',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Next'); ?> >>' />
502
  </div>
503
  </div>
504
  </div>
@@ -510,7 +510,7 @@ if ($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['isplugin_avail'] != 'not_avail'
510
  </tr>
511
  <tr>
512
  <td>
513
- <h3><?php echo __('Settings and Performance',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
514
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'importoptions') { ?>
515
  <div id='sec-three' <?php if($_REQUEST['step']!= 'importoptions'){ ?> style='display:none;' <?php } ?> >
516
  <?php //$prevoptionindex='';?>
@@ -540,8 +540,8 @@ if ($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['isplugin_avail'] != 'not_avail'
540
  <div class="postbox" id="options" style=" margin-bottom:0px;">
541
  <!-- <h4 class="hndle">Search settings</h4>-->
542
  <div class="inside">
543
- <label id='importalign'><input type ='radio' id='importNow' name='importMode' value='' onclick='choose_import_mode(this.id);' checked/> <?php echo __("Import right away",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label>
544
- <label id='importalign'><input type ='radio' id='scheduleNow' name='importMode' value='' onclick='choose_import_mode(this.id);' disabled/> <?php echo __("Schedule now",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label>
545
  <div id='schedule' style='display:none'>
546
  <input type ='hidden' id='select_templatename' name='#select_templatename' value = '<?php if(isset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'])) { echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'] ; } ?>'>
547
  <?php //echo WPImporter_includes_schedulehelper::generatescheduleHTML(); ?>
@@ -571,16 +571,16 @@ if ($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['isplugin_avail'] != 'not_avail'
571
  </select><br>
572
  <input name="filterhtml" id="filterhtml" type="checkbox" value="1"> Filter out HTML-Tags while comparing <br>
573
  <input name="filterhtmlentities" id="filterhtmlentities" type="checkbox" value="1"> Decode HTML-Entities before comparing <br>-->
574
- <label id='importalign'><input name='duplicatecontent' id='duplicatecontent' type="checkbox" value=""> <?php echo __('Detect duplicate post content',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> <br>
575
  <input type='hidden' name='wpnoncekey' id='wpnoncekey' value='<?php echo $nonce_Key; ?>' />
576
- <label id='importalign'><input name='duplicatetitle' id='duplicatetitle' type="checkbox" value="" > <?php echo __('Detect duplicate post title',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> <br>
577
- <label id='importalign'><?php echo __('No. of posts/rows per server request',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> <span class="mandatory" style="margin-left:-13px;margin-right:10px">*</span> <input name="importlimit" id="importlimit" type="text" value="1" placeholder="10" onblur="check_allnumeric(this.value);"></label> <?php echo $impCE->helpnotes(); ?><br>
578
- <span class='msg' id='server_request_warning' style="display:none;color:red;margin-left:-10px;"><?php echo __('You can set upto',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> <?php echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['totRecords']; ?> <?php echo __('per request.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span>
579
  <input type="hidden" id="currentlimit" name="currentlimit" value="0"/>
580
  <input type="hidden" id="tmpcount" name="tmpcount" value="0" />
581
  <input type="hidden" id="terminateaction" name="terminateaction" value="continue" />
582
- <label id="innertitle">Inline image options</label><br />
583
- <label id='importalign'> <input type ='checkbox' id='multiimage' name='multiimage' value = '' onclick="enableinlineimageoption();"> Insert Inline Images </label><br>
584
  <!-- <div id='inlineimageoption' style="display:none;" >
585
  <label id='importalign'><input type="radio" name="inlineimage_location" id="imagewithextension" value="imagewithextension" onclick="inline_image_option(this.value);" /> Image name with extension </label>
586
  <label id='importalign'><input type="radio" name="inlineimage_location" id="inlineimage_location" value="inlineimage_location" onclick="inline_image_option(this.value);" /> <input type="text" name="imagelocation" id="imagelocation" placeholder="Inline Image Location" value="" onblur="customimagelocation(this.value);" style="margin-top:5px;margin-left:10px"/></label>
@@ -592,12 +592,12 @@ if ($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['isplugin_avail'] != 'not_avail'
592
  </li>-->
593
  </ul>
594
  <!-- <input id="goto_back" name="goto_back" class="btn btn-warning" type="button" value="<< Back" onclick="gotoback();" /> -->
595
- <input id="startbutton" class="btn btn-primary" type="button" value="<?php echo __('Import Now',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings('<?php echo site_url(); ?>');" >
596
- <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="<?php echo __('Terminate Now',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" style="display:none;" onclick="terminateProcess();" />
597
- <input class="btn btn-warning" type="button" value="<?php echo __('Reload',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" id="importagain" style="display:none" onclick="import_again();" />
598
- <input id="continuebutton" class="btn btn-lg btn-success" type="button" value="<?php echo __('Continue',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" style="display:none;color: #ffffff;" onclick="continueprocess();">
599
  <!--<input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
600
- <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> <?php echo __('Processing...',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div>
601
 
602
  <div class="clear"></div>
603
  </form>
@@ -619,7 +619,7 @@ if ($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['isplugin_avail'] != 'not_avail'
619
  <table class="table-importer">
620
  <tr>
621
  <td>
622
- <h3><?php echo __("Summary",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
623
  <div id='reportLog' class='postbox' style='display:none;'>
624
  <input type='hidden' name = 'csv_version' id = 'csv_version' value = "<?php if(isset($_POST['uploaded_csv_name'])) { echo $_POST['uploaded_csv_name']; } ?>">
625
  <div id="logtabs" class="logcontainer">
47
  <table class="table-importer">
48
  <tr>
49
  <td>
50
+ <h3><?php echo __('CSV Import Options','wp-ultimate-csv-importer'); ?></h3>
51
  <div id='sec-one' <?php if($_REQUEST['step']!= 'uploadfile') {?> style='display:none;' <?php } ?>>
52
  <?php if(is_dir($impCE->getUploadDirectory('default'))){
53
  if (!is_writable($impCE->getUploadDirectory('default'))) {
117
  <tr>
118
  <div id='showmappingtemplate' style='float:left;padding-left:10px;'>
119
  <select disabled/>
120
+ <option value ='select template' > <?php echo __('select template','wp-ultimate-csv-importer'); ?> </option>
121
  </select>
122
  <img src="<?php echo WP_CONTENT_URL; ?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG; ?>/images/pro_icon.gif" title="PRO Feature" />
123
  </div>
127
  </div>
128
 
129
  <div style="float:right;">
130
+ <input type='button' name='clearform' id='clearform' value='<?php echo __("Clear",'wp-ultimate-csv-importer'); ?>' onclick="Reload();" class='btn btn-warning' style="margin-right:15px"/>
131
 
132
+ <input type='submit' name='importfile' id='importfile' title = '<?php echo __("Next",'wp-ultimate-csv-importer'); ?>' value='<?php echo $impCE->reduceStringLength(__("Next",'wp-ultimate-csv-importer'),'Next'); echo __(" >>");?>' disabled class='btn btn-primary' style="margin-right:15px"/>
133
  </div>
134
  </tr>
135
  </table>
256
  $custom_key = array();
257
  $wpcsvsettings=get_option('wpcsvfreesettings');
258
  ?>
259
+ <h3><?php echo __('Map CSV to WP fields/attributes','wp-ultimate-csv-importer'); ?></h3>
260
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'mapping_settings') { ?>
261
  <div id='sec-two' <?php if($_REQUEST['step']!= 'mapping_settings'){ ?> style='display:none;' <?php } ?> >
262
  <div class='mappingsection'>
263
+ <h2><div class="secondformheader"><?php echo __('Import Data Configuration','wp-ultimate-csv-importer'); ?></div></h2>
264
  <?php
265
  if(isset($_FILES['inlineimages'])) {
266
  if(isset($_POST['uploadfilename']) && $_POST['uploadfilename'] != ''){
289
  <?php if(isset($_REQUEST['__module']) && $_REQUEST['__module']=='custompost'){ ?>
290
  <div class='importstatus' style='display:true;'>
291
  <input type="hidden" id="customposts" name="customposts" value="">
292
+ <div style = 'float:left'> <label> <?php echo __('Select Post Type','wp-ultimate-csv-importer'); ?> </label> <span class="mandatory"> * </span> </div>
293
  <div style = 'float:left;margin-right:10px' >
294
  <select name='custompostlist' id='custompostlist'>
295
+ <option value='select'>---Select---</option>
296
  <?php
297
  foreach (get_post_types() as $key => $value) {
298
  if (($value != 'featured_image') && ($value != 'attachment') && ($value != 'wpsc-product') && ($value != 'wpsc-product-file') && ($value != 'revision') && ($value != 'nav_menu_item') && ($value != 'post') && ($value != 'page') && ($value != 'wp-types-group') && ($value != 'wp-types-user-group')) {?>
306
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
307
  <span class="tooltipCustompost">
308
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
309
+ <strong><?php echo __('Select your custompost type','wp-ultimate-csv-importer'); ?></strong>
310
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
311
  </span>
312
  </a>
370
  <input type='hidden' id='mappingArr' name='mappingArr' value='' />
371
  <input type='hidden' id='inline_image_location' name='inline_image_location' value='<?php if(isset($extracted_image_location)){ echo $extracted_image_location;} ?>' />
372
  <input type='button' id='prev_record' name='prev_record' class="btn btn-primary" value='<<' onclick='gotoelement(this.id);' />
373
+ <label style="padding-right:10px;" id='preview_of_row'><?php echo __('Showing preview of row # 1','wp-ultimate-csv-importer'); ?> </label>
374
  <input type='button' id='next_record' name='next_record' class="btn btn-primary" value='>>' onclick='gotoelement(this.id);' />
375
+ <label id="importalign" style="margin-right:8px;"> <?php echo __('Go To Row #','wp-ultimate-csv-importer'); ?></label><input type='text' id='goto_element' name='goto_element' />
376
+ <input type='button' id='apply_element' name='apply_element' class="btn btn-success" value='<?php echo __('Show','wp-ultimate-csv-importer'); ?>' onclick='gotoelement(this.id);' style="margin-right:10px;margin-left:5px"/>
377
  </div>
378
  </td>
379
  </tr>
388
  unset($impCE->defCols['wp_page_template']);
389
  }
390
  ?>
391
+ <tr><td class="left_align columnheader"> <b><?php echo __('CSV HEADER','wp-ultimate-csv-importer'); ?></b> </td><td class="columnheader"> <b><?php echo __('WP FIELDS','wp-ultimate-csv-importer'); ?></b> </td><td class="columnheader"> <b><?php echo __('CSV ROW','wp-ultimate-csv-importer'); ?></b> </td><td></td></tr>
392
  <?php
393
  $eshopObj = new EshopActions();
394
  foreach ($impCE->headers as $key => $value)
396
  <tr>
397
  <td class="left_align csvheader"> <label> <?php print($value);?> </label> </td>
398
  <td class="left_align"> <select name="mapping<?php print($count); ?>" id="mapping<?php print($count); ?>" class="uiButton" onchange="addcustomfield(this.value,<?php echo $count; ?>);">
399
+ <option id = "select">-- Select --</option>
400
  <?php
401
  foreach ($eshopObj->defCols as $key1 => $value1)
402
  {
459
  <img src="<?php echo WP_PLUGIN_URL . '/' .WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png'; ?>" />
460
  <span class="tooltipPostStatus">
461
  <img class="callout" src="<?php echo WP_PLUGIN_URL . '/'. WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/callout.gif'; ?>" />
462
+ <strong><?php echo __('Give a name for your new custom field','wp-ultimate-csv-importer'); ?></strong>
463
  <img src="<?php echo WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png' ; ?>" style="margin-top: 6px;float:right;" />
464
  </span>
465
  </a>
466
  </span>
467
+ <span style="display: none; color: red; margin-left: 5px;" id="customspan<?php echo $count ?>"><?php echo __('Replace the custom value','wp-ultimate-csv-importer'); ?></span>
468
  </td>
469
  </tr>
470
  <?php
485
  <div>
486
  <div class="goto_import_options" align=center>
487
  <div class="mappingactions" style="margin-top;26px;">
488
+ <input type='button' id='clear_mapping' title = '<?php echo __('clear Mapping','wp-ultimate-csv-importer'); ?>' class='clear_mapping btn btn-warning' name='clear_mapping' value='<?php echo __('Clear','wp-ultimate-csv-importer'); echo ' ';echo $impCE->reduceStringLength(__(' Mapping','wp-ultimate-csv-importer'),'Mapping'); ?>' onclick='clearMapping();' style = 'float:left'/>
489
  <span style = ''>
490
  <a href="#" class="tooltip tooltip_smack" style = ''>
491
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
492
  <span class="tooltipClearMapping">
493
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
494
+ <strong><?php echo __('Refresh to re-map fields','wp-ultimate-csv-importer'); ?></strong>
495
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
496
  </span>
497
  </a>
498
  </span>
499
  </div>
500
  <div class="mappingactions" >
501
+ <input type='submit' id='goto_importer_setting' title = '<?php echo __("Next",'wp-ultimate-csv-importer'); ?>' class='goto_importer_setting btn btn-info' name='goto_importer_setting' value='<?php echo $impCE->reduceStringLength(__('Next','wp-ultimate-csv-importer'),'Next'); ?> >>' />
502
  </div>
503
  </div>
504
  </div>
510
  </tr>
511
  <tr>
512
  <td>
513
+ <h3><?php echo __('Settings and Performance','wp-ultimate-csv-importer'); ?></h3>
514
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'importoptions') { ?>
515
  <div id='sec-three' <?php if($_REQUEST['step']!= 'importoptions'){ ?> style='display:none;' <?php } ?> >
516
  <?php //$prevoptionindex='';?>
540
  <div class="postbox" id="options" style=" margin-bottom:0px;">
541
  <!-- <h4 class="hndle">Search settings</h4>-->
542
  <div class="inside">
543
+ <label id='importalign'><input type ='radio' id='importNow' name='importMode' value='' onclick='choose_import_mode(this.id);' checked/> <?php echo __("Import right away",'wp-ultimate-csv-importer'); ?> </label>
544
+ <label id='importalign'><input type ='radio' id='scheduleNow' name='importMode' value='' onclick='choose_import_mode(this.id);' disabled/> <?php echo __("Schedule now",'wp-ultimate-csv-importer'); ?> </label>
545
  <div id='schedule' style='display:none'>
546
  <input type ='hidden' id='select_templatename' name='#select_templatename' value = '<?php if(isset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'])) { echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'] ; } ?>'>
547
  <?php //echo WPImporter_includes_schedulehelper::generatescheduleHTML(); ?>
571
  </select><br>
572
  <input name="filterhtml" id="filterhtml" type="checkbox" value="1"> Filter out HTML-Tags while comparing <br>
573
  <input name="filterhtmlentities" id="filterhtmlentities" type="checkbox" value="1"> Decode HTML-Entities before comparing <br>-->
574
+ <label id='importalign'><input name='duplicatecontent' id='duplicatecontent' type="checkbox" value=""> <?php echo __('Detect duplicate post content','wp-ultimate-csv-importer'); ?></label> <br>
575
  <input type='hidden' name='wpnoncekey' id='wpnoncekey' value='<?php echo $nonce_Key; ?>' />
576
+ <label id='importalign'><input name='duplicatetitle' id='duplicatetitle' type="checkbox" value="" > <?php echo __('Detect duplicate post title','wp-ultimate-csv-importer'); ?></label> <br>
577
+ <label id='importalign'><?php echo __('No. of posts/rows per server request','wp-ultimate-csv-importer'); ?></label> <span class="mandatory" style="margin-left:-13px;margin-right:10px">*</span> <input name="importlimit" id="importlimit" type="text" value="1" placeholder="10" onblur="check_allnumeric(this.value);"></label> <?php echo $impCE->helpnotes(); ?><br>
578
+ <span class='msg' id='server_request_warning' style="display:none;color:red;margin-left:-10px;"><?php echo __('You can set upto','wp-ultimate-csv-importer'); ?> <?php echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['totRecords']; ?> <?php echo __('per request.','wp-ultimate-csv-importer'); ?></span>
579
  <input type="hidden" id="currentlimit" name="currentlimit" value="0"/>
580
  <input type="hidden" id="tmpcount" name="tmpcount" value="0" />
581
  <input type="hidden" id="terminateaction" name="terminateaction" value="continue" />
582
+ <label id="innertitle"><?php echo __('Inline image options','wp-ultimate-csv-importer'); ?></label><br />
583
+ <label id='importalign'> <input type ='checkbox' id='multiimage' name='multiimage' value = ''><?php echo __('Insert Inline Images','wp-ultimate-csv-importer'); ?> </label><br>
584
  <!-- <div id='inlineimageoption' style="display:none;" >
585
  <label id='importalign'><input type="radio" name="inlineimage_location" id="imagewithextension" value="imagewithextension" onclick="inline_image_option(this.value);" /> Image name with extension </label>
586
  <label id='importalign'><input type="radio" name="inlineimage_location" id="inlineimage_location" value="inlineimage_location" onclick="inline_image_option(this.value);" /> <input type="text" name="imagelocation" id="imagelocation" placeholder="Inline Image Location" value="" onblur="customimagelocation(this.value);" style="margin-top:5px;margin-left:10px"/></label>
592
  </li>-->
593
  </ul>
594
  <!-- <input id="goto_back" name="goto_back" class="btn btn-warning" type="button" value="<< Back" onclick="gotoback();" /> -->
595
+ <input id="startbutton" class="btn btn-primary" type="button" value="<?php echo __('Import Now','wp-ultimate-csv-importer'); ?>" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings('<?php echo site_url(); ?>');" >
596
+ <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="<?php echo __('Terminate Now','wp-ultimate-csv-importer'); ?>" style="display:none;" onclick="terminateProcess();" />
597
+ <input class="btn btn-warning" type="button" value="<?php echo __('Reload','wp-ultimate-csv-importer'); ?>" id="importagain" style="display:none" onclick="import_again();" />
598
+ <input id="continuebutton" class="btn btn-lg btn-success" type="button" value="<?php echo __('Continue','wp-ultimate-csv-importer'); ?>" style="display:none;color: #ffffff;" onclick="continueprocess();">
599
  <!--<input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
600
+ <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> <?php echo __('Processing...','wp-ultimate-csv-importer'); ?></div>
601
 
602
  <div class="clear"></div>
603
  </form>
619
  <table class="table-importer">
620
  <tr>
621
  <td>
622
+ <h3><?php echo __("Summary",'wp-ultimate-csv-importer'); ?></h3>
623
  <div id='reportLog' class='postbox' style='display:none;'>
624
  <input type='hidden' name = 'csv_version' id = 'csv_version' value = "<?php if(isset($_POST['uploaded_csv_name'])) { echo $_POST['uploaded_csv_name']; } ?>">
625
  <div id="logtabs" class="logcontainer">
modules/export/templates/index.php CHANGED
@@ -17,13 +17,13 @@ $noncedata = $skinnyData['wp_nonce'];
17
  <div class="accordion-group">
18
 
19
  <div id="collapseTwo" class="accordion-body in collapse">
20
- <span style="margin: 4% 0px 4% 22%; color: red; font-weight: bold;" name="warning" id="warning" ><p><marquee onmouseover="this.stop();" onmouseout="this.start();"><span>Check your system configuration before proceeding the export. It may help to prevent from facing server configuration issues</span><span style='position:relative;left:4px;'><a href='<?php echo $siteurl?>/wp-admin/admin.php?page=wp-ultimate-csv-importer/index.php&__module=settings'>Click here</a> to refer your server configuration.</span></marquee></p></span>
21
 
22
  <div class="accordion-inner">
23
  <div>
24
  <span class="settings-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/export.png" width="24" height="24" /> </span>
25
 
26
- <label> <h3 id="exporttitle">Export Data With Advanced Filters</h3></label>
27
  </div>
28
  <div style="margin-left:20px;">
29
  <form id = "exportmoduleform" class="form-horizontal" method="post" name="exportmodule" action = "<?php echo admin_url('admin-ajax.php'); ?>" onsubmit = "return export_module();">
@@ -32,39 +32,39 @@ $noncedata = $skinnyData['wp_nonce'];
32
  <input name="action" value="export_file" type="hidden">
33
  <div class="table-responsive">
34
  <table style='width:100%;' class='table exportmodule'>
35
- <th colspan='2'><label class='h-exportmodule'><h3 id="innertitle"> To export data based on the filters</h3></label></th>
36
  <tr>
37
- <td><label><input type='checkbox' name='getdatawithdelimiter' id='getdatawithdelimiter' value='getdatawithdelimeter' onclick='addexportfilter(this.id);' /><span id="align"> Export data with auto delimiter</span></label>
38
  <div id='delimeter' style='padding:10px;display:none;'>
39
- <label id='delistatus'><b> Delimiters </b></label>
40
  <select name='postwithdelimiter' id='postwithdelimiter'>
41
- <option>Select</option>
42
  <option>,</option>
43
  <option>:</option>
44
  <option>;</option>
45
  <option>{Tab}</option>
46
  <option>{Space}</option>
47
  </select>
48
- <label><b>Other Delimiters</b> </label><input type = 'text' name='others_delimiter' id ='others_delimiter' size=6>
49
  </select>
50
  </div>
51
  </td>
52
  </tr>
53
  <tr>
54
- <td><label><input type='checkbox' name='getdataforspecificperiod' id='getdataforspecificperiod' value='getdataforspecificperiod' onclick='addexportfilter(this.id);' /><span id="align"> Export data for the specific period</span></label>
55
  <div id='specificperiodexport' style='padding:10px;display:none;'>
56
- <label id='periodstartfrom'><b> Start From </b></label>
57
  <input type='text' class='form-control' name='postdatefrom' style='cursor:default;width:25%;' readonly id='postdatefrom' value='' />
58
- <label id='periodendto'><b> End To </b></label>
59
  <input type='text' class='form-control' name='postdateto' style='cursor:default;width:25%;' readonly id='postdateto' value='' />
60
  <input type='hidden' name='nonce' id='nonce' value='<?php if(isset($noncedata)) { echo $noncedata; }?>'>
61
  </div>
62
  </td>
63
  </tr>
64
  <tr>
65
- <td><label><input type='checkbox' name='getdatawithspecificstatus' id='getdatawithspecificstatus' value='getdatawithspecificstatus' onclick='addexportfilter(this.id);' /><span id="align"> Export data with the specific status</span></label>
66
  <div id='specificstatusexport' style='padding:10px;display:none;'>
67
- <label id='status'><b> Status </b></label>
68
  <select name='postwithstatus' id='postwithstatus'>
69
  <option>All</option>
70
  <option>Publish</option>
@@ -78,9 +78,9 @@ $noncedata = $skinnyData['wp_nonce'];
78
  </td>
79
  </tr>
80
  <tr>
81
- <td><label><input type='checkbox' name='getdatabyspecificauthors' id='getdatabyspecificauthors' value='getdatabyspecificauthors' onclick='addexportfilter(this.id);' /><span id="align"> Export data by specific authors</span></label>
82
  <div id='specificauthorexport' style='padding:10px;display:none;'>
83
- <label id='authors'><b> Authors </b></label>
84
  <?php $blogusers = get_users( 'blog_id=1&orderby=nicename' ); ?>
85
  <select name='postauthor' id='postauthor' >
86
  <option value='0'>All</option>
@@ -105,20 +105,20 @@ $noncedata = $skinnyData['wp_nonce'];
105
  </div>
106
  <div class="table-responsive" id="exporttable">
107
  <table class='table exportmodule'>
108
- <th colspan='2'><label class='h-exportmodule'><h3 id="innertitle">Select your module to export the data </h3></label></th>
109
  <tr>
110
- <td class='exportdatatype'><label> <input type="radio" name="export" value="post"><span id="align"> Post</span> </label></td>
111
- <td class='exportdatatype'><label> <input type="radio" name="export" value="eshop"><span id="align"> Eshop</span> </label></td>
112
  </tr>
113
  <tr>
114
- <td class='exportdatatype'><label> <input type="radio" name="export" value="page"><span id="align"> Page</span> </label></td>
115
- <td class='exportdatatype'><label> <input type="radio" name="export" value="wpcommerce"><span id="align"> Wp-Commerce</span></label></td>
116
  </tr>
117
  <tr>
118
  <td class='exportdatatype'>
119
- <label> <input type="radio" name="export" value="custompost"><span id="align"> Custom Post</span></label>
120
  <select name="export_post_type" style="margin-left:10px" id = "export_post_type">
121
- <option>--Select--</option>
122
  <?php
123
  foreach (get_post_types() as $key => $value) {
124
  if (($value != 'featured_image') && ($value != 'attachment') && ($value != 'wpsc-product') && ($value != 'wpsc-product-file') && ($value != 'revision') && ($value != 'nav_menu_item') && ($value != 'post') && ($value != 'page') && ($value != 'wp-types-group') && ($value != 'wp-types-user-group') && ($value != 'product') && ($value != 'product_variation') && ($value != 'shop_order') && ($value != 'shop_coupon') && ($value != 'acf')) {
@@ -130,21 +130,21 @@ $noncedata = $skinnyData['wp_nonce'];
130
  ?>
131
  </select>
132
  </td>
133
- <td class='exportdatatype'><label> <input type="radio" name="export" value="woocommerce"><span id="align"> Woo-Commerce</span></label></td>
134
  </tr>
135
  <tr>
136
- <td class='exportdatatype'><label> <input type="radio" name="export" value="category"><span id="align"> Category</span></label></td>
137
- <td class='exportdatatype'><label> <input type="radio" name="export" value="marketpress"><span id="align"> Marketpress</span></label></td>
138
  </tr>
139
  <tr>
140
- <td class='exportdatatype'><label> <input type="radio" name="export" value="tags"><span id="align"> Tags </label></span></td>
141
- <td class='exportdatatype'><label> <input type="radio" name="export" value="customerreviews"><span id="align"> Customer Reviews</span></label></td>
142
  </tr>
143
  <tr>
144
  <td class='exportdatatype'>
145
- <label> <input type="radio" name="export" value="customtaxonomy"><span id="align"> Custom Taxonomy</span></label>
146
  <select name="export_taxo_type" style="margin-left:10px;" id = "export_taxo_type">
147
- <option>--Select--</option>
148
  <?php
149
  foreach (get_taxonomies() as $key => $value) {
150
  if (($value != 'category') && ($value != 'post_tag') && ($value != 'nav_menu') && ($value != 'link_category') && ($value != 'post_format') && ($value != 'product_tag') && ($value != 'wpsc_product_category') && ($value != 'wpsc-variation')) {
@@ -155,10 +155,10 @@ $noncedata = $skinnyData['wp_nonce'];
155
  }
156
  ?>
157
  </select></td>
158
- <td class='exportdatatype'><label> <input type="radio" name="export" value="comments"><span id="align"> Comments</span></label></td>
159
  </tr>
160
  <tr>
161
- <td class='exportdatatype'><label> <input type="radio" name="export" value="users"><span id="align"> Users</span></label></td>
162
  <td class='exportdatatype'></td>
163
  </tr>
164
  </table>
@@ -238,13 +238,13 @@ $noncedata = $skinnyData['wp_nonce'];
238
  </div>
239
  */ ?>
240
  <div class='form-group exportedas'>
241
- <label class='col-sm-2 control-label'><b> File Name: </b></label>
242
 
243
  <div class='col-sm-6'>
244
  <input class='form-control' type='text' name='export_filename' id='export_filename' value=''
245
  placeholder="export_as_<?php echo(date("Y-m-d")); ?>" size="18">
246
  </div>
247
- <div class='col-sm-3'><input type="submit" id = "exportbutton" name="exportbutton" value="Export" class='btn btn-primary' onclick = "exportsubmit();"></div>
248
 
249
  </form>
250
  </div>
17
  <div class="accordion-group">
18
 
19
  <div id="collapseTwo" class="accordion-body in collapse">
20
+ <span style="margin: 4% 0px 4% 22%; color: red; font-weight: bold;" name="warning" id="warning" ><p><marquee onmouseover="this.stop();" onmouseout="this.start();"><span><?php echo __('Check your system configuration before proceeding the export. It may help to prevent from facing server configuration issues','wp-ultimate-csv-importer'); ?></span><span style='position:relative;left:4px;'><a href='<?php echo $siteurl?>/wp-admin/admin.php?page=wp-ultimate-csv-importer/index.php&__module=settings'><?php echo __('Click here','wp-ultimate-csv-importer'); ?></a><?php echo __('to refer your server configuration.'); ?></span></marquee></p></span>
21
 
22
  <div class="accordion-inner">
23
  <div>
24
  <span class="settings-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/export.png" width="24" height="24" /> </span>
25
 
26
+ <label> <h3 id="exporttitle"><?php echo __('Export Data With Advanced Filters','wp-ultimate-csv-importer'); ?></h3></label>
27
  </div>
28
  <div style="margin-left:20px;">
29
  <form id = "exportmoduleform" class="form-horizontal" method="post" name="exportmodule" action = "<?php echo admin_url('admin-ajax.php'); ?>" onsubmit = "return export_module();">
32
  <input name="action" value="export_file" type="hidden">
33
  <div class="table-responsive">
34
  <table style='width:100%;' class='table exportmodule'>
35
+ <th colspan='2'><label class='h-exportmodule'><h3 id="innertitle"><?php echo __('To export data based on the filters','wp-ultimate-csv-importer'); ?></h3></label></th>
36
  <tr>
37
+ <td><label><input type='checkbox' name='getdatawithdelimiter' id='getdatawithdelimiter' value='getdatawithdelimeter' onclick='addexportfilter(this.id);' /><span id="align"><?php echo __('Export data with auto delimiter','wp-ultimate-csv-importer'); ?></span></label>
38
  <div id='delimeter' style='padding:10px;display:none;'>
39
+ <label id='delistatus'><b><?php echo __('Delimiters','wp-ultimate-csv-importer'); ?> </b></label>
40
  <select name='postwithdelimiter' id='postwithdelimiter'>
41
+ <option><?php echo __('Select','wp-ultimate-csv-importer'); ?></option>
42
  <option>,</option>
43
  <option>:</option>
44
  <option>;</option>
45
  <option>{Tab}</option>
46
  <option>{Space}</option>
47
  </select>
48
+ <label><b><?php echo __('Other Delimiters','wp-ultimate-csv-importer'); ?></b> </label><input type = 'text' name='others_delimiter' id ='others_delimiter' size=6>
49
  </select>
50
  </div>
51
  </td>
52
  </tr>
53
  <tr>
54
+ <td><label><input type='checkbox' name='getdataforspecificperiod' id='getdataforspecificperiod' value='getdataforspecificperiod' onclick='addexportfilter(this.id);' /><span id="align"><?php echo __('Export data for the specific period','wp-ultimate-csv-importer'); ?></span></label>
55
  <div id='specificperiodexport' style='padding:10px;display:none;'>
56
+ <label id='periodstartfrom'><b><?php echo __('Start From','wp-ultimate-csv-importer'); ?> </b></label>
57
  <input type='text' class='form-control' name='postdatefrom' style='cursor:default;width:25%;' readonly id='postdatefrom' value='' />
58
+ <label id='periodendto'><b><?php echo __('End To','wp-ultimate-csv-importer'); ?> </b></label>
59
  <input type='text' class='form-control' name='postdateto' style='cursor:default;width:25%;' readonly id='postdateto' value='' />
60
  <input type='hidden' name='nonce' id='nonce' value='<?php if(isset($noncedata)) { echo $noncedata; }?>'>
61
  </div>
62
  </td>
63
  </tr>
64
  <tr>
65
+ <td><label><input type='checkbox' name='getdatawithspecificstatus' id='getdatawithspecificstatus' value='getdatawithspecificstatus' onclick='addexportfilter(this.id);' /><span id="align"><?php echo __('Export data with the specific status','wp-ultimate-csv-importer'); ?></span></label>
66
  <div id='specificstatusexport' style='padding:10px;display:none;'>
67
+ <label id='status'><b><?php echo __('Status','wp-ultimate-csv-importer'); ?> </b></label>
68
  <select name='postwithstatus' id='postwithstatus'>
69
  <option>All</option>
70
  <option>Publish</option>
78
  </td>
79
  </tr>
80
  <tr>
81
+ <td><label><input type='checkbox' name='getdatabyspecificauthors' id='getdatabyspecificauthors' value='getdatabyspecificauthors' onclick='addexportfilter(this.id);' /><span id="align"><?php echo __('Export data by specific authors','wp-ultimate-csv-importer'); ?></span></label>
82
  <div id='specificauthorexport' style='padding:10px;display:none;'>
83
+ <label id='authors'><b><?php echo __('Authors','wp-ultimate-csv-importer'); ?></b></label>
84
  <?php $blogusers = get_users( 'blog_id=1&orderby=nicename' ); ?>
85
  <select name='postauthor' id='postauthor' >
86
  <option value='0'>All</option>
105
  </div>
106
  <div class="table-responsive" id="exporttable">
107
  <table class='table exportmodule'>
108
+ <th colspan='2'><label class='h-exportmodule'><h3 id="innertitle"><?php echo __('Select your module to export the data','wp-ultimate-csv-importer'); ?></h3></label></th>
109
  <tr>
110
+ <td class='exportdatatype'><label> <input type="radio" name="export" value="post"><span id="align"><?php echo __('Post','wp-ultimate-csv-importer'); ?></span> </label></td>
111
+ <td class='exportdatatype'><label> <input type="radio" name="export" value="eshop"><span id="align"><?php echo __('Eshop','wp-ultimate-csv-importer'); ?></span> </label></td>
112
  </tr>
113
  <tr>
114
+ <td class='exportdatatype'><label> <input type="radio" name="export" value="page"><span id="align"><?php echo __('Page','wp-ultimate-csv-importer'); ?></span> </label></td>
115
+ <td class='exportdatatype'><label> <input type="radio" name="export" value="wpcommerce"><span id="align"><?php echo __('Wp-Commerce</span','wp-ultimate-csv-importer'); ?></label></td>
116
  </tr>
117
  <tr>
118
  <td class='exportdatatype'>
119
+ <label> <input type="radio" name="export" value="custompost"><span id="align"><?php echo __('Custom Post','wp-ultimate-csv-importer'); ?></span></label>
120
  <select name="export_post_type" style="margin-left:10px" id = "export_post_type">
121
+ <option><?php echo __('--Select--','wp-ultimate-csv-importer'); ?></option>
122
  <?php
123
  foreach (get_post_types() as $key => $value) {
124
  if (($value != 'featured_image') && ($value != 'attachment') && ($value != 'wpsc-product') && ($value != 'wpsc-product-file') && ($value != 'revision') && ($value != 'nav_menu_item') && ($value != 'post') && ($value != 'page') && ($value != 'wp-types-group') && ($value != 'wp-types-user-group') && ($value != 'product') && ($value != 'product_variation') && ($value != 'shop_order') && ($value != 'shop_coupon') && ($value != 'acf')) {
130
  ?>
131
  </select>
132
  </td>
133
+ <td class='exportdatatype'><label> <input type="radio" name="export" value="woocommerce"><span id="align"><?php echo __('Woo-Commerce','wp-ultimate-csv-importer'); ?></span></label></td>
134
  </tr>
135
  <tr>
136
+ <td class='exportdatatype'><label> <input type="radio" name="export" value="category"><span id="align"><?php echo __('Category','wp-ultimate-csv-importer'); ?></span></label></td>
137
+ <td class='exportdatatype'><label> <input type="radio" name="export" value="marketpress"><span id="align"><?php echo __('Marketpress','wp-ultimate-csv-importer'); ?></span></label></td>
138
  </tr>
139
  <tr>
140
+ <td class='exportdatatype'><label> <input type="radio" name="export" value="tags"><span id="align"><?php echo __('Tags','wp-ultimate-csv-importer'); ?> </label></span></td>
141
+ <td class='exportdatatype'><label> <input type="radio" name="export" value="customerreviews"><span id="align"><?php echo __('Customer Reviews','wp-ultimate-csv-importer'); ?></span></label></td>
142
  </tr>
143
  <tr>
144
  <td class='exportdatatype'>
145
+ <label> <input type="radio" name="export" value="customtaxonomy"><span id="align"><?php echo __('Custom Taxonomy','wp-ultimate-csv-importer'); ?></span></label>
146
  <select name="export_taxo_type" style="margin-left:10px;" id = "export_taxo_type">
147
+ <option><?php echo __('--Select--','wp-ultimate-csv-importer'); ?></option>
148
  <?php
149
  foreach (get_taxonomies() as $key => $value) {
150
  if (($value != 'category') && ($value != 'post_tag') && ($value != 'nav_menu') && ($value != 'link_category') && ($value != 'post_format') && ($value != 'product_tag') && ($value != 'wpsc_product_category') && ($value != 'wpsc-variation')) {
155
  }
156
  ?>
157
  </select></td>
158
+ <td class='exportdatatype'><label> <input type="radio" name="export" value="comments"><span id="align"><?php echo __('Comments','wp-ultimate-csv-importer'); ?></span></label></td>
159
  </tr>
160
  <tr>
161
+ <td class='exportdatatype'><label> <input type="radio" name="export" value="users"><span id="align"><?php echo __('Users','wp-ultimate-csv-importer'); ?></span></label></td>
162
  <td class='exportdatatype'></td>
163
  </tr>
164
  </table>
238
  </div>
239
  */ ?>
240
  <div class='form-group exportedas'>
241
+ <label class='col-sm-2 control-label'><b><?php echo __('File Name:','wp-ultimate-csv-importer'); ?> </b></label>
242
 
243
  <div class='col-sm-6'>
244
  <input class='form-control' type='text' name='export_filename' id='export_filename' value=''
245
  placeholder="export_as_<?php echo(date("Y-m-d")); ?>" size="18">
246
  </div>
247
+ <div class='col-sm-3'><input type="submit" id = "exportbutton" name="exportbutton" value="<?php echo __('Export','wp-ultimate-csv-importer'); ?>" class='btn btn-primary' onclick = "exportsubmit();"></div>
248
 
249
  </form>
250
  </div>
modules/page/templates/index.php CHANGED
@@ -46,7 +46,7 @@ $nonce_Key = $impCE->create_nonce_key();
46
  <table class="table-importer">
47
  <tr>
48
  <td>
49
- <h3><?php echo __('CSV Import Options',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
50
  <div id='sec-one' <?php if($_REQUEST['step']!= 'uploadfile') {?> style='display:none;' <?php } ?>>
51
  <?php if(is_dir($impCE->getUploadDirectory('default'))){
52
  if (!is_writable($impCE->getUploadDirectory('default'))) {
@@ -81,15 +81,15 @@ $nonce_Key = $impCE->create_nonce_key();
81
  <tr>
82
  <div id='showmappingtemplate' style='float:left;padding-left:10px;'>
83
  <select disabled>
84
- <option value ='select template' /> <?php echo __('select template',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </option>
85
  </select>
86
  <img src="<?php echo WP_CONTENT_URL; ?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG; ?>/images/pro_icon.gif" title="PRO Feature" />
87
  </div>
88
  </div>
89
  <div style="float:right;">
90
- <input type='button' name='clearform' id='clearform' value='<?php echo __("Clear",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' onclick="Reload();"
91
  class='btn btn-warning' style="margin-right:15px"/>
92
- <input type='submit' name='importfile' id='importfile' title = '<?php echo __("Next",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' value='<?php echo $impCE->reduceStringLength(__("Next",WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Next'); echo __(" >>");?>' disabled
93
  class='btn btn-primary' style="margin-right:15px"/>
94
  </div>
95
  </tr>
@@ -217,11 +217,11 @@ $nonce_Key = $impCE->create_nonce_key();
217
  $custom_key = array();
218
  $wpcsvsettings=get_option('wpcsvfreesettings');
219
  ?>
220
- <h3><?php echo __('Map CSV to WP fields/attributes',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
221
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'mapping_settings') { ?>
222
  <div id='sec-two' <?php if($_REQUEST['step']!= 'mapping_settings'){ ?> style='display:none;' <?php } ?> >
223
  <div class='mappingsection'>
224
- <h2><div class="secondformheader"><?php echo __('Import Data Configuration',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div></h2>
225
  <?php
226
  if(isset($_FILES['inlineimages'])) {
227
  if(isset($_POST['uploadfilename']) && $_POST['uploadfilename'] != ''){
@@ -250,10 +250,10 @@ $nonce_Key = $impCE->create_nonce_key();
250
  <?php if(isset($_REQUEST['__module']) && $_REQUEST['__module']=='custompost'){ ?>
251
  <div class='importstatus' style='display:true;'>
252
  <input type="hidden" id="customposts" name="customposts" value="">
253
- <div style = 'float:left'> <label id="importalign"> <?php echo __('Select Post Type',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label> <span class="mandatory"> * </span> </div>
254
  <div style = 'float:left;margin-right:10px'>
255
  <select name='custompostlist' id='custompostlist'>
256
- <option value='select'><?php echo __('---Select---',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></option>
257
  <?php
258
  foreach (get_post_types() as $key => $value) {
259
  if (($value != 'featured_image') && ($value != 'attachment') && ($value != 'wpsc-product') && ($value != 'wpsc-product-file') && ($value != 'revision') && ($value != 'nav_menu_item') && ($value != 'post') && ($value != 'page') && ($value != 'wp-types-group') && ($value != 'wp-types-user-group')) {?>
@@ -267,7 +267,7 @@ $nonce_Key = $impCE->create_nonce_key();
267
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
268
  <span class="tooltipCustompost">
269
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
270
- <strong><?php echo __('Select your custompost type',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></strong>
271
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
272
  </span>
273
  </a>
@@ -328,9 +328,9 @@ $nonce_Key = $impCE->create_nonce_key();
328
  <input type='hidden' id='mappingArr' name='mappingArr' value='' />
329
  <input type='hidden' id='inline_image_location' name='inline_image_location' value='<?php if(isset($extracted_image_location)){ echo $extracted_image_location; }?>' />
330
  <input type='button' id='prev_record' name='prev_record' class="btn btn-primary" value='<<' onclick='gotoelement(this.id);' />
331
- <label style="padding-right:10px;" id='preview_of_row'><?php echo __('Showing preview of row # 1',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label>
332
  <input type='button' id='next_record' name='next_record' class="btn btn-primary" value='>>' onclick='gotoelement(this.id);' />
333
- <label id="importalign" style="margin-right:8px;"> <?php echo __('Go To Row #',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label><input type='text' id='goto_element' name='goto_element' />
334
  <input type='button' id='apply_element' name='apply_element' class="btn btn-success" value='Show' onclick='gotoelement(this.id);' style="margin-right:10px;margin-left:5px"/>
335
  </div>
336
  </td>
@@ -343,7 +343,7 @@ $nonce_Key = $impCE->create_nonce_key();
343
  unset($impCE->defCols['post_format']);
344
  }
345
  ?>
346
- <tr><td class="left_align columnheader"> <b><?php echo __('CSV HEADER',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></b> </td><td class="columnheader"> <b><?php echo __('WP FIELDS',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></b> </td><td > <b><?php echo __('CSV ROW',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></b> </td><td></td></tr>
347
  <?php
348
  $mappingFields_arr = array();
349
  foreach ($impCE->headers as $key => $value)
@@ -351,7 +351,7 @@ $nonce_Key = $impCE->create_nonce_key();
351
  <tr>
352
  <td class="left_align csvheader"> <label> <?php print($value);?> </label> </td>
353
  <td class="left_align"> <select name="mapping<?php print($count); ?>" id="mapping<?php print($count); ?>" class="uiButton" onchange="addcustomfield(this.value,<?php echo $count; ?>);">
354
- <option id = "select"> <?php echo __('-- Select --',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </option>
355
  <?php
356
  foreach ($impCE->defCols as $key1 => $value1)
357
  {
@@ -414,12 +414,12 @@ $nonce_Key = $impCE->create_nonce_key();
414
  <img src="<?php echo WP_PLUGIN_URL . '/' .WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png'; ?>" />
415
  <span class="tooltipPostStatus">
416
  <img class="callout" src="<?php echo WP_PLUGIN_URL . '/'. WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/callout.gif'; ?>" />
417
- <strong><?php echo __('Give a name for your new custom field',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></strong>
418
  <img src="<?php echo WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png' ; ?>" style="margin-top: 6px;float:right;" />
419
  </span>
420
  </a>
421
  </span>
422
- <span style="display: none; color: red; margin-left: 5px;" id="customspan<?php echo $count ?>"><?php echo __('Replace the custom value',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span>
423
  </td>
424
  </tr>
425
  <?php
@@ -439,20 +439,20 @@ $nonce_Key = $impCE->create_nonce_key();
439
  <div>
440
  <div class="goto_import_options" align=center>
441
  <div class="mappingactions" style="margin-top:26px;">
442
- <input type='button' id='clear_mapping' title = '<?php echo __("clear Mapping",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' class='clear_mapping btn btn-warning' name='clear_mapping' value='<?php echo __('Clear',WP_CONST_ULTIMATE_CSV_IMP_SLUG);echo ' ';echo $impCE->reduceStringLength(__(' Mapping',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Mapping'); ?>' onclick='clearMapping();' style = 'float:left'/>
443
  <span style = ''>
444
  <a href="#" class="tooltip tooltip_smack" style = ''>
445
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
446
  <span class="tooltipClearMapping">
447
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
448
- <strong><?php echo __('Refresh to re-map fields',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></strong>
449
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
450
  </span>
451
  </a>
452
  </span>
453
  </div>
454
  <div class="mappingactions" >
455
- <input type='submit' id='goto_importer_setting' title = '<?php echo __('Next',WP_CONST_ULTIMATE_CSV_IMP_SLUG);?>' class='goto_importer_setting btn btn-info' name='goto_importer_setting' value='<?php echo $impCE->reduceStringLength(__('Next',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Next'); ?> >>' />
456
  </div>
457
  </div>
458
  </div>
@@ -464,7 +464,7 @@ $nonce_Key = $impCE->create_nonce_key();
464
  </tr>
465
  <tr>
466
  <td>
467
- <h3><?php echo __('Settings and Performance',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
468
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'importoptions') { ?>
469
  <div id='sec-three' <?php if($_REQUEST['step']!= 'importoptions'){ ?> style='display:none;' <?php } ?> >
470
  <?php //$prevoptionindex='';?>
@@ -494,8 +494,8 @@ $nonce_Key = $impCE->create_nonce_key();
494
  <div class="postbox" id="options" style=" margin-bottom:0px;">
495
  <!-- <h4 class="hndle">Search settings</h4>-->
496
  <div class="inside">
497
- <label id="importalign"><input type ='radio' id='importNow' name='importMode' value='' onclick='choose_import_mode(this.id);' checked/> <?php echo __("Import right away",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label>
498
- <label id="importalign"><input type ='radio' id='scheduleNow' name='importMode' value='' onclick='choose_import_mode(this.id);' disabled/> <?php echo __("Schedule now",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label>
499
  <div id='schedule' style='display:none'>
500
  <input type ='hidden' id='select_templatename' name='#select_templatename' value = '<?php if(isset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'])) { echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'] ; } ?>'>
501
  <?php //echo WPImporter_includes_schedulehelper::generatescheduleHTML(); ?>
@@ -524,16 +524,16 @@ $nonce_Key = $impCE->create_nonce_key();
524
  </select><br>
525
  <input name="filterhtml" id="filterhtml" type="checkbox" value="1"> Filter out HTML-Tags while comparing <br>
526
  <input name="filterhtmlentities" id="filterhtmlentities" type="checkbox" value="1"> Decode HTML-Entities before comparing <br>-->
527
- <label id="importalign"><input name='duplicatecontent' id='duplicatecontent' type="checkbox" value=""> <?php echo __('Detect duplicate post content',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> <br>
528
  <input type='hidden' name='wpnoncekey' id='wpnoncekey' value='<?php echo $nonce_Key; ?>' />
529
- <label id="importalign"><input name='duplicatetitle' id='duplicatetitle' type="checkbox" value="" > <?php echo __('Detect duplicate post title',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> <br>
530
- <label id="importalign"><?php echo __('No. of posts/rows per server request',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> <span class="mandatory" style="margin-left:-13px;margin-right:10px">*</span> <input name="importlimit" id="importlimit" type="text" value="1" placeholder="10" onblur="check_allnumeric(this.value);"></label> <?php echo $impCE->helpnotes(); ?> <br>
531
- <span class='msg' id='server_request_warning' style="display:none;color:red;margin-left:-10px;"><?php echo __('You can set upto ',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?><?php echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['totRecords']; ?> <?php echo __('per request.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span>
532
  <input type="hidden" id="currentlimit" name="currentlimit" value="0"/>
533
  <input type="hidden" id="tmpcount" name="tmpcount" value="0" />
534
  <input type="hidden" id="terminateaction" name="terminateaction" value="continue" />
535
- <label id="innertitle"><?php echo __('Inline image options',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label><br />
536
- <label id='importalign'> <input type ='checkbox' id='multiimage' name='multiimage' value = ''> <?php echo __('Insert Inline Images',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label><br>
537
  <!-- <div id='inlineimageoption' style="display:none;" >
538
  <label id="importalign"><input type="radio" name="inlineimage_location" id="imagewithextension" value="imagewithextension" onclick="inline_image_option(this.value);" /> Image name with extension </label>
539
  <label id="importalign"><input type="radio" name="inlineimage_location" id="inlineimage_location" value="inlineimage_location" onclick="inline_image_option(this.value);" /> <input type="text" name="imagelocation" id="imagelocation" placeholder="Inline Image Location" value="" onblur="customimagelocation(this.value);" style="margin-top:5px;margin-left:10px"/></label>
@@ -544,12 +544,12 @@ $nonce_Key = $impCE->create_nonce_key();
544
  Ignore these words while comparing <input name="filterwords" id="filterwords" type="text" value="">
545
  </li>-->
546
  </ul>
547
- <input id="startbutton" class="btn btn-primary" type="button" value="<?php echo __('Import Now',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings();" >
548
- <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="<?php echo __('Terminate Now',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" style="display:none;" onclick="terminateProcess();" />
549
- <input class="btn btn-warning" type="button" value="<?php echo __('Reload',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" id="importagain" style="display:none" onclick="import_again();">
550
- <input id="continuebutton" class="btn btn-lg btn-success" type="button" value="<?php echo __('Continue',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" style="display:none;color: #ffffff;" onclick="continueprocess();">
551
  <!-- <input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
552
- <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> <?php echo __('Processing...',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div>
553
  <div class="clear"></div>
554
  </form>
555
  </div>
@@ -570,7 +570,7 @@ $nonce_Key = $impCE->create_nonce_key();
570
  <table class="table-importer">
571
  <tr>
572
  <td>
573
- <h3><?php echo __("Summary",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
574
  <div id='reportLog' class='postbox' style='display:none;'>
575
  <input type='hidden' name = 'csv_version' id = 'csv_version' value = "<?php if(isset($_POST['uploaded_csv_name'])) { echo $_POST['uploaded_csv_name']; } ?>">
576
  <div id="logtabs" class="logcontainer">
46
  <table class="table-importer">
47
  <tr>
48
  <td>
49
+ <h3><?php echo __('CSV Import Options','wp-ultimate-csv-importer'); ?></h3>
50
  <div id='sec-one' <?php if($_REQUEST['step']!= 'uploadfile') {?> style='display:none;' <?php } ?>>
51
  <?php if(is_dir($impCE->getUploadDirectory('default'))){
52
  if (!is_writable($impCE->getUploadDirectory('default'))) {
81
  <tr>
82
  <div id='showmappingtemplate' style='float:left;padding-left:10px;'>
83
  <select disabled>
84
+ <option value ='select template' /> <?php echo __('select template','wp-ultimate-csv-importer'); ?> </option>
85
  </select>
86
  <img src="<?php echo WP_CONTENT_URL; ?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG; ?>/images/pro_icon.gif" title="PRO Feature" />
87
  </div>
88
  </div>
89
  <div style="float:right;">
90
+ <input type='button' name='clearform' id='clearform' value='<?php echo __("Clear",'wp-ultimate-csv-importer'); ?>' onclick="Reload();"
91
  class='btn btn-warning' style="margin-right:15px"/>
92
+ <input type='submit' name='importfile' id='importfile' title = '<?php echo __("Next",'wp-ultimate-csv-importer'); ?>' value='<?php echo $impCE->reduceStringLength(__("Next",'wp-ultimate-csv-importer'),'Next'); echo __(" >>");?>' disabled
93
  class='btn btn-primary' style="margin-right:15px"/>
94
  </div>
95
  </tr>
217
  $custom_key = array();
218
  $wpcsvsettings=get_option('wpcsvfreesettings');
219
  ?>
220
+ <h3><?php echo __('Map CSV to WP fields/attributes','wp-ultimate-csv-importer'); ?></h3>
221
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'mapping_settings') { ?>
222
  <div id='sec-two' <?php if($_REQUEST['step']!= 'mapping_settings'){ ?> style='display:none;' <?php } ?> >
223
  <div class='mappingsection'>
224
+ <h2><div class="secondformheader"><?php echo __('Import Data Configuration','wp-ultimate-csv-importer'); ?></div></h2>
225
  <?php
226
  if(isset($_FILES['inlineimages'])) {
227
  if(isset($_POST['uploadfilename']) && $_POST['uploadfilename'] != ''){
250
  <?php if(isset($_REQUEST['__module']) && $_REQUEST['__module']=='custompost'){ ?>
251
  <div class='importstatus' style='display:true;'>
252
  <input type="hidden" id="customposts" name="customposts" value="">
253
+ <div style = 'float:left'> <label id="importalign"> <?php echo __('Select Post Type','wp-ultimate-csv-importer'); ?> </label> <span class="mandatory"> * </span> </div>
254
  <div style = 'float:left;margin-right:10px'>
255
  <select name='custompostlist' id='custompostlist'>
256
+ <option value='select'>---Select---</option>
257
  <?php
258
  foreach (get_post_types() as $key => $value) {
259
  if (($value != 'featured_image') && ($value != 'attachment') && ($value != 'wpsc-product') && ($value != 'wpsc-product-file') && ($value != 'revision') && ($value != 'nav_menu_item') && ($value != 'post') && ($value != 'page') && ($value != 'wp-types-group') && ($value != 'wp-types-user-group')) {?>
267
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
268
  <span class="tooltipCustompost">
269
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
270
+ <strong><?php echo __('Select your custompost type','wp-ultimate-csv-importer'); ?></strong>
271
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
272
  </span>
273
  </a>
328
  <input type='hidden' id='mappingArr' name='mappingArr' value='' />
329
  <input type='hidden' id='inline_image_location' name='inline_image_location' value='<?php if(isset($extracted_image_location)){ echo $extracted_image_location; }?>' />
330
  <input type='button' id='prev_record' name='prev_record' class="btn btn-primary" value='<<' onclick='gotoelement(this.id);' />
331
+ <label style="padding-right:10px;" id='preview_of_row'><?php echo __('Showing preview of row # 1','wp-ultimate-csv-importer'); ?></label>
332
  <input type='button' id='next_record' name='next_record' class="btn btn-primary" value='>>' onclick='gotoelement(this.id);' />
333
+ <label id="importalign" style="margin-right:8px;"> <?php echo __('Go To Row #','wp-ultimate-csv-importer'); ?></label><input type='text' id='goto_element' name='goto_element' />
334
  <input type='button' id='apply_element' name='apply_element' class="btn btn-success" value='Show' onclick='gotoelement(this.id);' style="margin-right:10px;margin-left:5px"/>
335
  </div>
336
  </td>
343
  unset($impCE->defCols['post_format']);
344
  }
345
  ?>
346
+ <tr><td class="left_align columnheader"> <b><?php echo __('CSV HEADER','wp-ultimate-csv-importer'); ?></b> </td><td class="columnheader"> <b><?php echo __('WP FIELDS','wp-ultimate-csv-importer'); ?></b> </td><td > <b><?php echo __('CSV ROW','wp-ultimate-csv-importer'); ?></b> </td><td></td></tr>
347
  <?php
348
  $mappingFields_arr = array();
349
  foreach ($impCE->headers as $key => $value)
351
  <tr>
352
  <td class="left_align csvheader"> <label> <?php print($value);?> </label> </td>
353
  <td class="left_align"> <select name="mapping<?php print($count); ?>" id="mapping<?php print($count); ?>" class="uiButton" onchange="addcustomfield(this.value,<?php echo $count; ?>);">
354
+ <option id = "select">-- Select --</option>
355
  <?php
356
  foreach ($impCE->defCols as $key1 => $value1)
357
  {
414
  <img src="<?php echo WP_PLUGIN_URL . '/' .WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png'; ?>" />
415
  <span class="tooltipPostStatus">
416
  <img class="callout" src="<?php echo WP_PLUGIN_URL . '/'. WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/callout.gif'; ?>" />
417
+ <strong><?php echo __('Give a name for your new custom field','wp-ultimate-csv-importer'); ?></strong>
418
  <img src="<?php echo WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png' ; ?>" style="margin-top: 6px;float:right;" />
419
  </span>
420
  </a>
421
  </span>
422
+ <span style="display: none; color: red; margin-left: 5px;" id="customspan<?php echo $count ?>"><?php echo __('Replace the custom value','wp-ultimate-csv-importer'); ?></span>
423
  </td>
424
  </tr>
425
  <?php
439
  <div>
440
  <div class="goto_import_options" align=center>
441
  <div class="mappingactions" style="margin-top:26px;">
442
+ <input type='button' id='clear_mapping' title = '<?php echo __("clear Mapping",'wp-ultimate-csv-importer'); ?>' class='clear_mapping btn btn-warning' name='clear_mapping' value='<?php echo __('Clear','wp-ultimate-csv-importer');echo ' ';echo $impCE->reduceStringLength(__(' Mapping','wp-ultimate-csv-importer'),'Mapping'); ?>' onclick='clearMapping();' style = 'float:left'/>
443
  <span style = ''>
444
  <a href="#" class="tooltip tooltip_smack" style = ''>
445
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
446
  <span class="tooltipClearMapping">
447
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
448
+ <strong><?php echo __('Refresh to re-map fields','wp-ultimate-csv-importer'); ?></strong>
449
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
450
  </span>
451
  </a>
452
  </span>
453
  </div>
454
  <div class="mappingactions" >
455
+ <input type='submit' id='goto_importer_setting' title = '<?php echo __('Next','wp-ultimate-csv-importer');?>' class='goto_importer_setting btn btn-info' name='goto_importer_setting' value='<?php echo $impCE->reduceStringLength(__('Next','wp-ultimate-csv-importer'),'Next'); ?> >>' />
456
  </div>
457
  </div>
458
  </div>
464
  </tr>
465
  <tr>
466
  <td>
467
+ <h3><?php echo __('Settings and Performance','wp-ultimate-csv-importer'); ?></h3>
468
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'importoptions') { ?>
469
  <div id='sec-three' <?php if($_REQUEST['step']!= 'importoptions'){ ?> style='display:none;' <?php } ?> >
470
  <?php //$prevoptionindex='';?>
494
  <div class="postbox" id="options" style=" margin-bottom:0px;">
495
  <!-- <h4 class="hndle">Search settings</h4>-->
496
  <div class="inside">
497
+ <label id="importalign"><input type ='radio' id='importNow' name='importMode' value='' onclick='choose_import_mode(this.id);' checked/> <?php echo __("Import right away",'wp-ultimate-csv-importer'); ?> </label>
498
+ <label id="importalign"><input type ='radio' id='scheduleNow' name='importMode' value='' onclick='choose_import_mode(this.id);' disabled/> <?php echo __("Schedule now",'wp-ultimate-csv-importer'); ?> </label>
499
  <div id='schedule' style='display:none'>
500
  <input type ='hidden' id='select_templatename' name='#select_templatename' value = '<?php if(isset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'])) { echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'] ; } ?>'>
501
  <?php //echo WPImporter_includes_schedulehelper::generatescheduleHTML(); ?>
524
  </select><br>
525
  <input name="filterhtml" id="filterhtml" type="checkbox" value="1"> Filter out HTML-Tags while comparing <br>
526
  <input name="filterhtmlentities" id="filterhtmlentities" type="checkbox" value="1"> Decode HTML-Entities before comparing <br>-->
527
+ <label id="importalign"><input name='duplicatecontent' id='duplicatecontent' type="checkbox" value=""> <?php echo __('Detect duplicate post content','wp-ultimate-csv-importer'); ?></label> <br>
528
  <input type='hidden' name='wpnoncekey' id='wpnoncekey' value='<?php echo $nonce_Key; ?>' />
529
+ <label id="importalign"><input name='duplicatetitle' id='duplicatetitle' type="checkbox" value="" > <?php echo __('Detect duplicate post title','wp-ultimate-csv-importer'); ?></label> <br>
530
+ <label id="importalign"><?php echo __('No. of posts/rows per server request','wp-ultimate-csv-importer'); ?></label> <span class="mandatory" style="margin-left:-13px;margin-right:10px">*</span> <input name="importlimit" id="importlimit" type="text" value="1" placeholder="10" onblur="check_allnumeric(this.value);"></label> <?php echo $impCE->helpnotes(); ?> <br>
531
+ <span class='msg' id='server_request_warning' style="display:none;color:red;margin-left:-10px;"><?php echo __('You can set upto ','wp-ultimate-csv-importer'); ?><?php echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['totRecords']; ?> <?php echo __('per request.','wp-ultimate-csv-importer'); ?></span>
532
  <input type="hidden" id="currentlimit" name="currentlimit" value="0"/>
533
  <input type="hidden" id="tmpcount" name="tmpcount" value="0" />
534
  <input type="hidden" id="terminateaction" name="terminateaction" value="continue" />
535
+ <label id="innertitle"><?php echo __('Inline image options','wp-ultimate-csv-importer'); ?></label><br />
536
+ <label id='importalign'> <input type ='checkbox' id='multiimage' name='multiimage' value = ''> <?php echo __('Insert Inline Images','wp-ultimate-csv-importer'); ?> </label><br>
537
  <!-- <div id='inlineimageoption' style="display:none;" >
538
  <label id="importalign"><input type="radio" name="inlineimage_location" id="imagewithextension" value="imagewithextension" onclick="inline_image_option(this.value);" /> Image name with extension </label>
539
  <label id="importalign"><input type="radio" name="inlineimage_location" id="inlineimage_location" value="inlineimage_location" onclick="inline_image_option(this.value);" /> <input type="text" name="imagelocation" id="imagelocation" placeholder="Inline Image Location" value="" onblur="customimagelocation(this.value);" style="margin-top:5px;margin-left:10px"/></label>
544
  Ignore these words while comparing <input name="filterwords" id="filterwords" type="text" value="">
545
  </li>-->
546
  </ul>
547
+ <input id="startbutton" class="btn btn-primary" type="button" value="<?php echo __('Import Now','wp-ultimate-csv-importer'); ?>" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings();" >
548
+ <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="<?php echo __('Terminate Now','wp-ultimate-csv-importer'); ?>" style="display:none;" onclick="terminateProcess();" />
549
+ <input class="btn btn-warning" type="button" value="<?php echo __('Reload','wp-ultimate-csv-importer'); ?>" id="importagain" style="display:none" onclick="import_again();">
550
+ <input id="continuebutton" class="btn btn-lg btn-success" type="button" value="<?php echo __('Continue','wp-ultimate-csv-importer'); ?>" style="display:none;color: #ffffff;" onclick="continueprocess();">
551
  <!-- <input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
552
+ <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> <?php echo __('Processing...','wp-ultimate-csv-importer'); ?></div>
553
  <div class="clear"></div>
554
  </form>
555
  </div>
570
  <table class="table-importer">
571
  <tr>
572
  <td>
573
+ <h3><?php echo __("Summary",'wp-ultimate-csv-importer'); ?></h3>
574
  <div id='reportLog' class='postbox' style='display:none;'>
575
  <input type='hidden' name = 'csv_version' id = 'csv_version' value = "<?php if(isset($_POST['uploaded_csv_name'])) { echo $_POST['uploaded_csv_name']; } ?>">
576
  <div id="logtabs" class="logcontainer">
modules/post/templates/index.php CHANGED
@@ -45,7 +45,7 @@ $nonce_Key = $impCE->create_nonce_key();
45
  <table class="table-importer">
46
  <tr>
47
  <td>
48
- <h3><?php echo __('CSV Import Options',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
49
  <div id='sec-one' <?php if($_REQUEST['step']!= 'uploadfile') {?> style='display:none;' <?php } ?>>
50
  <?php if(is_dir($impCE->getUploadDirectory('default'))) {
51
  if (!is_writable($impCE->getUploadDirectory('default'))) {
@@ -81,7 +81,7 @@ $nonce_Key = $impCE->create_nonce_key();
81
  <tr>
82
  <div id='showmappingtemplate' style='float:left;padding-left:10px;'>
83
  <select disabled/>
84
- <option value ='select template' > <?php echo __('select template',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </option>
85
  </select>
86
  <img src="<?php echo WP_CONTENT_URL; ?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG; ?>/images/pro_icon.gif" title="PRO Feature" />
87
  </div>
@@ -91,9 +91,9 @@ $nonce_Key = $impCE->create_nonce_key();
91
  </div>
92
 
93
  <div style="float:right;">
94
- <input type='button' name='clearform' id='clearform' title = '<?php echo __("Clear",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' value='<?php echo $impCE->reduceStringLength(__("Clear",WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Clear'); ?>' onclick="Reload();" class='btn btn-warning' style="margin-right:15px;"/>
95
 
96
- <input type='submit' name='importfile' id='importfile' title = '<?php echo __("Next",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' value='<?php echo $impCE->reduceStringLength(__("Next",WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Next');?> >>' disabled class='btn btn-primary' style="margin-right:15px;"/>
97
  </div>
98
  </tr>
99
  </table>
@@ -219,11 +219,11 @@ $nonce_Key = $impCE->create_nonce_key();
219
  $custom_key = array();
220
  $wpcsvsettings=get_option('wpcsvfreesettings');
221
  ?>
222
- <h3>Map CSV to WP fields/attributes</h3>
223
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'mapping_settings') { ?>
224
  <div id='sec-two' <?php if($_REQUEST['step']!= 'mapping_settings'){ ?> style='display:none;' <?php } ?> >
225
  <div class='mappingsection'>
226
- <h2><div class="secondformheader">Import Data Configuration</div></h2>
227
  <?php
228
  if(isset($_FILES['inlineimages'])) {
229
  if(isset($_POST['uploadfilename']) && $_POST['uploadfilename'] != ''){
@@ -252,10 +252,10 @@ $nonce_Key = $impCE->create_nonce_key();
252
  <?php if(isset($_REQUEST['__module']) && $_REQUEST['__module']=='custompost'){ ?>
253
  <div class='importstatus' style='display:true;'>
254
  <input type="hidden" id="customposts" name="customposts" value="">
255
- <div style = 'float:left'> <label id="importalign"> Select Post Type </label> <span class="mandatory"> * </span> </div>
256
  <div style = 'float:left;margin-right:10px'>
257
  <select name='custompostlist' id='custompostlist'>
258
- <option value='select'><?php echo __('---Select---',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></option>
259
  <?php
260
  foreach (get_post_types() as $key => $value) {
261
  if (($value != 'featured_image') && ($value != 'attachment') && ($value != 'wpsc-product') && ($value != 'wpsc-product-file') && ($value != 'revision') && ($value != 'nav_menu_item') && ($value != 'post') && ($value != 'page') && ($value != 'wp-types-group') && ($value != 'wp-types-user-group')) {?>
@@ -269,7 +269,7 @@ $nonce_Key = $impCE->create_nonce_key();
269
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
270
  <span class="tooltipCustompost">
271
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
272
- <strong><?php echo __('Select your custompost type',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></strong>
273
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
274
  </span>
275
  </a>
@@ -334,10 +334,10 @@ $nonce_Key = $impCE->create_nonce_key();
334
  <input type='hidden' id='mappingArr' name='mappingArr' value='' />
335
  <input type='hidden' id='inline_image_location' name='inline_image_location' value='<?php if(isset($extracted_image_location)){ echo $extracted_image_location;} ?>' />
336
  <input type='button' id='prev_record' name='prev_record' class="btn btn-primary" value='<<' onclick='gotoelement(this.id);' />
337
- <label style="padding-right:10px;" id='preview_of_row'><?php echo __('Showing preview of row # 1',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label>
338
  <input type='button' id='next_record' name='next_record' class="btn btn-primary" value='>>' onclick='gotoelement(this.id);' />
339
- <label id="importalign" style="margin-right:8px;"><?php echo __('Go To Row #',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label> <input type='text' id='goto_element' name='goto_element' />
340
- <input type='button' id='apply_element' name='apply_element' class="btn btn-success" value='Show' onclick='gotoelement(this.id);' style="margin-right:10px;margin-left:5px"/>
341
  </div>
342
  </td>
343
  </tr>
@@ -352,14 +352,14 @@ $nonce_Key = $impCE->create_nonce_key();
352
  unset($impCE->defCols['wp_page_template']);
353
  }
354
  ?>
355
- <tr><td class="left_align columnheader"> <b><?php echo __('CSV HEADER',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></b> </td><td class="columnheader"> <b><?php echo __('WP FIELDS',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></b> </td><td class="columnheader"> <b><?php echo __('CSV ROW',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></b> </td><td></td></tr>
356
  <?php
357
  foreach ($impCE->headers as $key => $value)
358
  { ?>
359
  <tr>
360
  <td class="left_align csvheader"> <label> <?php print($value);?> </label> </td>
361
  <td class="left_align"> <select name="mapping<?php print($count); ?>" id="mapping<?php print($count); ?>" class="uiButton" onchange="addcustomfield(this.value,<?php echo $count; ?>);">
362
- <option id = "select"> <?php echo __('-- Select --',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </option>
363
  <?php
364
  foreach ($impCE->defCols as $key1 => $value1)
365
  {
@@ -396,7 +396,7 @@ $nonce_Key = $impCE->create_nonce_key();
396
  }
397
  }
398
  ?>
399
- <!--<option value="add_custom<?php print($count); ?>"><?php echo __('Add Custom Field',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></option>-->
400
  </select>
401
  <script type="text/javascript">
402
  jQuery("select#mapping<?php print($count); ?>").find('option').each(function() {
@@ -422,12 +422,12 @@ $nonce_Key = $impCE->create_nonce_key();
422
  <img src="<?php echo WP_PLUGIN_URL . '/' .WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png'; ?>" />
423
  <span class="tooltipPostStatus">
424
  <img class="callout" src="<?php echo WP_PLUGIN_URL . '/'. WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/callout.gif'; ?>" />
425
- <strong><?php echo __('Give a name for your new custom field',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></strong>
426
  <img src="<?php echo WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png' ; ?>" style="margin-top: 6px;float:right;" />
427
  </span>
428
  </a>
429
  </span>
430
- <span style="display: none; color: red; margin-left: 5px;" id="customspan<?php echo $count ?>"><?php echo __('Replace the custom value',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span>
431
  </td>
432
  </tr>
433
  <?php
@@ -447,20 +447,20 @@ $nonce_Key = $impCE->create_nonce_key();
447
  <div>
448
  <div class="goto_import_options" align=center>
449
  <div class="mappingactions" style="margin-top:26px;" >
450
- <input type='button' id='clear_mapping' class='clear_mapping btn btn-warning' name='clear_mapping' title = '<?php echo __("Clear Mapping",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' value='<?php echo __('Clear',WP_CONST_ULTIMATE_CSV_IMP_SLUG);echo ' '; echo $impCE->reduceStringLength(__(' Mapping',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Mapping'); ?>' onclick='clearMapping();' style = 'float:left'/>
451
  <span style = ''>
452
  <a href="#" class="tooltip tooltip_smack" style = ''>
453
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
454
  <span class="tooltipClearMapping">
455
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
456
- <strong><?php echo __('Refresh to re-map fields',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></strong>
457
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
458
  </span>
459
  </a>
460
  </span>
461
  </div>
462
  <div class="mappingactions" >
463
- <input type='submit' id='goto_importer_setting' title = '<?php echo __("Next",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' class='goto_importer_setting btn btn-info' name='goto_importer_setting' value='<?php echo $impCE->reduceStringLength(__('Next',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Next'); ?> >>' />
464
  </div>
465
  </div>
466
  </div>
@@ -472,7 +472,7 @@ $nonce_Key = $impCE->create_nonce_key();
472
  </tr>
473
  <tr>
474
  <td>
475
- <h3><?php echo __('Settings and Performance',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
476
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'importoptions') { ?>
477
  <div id='sec-three' <?php if($_REQUEST['step']!= 'importoptions'){ ?> style='display:none;' <?php } ?> >
478
  <?php //$prevoptionindex='';?>
@@ -502,8 +502,8 @@ $nonce_Key = $impCE->create_nonce_key();
502
  <div class="postbox" id="options" style=" margin-bottom:0px;">
503
  <!-- <h4 class="hndle">Search settings</h4>-->
504
  <div class="inside">
505
- <label id="importalign"><input type ='radio' id='importNow' name='importMode' value='' onclick='choose_import_mode(this.id);' checked/> <?php echo __("Import right away",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label>
506
- <label id="importalign"><input type ='radio' id='scheduleNow' name='importMode' value='' onclick='choose_import_mode(this.id);' disabled/> <?php echo __("Schedule now",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label>
507
  <div id='schedule' style='display:none'>
508
  <input type ='hidden' id='select_templatename' name='#select_templatename' value = '<?php if(isset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'])) { echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'] ; } ?>'>
509
  <?php //echo WPImporter_includes_schedulehelper::generatescheduleHTML(); ?>
@@ -533,16 +533,16 @@ $nonce_Key = $impCE->create_nonce_key();
533
  </select><br>
534
  <input name="filterhtml" id="filterhtml" type="checkbox" value="1"> Filter out HTML-Tags while comparing <br>
535
  <input name="filterhtmlentities" id="filterhtmlentities" type="checkbox" value="1"> Decode HTML-Entities before comparing <br>-->
536
- <label id="importalign"><input name='duplicatecontent' id='duplicatecontent' type="checkbox" value=""> <?php echo __('Detect duplicate post content',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> <br>
537
  <input type='hidden' name='wpnoncekey' id='wpnoncekey' value='<?php echo $nonce_Key; ?>' />
538
- <label id="importalign"><input name='duplicatetitle' id='duplicatetitle' type="checkbox" value="" > <?php echo __('Detect duplicate post title',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> <br>
539
- <label id="importalign"><?php echo __('No. of posts/rows per server request',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label><span class="mandatory" style="margin-left:-13px;margin-right:10px">*</span> <input name="importlimit" id="importlimit" type="text" value="1" placeholder="10" onblur="check_allnumeric(this.value);"></label> <?php echo $impCE->helpnotes(); ?><br>
540
- <span class='msg' id='server_request_warning' style="display:none;color:red;margin-left:-10px;"><?php echo __('You can set upto',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> <?php echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['totRecords']; ?> <?php echo __('per request.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span>
541
  <input type="hidden" id="currentlimit" name="currentlimit" value="0"/>
542
  <input type="hidden" id="tmpcount" name="tmpcount" value="0" />
543
  <input type="hidden" id="terminateaction" name="terminateaction" value="continue" />
544
- <label id="innertitle"><?php echo __('Inline image options',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label><br />
545
- <label id='importalign'> <input type ='checkbox' id='multiimage' name='multiimage' value = ''> <?php echo __('Insert Inline Images',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label><br>
546
  <!-- <div id='inlineimageoption' style="display:none;" >
547
  <label id="importalign"><input type="radio" name="inlineimage_location" id="imagewithextension" value="imagewithextension" onclick="inline_image_option(this.value);" /> Image name with extension </label>
548
  <label id="importalign"><input type="radio" name="inlineimage_location" id="inlineimage_location" value="inlineimage_location" onclick="inline_image_option(this.value);" /> <input type="text" name="imagelocation" id="imagelocation" placeholder="Inline Image Location" value="" onblur="customimagelocation(this.value);" style="margin-top:5px;margin-left:10px" /></label>
@@ -554,12 +554,12 @@ $nonce_Key = $impCE->create_nonce_key();
554
  </li>-->
555
  </ul>
556
  <!-- <input id="goto_back" name="goto_back" class="btn btn-warning" type="button" value="<< Back" onclick="gotoback();" /> -->
557
- <input id="startbutton" class="btn btn-primary" type="button" value="<?php echo __('Import Now',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings('<?php echo site_url(); ?>');" >
558
- <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="<?php echo __('Terminate Now',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" style="display:none;" onclick="terminateProcess();" />
559
- <input class="btn btn-warning" type="button" value="<?php echo __('Reload',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" id="importagain" style="display:none" onclick="import_again();" />
560
- <input id="continuebutton" class="btn btn-lg btn-success" type="button" value="<?php echo __('Continue',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" style="display:none;color: #ffffff;" onclick="continueprocess();">
561
  <!--<input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
562
- <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> <?php echo __('Processing...',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div>
563
 
564
  <div class="clear"></div>
565
  </form>
@@ -581,7 +581,7 @@ $nonce_Key = $impCE->create_nonce_key();
581
  <table class="table-importer">
582
  <tr>
583
  <td>
584
- <h3><?php echo __("Summary",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
585
  <div id='reportLog' class='postbox' style='display:none;'>
586
  <input type='hidden' name = 'csv_version' id = 'csv_version' value = "<?php if(isset($_POST['uploaded_csv_name'])) { echo $_POST['uploaded_csv_name']; } ?>">
587
  <div id="logtabs" class="logcontainer">
45
  <table class="table-importer">
46
  <tr>
47
  <td>
48
+ <h3><?php echo __('CSV Import Options','wp-ultimate-csv-importer'); ?></h3>
49
  <div id='sec-one' <?php if($_REQUEST['step']!= 'uploadfile') {?> style='display:none;' <?php } ?>>
50
  <?php if(is_dir($impCE->getUploadDirectory('default'))) {
51
  if (!is_writable($impCE->getUploadDirectory('default'))) {
81
  <tr>
82
  <div id='showmappingtemplate' style='float:left;padding-left:10px;'>
83
  <select disabled/>
84
+ <option value ='select template' > <?php echo __('select template','wp-ultimate-csv-importer'); ?> </option>
85
  </select>
86
  <img src="<?php echo WP_CONTENT_URL; ?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG; ?>/images/pro_icon.gif" title="PRO Feature" />
87
  </div>
91
  </div>
92
 
93
  <div style="float:right;">
94
+ <input type='button' name='clearform' id='clearform' title = '<?php echo __("Clear",'wp-ultimate-csv-importer'); ?>' value='<?php echo $impCE->reduceStringLength(__("Clear",'wp-ultimate-csv-importer'),'Clear'); ?>' onclick="Reload();" class='btn btn-warning' style="margin-right:15px;"/>
95
 
96
+ <input type='submit' name='importfile' id='importfile' title = '<?php echo __("Next",'wp-ultimate-csv-importer'); ?>' value='<?php echo $impCE->reduceStringLength(__("Next",'wp-ultimate-csv-importer'),'Next');?> >>' disabled class='btn btn-primary' style="margin-right:15px;"/>
97
  </div>
98
  </tr>
99
  </table>
219
  $custom_key = array();
220
  $wpcsvsettings=get_option('wpcsvfreesettings');
221
  ?>
222
+ <h3><?php echo __('Map CSV to WP fields/attributes','wp-ultimate-csv-importer'); ?></h3>
223
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'mapping_settings') { ?>
224
  <div id='sec-two' <?php if($_REQUEST['step']!= 'mapping_settings'){ ?> style='display:none;' <?php } ?> >
225
  <div class='mappingsection'>
226
+ <h2><div class="secondformheader"><?php echo __('Import Data Configuration','wp-ultimate-csv-importer'); ?></div></h2>
227
  <?php
228
  if(isset($_FILES['inlineimages'])) {
229
  if(isset($_POST['uploadfilename']) && $_POST['uploadfilename'] != ''){
252
  <?php if(isset($_REQUEST['__module']) && $_REQUEST['__module']=='custompost'){ ?>
253
  <div class='importstatus' style='display:true;'>
254
  <input type="hidden" id="customposts" name="customposts" value="">
255
+ <div style = 'float:left'> <label id="importalign"><?php echo __('Select Post Type','wp-ultimate-csv-importer'); ?> </label> <span class="mandatory"> * </span> </div>
256
  <div style = 'float:left;margin-right:10px'>
257
  <select name='custompostlist' id='custompostlist'>
258
+ <option value='select'>---Select---</option>
259
  <?php
260
  foreach (get_post_types() as $key => $value) {
261
  if (($value != 'featured_image') && ($value != 'attachment') && ($value != 'wpsc-product') && ($value != 'wpsc-product-file') && ($value != 'revision') && ($value != 'nav_menu_item') && ($value != 'post') && ($value != 'page') && ($value != 'wp-types-group') && ($value != 'wp-types-user-group')) {?>
269
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
270
  <span class="tooltipCustompost">
271
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
272
+ <strong><?php echo __('Select your custompost type','wp-ultimate-csv-importer'); ?></strong>
273
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
274
  </span>
275
  </a>
334
  <input type='hidden' id='mappingArr' name='mappingArr' value='' />
335
  <input type='hidden' id='inline_image_location' name='inline_image_location' value='<?php if(isset($extracted_image_location)){ echo $extracted_image_location;} ?>' />
336
  <input type='button' id='prev_record' name='prev_record' class="btn btn-primary" value='<<' onclick='gotoelement(this.id);' />
337
+ <label style="padding-right:10px;" id='preview_of_row'><?php echo __('Showing preview of row # 1','wp-ultimate-csv-importer'); ?> </label>
338
  <input type='button' id='next_record' name='next_record' class="btn btn-primary" value='>>' onclick='gotoelement(this.id);' />
339
+ <label id="importalign" style="margin-right:8px;"><?php echo __('Go To Row #','wp-ultimate-csv-importer'); ?> </label> <input type='text' id='goto_element' name='goto_element' />
340
+ <input type='button' id='apply_element' name='apply_element' class="btn btn-success" value='<?php echo __('Show','wp-ultimate-csv-importer'); ?>' onclick='gotoelement(this.id);' style="margin-right:10px;margin-left:5px"/>
341
  </div>
342
  </td>
343
  </tr>
352
  unset($impCE->defCols['wp_page_template']);
353
  }
354
  ?>
355
+ <tr><td class="left_align columnheader"> <b><?php echo __('CSV HEADER','wp-ultimate-csv-importer'); ?></b> </td><td class="columnheader"> <b><?php echo __('WP FIELDS','wp-ultimate-csv-importer'); ?></b> </td><td class="columnheader"> <b><?php echo __('CSV ROW','wp-ultimate-csv-importer'); ?></b> </td><td></td></tr>
356
  <?php
357
  foreach ($impCE->headers as $key => $value)
358
  { ?>
359
  <tr>
360
  <td class="left_align csvheader"> <label> <?php print($value);?> </label> </td>
361
  <td class="left_align"> <select name="mapping<?php print($count); ?>" id="mapping<?php print($count); ?>" class="uiButton" onchange="addcustomfield(this.value,<?php echo $count; ?>);">
362
+ <option id = "select">-- Select --</option>
363
  <?php
364
  foreach ($impCE->defCols as $key1 => $value1)
365
  {
396
  }
397
  }
398
  ?>
399
+ <!--<option value="add_custom<?php print($count); ?>"><?php echo __('Add Custom Field','wp-ultimate-csv-importer'); ?></option>-->
400
  </select>
401
  <script type="text/javascript">
402
  jQuery("select#mapping<?php print($count); ?>").find('option').each(function() {
422
  <img src="<?php echo WP_PLUGIN_URL . '/' .WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png'; ?>" />
423
  <span class="tooltipPostStatus">
424
  <img class="callout" src="<?php echo WP_PLUGIN_URL . '/'. WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/callout.gif'; ?>" />
425
+ <strong><?php echo __('Give a name for your new custom field','wp-ultimate-csv-importer'); ?></strong>
426
  <img src="<?php echo WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png' ; ?>" style="margin-top: 6px;float:right;" />
427
  </span>
428
  </a>
429
  </span>
430
+ <span style="display: none; color: red; margin-left: 5px;" id="customspan<?php echo $count ?>"><?php echo __('Replace the custom value','wp-ultimate-csv-importer'); ?></span>
431
  </td>
432
  </tr>
433
  <?php
447
  <div>
448
  <div class="goto_import_options" align=center>
449
  <div class="mappingactions" style="margin-top:26px;" >
450
+ <input type='button' id='clear_mapping' class='clear_mapping btn btn-warning' name='clear_mapping' title = '<?php echo __("Clear Mapping",'wp-ultimate-csv-importer'); ?>' value='<?php echo __('Clear','wp-ultimate-csv-importer');echo ' '; echo $impCE->reduceStringLength(__(' Mapping','wp-ultimate-csv-importer'),'Mapping'); ?>' onclick='clearMapping();' style = 'float:left'/>
451
  <span style = ''>
452
  <a href="#" class="tooltip tooltip_smack" style = ''>
453
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
454
  <span class="tooltipClearMapping">
455
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
456
+ <strong><?php echo __('Refresh to re-map fields','wp-ultimate-csv-importer'); ?></strong>
457
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
458
  </span>
459
  </a>
460
  </span>
461
  </div>
462
  <div class="mappingactions" >
463
+ <input type='submit' id='goto_importer_setting' title = '<?php echo __("Next",'wp-ultimate-csv-importer'); ?>' class='goto_importer_setting btn btn-info' name='goto_importer_setting' value='<?php echo $impCE->reduceStringLength(__('Next','wp-ultimate-csv-importer'),'Next'); ?> >>' />
464
  </div>
465
  </div>
466
  </div>
472
  </tr>
473
  <tr>
474
  <td>
475
+ <h3><?php echo __('Settings and Performance','wp-ultimate-csv-importer'); ?></h3>
476
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'importoptions') { ?>
477
  <div id='sec-three' <?php if($_REQUEST['step']!= 'importoptions'){ ?> style='display:none;' <?php } ?> >
478
  <?php //$prevoptionindex='';?>
502
  <div class="postbox" id="options" style=" margin-bottom:0px;">
503
  <!-- <h4 class="hndle">Search settings</h4>-->
504
  <div class="inside">
505
+ <label id="importalign"><input type ='radio' id='importNow' name='importMode' value='' onclick='choose_import_mode(this.id);' checked/> <?php echo __("Import right away",'wp-ultimate-csv-importer'); ?> </label>
506
+ <label id="importalign"><input type ='radio' id='scheduleNow' name='importMode' value='' onclick='choose_import_mode(this.id);' disabled/> <?php echo __("Schedule now",'wp-ultimate-csv-importer'); ?> </label>
507
  <div id='schedule' style='display:none'>
508
  <input type ='hidden' id='select_templatename' name='#select_templatename' value = '<?php if(isset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'])) { echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'] ; } ?>'>
509
  <?php //echo WPImporter_includes_schedulehelper::generatescheduleHTML(); ?>
533
  </select><br>
534
  <input name="filterhtml" id="filterhtml" type="checkbox" value="1"> Filter out HTML-Tags while comparing <br>
535
  <input name="filterhtmlentities" id="filterhtmlentities" type="checkbox" value="1"> Decode HTML-Entities before comparing <br>-->
536
+ <label id="importalign"><input name='duplicatecontent' id='duplicatecontent' type="checkbox" value=""> <?php echo __('Detect duplicate post content','wp-ultimate-csv-importer'); ?></label> <br>
537
  <input type='hidden' name='wpnoncekey' id='wpnoncekey' value='<?php echo $nonce_Key; ?>' />
538
+ <label id="importalign"><input name='duplicatetitle' id='duplicatetitle' type="checkbox" value="" > <?php echo __('Detect duplicate post title','wp-ultimate-csv-importer'); ?></label> <br>
539
+ <label id="importalign"><?php echo __('No. of posts/rows per server request','wp-ultimate-csv-importer'); ?></label><span class="mandatory" style="margin-left:-13px;margin-right:10px">*</span> <input name="importlimit" id="importlimit" type="text" value="1" placeholder="10" onblur="check_allnumeric(this.value);"></label> <?php echo $impCE->helpnotes(); ?><br>
540
+ <span class='msg' id='server_request_warning' style="display:none;color:red;margin-left:-10px;"><?php echo __('You can set upto','wp-ultimate-csv-importer'); ?> <?php echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['totRecords']; ?> <?php echo __('per request.','wp-ultimate-csv-importer'); ?></span>
541
  <input type="hidden" id="currentlimit" name="currentlimit" value="0"/>
542
  <input type="hidden" id="tmpcount" name="tmpcount" value="0" />
543
  <input type="hidden" id="terminateaction" name="terminateaction" value="continue" />
544
+ <label id="innertitle"><?php echo __('Inline image options','wp-ultimate-csv-importer'); ?></label><br />
545
+ <label id='importalign'> <input type ='checkbox' id='multiimage' name='multiimage' value = ''> <?php echo __('Insert Inline Images','wp-ultimate-csv-importer'); ?> </label><br>
546
  <!-- <div id='inlineimageoption' style="display:none;" >
547
  <label id="importalign"><input type="radio" name="inlineimage_location" id="imagewithextension" value="imagewithextension" onclick="inline_image_option(this.value);" /> Image name with extension </label>
548
  <label id="importalign"><input type="radio" name="inlineimage_location" id="inlineimage_location" value="inlineimage_location" onclick="inline_image_option(this.value);" /> <input type="text" name="imagelocation" id="imagelocation" placeholder="Inline Image Location" value="" onblur="customimagelocation(this.value);" style="margin-top:5px;margin-left:10px" /></label>
554
  </li>-->
555
  </ul>
556
  <!-- <input id="goto_back" name="goto_back" class="btn btn-warning" type="button" value="<< Back" onclick="gotoback();" /> -->
557
+ <input id="startbutton" class="btn btn-primary" type="button" value="<?php echo __('Import Now','wp-ultimate-csv-importer'); ?>" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings('<?php echo site_url(); ?>');" >
558
+ <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="<?php echo __('Terminate Now','wp-ultimate-csv-importer'); ?>" style="display:none;" onclick="terminateProcess();" />
559
+ <input class="btn btn-warning" type="button" value="<?php echo __('Reload','wp-ultimate-csv-importer'); ?>" id="importagain" style="display:none" onclick="import_again();" />
560
+ <input id="continuebutton" class="btn btn-lg btn-success" type="button" value="<?php echo __('Continue','wp-ultimate-csv-importer'); ?>" style="display:none;color: #ffffff;" onclick="continueprocess();">
561
  <!--<input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
562
+ <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> <?php echo __('Processing...','wp-ultimate-csv-importer'); ?></div>
563
 
564
  <div class="clear"></div>
565
  </form>
581
  <table class="table-importer">
582
  <tr>
583
  <td>
584
+ <h3><?php echo __("Summary",'wp-ultimate-csv-importer'); ?></h3>
585
  <div id='reportLog' class='postbox' style='display:none;'>
586
  <input type='hidden' name = 'csv_version' id = 'csv_version' value = "<?php if(isset($_POST['uploaded_csv_name'])) { echo $_POST['uploaded_csv_name']; } ?>">
587
  <div id="logtabs" class="logcontainer">
modules/settings/actions/actions.php CHANGED
@@ -58,7 +58,7 @@ class SettingsActions extends SkinnyActions
58
  if(isset($_POST['savesettings'])){
59
  update_option('wpcsvfreesettings',$_POST);
60
  $data['savesettings'] = 'done';
61
- echo "<script> location.reload(); </script>";
62
  }
63
  $setingsArr = array('post', 'page', 'custompost', 'comments', 'categories', 'customtaxonomy', 'users', 'eshop', 'wpcommerce', 'woocommerce', 'custompostuitype', 'cctm', 'acf', 'aioseo', 'yoastseo', 'enable', 'disable', 'nonerseooption', 'nonercustompost', 'nonerecommerce', 'recommerce','enable_plugin_access_for_author', 'send_log_email', 'enable_debug', 'disable_debug', 'debug_mode');
64
  foreach($setingsArr as $option)
58
  if(isset($_POST['savesettings'])){
59
  update_option('wpcsvfreesettings',$_POST);
60
  $data['savesettings'] = 'done';
61
+ //echo "<script> location.reload(); </script>";
62
  }
63
  $setingsArr = array('post', 'page', 'custompost', 'comments', 'categories', 'customtaxonomy', 'users', 'eshop', 'wpcommerce', 'woocommerce', 'custompostuitype', 'cctm', 'acf', 'aioseo', 'yoastseo', 'enable', 'disable', 'nonerseooption', 'nonercustompost', 'nonerecommerce', 'recommerce','enable_plugin_access_for_author', 'send_log_email', 'enable_debug', 'disable_debug', 'debug_mode');
64
  foreach($setingsArr as $option)
modules/settings/templates/index.php CHANGED
@@ -42,10 +42,10 @@ $nonce_Key = $impCE->create_nonce_key();
42
  if(! wp_verify_nonce($nonce_Key, 'smack_nonce'))
43
  die('You are not allowed to do this operation.Please contact your admin.');
44
  ?>
45
- <div style ='text-align:center;margin:0;color:red;font-size:smaller;'> <?php echo __('Your Required Settings Configuration Please Select Security and Performance tab',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </div></br>
46
  <div id="ShowMsg" style="display:none;"><p id="warning-msg" class="alert alert-warning"><?php echo $skinnyData['plugStatus'];?></p></div>
47
  <?php if(isset($skinnyData['savesettings']) && $skinnyData['savesettings'] == 'done'){ ?>
48
- <div id="deletesuccess"><p class="alert alert-success"><?php echo __('Settings Saved',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></p></div>
49
  <?php
50
  $skinnyData['savesettings'] == 'notdone';
51
  ?>
@@ -63,50 +63,50 @@ global $wpdb; ?>
63
  <form class="add:the-list: validate" action="" name="importerSettings" method="post" enctype="multipart/form-data">
64
  <div id="settingheader">
65
  <span class="corner-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/lSettingsCorner.png" width="24" height="24" /> </span>
66
- <span><label id="activemenu"><?php echo __('General Settings',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label></span>
67
- <button class="action btnn btn-primary" onclick="saveSettings();" style="float:right;position:relative; margin: 7px 15px 5px;padding:5px 10px;" value="Save" name="savesettings" type="submit"><?php echo __('Save Changes',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </button>
68
  </div>
69
  <div id="settingsholder">
70
  <div id="sidebar">
71
  <ul>
72
  <li id="1" class="bg-sidebar selected" onclick="showsettingsoption(this.id);">
73
  <span class="settings-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/settings.png" width="24" height="24" /> </span>
74
- <span id="settingmenu1" ><?php echo __('General Settings',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span>
75
  <span id="arrow1" class="list-arrow"></span>
76
  </li>
77
  <li id="2" class="bg-sidebar" onclick="showsettingsoption(this.id);">
78
  <span class="settings-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/lcustomposts.png" width="24" height="24" /> </span>
79
- <span id="settingmenu2" ><?php echo __('Custom Posts & Taxonomy',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span>
80
  <span id="arrow2" class="list-arrow" style="display:none;" ></span>
81
  </li>
82
  <li id="3" class="bg-sidebar" onclick="showsettingsoption(this.id);">
83
  <span class="settings-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/lcustomfields.png" width="24" height="24" /> </span>
84
- <span id="settingmenu3" ><?php echo __('Custom Fields',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span>
85
  <span id="arrow3" class="list-arrow" style="display:none;" ></span>
86
  </li>
87
  <li id="4" class="bg-sidebar" onclick="showsettingsoption(this.id);">
88
  <span class="settings-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/lcart.png" width="24" height="24" /> </span>
89
- <span id="settingmenu4" ><?php echo __('Ecommerce Settings',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span>
90
  <span id="arrow4" class="list-arrow" style="display:none;" ></span>
91
  </li>
92
  <li id="5" class="bg-sidebar" onclick="showsettingsoption(this.id);">
93
  <span class="settings-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/seo24.png" width="24" height="24" /> </span>
94
- <span id="settingmenu5" ><?php echo __('SEO Settings',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span>
95
  <span id="arrow5" class="list-arrow" style="display:none;" ></span>
96
  </li>
97
  <li id="6" class="bg-sidebar" onclick="showsettingsoption(this.id);">
98
  <span class="settings-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/additionalfeatures.png" width="24" height="24" /> </span>
99
- <span id="settingmenu6" ><?php echo __('Additional Features',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span>
100
  <span id="arrow6" class="list-arrow" style="display:none;" ></span>
101
  </li>
102
  <li id="7" class="bg-sidebar" onclick="showsettingsoption(this.id);">
103
  <span class="settings-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/DBOptimize.png" width="24" height="24" /> </span>
104
- <span id="settingmenu7" ><?php echo __('Database Optimization',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span>
105
  <span id="arrow7" class="list-arrow" style="display:none;" ></span>
106
  </li>
107
  <li id="8" class="bg-sidebar" onclick="showsettingsoption(this.id);">
108
  <span class="settings-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/security.png" width="24" height="24" /> </span>
109
- <span id="settingmenu8" ><?php echo __('Security and Performance',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span>
110
  <span id="arrow8" class="list-arrow" style="display:none;" ></span>
111
  </li>
112
  <!--<li id="9" class="bg-sidebar" onclick="showsettingsoption(this.id);">
@@ -120,45 +120,45 @@ global $wpdb; ?>
120
  <!-- div-1-->
121
  <div id="section1" class="generalsettings">
122
  <div class="title">
123
- <h3><?php echo __('Enabled Modules',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
124
  <span style="float:right;margin-right:92px;margin-top:-34px;">
125
- <a href="#" id='checkallModules' title = <?php echo __('Check All',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>value = 'Check All' name='checkallModules' onclick="selectModules(this.id);"><?php echo $impCE->reduceStringLength(__('Check All',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Check All'); ?></a>
126
  </span>
127
  <span style="float:right;margin-right:5px;margin-top:-34px;">
128
- <a href="#" id='uncheckallModules' name='checkallModules' title = <?php echo __('Uncheck All',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> value = 'Un Check All' onclick='selectModules(this.id);'> / <?php echo $impCE->reduceStringLength(__('Uncheck All',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Uncheck All'); ?></a>
129
  </span>
130
  </div>
131
  <div id="data">
132
  <table>
133
  <tr><td>
134
- <h3 id="innertitle"><?php echo __('Post',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
135
  <label>
136
- <div><?php echo __('Enables to import posts with custompost and customfields.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div>
137
- <div><?php echo __('Enable to import posts with attributes from csv.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div>
138
  </label>
139
  </td><td>
140
  </td><td style="width:112px">
141
- <label id="postlabel" title="<?php echo __('Enable',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['post']; ?>"><input type='checkbox' name='post' id='post' value='post' <?php echo $skinnyData['post']; ?> onclick="postsetting(this.id);" checked disabled style="display:none"><?php echo $impCE->reduceStringLength(__('Enable',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Enable'); ?></label>
142
  <input type="hidden" name="post" id="post" value="post" />
143
- <label id="nopostlabel" title = "<?php echo __('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['nopost']; ?>"><input type='checkbox' name='post' onclick="postsetting(this.id);" checked disabled style="display:none"><?php echo $impCE->reduceStringLength(__('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Disable'); ?></label>
144
  </td></tr>
145
  <tr><td>
146
- <h3 id="innertitle"><?php echo __('Page',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
147
- <label><div><?php echo __('Enables to import pages with custompost and customfields.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div>
148
- <div><?php echo __('Enable to import pages with attributes from csv.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div></label>
149
  </td><td>
150
  </td><td style="width:112px">
151
- <label id="pagelabel" title = "<?php echo __('Enable',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['page']; ?>"><input type='checkbox' name='page' id='page' style="display:none" value='page' <?php echo $skinnyData['page']; ?> onclick="pagesetting(this.id);" checked disabled ><?php echo $impCE->reduceStringLength(__('Enable',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Enable'); ?></label>
152
  <input type="hidden" name="page" id="page" value="page" />
153
- <label id="nopagelabel" title = "<?php echo __('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['nopage']; ?>"><input type='checkbox' name='page' style="display:none" onclick="pagesetting(this.id);" checked disabled ><?php echo $impCE->reduceStringLength(__('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Disable'); ?></label>
154
  </td></tr>
155
  <tr><td>
156
- <h3 id="innertitle"><?php echo __('Users',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
157
- <label><?php echo __('Enable to import users with attributes from csv.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label>
158
  </td><td>
159
  </td><td style="width:112px">
160
- <label id="userlabel" title = "<?php echo __('Enable',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['users']; ?>" ><input type='checkbox' name='users' id='users' style="display:none" value='users' <?php echo $skinnyData['users']; ?> onclick="usersetting(this.id);" ><?php echo $impCE->reduceStringLength(__('Enable',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Enable'); ?></label>
161
- <label id="nouserlabel" title = "<?php echo __('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['nousers']; ?>" ><input type='checkbox' name='users' style="display:none" onclick="usersetting(this.id);" ><?php echo $impCE->reduceStringLength(__('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Disable'); ?></label>
162
  </td></tr>
163
  <!--<tr><td>
164
  <h3 id="innertitle"><?php //echo __('Comments',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
@@ -171,80 +171,80 @@ global $wpdb; ?>
171
  <label id="nocommentslabel" title = "<?php //echo __('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php //echo $skinnyData['nocomments']; ?>"><input type='checkbox' name='comments' style="display:none" onclick="commentsetting(this.id);" ><?php //echo $impCE->reduceStringLength(__('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Disable'); ?> </label>
172
  </td></tr>-->
173
  <tr><td>
174
- <h3 id="innertitle"><?php echo __('Custom Post',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
175
- <label><div><?php echo __('Enables to import Customposts.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div>
176
- <div><?php echo __('Enable to import custom posts with attributes from csv',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div></label></td><td>
177
  </td><td style="width:112px">
178
- <label id="cplabel" title = "<?php echo __('Enable',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['custompost']; ?>"><input type='checkbox' name='custompost' id='custompost' style="display:none" value='custompost' <?php echo $skinnyData['custompost']; ?> onclick="cpsetting(this.id);" checked disabled ><?php echo $impCE->reduceStringLength(__('Enable',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Enable'); ?> </label>
179
  <input type="hidden" name="custompost" id="custompost" value="custompost" />
180
- <label id="nocplabel" title = "<?php echo __('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['nocustompost']; ?>"><input type='checkbox' name='custompost' style="display:none" onclick="cpsetting(this.id);" checked disabled ><?php echo $impCE->reduceStringLength(__('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Disable'); ?></label>
181
  </td></tr>
182
  <tr><td>
183
- <h3 id="innertitle"><?php echo __('Custom Taxonomy',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
184
- <label><div><?php echo __('Enables to import Custom taxonomy.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div>
185
- <div><?php echo __('Enable to import nested custom taxonomies with description and slug for each from csv',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div></label>
186
  </td><td>
187
  </td><td style="width:112px">
188
- <label id="custaxlabel" title = "<?php echo __('Enable',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['customtaxonomy']; ?>" ><input type='checkbox' name='customtaxonomy' id='customtaxonomy' style="display:none" value='customtaxonomy' <?php echo $skinnyData['customtaxonomy']; ?> onclick="check_if_avail(this.name);" ><?php echo $impCE->reduceStringLength(__('Enable',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Enable'); ?></label>
189
- <label id="nocustaxlabel" title = "<?php echo __('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['nocustomtaxonomy']; ?>" ><input type='checkbox' name='customtaxonomy' style="display:none" onclick="check_if_avail(this.name);" ><?php echo $impCE->reduceStringLength(__('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Disable'); ?></label>
190
  </td></tr>
191
  <tr><td>
192
- <h3 id="innertitle"><?php echo __('Categories/Tags',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
193
- <label><div><?php echo __('Enables to import Categories.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div>
194
- <div><?php echo __('Enable to import nested categories with description and slug for each from csv.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div></label></td><td>
195
  </td><td style="width:112px">
196
- <label id="catlabel" title = "<?php echo __('Enable',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['categories']; ?>"><input type='checkbox' name='categories' id='categories' style="display:none" value='categories' <?php echo $skinnyData['categories']; ?> onclick="check_if_avail(this.name);" ><?php echo $impCE->reduceStringLength(__('Enable',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Enable'); ?></label>
197
- <label id="nocatlabel" title = "<?php echo __('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['nocategories']; ?>"><input type='checkbox' name='categories' style="display:none" onclick="check_if_avail(this.name);" ><?php echo $impCE->reduceStringLength(__('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Disable'); ?></label>
198
  </td></tr>
199
  <tr><td>
200
- <h3 id="innertitle"><?php echo __('Customer Reviews',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
201
- <label><div><?php echo __('Enables to import Customer reviews.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div>
202
- <div><?php echo __('Enable to import customer reviews with attributes from csv.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div></label></td><td>
203
  </td><td style="width:112px">
204
- <label id="custrevlabel" title = "<?php echo __('Enable',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['customerreviews'].' '.$skinnyData['acf'];?>" ><input type ='checkbox' name = 'rcustomfield' id='Customerreviews' style="display:none" value='Customerreviews' <?php echo $skinnyData['acf']; ?> onclick="check_if_avail(this.id);" ><?php echo $impCE->reduceStringLength(__('Enable',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Enable'); ?></label>
205
- <label id="nocustrevlabel" title = "<?php echo __('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['nocustomerreviews'];?>" ><input type ='checkbox' name = 'rcustomfield' style="display:none" onclick="check_if_avail(this.name);" ><?php echo $impCE->reduceStringLength(__('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Disable'); ?></label>
206
  <span id="pluginavail" class="moduleavail <?php if(isset($skinnyData['customerreviewstd'])) echo $skinnyData['customerreviewstd']; ?>"> </span>
207
  </td></tr>
208
  </tbody></table><br />
209
- <label style='color:red;'><?php echo __("Note: Supports WordPress Custom Post by default. For Custom Post Type UI plugin, please enable it under Custom Posts & Taxonomy",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label>
210
  </div>
211
  </div>
212
  <!--div-2 -->
213
  <div id="section2" class="custompost" style="display:none;">
214
  <div class="title" class="databorder" >
215
- <h3><?php echo __('Custom Posts & Taxonomy',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </h3>
216
  </div>
217
  <div id="data">
218
  <table>
219
  <tbody>
220
  <tr><td>
221
- <h3 id="innertitle" ><?php echo __('Default',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
222
- <label><?php echo __('Custom post types that are coded within wordpress codex apart from plugins.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label>
223
  </td><td>
224
  <label id="custompostsetting1" class="<?php echo $skinnyData['nonercustompost']; ?>" ><input type = 'radio' name ='rcustompost' id='nonercustompost'style="display:none" value='nonercustompost' <?php echo $skinnyData['nonercustompost']; ?> class='ecommerce' onclick="custompostsetting(this.id);"><span id="custompost1text"> <?php echo $skinnyData['default_status']; ?> </span></label>
225
  </td></tr>
226
  <tr><td>
227
- <h3 id="innertitle"><?php echo __('Custom Post Type UI',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
228
- <label><?php echo __('Import support for Custom Post Type UI data.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label></td><td>
229
  <label id="custompostsetting2" class="<?php echo $skinnyData['custompostuitype'];?>" ><input type ='radio' name = 'rcustompost' id='custompostuitype' style="display:none" value='custompostuitype' <?php echo $skinnyData['custompostuitype']; ?> onclick="custompostsetting(this.id);"><span id="custompost2text"> <?php echo $skinnyData['cptui_status']; ?> </span></label>
230
  <div id="pluginavail" class="<?php echo $skinnyData['cptutd'] ?>"> </div>
231
  </td></tr>
232
  <tr><td>
233
- <h3 id="innertitle"><?php echo __('Types Custom Posts & Taxonomy',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
234
- <label><?php echo __('Import support for Types Custom Post Type and taxonomies data.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> </td><td>
235
  <label id="custompostsetting3" class="<?php echo $skinnyData['cctm'];?>" >
236
  <input type ='radio' name = 'rcustompost' id='types' style="display:none" value='types' <?php echo $skinnyData['cctm']; ?> onclick="check_if_avail(this.id);" ><span id="custompost3text"> <?php echo $skinnyData['wptypes_status']; ?> </span></label>
237
  <div id="pluginavail" class="<?php if(isset($skinnyData['wptypestd'])) echo $skinnyData['wptypestd']; ?>"> </div>
238
  </td></tr>
239
  <tr><td>
240
- <h3 id="innertitle"><?php echo __('CCTM Custom Posts',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
241
- <label><?php echo __('Import support for CCTM Custom Posts from csv.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> </td><td>
242
  <label id="custompostsetting4" class="<?php echo $skinnyData['cctm'];?>" ><input type ='radio' name = 'rcustompost' id='cctm' style="display:none" value='cctm' <?php echo $skinnyData['cctm']; ?> onclick="check_if_avail(this.id);" ><span id="custompost4text"><?php echo $skinnyData['cctm_status']; ?></span> </label>
243
  <div id="pluginavail" class="<?php echo $skinnyData['cctmtd'] ?>"> </div>
244
  </td></tr>
245
  <tr><td>
246
- <h3 id="innertitle"><?php echo __('PODS Custom Posts & Taxonomy',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
247
- <label><?php echo __('Import support for PODS Custom Posts.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> </td><td>
248
  <label id="custompostsetting5" class="<?php echo $skinnyData['podspost']; ?>"><input type='radio' name='rcustompost' id='podspost' value='podspost' <?php echo $skinnyData['podspost']; ?> style="display:none" onclick="check_if_avail(this.id);"><span id="custompost5text"> <?php echo $skinnyData['podspost_status']; ?></span></label>
249
  <div id="pluginavail" class="<?php if(isset($skinnyData['podstd'])) echo $skinnyData['podstd']; ?>"> </div>
250
  </td></tr>
@@ -255,45 +255,45 @@ global $wpdb; ?>
255
  <!--div-3-->
256
  <div id="section3" class="Customfields" style="display:none;">
257
  <div class="title">
258
- <h3><?php echo __('Custom Fields',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
259
- <span id="resetcustfield"><a id="resetopt" href="#" value="reset" name="resetcustfield" onclick="resetOption(this.id);"><?php echo __('Reset Custom Field',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></a> </span>
260
  </div>
261
  <div id="data" class="databorder custom-fields" >
262
  <table>
263
  <tbody>
264
  <tr><td>
265
- <h3 id="innertitle"><?php echo __('WP-Members for Users',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
266
- <label><?php echo __('Enable to add import support WP-Members user fields.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> </td><td>
267
- <label id="wpusercheck" title = "<?php echo __('Enabled',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['checkuser'].' '.$skinnyData['acf'];?>" ><input type ='radio' name = 'rwpmembers' id='WP-Members' style="display:none" value='WP-Members' <?php echo $skinnyData['acf']; ?> onclick="check_if_avail(this.id);" ><span id="checkuser"><?php echo $impCE->reduceStringLength(__('Enabled',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Enabled'); ?></span></label>
268
- <label id="wpuseruncheck" title = "<?php echo __('Disabled',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['uncheckuser'];?>" ><input type ='radio' name = 'rwpmembers' style="display:none" onclick="check_if_avail(this.id);" ><?php echo $impCE->reduceStringLength(__('Disabled',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Disabled'); ?></label>
269
  </td></tr>
270
  <tr><td>
271
- <h3 id="innertitle"><?php echo __('WP e-Commerce Custom Fields',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </h3>
272
- <label><?php echo __('Enable to add import support for WP e-Commerce custom fields.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> </td>
273
  <td style="padding-left: 20px;">
274
  <input type='checkbox' name='recommerce' id='wpcommerce' value='wpcommerce' <?php echo $skinnyData['wpcommerce']; ?> class = 'ecommerce' onclick='check_if_avail(this.id);'>
275
  </td></tr>
276
  <tr><td>
277
- <h3 id="innertitle"><?php echo __('ACF Custom Fields',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
278
- <label><?php echo __('Enable to add import support for ACF Custom Fields.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> </td><td>
279
  <label id="customfieldsetting1" class="<?php echo $skinnyData['acf'];?>" ><input type ='checkbox' name = 'rcustomfield' id='acf' style="display:none" value='acf' <?php echo $skinnyData['acf']; ?> onclick="check_if_avail(this.id);" ><span id="customfield1text" > <?php echo $skinnyData['acf_status']; ?> </span></label>
280
  <div id="pluginavail" class="<?php echo $skinnyData['acftd'] ?>"> </div>
281
  </td></tr>
282
  <tr><td>
283
- <h3 id="innertitle"><?php echo __('CCTM Custom Fields',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
284
- <label><?php echo __('Enable to add import support for CCTM Custom Fields.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> </td><td>
285
  <label id="customfieldsetting2" class="<?php echo $skinnyData['cctmcustfields'].' '.$skinnyData['cctm'];?>" ><input type ='radio' name = 'rcustompost' id='cctmcustomfields' style="display:none" value='cctm' <?php echo $skinnyData['cctm']; ?> onclick="check_if_avail(this.id);" ><span id="customfield2text" > <?php echo $skinnyData['cctmfield_status']; ?> </span></label>
286
  <div id="pluginavail" class="<?php echo $skinnyData['cctmtd'] ?>"> </div>
287
  </td></tr>
288
  <tr><td>
289
- <h3 id="innertitle"><?php echo __('Types Custom Fields',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
290
- <label><?php echo __('Enable to add import support for Types custom fields.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> </td><td>
291
  <label id="customfieldsetting3" class="<?php echo $skinnyData['wptypescustfields']; ?>"><input type='radio' name='rcustomfield' id='typescustomfield' value='wptypescustfields' <?php echo $skinnyData['wptypes']; ?> style="display:none" onclick="check_if_avail(this.id);" /><span id="customfield3text" > <?php echo $skinnyData['typesfield_status']; ?> </span></label>
292
  <div id="pluginavail" class="<?php if(isset($skinnyData['wptypestd'])) echo $skinnyData['wptypestd']; ?>"> </div>
293
  </td></tr>
294
  <tr><td>
295
- <h3 id="innertitle"><?php echo __('PODS Custom Fields',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </h3>
296
- <label><?php echo __('Enable to add import support for PODS custom fields.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> </td><td>
297
  <label id="customfieldsetting4" class="<?php echo $skinnyData['podscustomfields']; ?>"><input type='radio' name='rcustomfield' id='podscustomfield' value='podscustomfields' <?php echo $skinnyData['podscustomfields']; ?> style="display:none" onclick="check_if_avail(this.id);" /><span id="customfield4text" > <?php echo $skinnyData['podsfield_status']; ?> </span></label>
298
  <div id="pluginavail" class="<?php if(isset($skinnyData['podstd'])) echo $skinnyData['podstd']; ?>"> </div>
299
  </td></tr>
@@ -304,38 +304,38 @@ global $wpdb; ?>
304
  <!--div-4 -->
305
  <div id="section4" class="ecommercesettings" style="display:none;">
306
  <div class="title">
307
- <h3><?php echo __('Ecommerce Settings',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
308
  </div>
309
  <div id="data" class="databorder" >
310
  <table>
311
  <tbody>
312
  <tr><td>
313
- <h3 id="innertitle"><?php echo __('None',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
314
- <label><?php echo __('Ecommerce import is disabled.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> </td><td>
315
  <label id="ecommercesetting1"class="<?php echo $skinnyData['nonerecommerce']; ?>"><input type = 'radio' name ='recommerce' id='nonerecommerce' value='nonerecommerce' <?php echo $skinnyData['nonerecommerce']; ?> class='ecommerce' checked style="display:none" onclick="ecommercesetting(this.id);" ><span id="ecommerce1text"> <?php echo $skinnyData['ecomnone_status']; ?> </span></label>
316
  </td></tr>
317
  <tr><td>
318
- <h3 id="innertitle"><?php echo __('Eshop',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </h3>
319
- <label><?php echo __('Enable ecommerce import for Eshop.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> </td><td>
320
  <label id="ecommercesetting2" class="<?php echo $skinnyData['eshop']; ?>">
321
  <input type='radio' name='recommerce' id='eshop' value='eshop' <?php echo $skinnyData['eshop']; ?> class='ecommerce' style="display:none" onclick="ecommercesetting(this.id);"><span id="ecommerce2text"><?php echo $skinnyData['eshop_status']; ?></span></label>
322
  <div id="pluginavail" class="<?php echo $skinnyData['eshoptd'] ?>"> </div>
323
  </td></tr>
324
  <tr><td>
325
- <h3 id="innertitle"><?php echo __('Marketpress Lite',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
326
- <label><?php echo __('Enable ecommerce import for marketpress Lite.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> </td><td>
327
  <label id="ecommercesetting3" class="<?php echo $skinnyData['woocommerce']; ?>"><input type='radio' name='recommerce' id='marketpress' value='marketpress' <?php echo $skinnyData['marketpress']; ?> class = 'woocommerce' onclick='check_if_avail(this.id);' style="display:none"><span id="ecommerce3text"><?php echo $skinnyData['marketpress_status']; ?></span></label>
328
  <div id="pluginavail" class="<?php if(isset($skinnyData['marketpresslitetd'])) echo $skinnyData['marketpresslitetd']; ?>"> </div>
329
  </td></tr>
330
  <tr><td>
331
- <h3 id="innertitle"><?php echo __('Woocommerce',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </h3>
332
- <label><?php echo __('Enable ecommerce import for Woocommerce.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> </td><td>
333
  <label id="ecommercesetting4" class="<?php echo $skinnyData['woocommerce']; ?>"><input type='radio' name='recommerce' id='woocommerce' value='woocommerce' <?php echo $skinnyData['woocommerce']; ?> class = 'woocommerce' onclick='check_if_avail(this.id);' style="display:none" ><span id="ecommerce4text"><?php echo $skinnyData['woocommerce_status']; ?></span> </label>
334
  <div id="pluginavail" class="<?php echo $skinnyData['woocomtd'] ?>"> </div>
335
  </td></tr>
336
  <tr><td>
337
- <h3 id="innertitle"> <?php echo __('WP e-Commerce',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
338
- <label><?php echo __('Enable ecommerce import for WP e-Commerce.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> </td><td>
339
  <label id="ecommercesetting5" class="<?php echo $skinnyData['wpcommerce']; ?>">
340
  <input type='radio' name='recommerce' id='wpcommerce' value='wpcommerce' <?php echo $skinnyData['wpcommerce']; ?> class = 'ecommerce' onclick='check_if_avail(this.id);' style="display:none" ><span id="ecommerce5text"><?php echo $skinnyData['wpcommerce_status']; ?></span></label>
341
  <div id="pluginavail" class="<?php echo $skinnyData['wpcomtd'] ?>"> </div>
@@ -347,25 +347,25 @@ global $wpdb; ?>
347
  <!--div-5-->
348
  <div id="section5" class="seosettings" style="display:none;">
349
  <div class="title">
350
- <h3><?php echo __('SEO Settings',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
351
  </div>
352
  <div id="data" class="databorder" >
353
  <table>
354
  <tbody>
355
  <tr><td>
356
- <h3 id="innertitle"><?php echo __('None',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
357
- <label><?php echo __('SEO Meta import is disabled.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> </td><td>
358
  <label id="seosetting1" class="<?php echo $skinnyData['nonerseooption'];?>" ><input type = 'radio' name ='rseooption' id='nonerseooption' value='nonerseooption' <?php #echo $skinnyData['nonerseooption']; ?> class='ecommerce' onclick="seosetting(this.id);" style="display:none"><span id="seosetting1text"> <?php echo $skinnyData['none_status']; ?> </span> </label>
359
  </td></tr>
360
  <tr><td>
361
- <h3 id="innertitle"><?php echo __('All-in-one SEO',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </h3>
362
- <label><?php echo __('Enable All-in-one SEO import.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> </td><td>
363
  <label id="seosetting2" class="<?php echo $skinnyData['aioseo']; ?>" ><input type ='radio' name = 'rseooption' id='aioseo' value='aioseo' <?php echo $skinnyData['aioseo']; ?> onclick="seosetting(this.id);" style="display:none"><span id="seosetting2text"> <?php echo $skinnyData['aioseo_status']; ?> </span></label>
364
  <div id="pluginavail" class="<?php echo $skinnyData['aioseotd'] ?>"> </div>
365
  </td></tr>
366
  <tr><td>
367
- <h3 id="innertitle"> <?php echo __('Yoast SEO',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
368
- <label><?php echo __('Enable Wordpress SEO by Yoast support.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> </td><td>
369
  <label id="seosetting3" class="<?php echo $skinnyData['yoastseo']; ?>" ><input type ='radio' name = 'rseooption' id='yoastseo' value='yoastseo' <?php echo $skinnyData['yoastseo']; ?> onclick="check_if_avail(this.id);" style="display:none"><span id="seosetting3text"><?php echo $skinnyData['yoastseo_status']; ?> </span></label>
370
  <div id="pluginavail" class="<?php echo $skinnyData['yoasttd'] ?>" > </div>
371
  </td></tr>
@@ -377,17 +377,17 @@ global $wpdb; ?>
377
  <!--div-6-->
378
  <div id="section6" class="additionalfeatures" style="display:none;">
379
  <div class="title">
380
- <h3><?php echo __('Additional Features',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
381
  </div>
382
  <div id="data">
383
  <table class="enablefeatures">
384
  <tbody>
385
  <tr><td>
386
  <label class=$automapping>
387
- <input type='checkbox' name='automapping' id='automapping' value='automapping' checked disabled onclick="check_if_avail(this.id);" ><span id="align"><?php echo __('Enable Auto Mapping',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span></label>
388
  </td></tr>
389
  <tr><td>
390
- <label class=$utfsupport><input type='checkbox' name='rutfsupport' id='utfsupport' value='utfsupport' checked disabled onclick="check_if_avail(this.id);" ><span id="align"><?php echo __('Enable UTF Support',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span></label>
391
  </td></tr>
392
  <!--<tr class="databorder"><td>
393
  <label id="align">Export Delimiter
@@ -398,29 +398,29 @@ global $wpdb; ?>
398
  </label>
399
  </td></tr>-->
400
  <tr class="databorder"><td>
401
- <h3 id="innertitle"><?php echo __('Debug Mode',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
402
- <label><?php echo __('You can enable/disable the debug mode.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> </td><td>
403
- <label id="debugmode_enable" class="<?php echo $skinnyData['debugmode_enable']; ?>"><input type='radio' name='debug_mode' value='enable_debug' <?php echo $skinnyData['debugmode_enable']; ?> id="enabled" style="display:none" onclick="debugmode_check(this.id);" > <?php echo __('On',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label>
404
- <label id="debugmode_disable" class="<?php echo $skinnyData['debugmode_disable']; ?>"><input type='radio' name='debug_mode' value='disable_debug' <?php echo $skinnyData['debugmode_disable']; ?> id="disabled" style="display:none" onclick="debugmode_check(this.id);" > <?php echo __('Off',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label>
405
  </td></tr>
406
  <tr class="databorder"><td>
407
- <h3 id="innertitle"><?php echo __('Scheduled log mails',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
408
- <label><?php echo __('Enable to get scheduled log mails.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> </td><td>
409
- <label id="schedulecheck" title = "<?php echo __('Yes',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['schedulelog']; ?>"><input type='radio' name='send_log_email' value='send_log_email' <?php echo $skinnyData['send_log_email']; ?> id="scheduled" style="display:none" onclick="check_if_avail(this.id);" > <?php echo $impCE->reduceStringLength(__('Yes',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Yes'); ?> </label>
410
- <label id="scheduleuncheck" title = "<?php echo __('No',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['schedulenolog']; ?>"><input type='radio' name='send_log_email' id="noscheduled" style="display:none" onclick="check_if_avail(this.id);" > <?php echo $impCE->reduceStringLength(__('No',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'No'); ?> </label>
411
  </td></tr>
412
  <tr><td>
413
- <h3 id="innertitle"><?php echo __('Drop Table',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
414
- <label><?php echo __('If enabled plugin deactivation will remove plugin data, this cannot be restored.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label></td>
415
- <td><label id="dropon" class="<?php echo $skinnyData['drop_on'] ; ?>" ><input type='radio' name='drop_table' id='drop_table' value='on' <?php echo $skinnyData['dropon_status']; ?> style="display:none" onclick="check_if_avail(this.id);" > <?php echo __('On',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label>
416
- <label id="dropoff" class="<?php echo $skinnyData['drop_off'] ; ?>" ><input type='radio' name='drop_table' id='drop_tab' value='off' <?php echo $skinnyData['dropoff_status']; ?> style="display:none" onclick="check_if_avail(this.id);" > <?php echo __('Off',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label>
417
  </td></tr>
418
  <tr><td>
419
- <h3 id="innertitle" ><?php echo __('Category Icons:',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
420
- <label><?php echo __('Enable to import category icons for category.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label>
421
  </td><td>
422
- <label id="catenable" title = "<?php echo __('Enable',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['enable'] ." ". $skinnyData['catyenable'];?>" ><input type = 'radio' name ='rcateicons' id='caticonenable' style="display:none" value='enable' <?php echo $skinnyData['enable']; ?> class='ecommerce' onclick="check_if_avail(this.id);"> <?php echo $impCE->reduceStringLength(__('Enable',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Enable'); ?> </label>
423
- <label id="catdisable" title = "<?php echo __('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['enable'] ." ". $skinnyData['catydisable'];?>" ><input type = 'radio' name ='rcateicons' id='caticondisable' style="display:none" value='disable' <?php echo $skinnyData['disable']; ?> checked onclick="check_if_avail(this.id);"><?php echo $impCE->reduceStringLength(__('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Disable'); ?></label>
424
  </td>
425
  </tr>
426
  </tbody>
@@ -430,12 +430,12 @@ global $wpdb; ?>
430
  <!--div-7-->
431
  <div id="section7" class="databaseoptimization" style="display:none;">
432
  <div class="title">
433
- <h3><?php echo __('Database Optimization',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/pro_icon.gif" title='PRO Feature' /></h3>
434
  <span style="float:right;margin-right:168px;margin-top:-35px;">
435
- <a id="checkOpt" onclick="check_if_avail(this.id);" href="#"> <?php echo $impCE->reduceStringLength(__('Check All',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Check All'); ?> </a>
436
  </span>
437
  <span style="float:right;margin-right:81px;margin-top:-35px;">
438
- <a id="uncheckOpt" onclick="check_if_avail(this.id);" href="#"> / <?php echo $impCE->reduceStringLength(__('Uncheck All',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Uncheck All'); ?> </a>
439
  </span>
440
  </div>
441
  <div id="data" class="database">
@@ -454,40 +454,40 @@ global $wpdb; ?>
454
  $skinny_delete_all_pingback_comments = isset($skinnyData['delete_all_pingback_commments']) ? $skinnyData['delete_all_pingback_commments'] : '';
455
  $skinny_delete_all_trackback_comments = isset($skinnyData['delete_all_trackback_comments']) ? $skinnyData['delete_all_trackback_comments'] : '';
456
  ?>
457
- <label><input type='checkbox' name='delete_all_orphaned_post_page_meta' id='delete_all_orphaned_post_page_meta' value='delete_all_orphaned_post_page_meta' <?php echo $skinny_delete_all_post_page; ?> disabled /></label><td><span id="align"> <?php echo __('Delete all orphaned Post/Page Meta',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span></td>
458
  </td><td>
459
- <label><input type='checkbox' name='delete_all_unassigned_tags' id='delete_all_unassigned_tags' value='delete_all_unassigned_tags' <?php echo $skinny_delete_all_unassigned_tag; ?> disabled/></label><td><span id="align"> <?php echo __('Delete all unassigned tags',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span></td>
460
  </td></tr>
461
  <tr><td>
462
- <label><input type='checkbox' name='delete_all_post_page_revisions' id='delete_all_post_page_revisions' value='delete_all_post_page_revisions' <?php echo $skinny_delete_all_page_revisions; ?> disabled /></label><td><span id="align"> <?php echo __('Delete all Post/Page revisions',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span></td>
463
  </td><td>
464
- <label><input type='checkbox' name='delete_all_auto_draft_post_page' id='delete_all_auto_draft_post_page' value='delete_all_auto_draft_post_page' <?php echo $skinny_delete_all_auto_draft_page; ?> disabled /></label><td><span id="align"> <?php echo __('Delete all auto drafted Post/Page',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span></td>
465
  </td></tr>
466
  <tr><td>
467
- <label><input type='checkbox' name='delete_all_post_page_in_trash' id='delete_all_post_page_in_trash' value='delete_all_post_page_in_trash' <?php echo $skinny_delete_all_post_page_trash; ?> disabled /></label><td><span id="align"> <?php echo __('Delete all Post/Page in trash',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span></td>
468
  </td><td>
469
- <label><input type='checkbox' name='delete_all_spam_comments' id='delete_all_spam_comments' value='delete_all_spam_comments' <?php echo $skinny_delete_all_spam_comments; ?> disabled /></label><td><span id="align"> <?php echo __('Delete all Spam Comments',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span></td>
470
  </td></tr>
471
  <tr><td>
472
- <label><input type='checkbox' name='delete_all_comments_in_trash' id='delete_all_comments_in_trash' value='delete_all_comments_in_trash' <?php echo $skinny_delete_all_comments_trash; ?> disabled /></label><td><span id="align"> <?php echo __('Delete all Comments in trash',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span></td>
473
  </td><td>
474
- <label><input type='checkbox' name='delete_all_unapproved_comments' id='delete_all_unapproved_comments' value='delete_all_unapproved_comments' <?php echo $skinny_delete_all_unapproved_comments; ?> disabled /></label><td><span id="align"> <?php echo __('Delete all Unapproved Comments',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span></td>
475
  </td></tr>
476
  <tr><td>
477
- <label><input type='checkbox' name='delete_all_pingback_commments' id='delete_all_pingback_commments' value='delete_all_pingback_commments' <?php echo $skinny_delete_all_pingback_comments; ?> disabled /></label><td><span id="align"> <?php echo __('Delete all Pingback Comments',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span></td>
478
  </td><td>
479
- <label><input type='checkbox' name='delete_all_trackback_comments' id='delete_all_trackback_comments' value='delete_all_trackback_comments' <?php echo $skinny_delete_all_trackback_comments; ?> disabled /> </label><td><span id="align"> <?php echo __('Delete all Trackback Comments',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span></td>
480
  </td></tr>
481
  </tbody>
482
  </table>
483
  <div style="float:right;padding:17px;margin-top:-2px;">
484
- <input id="database_optimization" class="action btn btn-warning" type="button" onclick="check_if_avail();" value="<?php echo __('Run DB Optimizer',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" name="database_optimization">
485
  </div>
486
  <div id="optimizelog" style="margin-top:40px;display:none;">
487
- <h4><?php echo __('Database Optimization Log',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h4>
488
  <div id="optimizationlog" class="optimizerlog">
489
  <div id="log" class="log">
490
- <p style="margin:15px;color:red;" id="align"><?php echo __('NO LOGS YET NOW.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></p>
491
  </div>
492
  </div>
493
  </div>
@@ -496,78 +496,78 @@ global $wpdb; ?>
496
  <!--div-8-->
497
  <div id="section8" class="securityperformance" style="display:none;">
498
  <div class="title">
499
- <h3><?php echo __('Security and Performance',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
500
  </div>
501
  <div id="data" class="databorder security-perfoemance" >
502
  <table class="securityfeatures">
503
  <tr><td>
504
- <h3 id="innertitle"><?php echo __('Allow authors/editors to import',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
505
- <label><div><?php echo __('It helps authors/editors can import using importer.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div>
506
- <div><?php echo __('It does not support users.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div></label></td><td>
507
 
508
  <!--<label><input type='checkbox' name='enable_plugin_access_for_author' value='enable_plugin_access_for_author' <?php echo $skinnyData['enable_plugin_access_for_author']; ?> /> Allow authors to import </label>-->
509
 
510
 
511
- <label id="allowimport" title = "<?php echo __('Check',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['authorimport']; ?>" ><input type='radio' name='enable_plugin_access_for_author' id="enableimport" class="importauthor" value='enable_plugin_access_for_author' <?php echo $skinnyData['enable_plugin_access_for_author']; ?> style="display:none" onclick="authorimportsetting(this.id);"/><?php echo $impCE->reduceStringLength(__('Check',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Check All'); ?></label>
512
- <label id="donallowimport" title = "<?php echo __('Uncheck',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php echo $skinnyData['noauthorimport']; ?>" > <input type='radio' name='enable_plugin_access_for_author' class="importauthor" style="display:none" onclick="authorimportsetting(this.id);"><?php echo $impCE->reduceStringLength(__('Uncheck',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Uncheck All'); ?></label>
513
  </td></tr>
514
  </table>
515
  <table class="table table-striped">
516
  <tr><th colspan="3" >
517
- <h3 id="innertitle"><?php echo __('Minimum required php.ini values (Ini configured values)',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
518
  </th></tr>
519
  <tr><th>
520
- <label><?php echo __('Variables',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label>
521
  </th><th class='ini-configured-values'>
522
- <label><?php echo __('System values',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label>
523
  </th><th class='min-requirement-values'>
524
- <label><?php echo __('Minimum Requirements',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label>
525
  </th></tr>
526
- <tr><td><?php echo __('post_max_size',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </td><td class='ini-configured-values'><?php echo ini_get('post_max_size') ?></td><td class='min-requirement-values'>10M</td></tr>
527
- <tr><td><?php echo __('auto_append_file',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></td><td class='ini-configured-values'>-<?php echo ini_get('auto_append_file') ?></td><td class='min-requirement-values'>-</td></tr>
528
- <tr><td><?php echo __('auto_prepend_file',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </td><td class='ini-configured-values'>-<?php echo ini_get('auto_prepend_file') ?></td><td class='min-requirement-values'>-</td></tr>
529
- <tr><td><?php echo __('upload_max_filesize',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </td><td class='ini-configured-values'><?php echo ini_get('upload_max_filesize') ?></td><td class='min-requirement-values'>2M</td></tr>
530
- <tr><td><?php echo __('file_uploads',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </td><td class='ini-configured-values'><?php echo ini_get('file_uploads') ?></td><td class='min-requirement-values'>1</td></tr>
531
- <tr><td><?php echo __('allow_url_fopen',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </td><td class='ini-configured-values'><?php echo ini_get('allow_url_fopen') ?></td><td class='min-requirement-values'>1</td></tr>
532
- <tr><td><?php echo __('max_execution_time',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </td><td class='ini-configured-values'><?php echo ini_get('max_execution_time') ?></td><td class='min-requirement-values'>3000</td></tr>
533
- <tr><td><?php echo __('max_input_time',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </td><td class='ini-configured-values'><?php echo ini_get('max_input_time') ?></td><td class='min-requirement-values'>3000</td></tr>
534
- <tr><td><?php echo __('max_input_vars',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </td><td class='ini-configured-values'><?php echo ini_get('max_input_vars') ?></td><td class='min-requirement-values'>3000</td></tr>
535
- <tr><td><?php echo __('memory_limit',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </td><td class='ini-configured-values'><?php echo ini_get('memory_limit') ?></td><td class='min-requirement-values'>99M</td></tr>
536
  </table>
537
- <h3 id="innertitle" colspan="2" ><?php echo __('Required Loaders and Extentions:',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
538
  <table class="table table-striped">
539
  <?php $loaders_extensions = get_loaded_extensions();
540
  if(function_exists('apache_get_modules'))
541
  $mod_security = apache_get_modules();
542
  ?>
543
- <tr><td><?php echo __('IonCube Loader',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </td><td><?php if(in_array('ionCube Loader', $loaders_extensions)) {
544
- echo '<label style="color:green;">'.__("Yes",WP_CONST_ULTIMATE_CSV_IMP_SLUG).'</label>';
545
  } else {
546
- echo '<label style="color:red;">'.__("No",WP_CONST_ULTIMATE_CSV_IMP_SLUG).'</label>';
547
  } ?> </td><td></td></tr>
548
  <tr><td>PDO </td><td><?php if(in_array('PDO', $loaders_extensions)) {
549
- echo '<label style="color:green;">'.__("Yes",WP_CONST_ULTIMATE_CSV_IMP_SLUG).'</label>';
550
  } else {
551
- echo '<label style="color:red;">'.__("No",WP_CONST_ULTIMATE_CSV_IMP_SLUG).'</label>';
552
  } ?></td><td></td></tr>
553
- <tr><td><?php echo __('Curl',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </td><td><?php if(in_array('curl', $loaders_extensions)) {
554
- echo '<label style="color:green;">'.__('Yes',WP_CONST_ULTIMATE_CSV_IMP_SLUG).'</label>';
555
  } else {
556
- echo '<label style="color:red;">' . __("No",WP_CONST_ULTIMATE_CSV_IMP_SLUG).'</label>';
557
  } ?></td><td></td></tr>
558
- <tr><td><?php echo __('Mod Security',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </td><td><?php if(isset($mod_security) && in_array('mod_security.c', $mod_security)) {
559
- echo '<label style="color:green;">'.__("Yes",WP_CONST_ULTIMATE_CSV_IMP_SLUG).'</label>';
560
  } else {
561
- echo '<label style="color:red;">' .__("No",WP_CONST_ULTIMATE_CSV_IMP_SLUG).'</label>';
562
  } ?></td><td>
563
  <div style='float:left'>
564
  <a href="#" class="tooltip">
565
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-left:-74px;"/>
566
  <span style="margin-left:20px;margin-top:-10px;width:150px;">
567
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif"/>
568
- <strong><?php echo __('htaccess settings:',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></strong>
569
- <p><?php echo __('Locate the .htaccess file in Apache web root,if not create a new file named .htaccess and add the following:',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></p>
570
- <b><?php echo '<IfModule mod_security.c>';?> <?php echo __('SecFilterEngine Off SecFilterScanPOST Off',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> <?php echo ' </IfModule>';?></b>
571
 
572
  </span>
573
  </a>
@@ -575,34 +575,34 @@ global $wpdb; ?>
575
  </td></tr>
576
 
577
  </table>
578
- <h3 id="innertitle" colspan="2" ><?php echo __('Debug Information:',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
579
  <table class="table table-striped">
580
- <tr><td class='debug-info-name'><?php echo __('WordPress Version',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></td><td><?php echo $wp_version; ?></td><td></td></tr>
581
- <tr><td class='debug-info-name'><?php echo __('PHP Version',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></td><td><?php echo phpversion(); ?></td><td></td></tr>
582
- <tr><td class='debug-info-name'><?php echo __('MySQL Version',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></td><td><?php echo $wpdb->db_version(); ?></td><td></td></tr>
583
- <tr><td class='debug-info-name'><?php echo __('Server SoftWare',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></td><td><?php echo $_SERVER[ 'SERVER_SOFTWARE' ]; ?></td><td></td></tr> <tr><td class='debug-info-name'><?php echo __('Your User Agent',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></td><td><?php echo $_SERVER['HTTP_USER_AGENT']; ?></td><td></td></tr>
584
- <tr><td class='debug-info-name'><?php echo __('WPDB Prefix',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></td><td><?php echo $wpdb->prefix; ?></td><td></td></tr>
585
- <tr><td class='debug-info-name'><?php echo __('WP Multisite Mode',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></td><td><?php if ( is_multisite() ) { echo '<label style="color:green;">'.__("Enabled",WP_CONST_ULTIMATE_CSV_IMP_SLUG).'</label>'; } else { echo '<label style="color:red;">' .__("Disabled",WP_CONST_ULTIMATE_CSV_IMP_SLUG).'</label>'; } ?> </td><td></td></tr>
586
- <tr><td class='debug-info-name'><?php echo __('WP Memory Limit',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></td><td><?php echo (int) ini_get('memory_limit'); ?></td><td></td></tr>
587
  </table>
588
  </div>
589
  </div>
590
  <div id="section9" class="documentation" style="display:none;">
591
  <div class="title">
592
- <h3><?php echo __('Documentation',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
593
  </div>
594
  <div id="data">
595
  <div id="video">
596
  <iframe width="560" height="315" src="//www.youtube.com/embed/FhTUXE5zk0o?list=PL2k3Ck1bFtbRli9VdJaqwtzTSzzkOrH4j" frameborder="0" allowfullscreen></iframe>
597
  </div>
598
  <div id="relatedpages">
599
- <h2 id="doctitle"><?php echo __('Smackcoders Guidelines',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </h2 >
600
- <p> <a href="https://www.smackcoders.com/blog/category/web-development-news/" target="_blank"> <?php echo __('Development News',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </a> </p>
601
- <p> <a href="http://www.wpultimatecsvimporter.com/" target="_blank"> <?php echo __('Whats New?',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </a> </p>
602
- <p> <a href="http://wiki.smackcoders.com/WP_Ultimate_CSV_Importer_Pro" target="_blank"> <?php echo __('Documentation',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </a> </p>
603
- <p> <a href="https://www.smackcoders.com/blog/csv-importer-a-simple-and-easy-csv-importer-tutorial.html" target="_blank"> <?php echo __('Tutorials',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </a> </p>
604
- <p> <a href="http://www.youtube.com/user/smackcoders/channels" target="_blank"> <?php echo __('Youtube Channel',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </a> </p>
605
- <p> <a href="https://www.smackcoders.com/store/products-46/wordpress.html" target="_blank"> <?php echo __('Other Plugins',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </a> </p>
606
  </div>
607
  </div>
608
  </div>
@@ -615,7 +615,7 @@ global $wpdb; ?>
615
  <div id="repplugin"><span id="repavail" style="float:left" class="pluginAbsent"></span><label id="replabel" >Indicates the absence or inactive state of plugin.</label></div>
616
  </span>-->
617
  <span style="float:right" >
618
- <button class="action btnn btn-primary" onclick="saveSettings();" style="float:right;position:relative; margin: 8px 15px 5px;padding:5px 10px" value="Save" name="savesettings" type="submit"><?php echo __('Save Changes',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </button>
619
  </span>
620
  </div>
621
  </form>
42
  if(! wp_verify_nonce($nonce_Key, 'smack_nonce'))
43
  die('You are not allowed to do this operation.Please contact your admin.');
44
  ?>
45
+ <div style ='text-align:center;margin:0;color:red;font-size:smaller;'> <?php echo __('Your Required Settings Configuration Please Select Security and Performance tab','wp-ultimate-csv-importer'); ?> </div></br>
46
  <div id="ShowMsg" style="display:none;"><p id="warning-msg" class="alert alert-warning"><?php echo $skinnyData['plugStatus'];?></p></div>
47
  <?php if(isset($skinnyData['savesettings']) && $skinnyData['savesettings'] == 'done'){ ?>
48
+ <div id="deletesuccess"><p class="alert alert-success"><?php echo __('Settings Saved','wp-ultimate-csv-importer'); ?></p></div>
49
  <?php
50
  $skinnyData['savesettings'] == 'notdone';
51
  ?>
63
  <form class="add:the-list: validate" action="" name="importerSettings" method="post" enctype="multipart/form-data">
64
  <div id="settingheader">
65
  <span class="corner-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/lSettingsCorner.png" width="24" height="24" /> </span>
66
+ <span><label id="activemenu"><?php echo __('General Settings','wp-ultimate-csv-importer'); ?></label></span>
67
+ <button class="action btnn btn-primary" onclick="saveSettings();" style="float:right;position:relative; margin: 7px 15px 5px;padding:5px 10px;" value="Save" name="savesettings" type="submit"><?php echo __('Save Changes','wp-ultimate-csv-importer'); ?> </button>
68
  </div>
69
  <div id="settingsholder">
70
  <div id="sidebar">
71
  <ul>
72
  <li id="1" class="bg-sidebar selected" onclick="showsettingsoption(this.id);">
73
  <span class="settings-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/settings.png" width="24" height="24" /> </span>
74
+ <span id="settingmenu1" ><?php echo __('General Settings','wp-ultimate-csv-importer'); ?></span>
75
  <span id="arrow1" class="list-arrow"></span>
76
  </li>
77
  <li id="2" class="bg-sidebar" onclick="showsettingsoption(this.id);">
78
  <span class="settings-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/lcustomposts.png" width="24" height="24" /> </span>
79
+ <span id="settingmenu2" ><?php echo __('Custom Posts & Taxonomy','wp-ultimate-csv-importer'); ?></span>
80
  <span id="arrow2" class="list-arrow" style="display:none;" ></span>
81
  </li>
82
  <li id="3" class="bg-sidebar" onclick="showsettingsoption(this.id);">
83
  <span class="settings-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/lcustomfields.png" width="24" height="24" /> </span>
84
+ <span id="settingmenu3" ><?php echo __('Custom Fields','wp-ultimate-csv-importer'); ?></span>
85
  <span id="arrow3" class="list-arrow" style="display:none;" ></span>
86
  </li>
87
  <li id="4" class="bg-sidebar" onclick="showsettingsoption(this.id);">
88
  <span class="settings-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/lcart.png" width="24" height="24" /> </span>
89
+ <span id="settingmenu4" ><?php echo __('Ecommerce Settings','wp-ultimate-csv-importer'); ?></span>
90
  <span id="arrow4" class="list-arrow" style="display:none;" ></span>
91
  </li>
92
  <li id="5" class="bg-sidebar" onclick="showsettingsoption(this.id);">
93
  <span class="settings-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/seo24.png" width="24" height="24" /> </span>
94
+ <span id="settingmenu5" ><?php echo __('SEO Settings','wp-ultimate-csv-importer'); ?></span>
95
  <span id="arrow5" class="list-arrow" style="display:none;" ></span>
96
  </li>
97
  <li id="6" class="bg-sidebar" onclick="showsettingsoption(this.id);">
98
  <span class="settings-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/additionalfeatures.png" width="24" height="24" /> </span>
99
+ <span id="settingmenu6" ><?php echo __('Additional Features','wp-ultimate-csv-importer'); ?></span>
100
  <span id="arrow6" class="list-arrow" style="display:none;" ></span>
101
  </li>
102
  <li id="7" class="bg-sidebar" onclick="showsettingsoption(this.id);">
103
  <span class="settings-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/DBOptimize.png" width="24" height="24" /> </span>
104
+ <span id="settingmenu7" ><?php echo __('Database Optimization','wp-ultimate-csv-importer'); ?></span>
105
  <span id="arrow7" class="list-arrow" style="display:none;" ></span>
106
  </li>
107
  <li id="8" class="bg-sidebar" onclick="showsettingsoption(this.id);">
108
  <span class="settings-icon"> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/security.png" width="24" height="24" /> </span>
109
+ <span id="settingmenu8" ><?php echo __('Security and Performance','wp-ultimate-csv-importer'); ?></span>
110
  <span id="arrow8" class="list-arrow" style="display:none;" ></span>
111
  </li>
112
  <!--<li id="9" class="bg-sidebar" onclick="showsettingsoption(this.id);">
120
  <!-- div-1-->
121
  <div id="section1" class="generalsettings">
122
  <div class="title">
123
+ <h3><?php echo __('Enabled Modules','wp-ultimate-csv-importer'); ?></h3>
124
  <span style="float:right;margin-right:92px;margin-top:-34px;">
125
+ <a href="#" id='checkallModules' title = <?php echo __('Check All','wp-ultimate-csv-importer'); ?>value = 'Check All' name='checkallModules' onclick="selectModules(this.id);"><?php echo $impCE->reduceStringLength(__('Check All','wp-ultimate-csv-importer'),'Check All'); ?></a>
126
  </span>
127
  <span style="float:right;margin-right:5px;margin-top:-34px;">
128
+ <a href="#" id='uncheckallModules' name='checkallModules' title = <?php echo __('Uncheck All','wp-ultimate-csv-importer'); ?> value = 'Un Check All' onclick='selectModules(this.id);'> / <?php echo $impCE->reduceStringLength(__('Uncheck All','wp-ultimate-csv-importer'),'Uncheck All'); ?></a>
129
  </span>
130
  </div>
131
  <div id="data">
132
  <table>
133
  <tr><td>
134
+ <h3 id="innertitle"><?php echo __('Post','wp-ultimate-csv-importer'); ?></h3>
135
  <label>
136
+ <div><?php echo __('Enables to import posts with custompost and customfields.','wp-ultimate-csv-importer'); ?></div>
137
+ <div><?php echo __('Enable to import posts with attributes from csv.','wp-ultimate-csv-importer'); ?></div>
138
  </label>
139
  </td><td>
140
  </td><td style="width:112px">
141
+ <label id="postlabel" title="<?php echo __('Enable','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['post']; ?>"><input type='checkbox' name='post' id='post' value='post' <?php echo $skinnyData['post']; ?> onclick="postsetting(this.id);" checked disabled style="display:none"><?php echo $impCE->reduceStringLength(__('Enable','wp-ultimate-csv-importer'),'Enable'); ?></label>
142
  <input type="hidden" name="post" id="post" value="post" />
143
+ <label id="nopostlabel" title = "<?php echo __('Disable','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['nopost']; ?>"><input type='checkbox' name='post' onclick="postsetting(this.id);" checked disabled style="display:none"><?php echo $impCE->reduceStringLength(__('Disable','wp-ultimate-csv-importer'),'Disable'); ?></label>
144
  </td></tr>
145
  <tr><td>
146
+ <h3 id="innertitle"><?php echo __('Page','wp-ultimate-csv-importer'); ?></h3>
147
+ <label><div><?php echo __('Enables to import pages with custompost and customfields.','wp-ultimate-csv-importer'); ?></div>
148
+ <div><?php echo __('Enable to import pages with attributes from csv.','wp-ultimate-csv-importer'); ?></div></label>
149
  </td><td>
150
  </td><td style="width:112px">
151
+ <label id="pagelabel" title = "<?php echo __('Enable','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['page']; ?>"><input type='checkbox' name='page' id='page' style="display:none" value='page' <?php echo $skinnyData['page']; ?> onclick="pagesetting(this.id);" checked disabled ><?php echo $impCE->reduceStringLength(__('Enable','wp-ultimate-csv-importer'),'Enable'); ?></label>
152
  <input type="hidden" name="page" id="page" value="page" />
153
+ <label id="nopagelabel" title = "<?php echo __('Disable','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['nopage']; ?>"><input type='checkbox' name='page' style="display:none" onclick="pagesetting(this.id);" checked disabled ><?php echo $impCE->reduceStringLength(__('Disable','wp-ultimate-csv-importer'),'Disable'); ?></label>
154
  </td></tr>
155
  <tr><td>
156
+ <h3 id="innertitle"><?php echo __('Users','wp-ultimate-csv-importer'); ?></h3>
157
+ <label><?php echo __('Enable to import users with attributes from csv.','wp-ultimate-csv-importer'); ?></label>
158
  </td><td>
159
  </td><td style="width:112px">
160
+ <label id="userlabel" title = "<?php echo __('Enable','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['users']; ?>" ><input type='checkbox' name='users' id='users' style="display:none" value='users' <?php echo $skinnyData['users']; ?> onclick="usersetting(this.id);" ><?php echo $impCE->reduceStringLength(__('Enable','wp-ultimate-csv-importer'),'Enable'); ?></label>
161
+ <label id="nouserlabel" title = "<?php echo __('Disable','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['nousers']; ?>" ><input type='checkbox' name='users' style="display:none" onclick="usersetting(this.id);" ><?php echo $impCE->reduceStringLength(__('Disable','wp-ultimate-csv-importer'),'Disable'); ?></label>
162
  </td></tr>
163
  <!--<tr><td>
164
  <h3 id="innertitle"><?php //echo __('Comments',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
171
  <label id="nocommentslabel" title = "<?php //echo __('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" class="<?php //echo $skinnyData['nocomments']; ?>"><input type='checkbox' name='comments' style="display:none" onclick="commentsetting(this.id);" ><?php //echo $impCE->reduceStringLength(__('Disable',WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Disable'); ?> </label>
172
  </td></tr>-->
173
  <tr><td>
174
+ <h3 id="innertitle"><?php echo __('Custom Post','wp-ultimate-csv-importer'); ?></h3>
175
+ <label><div><?php echo __('Enables to import Customposts.','wp-ultimate-csv-importer'); ?></div>
176
+ <div><?php echo __('Enable to import custom posts with attributes from csv','wp-ultimate-csv-importer'); ?></div></label></td><td>
177
  </td><td style="width:112px">
178
+ <label id="cplabel" title = "<?php echo __('Enable','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['custompost']; ?>"><input type='checkbox' name='custompost' id='custompost' style="display:none" value='custompost' <?php echo $skinnyData['custompost']; ?> onclick="cpsetting(this.id);" checked disabled ><?php echo $impCE->reduceStringLength(__('Enable','wp-ultimate-csv-importer'),'Enable'); ?> </label>
179
  <input type="hidden" name="custompost" id="custompost" value="custompost" />
180
+ <label id="nocplabel" title = "<?php echo __('Disable','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['nocustompost']; ?>"><input type='checkbox' name='custompost' style="display:none" onclick="cpsetting(this.id);" checked disabled ><?php echo $impCE->reduceStringLength(__('Disable','wp-ultimate-csv-importer'),'Disable'); ?></label>
181
  </td></tr>
182
  <tr><td>
183
+ <h3 id="innertitle"><?php echo __('Custom Taxonomy','wp-ultimate-csv-importer'); ?></h3>
184
+ <label><div><?php echo __('Enables to import Custom taxonomy.','wp-ultimate-csv-importer'); ?></div>
185
+ <div><?php echo __('Enable to import nested custom taxonomies with description and slug for each from csv','wp-ultimate-csv-importer'); ?></div></label>
186
  </td><td>
187
  </td><td style="width:112px">
188
+ <label id="custaxlabel" title = "<?php echo __('Enable','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['customtaxonomy']; ?>" ><input type='checkbox' name='customtaxonomy' id='customtaxonomy' style="display:none" value='customtaxonomy' <?php echo $skinnyData['customtaxonomy']; ?> onclick="check_if_avail(this.name);" ><?php echo $impCE->reduceStringLength(__('Enable','wp-ultimate-csv-importer'),'Enable'); ?></label>
189
+ <label id="nocustaxlabel" title = "<?php echo __('Disable','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['nocustomtaxonomy']; ?>" ><input type='checkbox' name='customtaxonomy' style="display:none" onclick="check_if_avail(this.name);" ><?php echo $impCE->reduceStringLength(__('Disable','wp-ultimate-csv-importer'),'Disable'); ?></label>
190
  </td></tr>
191
  <tr><td>
192
+ <h3 id="innertitle"><?php echo __('Categories/Tags','wp-ultimate-csv-importer'); ?></h3>
193
+ <label><div><?php echo __('Enables to import Categories.','wp-ultimate-csv-importer'); ?></div>
194
+ <div><?php echo __('Enable to import nested categories with description and slug for each from csv.','wp-ultimate-csv-importer'); ?></div></label></td><td>
195
  </td><td style="width:112px">
196
+ <label id="catlabel" title = "<?php echo __('Enable','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['categories']; ?>"><input type='checkbox' name='categories' id='categories' style="display:none" value='categories' <?php echo $skinnyData['categories']; ?> onclick="check_if_avail(this.name);" ><?php echo $impCE->reduceStringLength(__('Enable','wp-ultimate-csv-importer'),'Enable'); ?></label>
197
+ <label id="nocatlabel" title = "<?php echo __('Disable','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['nocategories']; ?>"><input type='checkbox' name='categories' style="display:none" onclick="check_if_avail(this.name);" ><?php echo $impCE->reduceStringLength(__('Disable','wp-ultimate-csv-importer'),'Disable'); ?></label>
198
  </td></tr>
199
  <tr><td>
200
+ <h3 id="innertitle"><?php echo __('Customer Reviews','wp-ultimate-csv-importer'); ?></h3>
201
+ <label><div><?php echo __('Enables to import Customer reviews.','wp-ultimate-csv-importer'); ?></div>
202
+ <div><?php echo __('Enable to import customer reviews with attributes from csv.','wp-ultimate-csv-importer'); ?></div></label></td><td>
203
  </td><td style="width:112px">
204
+ <label id="custrevlabel" title = "<?php echo __('Enable','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['customerreviews'].' '.$skinnyData['acf'];?>" ><input type ='checkbox' name = 'rcustomfield' id='Customerreviews' style="display:none" value='Customerreviews' <?php echo $skinnyData['acf']; ?> onclick="check_if_avail(this.id);" ><?php echo $impCE->reduceStringLength(__('Enable','wp-ultimate-csv-importer'),'Enable'); ?></label>
205
+ <label id="nocustrevlabel" title = "<?php echo __('Disable','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['nocustomerreviews'];?>" ><input type ='checkbox' name = 'rcustomfield' style="display:none" onclick="check_if_avail(this.name);" ><?php echo $impCE->reduceStringLength(__('Disable','wp-ultimate-csv-importer'),'Disable'); ?></label>
206
  <span id="pluginavail" class="moduleavail <?php if(isset($skinnyData['customerreviewstd'])) echo $skinnyData['customerreviewstd']; ?>"> </span>
207
  </td></tr>
208
  </tbody></table><br />
209
+ <label style='color:red;'><?php echo __("Note: Supports WordPress Custom Post by default. For Custom Post Type UI plugin, please enable it under Custom Posts & Taxonomy",'wp-ultimate-csv-importer'); ?></label>
210
  </div>
211
  </div>
212
  <!--div-2 -->
213
  <div id="section2" class="custompost" style="display:none;">
214
  <div class="title" class="databorder" >
215
+ <h3><?php echo __('Custom Posts & Taxonomy','wp-ultimate-csv-importer'); ?> </h3>
216
  </div>
217
  <div id="data">
218
  <table>
219
  <tbody>
220
  <tr><td>
221
+ <h3 id="innertitle" ><?php echo __('Default','wp-ultimate-csv-importer'); ?></h3>
222
+ <label><?php echo __('Custom post types that are coded within wordpress codex apart from plugins.','wp-ultimate-csv-importer'); ?></label>
223
  </td><td>
224
  <label id="custompostsetting1" class="<?php echo $skinnyData['nonercustompost']; ?>" ><input type = 'radio' name ='rcustompost' id='nonercustompost'style="display:none" value='nonercustompost' <?php echo $skinnyData['nonercustompost']; ?> class='ecommerce' onclick="custompostsetting(this.id);"><span id="custompost1text"> <?php echo $skinnyData['default_status']; ?> </span></label>
225
  </td></tr>
226
  <tr><td>
227
+ <h3 id="innertitle"><?php echo __('Custom Post Type UI','wp-ultimate-csv-importer'); ?></h3>
228
+ <label><?php echo __('Import support for Custom Post Type UI data.','wp-ultimate-csv-importer'); ?></label></td><td>
229
  <label id="custompostsetting2" class="<?php echo $skinnyData['custompostuitype'];?>" ><input type ='radio' name = 'rcustompost' id='custompostuitype' style="display:none" value='custompostuitype' <?php echo $skinnyData['custompostuitype']; ?> onclick="custompostsetting(this.id);"><span id="custompost2text"> <?php echo $skinnyData['cptui_status']; ?> </span></label>
230
  <div id="pluginavail" class="<?php echo $skinnyData['cptutd'] ?>"> </div>
231
  </td></tr>
232
  <tr><td>
233
+ <h3 id="innertitle"><?php echo __('Types Custom Posts & Taxonomy','wp-ultimate-csv-importer'); ?></h3>
234
+ <label><?php echo __('Import support for Types Custom Post Type and taxonomies data.','wp-ultimate-csv-importer'); ?></label> </td><td>
235
  <label id="custompostsetting3" class="<?php echo $skinnyData['cctm'];?>" >
236
  <input type ='radio' name = 'rcustompost' id='types' style="display:none" value='types' <?php echo $skinnyData['cctm']; ?> onclick="check_if_avail(this.id);" ><span id="custompost3text"> <?php echo $skinnyData['wptypes_status']; ?> </span></label>
237
  <div id="pluginavail" class="<?php if(isset($skinnyData['wptypestd'])) echo $skinnyData['wptypestd']; ?>"> </div>
238
  </td></tr>
239
  <tr><td>
240
+ <h3 id="innertitle"><?php echo __('CCTM Custom Posts','wp-ultimate-csv-importer'); ?></h3>
241
+ <label><?php echo __('Import support for CCTM Custom Posts from csv.','wp-ultimate-csv-importer'); ?></label> </td><td>
242
  <label id="custompostsetting4" class="<?php echo $skinnyData['cctm'];?>" ><input type ='radio' name = 'rcustompost' id='cctm' style="display:none" value='cctm' <?php echo $skinnyData['cctm']; ?> onclick="check_if_avail(this.id);" ><span id="custompost4text"><?php echo $skinnyData['cctm_status']; ?></span> </label>
243
  <div id="pluginavail" class="<?php echo $skinnyData['cctmtd'] ?>"> </div>
244
  </td></tr>
245
  <tr><td>
246
+ <h3 id="innertitle"><?php echo __('PODS Custom Posts & Taxonomy','wp-ultimate-csv-importer'); ?></h3>
247
+ <label><?php echo __('Import support for PODS Custom Posts.','wp-ultimate-csv-importer'); ?></label> </td><td>
248
  <label id="custompostsetting5" class="<?php echo $skinnyData['podspost']; ?>"><input type='radio' name='rcustompost' id='podspost' value='podspost' <?php echo $skinnyData['podspost']; ?> style="display:none" onclick="check_if_avail(this.id);"><span id="custompost5text"> <?php echo $skinnyData['podspost_status']; ?></span></label>
249
  <div id="pluginavail" class="<?php if(isset($skinnyData['podstd'])) echo $skinnyData['podstd']; ?>"> </div>
250
  </td></tr>
255
  <!--div-3-->
256
  <div id="section3" class="Customfields" style="display:none;">
257
  <div class="title">
258
+ <h3><?php echo __('Custom Fields','wp-ultimate-csv-importer'); ?></h3>
259
+ <span id="resetcustfield"><a id="resetopt" href="#" value="reset" name="resetcustfield" onclick="resetOption(this.id);"><?php echo __('Reset Custom Field','wp-ultimate-csv-importer'); ?></a> </span>
260
  </div>
261
  <div id="data" class="databorder custom-fields" >
262
  <table>
263
  <tbody>
264
  <tr><td>
265
+ <h3 id="innertitle"><?php echo __('WP-Members for Users','wp-ultimate-csv-importer'); ?></h3>
266
+ <label><?php echo __('Enable to add import support WP-Members user fields.','wp-ultimate-csv-importer'); ?></label> </td><td>
267
+ <label id="wpusercheck" title = "<?php echo __('Enabled','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['checkuser'].' '.$skinnyData['acf'];?>" ><input type ='radio' name = 'rwpmembers' id='WP-Members' style="display:none" value='WP-Members' <?php echo $skinnyData['acf']; ?> onclick="check_if_avail(this.id);" ><span id="checkuser"><?php echo $impCE->reduceStringLength(__('Enabled','wp-ultimate-csv-importer'),'Enabled'); ?></span></label>
268
+ <label id="wpuseruncheck" title = "<?php echo __('Disabled','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['uncheckuser'];?>" ><input type ='radio' name = 'rwpmembers' style="display:none" onclick="check_if_avail(this.id);" ><?php echo $impCE->reduceStringLength(__('Disabled','wp-ultimate-csv-importer'),'Disabled'); ?></label>
269
  </td></tr>
270
  <tr><td>
271
+ <h3 id="innertitle"><?php echo __('WP e-Commerce Custom Fields','wp-ultimate-csv-importer'); ?> </h3>
272
+ <label><?php echo __('Enable to add import support for WP e-Commerce custom fields.','wp-ultimate-csv-importer'); ?></label> </td>
273
  <td style="padding-left: 20px;">
274
  <input type='checkbox' name='recommerce' id='wpcommerce' value='wpcommerce' <?php echo $skinnyData['wpcommerce']; ?> class = 'ecommerce' onclick='check_if_avail(this.id);'>
275
  </td></tr>
276
  <tr><td>
277
+ <h3 id="innertitle"><?php echo __('ACF Custom Fields','wp-ultimate-csv-importer'); ?></h3>
278
+ <label><?php echo __('Enable to add import support for ACF Custom Fields.','wp-ultimate-csv-importer'); ?></label> </td><td>
279
  <label id="customfieldsetting1" class="<?php echo $skinnyData['acf'];?>" ><input type ='checkbox' name = 'rcustomfield' id='acf' style="display:none" value='acf' <?php echo $skinnyData['acf']; ?> onclick="check_if_avail(this.id);" ><span id="customfield1text" > <?php echo $skinnyData['acf_status']; ?> </span></label>
280
  <div id="pluginavail" class="<?php echo $skinnyData['acftd'] ?>"> </div>
281
  </td></tr>
282
  <tr><td>
283
+ <h3 id="innertitle"><?php echo __('CCTM Custom Fields','wp-ultimate-csv-importer'); ?></h3>
284
+ <label><?php echo __('Enable to add import support for CCTM Custom Fields.','wp-ultimate-csv-importer'); ?></label> </td><td>
285
  <label id="customfieldsetting2" class="<?php echo $skinnyData['cctmcustfields'].' '.$skinnyData['cctm'];?>" ><input type ='radio' name = 'rcustompost' id='cctmcustomfields' style="display:none" value='cctm' <?php echo $skinnyData['cctm']; ?> onclick="check_if_avail(this.id);" ><span id="customfield2text" > <?php echo $skinnyData['cctmfield_status']; ?> </span></label>
286
  <div id="pluginavail" class="<?php echo $skinnyData['cctmtd'] ?>"> </div>
287
  </td></tr>
288
  <tr><td>
289
+ <h3 id="innertitle"><?php echo __('Types Custom Fields','wp-ultimate-csv-importer'); ?></h3>
290
+ <label><?php echo __('Enable to add import support for Types custom fields.','wp-ultimate-csv-importer'); ?></label> </td><td>
291
  <label id="customfieldsetting3" class="<?php echo $skinnyData['wptypescustfields']; ?>"><input type='radio' name='rcustomfield' id='typescustomfield' value='wptypescustfields' <?php echo $skinnyData['wptypes']; ?> style="display:none" onclick="check_if_avail(this.id);" /><span id="customfield3text" > <?php echo $skinnyData['typesfield_status']; ?> </span></label>
292
  <div id="pluginavail" class="<?php if(isset($skinnyData['wptypestd'])) echo $skinnyData['wptypestd']; ?>"> </div>
293
  </td></tr>
294
  <tr><td>
295
+ <h3 id="innertitle"><?php echo __('PODS Custom Fields','wp-ultimate-csv-importer'); ?> </h3>
296
+ <label><?php echo __('Enable to add import support for PODS custom fields.','wp-ultimate-csv-importer'); ?></label> </td><td>
297
  <label id="customfieldsetting4" class="<?php echo $skinnyData['podscustomfields']; ?>"><input type='radio' name='rcustomfield' id='podscustomfield' value='podscustomfields' <?php echo $skinnyData['podscustomfields']; ?> style="display:none" onclick="check_if_avail(this.id);" /><span id="customfield4text" > <?php echo $skinnyData['podsfield_status']; ?> </span></label>
298
  <div id="pluginavail" class="<?php if(isset($skinnyData['podstd'])) echo $skinnyData['podstd']; ?>"> </div>
299
  </td></tr>
304
  <!--div-4 -->
305
  <div id="section4" class="ecommercesettings" style="display:none;">
306
  <div class="title">
307
+ <h3><?php echo __('Ecommerce Settings','wp-ultimate-csv-importer'); ?></h3>
308
  </div>
309
  <div id="data" class="databorder" >
310
  <table>
311
  <tbody>
312
  <tr><td>
313
+ <h3 id="innertitle"><?php echo __('None','wp-ultimate-csv-importer'); ?></h3>
314
+ <label><?php echo __('Ecommerce import is disabled.','wp-ultimate-csv-importer'); ?></label> </td><td>
315
  <label id="ecommercesetting1"class="<?php echo $skinnyData['nonerecommerce']; ?>"><input type = 'radio' name ='recommerce' id='nonerecommerce' value='nonerecommerce' <?php echo $skinnyData['nonerecommerce']; ?> class='ecommerce' checked style="display:none" onclick="ecommercesetting(this.id);" ><span id="ecommerce1text"> <?php echo $skinnyData['ecomnone_status']; ?> </span></label>
316
  </td></tr>
317
  <tr><td>
318
+ <h3 id="innertitle"><?php echo __('Eshop','wp-ultimate-csv-importer'); ?> </h3>
319
+ <label><?php echo __('Enable ecommerce import for Eshop.','wp-ultimate-csv-importer'); ?></label> </td><td>
320
  <label id="ecommercesetting2" class="<?php echo $skinnyData['eshop']; ?>">
321
  <input type='radio' name='recommerce' id='eshop' value='eshop' <?php echo $skinnyData['eshop']; ?> class='ecommerce' style="display:none" onclick="ecommercesetting(this.id);"><span id="ecommerce2text"><?php echo $skinnyData['eshop_status']; ?></span></label>
322
  <div id="pluginavail" class="<?php echo $skinnyData['eshoptd'] ?>"> </div>
323
  </td></tr>
324
  <tr><td>
325
+ <h3 id="innertitle"><?php echo __('Marketpress Lite','wp-ultimate-csv-importer'); ?></h3>
326
+ <label><?php echo __('Enable ecommerce import for marketpress Lite.','wp-ultimate-csv-importer'); ?></label> </td><td>
327
  <label id="ecommercesetting3" class="<?php echo $skinnyData['woocommerce']; ?>"><input type='radio' name='recommerce' id='marketpress' value='marketpress' <?php echo $skinnyData['marketpress']; ?> class = 'woocommerce' onclick='check_if_avail(this.id);' style="display:none"><span id="ecommerce3text"><?php echo $skinnyData['marketpress_status']; ?></span></label>
328
  <div id="pluginavail" class="<?php if(isset($skinnyData['marketpresslitetd'])) echo $skinnyData['marketpresslitetd']; ?>"> </div>
329
  </td></tr>
330
  <tr><td>
331
+ <h3 id="innertitle"><?php echo __('Woocommerce','wp-ultimate-csv-importer'); ?> </h3>
332
+ <label><?php echo __('Enable ecommerce import for Woocommerce.','wp-ultimate-csv-importer'); ?></label> </td><td>
333
  <label id="ecommercesetting4" class="<?php echo $skinnyData['woocommerce']; ?>"><input type='radio' name='recommerce' id='woocommerce' value='woocommerce' <?php echo $skinnyData['woocommerce']; ?> class = 'woocommerce' onclick='check_if_avail(this.id);' style="display:none" ><span id="ecommerce4text"><?php echo $skinnyData['woocommerce_status']; ?></span> </label>
334
  <div id="pluginavail" class="<?php echo $skinnyData['woocomtd'] ?>"> </div>
335
  </td></tr>
336
  <tr><td>
337
+ <h3 id="innertitle"> <?php echo __('WP e-Commerce','wp-ultimate-csv-importer'); ?></h3>
338
+ <label><?php echo __('Enable ecommerce import for WP e-Commerce.','wp-ultimate-csv-importer'); ?></label> </td><td>
339
  <label id="ecommercesetting5" class="<?php echo $skinnyData['wpcommerce']; ?>">
340
  <input type='radio' name='recommerce' id='wpcommerce' value='wpcommerce' <?php echo $skinnyData['wpcommerce']; ?> class = 'ecommerce' onclick='check_if_avail(this.id);' style="display:none" ><span id="ecommerce5text"><?php echo $skinnyData['wpcommerce_status']; ?></span></label>
341
  <div id="pluginavail" class="<?php echo $skinnyData['wpcomtd'] ?>"> </div>
347
  <!--div-5-->
348
  <div id="section5" class="seosettings" style="display:none;">
349
  <div class="title">
350
+ <h3><?php echo __('SEO Settings','wp-ultimate-csv-importer'); ?></h3>
351
  </div>
352
  <div id="data" class="databorder" >
353
  <table>
354
  <tbody>
355
  <tr><td>
356
+ <h3 id="innertitle"><?php echo __('None','wp-ultimate-csv-importer'); ?></h3>
357
+ <label><?php echo __('SEO Meta import is disabled.','wp-ultimate-csv-importer'); ?></label> </td><td>
358
  <label id="seosetting1" class="<?php echo $skinnyData['nonerseooption'];?>" ><input type = 'radio' name ='rseooption' id='nonerseooption' value='nonerseooption' <?php #echo $skinnyData['nonerseooption']; ?> class='ecommerce' onclick="seosetting(this.id);" style="display:none"><span id="seosetting1text"> <?php echo $skinnyData['none_status']; ?> </span> </label>
359
  </td></tr>
360
  <tr><td>
361
+ <h3 id="innertitle"><?php echo __('All-in-one SEO','wp-ultimate-csv-importer'); ?> </h3>
362
+ <label><?php echo __('Enable All-in-one SEO import.','wp-ultimate-csv-importer'); ?></label> </td><td>
363
  <label id="seosetting2" class="<?php echo $skinnyData['aioseo']; ?>" ><input type ='radio' name = 'rseooption' id='aioseo' value='aioseo' <?php echo $skinnyData['aioseo']; ?> onclick="seosetting(this.id);" style="display:none"><span id="seosetting2text"> <?php echo $skinnyData['aioseo_status']; ?> </span></label>
364
  <div id="pluginavail" class="<?php echo $skinnyData['aioseotd'] ?>"> </div>
365
  </td></tr>
366
  <tr><td>
367
+ <h3 id="innertitle"> <?php echo __('Yoast SEO','wp-ultimate-csv-importer'); ?></h3>
368
+ <label><?php echo __('Enable Wordpress SEO by Yoast support.','wp-ultimate-csv-importer'); ?></label> </td><td>
369
  <label id="seosetting3" class="<?php echo $skinnyData['yoastseo']; ?>" ><input type ='radio' name = 'rseooption' id='yoastseo' value='yoastseo' <?php echo $skinnyData['yoastseo']; ?> onclick="check_if_avail(this.id);" style="display:none"><span id="seosetting3text"><?php echo $skinnyData['yoastseo_status']; ?> </span></label>
370
  <div id="pluginavail" class="<?php echo $skinnyData['yoasttd'] ?>" > </div>
371
  </td></tr>
377
  <!--div-6-->
378
  <div id="section6" class="additionalfeatures" style="display:none;">
379
  <div class="title">
380
+ <h3><?php echo __('Additional Features','wp-ultimate-csv-importer'); ?></h3>
381
  </div>
382
  <div id="data">
383
  <table class="enablefeatures">
384
  <tbody>
385
  <tr><td>
386
  <label class=$automapping>
387
+ <input type='checkbox' name='automapping' id='automapping' value='automapping' checked disabled onclick="check_if_avail(this.id);" ><span id="align"><?php echo __('Enable Auto Mapping','wp-ultimate-csv-importer'); ?></span></label>
388
  </td></tr>
389
  <tr><td>
390
+ <label class=$utfsupport><input type='checkbox' name='rutfsupport' id='utfsupport' value='utfsupport' checked disabled onclick="check_if_avail(this.id);" ><span id="align"><?php echo __('Enable UTF Support','wp-ultimate-csv-importer'); ?></span></label>
391
  </td></tr>
392
  <!--<tr class="databorder"><td>
393
  <label id="align">Export Delimiter
398
  </label>
399
  </td></tr>-->
400
  <tr class="databorder"><td>
401
+ <h3 id="innertitle"><?php echo __('Debug Mode','wp-ultimate-csv-importer'); ?></h3>
402
+ <label><?php echo __('You can enable/disable the debug mode.','wp-ultimate-csv-importer'); ?></label> </td><td>
403
+ <label id="debugmode_enable" class="<?php echo $skinnyData['debugmode_enable']; ?>"><input type='radio' name='debug_mode' value='enable_debug' <?php echo $skinnyData['debugmode_enable']; ?> id="enabled" style="display:none" onclick="debugmode_check(this.id);" > <?php echo __('On','wp-ultimate-csv-importer'); ?> </label>
404
+ <label id="debugmode_disable" class="<?php echo $skinnyData['debugmode_disable']; ?>"><input type='radio' name='debug_mode' value='disable_debug' <?php echo $skinnyData['debugmode_disable']; ?> id="disabled" style="display:none" onclick="debugmode_check(this.id);" > <?php echo __('Off','wp-ultimate-csv-importer'); ?> </label>
405
  </td></tr>
406
  <tr class="databorder"><td>
407
+ <h3 id="innertitle"><?php echo __('Scheduled log mails','wp-ultimate-csv-importer'); ?></h3>
408
+ <label><?php echo __('Enable to get scheduled log mails.','wp-ultimate-csv-importer'); ?></label> </td><td>
409
+ <label id="schedulecheck" title = "<?php echo __('Yes','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['schedulelog']; ?>"><input type='radio' name='send_log_email' value='send_log_email' <?php echo $skinnyData['send_log_email']; ?> id="scheduled" style="display:none" onclick="check_if_avail(this.id);" > <?php echo $impCE->reduceStringLength(__('Yes','wp-ultimate-csv-importer'),'Yes'); ?> </label>
410
+ <label id="scheduleuncheck" title = "<?php echo __('No','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['schedulenolog']; ?>"><input type='radio' name='send_log_email' id="noscheduled" style="display:none" onclick="check_if_avail(this.id);" > <?php echo $impCE->reduceStringLength(__('No','wp-ultimate-csv-importer'),'No'); ?> </label>
411
  </td></tr>
412
  <tr><td>
413
+ <h3 id="innertitle"><?php echo __('Drop Table','wp-ultimate-csv-importer'); ?></h3>
414
+ <label><?php echo __('If enabled plugin deactivation will remove plugin data, this cannot be restored.','wp-ultimate-csv-importer'); ?></label></td>
415
+ <td><label id="dropon" class="<?php echo $skinnyData['drop_on'] ; ?>" ><input type='radio' name='drop_table' id='drop_table' value='on' <?php echo $skinnyData['dropon_status']; ?> style="display:none" onclick="check_if_avail(this.id);" > <?php echo __('On','wp-ultimate-csv-importer'); ?> </label>
416
+ <label id="dropoff" class="<?php echo $skinnyData['drop_off'] ; ?>" ><input type='radio' name='drop_table' id='drop_tab' value='off' <?php echo $skinnyData['dropoff_status']; ?> style="display:none" onclick="check_if_avail(this.id);" > <?php echo __('Off','wp-ultimate-csv-importer'); ?></label>
417
  </td></tr>
418
  <tr><td>
419
+ <h3 id="innertitle" ><?php echo __('Category Icons:','wp-ultimate-csv-importer'); ?></h3>
420
+ <label><?php echo __('Enable to import category icons for category.','wp-ultimate-csv-importer'); ?></label>
421
  </td><td>
422
+ <label id="catenable" title = "<?php echo __('Enable','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['enable'] ." ". $skinnyData['catyenable'];?>" ><input type = 'radio' name ='rcateicons' id='caticonenable' style="display:none" value='enable' <?php echo $skinnyData['enable']; ?> class='ecommerce' onclick="check_if_avail(this.id);"> <?php echo $impCE->reduceStringLength(__('Enable','wp-ultimate-csv-importer'),'Enable'); ?> </label>
423
+ <label id="catdisable" title = "<?php echo __('Disable','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['enable'] ." ". $skinnyData['catydisable'];?>" ><input type = 'radio' name ='rcateicons' id='caticondisable' style="display:none" value='disable' <?php echo $skinnyData['disable']; ?> checked onclick="check_if_avail(this.id);"><?php echo $impCE->reduceStringLength(__('Disable','wp-ultimate-csv-importer'),'Disable'); ?></label>
424
  </td>
425
  </tr>
426
  </tbody>
430
  <!--div-7-->
431
  <div id="section7" class="databaseoptimization" style="display:none;">
432
  <div class="title">
433
+ <h3><?php echo __('Database Optimization','wp-ultimate-csv-importer'); ?> <img src="<?php echo WP_CONTENT_URL;?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG;?>/images/pro_icon.gif" title='PRO Feature' /></h3>
434
  <span style="float:right;margin-right:168px;margin-top:-35px;">
435
+ <a id="checkOpt" onclick="check_if_avail(this.id);" href="#"> <?php echo $impCE->reduceStringLength(__('Check All','wp-ultimate-csv-importer'),'Check All'); ?> </a>
436
  </span>
437
  <span style="float:right;margin-right:81px;margin-top:-35px;">
438
+ <a id="uncheckOpt" onclick="check_if_avail(this.id);" href="#"> / <?php echo $impCE->reduceStringLength(__('Uncheck All','wp-ultimate-csv-importer'),'Uncheck All'); ?> </a>
439
  </span>
440
  </div>
441
  <div id="data" class="database">
454
  $skinny_delete_all_pingback_comments = isset($skinnyData['delete_all_pingback_commments']) ? $skinnyData['delete_all_pingback_commments'] : '';
455
  $skinny_delete_all_trackback_comments = isset($skinnyData['delete_all_trackback_comments']) ? $skinnyData['delete_all_trackback_comments'] : '';
456
  ?>
457
+ <label><input type='checkbox' name='delete_all_orphaned_post_page_meta' id='delete_all_orphaned_post_page_meta' value='delete_all_orphaned_post_page_meta' <?php echo $skinny_delete_all_post_page; ?> disabled /></label><td><span id="align"> <?php echo __('Delete all orphaned Post/Page Meta','wp-ultimate-csv-importer'); ?></span></td>
458
  </td><td>
459
+ <label><input type='checkbox' name='delete_all_unassigned_tags' id='delete_all_unassigned_tags' value='delete_all_unassigned_tags' <?php echo $skinny_delete_all_unassigned_tag; ?> disabled/></label><td><span id="align"> <?php echo __('Delete all unassigned tags','wp-ultimate-csv-importer'); ?></span></td>
460
  </td></tr>
461
  <tr><td>
462
+ <label><input type='checkbox' name='delete_all_post_page_revisions' id='delete_all_post_page_revisions' value='delete_all_post_page_revisions' <?php echo $skinny_delete_all_page_revisions; ?> disabled /></label><td><span id="align"> <?php echo __('Delete all Post/Page revisions','wp-ultimate-csv-importer'); ?></span></td>
463
  </td><td>
464
+ <label><input type='checkbox' name='delete_all_auto_draft_post_page' id='delete_all_auto_draft_post_page' value='delete_all_auto_draft_post_page' <?php echo $skinny_delete_all_auto_draft_page; ?> disabled /></label><td><span id="align"> <?php echo __('Delete all auto drafted Post/Page','wp-ultimate-csv-importer'); ?></span></td>
465
  </td></tr>
466
  <tr><td>
467
+ <label><input type='checkbox' name='delete_all_post_page_in_trash' id='delete_all_post_page_in_trash' value='delete_all_post_page_in_trash' <?php echo $skinny_delete_all_post_page_trash; ?> disabled /></label><td><span id="align"> <?php echo __('Delete all Post/Page in trash','wp-ultimate-csv-importer'); ?></span></td>
468
  </td><td>
469
+ <label><input type='checkbox' name='delete_all_spam_comments' id='delete_all_spam_comments' value='delete_all_spam_comments' <?php echo $skinny_delete_all_spam_comments; ?> disabled /></label><td><span id="align"> <?php echo __('Delete all Spam Comments','wp-ultimate-csv-importer'); ?></span></td>
470
  </td></tr>
471
  <tr><td>
472
+ <label><input type='checkbox' name='delete_all_comments_in_trash' id='delete_all_comments_in_trash' value='delete_all_comments_in_trash' <?php echo $skinny_delete_all_comments_trash; ?> disabled /></label><td><span id="align"> <?php echo __('Delete all Comments in trash','wp-ultimate-csv-importer'); ?></span></td>
473
  </td><td>
474
+ <label><input type='checkbox' name='delete_all_unapproved_comments' id='delete_all_unapproved_comments' value='delete_all_unapproved_comments' <?php echo $skinny_delete_all_unapproved_comments; ?> disabled /></label><td><span id="align"> <?php echo __('Delete all Unapproved Comments','wp-ultimate-csv-importer'); ?></span></td>
475
  </td></tr>
476
  <tr><td>
477
+ <label><input type='checkbox' name='delete_all_pingback_commments' id='delete_all_pingback_commments' value='delete_all_pingback_commments' <?php echo $skinny_delete_all_pingback_comments; ?> disabled /></label><td><span id="align"> <?php echo __('Delete all Pingback Comments','wp-ultimate-csv-importer'); ?></span></td>
478
  </td><td>
479
+ <label><input type='checkbox' name='delete_all_trackback_comments' id='delete_all_trackback_comments' value='delete_all_trackback_comments' <?php echo $skinny_delete_all_trackback_comments; ?> disabled /> </label><td><span id="align"> <?php echo __('Delete all Trackback Comments','wp-ultimate-csv-importer'); ?></span></td>
480
  </td></tr>
481
  </tbody>
482
  </table>
483
  <div style="float:right;padding:17px;margin-top:-2px;">
484
+ <input id="database_optimization" class="action btn btn-warning" type="button" onclick="check_if_avail();" value="<?php echo __('Run DB Optimizer','wp-ultimate-csv-importer'); ?>" name="database_optimization">
485
  </div>
486
  <div id="optimizelog" style="margin-top:40px;display:none;">
487
+ <h4><?php echo __('Database Optimization Log','wp-ultimate-csv-importer'); ?></h4>
488
  <div id="optimizationlog" class="optimizerlog">
489
  <div id="log" class="log">
490
+ <p style="margin:15px;color:red;" id="align"><?php echo __('NO LOGS YET NOW.','wp-ultimate-csv-importer'); ?></p>
491
  </div>
492
  </div>
493
  </div>
496
  <!--div-8-->
497
  <div id="section8" class="securityperformance" style="display:none;">
498
  <div class="title">
499
+ <h3><?php echo __('Security and Performance','wp-ultimate-csv-importer'); ?></h3>
500
  </div>
501
  <div id="data" class="databorder security-perfoemance" >
502
  <table class="securityfeatures">
503
  <tr><td>
504
+ <h3 id="innertitle"><?php echo __('Allow authors/editors to import','wp-ultimate-csv-importer'); ?></h3>
505
+ <label><div><?php echo __('It helps authors/editors can import using importer.','wp-ultimate-csv-importer'); ?></div>
506
+ <div><?php echo __('It does not support users.','wp-ultimate-csv-importer'); ?></div></label></td><td>
507
 
508
  <!--<label><input type='checkbox' name='enable_plugin_access_for_author' value='enable_plugin_access_for_author' <?php echo $skinnyData['enable_plugin_access_for_author']; ?> /> Allow authors to import </label>-->
509
 
510
 
511
+ <label id="allowimport" title = "<?php echo __('Check','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['authorimport']; ?>" ><input type='radio' name='enable_plugin_access_for_author' id="enableimport" class="importauthor" value='enable_plugin_access_for_author' <?php echo $skinnyData['enable_plugin_access_for_author']; ?> style="display:none" onclick="authorimportsetting(this.id);"/><?php echo $impCE->reduceStringLength(__('Check','wp-ultimate-csv-importer'),'Check All'); ?></label>
512
+ <label id="donallowimport" title = "<?php echo __('Uncheck','wp-ultimate-csv-importer'); ?>" class="<?php echo $skinnyData['noauthorimport']; ?>" > <input type='radio' name='enable_plugin_access_for_author' class="importauthor" style="display:none" onclick="authorimportsetting(this.id);"><?php echo $impCE->reduceStringLength(__('Uncheck','wp-ultimate-csv-importer'),'Uncheck All'); ?></label>
513
  </td></tr>
514
  </table>
515
  <table class="table table-striped">
516
  <tr><th colspan="3" >
517
+ <h3 id="innertitle"><?php echo __('Minimum required php.ini values (Ini configured values)','wp-ultimate-csv-importer'); ?></h3>
518
  </th></tr>
519
  <tr><th>
520
+ <label><?php echo __('Variables','wp-ultimate-csv-importer'); ?></label>
521
  </th><th class='ini-configured-values'>
522
+ <label><?php echo __('System values','wp-ultimate-csv-importer'); ?></label>
523
  </th><th class='min-requirement-values'>
524
+ <label><?php echo __('Minimum Requirements','wp-ultimate-csv-importer'); ?></label>
525
  </th></tr>
526
+ <tr><td><?php echo __('post_max_size','wp-ultimate-csv-importer'); ?> </td><td class='ini-configured-values'><?php echo ini_get('post_max_size') ?></td><td class='min-requirement-values'>10M</td></tr>
527
+ <tr><td><?php echo __('auto_append_file','wp-ultimate-csv-importer'); ?></td><td class='ini-configured-values'>-<?php echo ini_get('auto_append_file') ?></td><td class='min-requirement-values'>-</td></tr>
528
+ <tr><td><?php echo __('auto_prepend_file','wp-ultimate-csv-importer'); ?> </td><td class='ini-configured-values'>-<?php echo ini_get('auto_prepend_file') ?></td><td class='min-requirement-values'>-</td></tr>
529
+ <tr><td><?php echo __('upload_max_filesize','wp-ultimate-csv-importer'); ?> </td><td class='ini-configured-values'><?php echo ini_get('upload_max_filesize') ?></td><td class='min-requirement-values'>2M</td></tr>
530
+ <tr><td><?php echo __('file_uploads','wp-ultimate-csv-importer'); ?> </td><td class='ini-configured-values'><?php echo ini_get('file_uploads') ?></td><td class='min-requirement-values'>1</td></tr>
531
+ <tr><td><?php echo __('allow_url_fopen','wp-ultimate-csv-importer'); ?> </td><td class='ini-configured-values'><?php echo ini_get('allow_url_fopen') ?></td><td class='min-requirement-values'>1</td></tr>
532
+ <tr><td><?php echo __('max_execution_time','wp-ultimate-csv-importer'); ?> </td><td class='ini-configured-values'><?php echo ini_get('max_execution_time') ?></td><td class='min-requirement-values'>3000</td></tr>
533
+ <tr><td><?php echo __('max_input_time','wp-ultimate-csv-importer'); ?> </td><td class='ini-configured-values'><?php echo ini_get('max_input_time') ?></td><td class='min-requirement-values'>3000</td></tr>
534
+ <tr><td><?php echo __('max_input_vars','wp-ultimate-csv-importer'); ?> </td><td class='ini-configured-values'><?php echo ini_get('max_input_vars') ?></td><td class='min-requirement-values'>3000</td></tr>
535
+ <tr><td><?php echo __('memory_limit','wp-ultimate-csv-importer'); ?> </td><td class='ini-configured-values'><?php echo ini_get('memory_limit') ?></td><td class='min-requirement-values'>99M</td></tr>
536
  </table>
537
+ <h3 id="innertitle" colspan="2" ><?php echo __('Required Loaders and Extentions:','wp-ultimate-csv-importer'); ?></h3>
538
  <table class="table table-striped">
539
  <?php $loaders_extensions = get_loaded_extensions();
540
  if(function_exists('apache_get_modules'))
541
  $mod_security = apache_get_modules();
542
  ?>
543
+ <tr><td><?php echo __('IonCube Loader','wp-ultimate-csv-importer'); ?> </td><td><?php if(in_array('ionCube Loader', $loaders_extensions)) {
544
+ echo '<label style="color:green;">'.__("Yes",'wp-ultimate-csv-importer').'</label>';
545
  } else {
546
+ echo '<label style="color:red;">'.__("No",'wp-ultimate-csv-importer').'</label>';
547
  } ?> </td><td></td></tr>
548
  <tr><td>PDO </td><td><?php if(in_array('PDO', $loaders_extensions)) {
549
+ echo '<label style="color:green;">'.__("Yes",'wp-ultimate-csv-importer').'</label>';
550
  } else {
551
+ echo '<label style="color:red;">'.__("No",'wp-ultimate-csv-importer').'</label>';
552
  } ?></td><td></td></tr>
553
+ <tr><td><?php echo __('Curl','wp-ultimate-csv-importer'); ?> </td><td><?php if(in_array('curl', $loaders_extensions)) {
554
+ echo '<label style="color:green;">'.__('Yes','wp-ultimate-csv-importer').'</label>';
555
  } else {
556
+ echo '<label style="color:red;">' . __("No",'wp-ultimate-csv-importer').'</label>';
557
  } ?></td><td></td></tr>
558
+ <tr><td><?php echo __('Mod Security','wp-ultimate-csv-importer'); ?> </td><td><?php if(isset($mod_security) && in_array('mod_security.c', $mod_security)) {
559
+ echo '<label style="color:green;">'.__("Yes",'wp-ultimate-csv-importer').'</label>';
560
  } else {
561
+ echo '<label style="color:red;">' .__("No",'wp-ultimate-csv-importer').'</label>';
562
  } ?></td><td>
563
  <div style='float:left'>
564
  <a href="#" class="tooltip">
565
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-left:-74px;"/>
566
  <span style="margin-left:20px;margin-top:-10px;width:150px;">
567
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif"/>
568
+ <strong><?php echo __('htaccess settings:','wp-ultimate-csv-importer'); ?></strong>
569
+ <p><?php echo __('Locate the .htaccess file in Apache web root,if not create a new file named .htaccess and add the following:','wp-ultimate-csv-importer'); ?></p>
570
+ <b><?php echo '<IfModule mod_security.c>';?> <?php echo __('SecFilterEngine Off SecFilterScanPOST Off','wp-ultimate-csv-importer'); ?> <?php echo ' </IfModule>';?></b>
571
 
572
  </span>
573
  </a>
575
  </td></tr>
576
 
577
  </table>
578
+ <h3 id="innertitle" colspan="2" ><?php echo __('Debug Information:','wp-ultimate-csv-importer'); ?></h3>
579
  <table class="table table-striped">
580
+ <tr><td class='debug-info-name'><?php echo __('WordPress Version','wp-ultimate-csv-importer'); ?></td><td><?php echo $wp_version; ?></td><td></td></tr>
581
+ <tr><td class='debug-info-name'><?php echo __('PHP Version','wp-ultimate-csv-importer'); ?></td><td><?php echo phpversion(); ?></td><td></td></tr>
582
+ <tr><td class='debug-info-name'><?php echo __('MySQL Version','wp-ultimate-csv-importer'); ?></td><td><?php echo $wpdb->db_version(); ?></td><td></td></tr>
583
+ <tr><td class='debug-info-name'><?php echo __('Server SoftWare','wp-ultimate-csv-importer'); ?></td><td><?php echo $_SERVER[ 'SERVER_SOFTWARE' ]; ?></td><td></td></tr> <tr><td class='debug-info-name'><?php echo __('Your User Agent','wp-ultimate-csv-importer'); ?></td><td><?php echo $_SERVER['HTTP_USER_AGENT']; ?></td><td></td></tr>
584
+ <tr><td class='debug-info-name'><?php echo __('WPDB Prefix','wp-ultimate-csv-importer'); ?></td><td><?php echo $wpdb->prefix; ?></td><td></td></tr>
585
+ <tr><td class='debug-info-name'><?php echo __('WP Multisite Mode','wp-ultimate-csv-importer'); ?></td><td><?php if ( is_multisite() ) { echo '<label style="color:green;">'.__("Enabled",'wp-ultimate-csv-importer').'</label>'; } else { echo '<label style="color:red;">' .__("Disabled",'wp-ultimate-csv-importer').'</label>'; } ?> </td><td></td></tr>
586
+ <tr><td class='debug-info-name'><?php echo __('WP Memory Limit','wp-ultimate-csv-importer'); ?></td><td><?php echo (int) ini_get('memory_limit'); ?></td><td></td></tr>
587
  </table>
588
  </div>
589
  </div>
590
  <div id="section9" class="documentation" style="display:none;">
591
  <div class="title">
592
+ <h3><?php echo __('Documentation','wp-ultimate-csv-importer'); ?></h3>
593
  </div>
594
  <div id="data">
595
  <div id="video">
596
  <iframe width="560" height="315" src="//www.youtube.com/embed/FhTUXE5zk0o?list=PL2k3Ck1bFtbRli9VdJaqwtzTSzzkOrH4j" frameborder="0" allowfullscreen></iframe>
597
  </div>
598
  <div id="relatedpages">
599
+ <h2 id="doctitle"><?php echo __('Smackcoders Guidelines','wp-ultimate-csv-importer'); ?> </h2 >
600
+ <p> <a href="https://www.smackcoders.com/blog/category/web-development-news/" target="_blank"> <?php echo __('Development News','wp-ultimate-csv-importer'); ?> </a> </p>
601
+ <p> <a href="http://www.wpultimatecsvimporter.com/" target="_blank"> <?php echo __('Whats New?','wp-ultimate-csv-importer'); ?> </a> </p>
602
+ <p> <a href="http://wiki.smackcoders.com/WP_Ultimate_CSV_Importer_Pro" target="_blank"> <?php echo __('Documentation','wp-ultimate-csv-importer'); ?> </a> </p>
603
+ <p> <a href="https://www.smackcoders.com/blog/csv-importer-a-simple-and-easy-csv-importer-tutorial.html" target="_blank"> <?php echo __('Tutorials','wp-ultimate-csv-importer'); ?> </a> </p>
604
+ <p> <a href="http://www.youtube.com/user/smackcoders/channels" target="_blank"> <?php echo __('Youtube Channel','wp-ultimate-csv-importer'); ?> </a> </p>
605
+ <p> <a href="https://www.smackcoders.com/store/products-46/wordpress.html" target="_blank"> <?php echo __('Other Plugins','wp-ultimate-csv-importer'); ?> </a> </p>
606
  </div>
607
  </div>
608
  </div>
615
  <div id="repplugin"><span id="repavail" style="float:left" class="pluginAbsent"></span><label id="replabel" >Indicates the absence or inactive state of plugin.</label></div>
616
  </span>-->
617
  <span style="float:right" >
618
+ <button class="action btnn btn-primary" onclick="saveSettings();" style="float:right;position:relative; margin: 8px 15px 5px;padding:5px 10px" value="Save" name="savesettings" type="submit"><?php echo __('Save Changes','wp-ultimate-csv-importer'); ?> </button>
619
  </span>
620
  </div>
621
  </form>
modules/support/templates/index.php CHANGED
@@ -44,7 +44,7 @@ $impCE = new WPImporter_includes_helper();
44
 
45
  <div class= "contactus" id="contactus" style="height:480px">
46
  <div class="title">
47
- <h3><?php echo __('Video Walk Through',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
48
  </div>
49
  <div id="data" >
50
  <div id="video">
@@ -52,14 +52,14 @@ $impCE = new WPImporter_includes_helper();
52
  </div>
53
 
54
  <div id="relatedpages" style='position:relative;left:630px;bottom:345px;'>
55
- <h2 id="doctitle"><?php echo __('Smackcoders Support',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </h2 >
56
- <p style="line-height:20px;padding-top:20px"><?php echo __('Click',WP_CONST_ULTIMATE_CSV_IMP_SLUG);echo ' '; echo __('here',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> <a href="https://www.smackcoders.com/blog/category/web-development-news/?utm_source=WpPlugin&utm_medium=Free&utm_campaign=SupportTraffic" target="_blank"> <?php echo __('for Development News',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </a></p>
57
- <p style="line-height:20px"><?php echo __('View',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> <a href="http://www.wpultimatecsvimporter.com/?utm_source=WpPlugin&utm_medium=Free&utm_campaign=SupportTraffic" target="_blank"><?php echo __('Recent News',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></a> </p>
58
- <p style="line-height:20px"><?php echo __('Refer',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> <a href="http://www.wpultimatecsvimporter.com/documentation?utm_source=WpPlugin&utm_medium=Free&utm_campaign=SupportTraffic" target="_blank"><?php echo __('Detailed Document',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></a> </p>
59
- <p style="line-height:20px"><?php echo __('For',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?><a href="https://www.smackcoders.com/blog/csv-importer-a-simple-and-easy-csv-importer-tutorial.html?utm_source=WpPlugin&utm_medium=Free&utm_campaign=SupportTraffic" target="_blank"> <?php echo __('Tutorials',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </a> </p>
60
- <p style="line-height:20px"><?php echo __('For',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> <a href="http://www.youtube.com/user/smackcoders/channels" target="_blank"> <?php echo __('Youtube Channel',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </a> </p>
61
- <p style="line-height:20px"><?php echo __('To',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> <a href="http://www.wpultimatecsvimporter.com/contact-us" target="_blank"><?php echo __('Get Support',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></a></p>
62
- <p style="line-height:20px"><?php echo __('To Know the detail of',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> <a href="https://www.smackcoders.com/store/products-46/wordpress.html?utm_source=WpPlugin&utm_medium=Free&utm_campaign=SupportTraffic" target="_blank"> <?php echo __('Other Plugins',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </a> </p>
63
 
64
  </div>
65
  </div>
44
 
45
  <div class= "contactus" id="contactus" style="height:480px">
46
  <div class="title">
47
+ <h3><?php echo __('Video Walk Through','wp-ultimate-csv-importer'); ?></h3>
48
  </div>
49
  <div id="data" >
50
  <div id="video">
52
  </div>
53
 
54
  <div id="relatedpages" style='position:relative;left:630px;bottom:345px;'>
55
+ <h2 id="doctitle"><?php echo __('Smackcoders Support','wp-ultimate-csv-importer'); ?> </h2 >
56
+ <p style="line-height:20px;padding-top:20px"><?php echo __('Click','wp-ultimate-csv-importer');echo ' '; echo __('here','wp-ultimate-csv-importer'); ?> <a href="https://www.smackcoders.com/blog/category/web-development-news/?utm_source=WpPlugin&utm_medium=Free&utm_campaign=SupportTraffic" target="_blank"> <?php echo __('for Development News','wp-ultimate-csv-importer'); ?> </a></p>
57
+ <p style="line-height:20px"><?php echo __('View','wp-ultimate-csv-importer'); ?> <a href="http://www.wpultimatecsvimporter.com/?utm_source=WpPlugin&utm_medium=Free&utm_campaign=SupportTraffic" target="_blank"><?php echo __('Recent News','wp-ultimate-csv-importer'); ?></a> </p>
58
+ <p style="line-height:20px"><?php echo __('Refer','wp-ultimate-csv-importer'); ?> <a href="http://www.wpultimatecsvimporter.com/documentation?utm_source=WpPlugin&utm_medium=Free&utm_campaign=SupportTraffic" target="_blank"><?php echo __('Detailed Document','wp-ultimate-csv-importer'); ?></a> </p>
59
+ <p style="line-height:20px"><?php echo __('For','wp-ultimate-csv-importer'); ?><a href="https://www.smackcoders.com/blog/csv-importer-a-simple-and-easy-csv-importer-tutorial.html?utm_source=WpPlugin&utm_medium=Free&utm_campaign=SupportTraffic" target="_blank"> <?php echo __('Tutorials','wp-ultimate-csv-importer'); ?> </a> </p>
60
+ <p style="line-height:20px"><?php echo __('For','wp-ultimate-csv-importer'); ?> <a href="http://www.youtube.com/user/smackcoders/channels" target="_blank"> <?php echo __('Youtube Channel','wp-ultimate-csv-importer'); ?> </a> </p>
61
+ <p style="line-height:20px"><?php echo __('To','wp-ultimate-csv-importer'); ?> <a href="http://www.wpultimatecsvimporter.com/contact-us" target="_blank"><?php echo __('Get Support','wp-ultimate-csv-importer'); ?></a></p>
62
+ <p style="line-height:20px"><?php echo __('To Know the detail of','wp-ultimate-csv-importer'); ?> <a href="https://www.smackcoders.com/store/products-46/wordpress.html?utm_source=WpPlugin&utm_medium=Free&utm_campaign=SupportTraffic" target="_blank"> <?php echo __('Other Plugins','wp-ultimate-csv-importer'); ?> </a> </p>
63
 
64
  </div>
65
  </div>
modules/users/templates/index.php CHANGED
@@ -48,7 +48,7 @@ $nonce_Key = $impCE->create_nonce_key();
48
  <table class="table-importer">
49
  <tr>
50
  <td>
51
- <h3><?php echo __('CSV Import Options',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
52
  <div id='sec-one' <?php if($_REQUEST['step']!= 'uploadfile') {?> style='display:none;' <?php } ?>>
53
  <?php if(is_dir($impCE->getUploadDirectory('default'))){
54
  if (!is_writable($impCE->getUploadDirectory('default'))) {
@@ -83,16 +83,16 @@ $nonce_Key = $impCE->create_nonce_key();
83
  <tr>
84
  <div id='showmappingtemplate' style='float:left;padding-left:10px;'>
85
  <select disabled/>
86
- <option value ='select template' /> <?php echo __('select template',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </option>
87
  </select>
88
  <img src="<?php echo WP_CONTENT_URL; ?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG; ?>/images/pro_icon.gif" title="PRO Feature" />
89
  </div>
90
 
91
  </div>
92
  <div style="float:right;">
93
- <input type='button' name='clearform' id='clearform' value='<?php echo __("Clear",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' onclick="Reload();"
94
  class='btn btn-warning' style="margin-right:15px"/>
95
- <input type='submit' name='importfile' id='importfile' title = '<?php echo __('Next',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' value='<?php echo $impCE->reduceStringLength(__("Next",WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Next');echo (" >>");?>' disabled
96
  class='btn btn-primary' style="margin-right:15px"/>
97
  </div>
98
  </tr>
@@ -219,11 +219,11 @@ $custom_key=array();
219
  $mappingFields_arr = array();
220
  $wpcsvsettings=get_option('wpcsvfreesettings');
221
  ?>
222
- <h3><?php echo __('Map CSV to WP fields/attributes',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
223
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'mapping_settings' ) { ?>
224
  <div id='sec-two' <?php if($_REQUEST['step']!= 'mapping_settings'){ ?> style='display:none;' <?php } ?> >
225
  <div class='mappingsection'>
226
- <h2><div class="secondformheader"><?php echo __('Import Data Configuration',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div></h2>
227
  <div class='importstatus'>
228
  </div>
229
  <div id='mappingheader' class='mappingheader' >
@@ -273,10 +273,10 @@ $allcustomposts.=$value.',';
273
  <input type='hidden' id='stepstatus' name='stepstatus' value='<?php if(isset($_REQUEST['step'])) { echo $_REQUEST['step']; } ?>' />
274
  <input type='hidden' id='mappingArr' name='mappingArr' value='' />
275
  <input type='button' id='prev_record' name='prev_record' value='<<' class="btn btn-primary" onclick='gotoelement(this.id);' />
276
- <label style="padding-right:10px;" id='preview_of_row'><?php echo __('Showing preview of row # 1',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label>
277
  <input type='button' id='next_record' name='next_record' value='>>' class="btn btn-primary" onclick='gotoelement(this.id);' />
278
- <label id="importalign" style="margin-right:8px;"> <?php echo __('Go To Row #',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label><input type='text' id='goto_element' name='goto_element' />
279
- <input type='button' id='apply_element' name='apply_element' value='Show' class="btn btn-success" onclick='gotoelement(this.id);' style="margin-right:10px;margin-left:5px"/>
280
  </div>
281
  </td>
282
  </tr>
@@ -284,14 +284,14 @@ $allcustomposts.=$value.',';
284
  $count = 0;
285
  $usersObj = new UsersActions();
286
  ?>
287
- <tr><td class="left_align columnheader"> <b><?php echo __('CSV HEADER',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></b> </td><td class="columnheader"> <b><?php echo __('WP FIELDS',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></b> </td><td class="columnheader"> <b><?php echo __('CSV ROW',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></b> </td><td></td></tr>
288
  <?php
289
  foreach ($impCE->headers as $key => $value) {
290
  ?>
291
  <tr>
292
  <td class="left_align csvheader"><label><?php print($value);?></label></td>
293
  <td class="left_align"><select name="mapping<?php print($count); ?>" id="mapping<?php print($count); ?>" class="uiButton" onchange="addcustomfield(this.value,<?php echo $count; ?>);">
294
- <option id="select"><?php echo __('-- Select --',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></option>
295
  <?php
296
  foreach ($usersObj->defCols as $key1 => $value1) {
297
  if ($key1 == 'post_name')
@@ -334,18 +334,18 @@ $usersObj = new UsersActions();
334
  <span id='elementVal_<?php echo $key; ?>' > <?php echo $getrecords[0][$value]; ?> </span>
335
  </td>
336
  <td width = "180px;">
337
- <input class="customfieldtext" type="text" id="textbox<?php print($count); ?>" name="textbox<?php print($count); ?>" TITLE="<?php echo __('Replace the default value',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" style="display: none;" value="<?php echo $value ?>"/>
338
  <span style="display: none;" id="customspan<?php echo $count ?>">
339
  <a href="#" class="tooltip">
340
  <img src="<?php echo WP_PLUGIN_URL . '/' .WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png'; ?>" />
341
  <span class="tooltipFour">
342
  <img class="callout" src="<?php echo WP_PLUGIN_URL . '/'. WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/callout.gif'; ?>" />
343
- <strong><?php echo __('Give a name for your new custom field',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></strong>
344
  <img src="<?php echo WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png' ; ?>" style="margin-top: 6px;float:right;" />
345
  </span>
346
  </a>
347
  </span>
348
- <span style="display: none; color: red; margin-left: 5px;" id="customspan<?php echo $count ?>"><?php echo __('Replace the custom value',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span>
349
  </td>
350
  </tr>
351
  <?php
@@ -362,20 +362,20 @@ $mFieldsArr = substr($mFieldsArr, 0, -1);
362
  <div>
363
  <div class="goto_import_options" align=center>
364
  <div class="mappingactions" style="margin-top:26px;" >
365
- <input type='button' id='clear_mapping' title = '<?php echo __('clear Mapping',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>' class='clear_mapping btn btn-warning' name='clear_mapping' value='<?php echo __("Clear",WP_CONST_ULTIMATE_CSV_IMP_SLUG);echo ' ';echo $impCE->reduceStringLength(__(" Mapping",WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Mapping'); ?>' onclick='clearMapping();' style = 'float:left'/>
366
  <span style = ''>
367
  <a href="#" class="tooltip tooltip_smack" style = ''>
368
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
369
  <span class="tooltipClearMapping">
370
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
371
- <strong><?php echo __('Refresh to re-map fields',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></strong>
372
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
373
  </span>
374
  </a>
375
  </span>
376
  </div>
377
  <div class="mappingactions" >
378
- <input type='submit' id='goto_importer_setting' title ='<?php echo __("Next",WP_CONST_ULTIMATE_CSV_IMP_SLUG);?>' class='goto_importer_setting btn btn-info' name='goto_importer_setting' value='<?php echo $impCE->reduceStringLength(__("Next",WP_CONST_ULTIMATE_CSV_IMP_SLUG),'Next'); ?> >>' />
379
  </div>
380
  </div>
381
  </div>
@@ -386,7 +386,7 @@ $mFieldsArr = substr($mFieldsArr, 0, -1);
386
  </tr>
387
  <tr>
388
  <td>
389
- <h3><?php echo __('Settings and Performance',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
390
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'importoptions') { ?>
391
  <div id='sec-three' <?php if($_REQUEST['step']!= 'importoptions'){ ?> style='display:none;' <?php } ?> >
392
  <?php if(isset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES'])) { ?>
@@ -409,8 +409,8 @@ $mFieldsArr = substr($mFieldsArr, 0, -1);
409
  <div class="postbox" id="options" style=" margin-bottom:0px;">
410
  <!-- <h4 class="hndle">Search settings</h4>-->
411
  <div class="inside">
412
- <label id='importalign'><input type ='radio' id='importNow' name='importMode' value='' onclick='choose_import_mode(this.id);' checked/> <?php echo __("Import right away",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label>
413
- <label id='importalign'><input type ='radio' id='scheduleNow' name='importMode' value='' onclick='choose_import_mode(this.id);' disabled/> <?php echo __("Schedule now",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> </label>
414
  <div id='schedule' style='display:none'>
415
  <input type ='hidden' id='select_templatename' name='#select_templatename' value = '<?php if(isset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'])) { echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'] ; } ?>'>
416
  <?php //echo WPImporter_includes_schedulehelper::generatescheduleHTML(); ?>
@@ -441,12 +441,13 @@ $mFieldsArr = substr($mFieldsArr, 0, -1);
441
  </select><br>
442
  <input name="filterhtml" id="filterhtml" type="checkbox" value="1"> Filter out HTML-Tags while comparing <br>
443
  <input name="filterhtmlentities" id="filterhtmlentities" type="checkbox" value="1"> Decode HTML-Entities before comparing <br>-->
444
- <label id='importalign'><input name='duplicatecontent' id='duplicatecontent' type="checkbox" value=""> <?php echo __('Detect duplicate post content',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> <br>
445
  <input type='hidden' name='wpnoncekey' id='wpnoncekey' value='<?php echo $nonce_Key; ?>' />
446
- <label id='importalign'><input name='duplicatetitle' id='duplicatetitle' type="checkbox" value="" > <?php echo __('Detect duplicate post title',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> <br>
447
 
448
- <label id='importalign'><?php echo __('No. of posts/rows per server request',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> <span class="mandatory" style="margin-left:-13px;margin-right:10px">*</span> <input name="importlimit" id="importlimit" type="text" value="1" placeholder="10" onblur="check_allnumeric(this.value);"></label> <?php echo $impCE->helpnotes(); ?><br>
449
- <span class='msg' id='server_request_warning' style="display:none;color:red;margin-left:-10px;"><?php echo __('You can set upto',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?> <?php echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['totRecords']; ?> <?php echo __('per request.',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></span>
 
450
  <input type="hidden" id="currentlimit" name="currentlimit" value="0"/>
451
  <input type="hidden" id="tmpcount" name="tmpcount" value="0" />
452
  <input type="hidden" id="terminateaction" name="terminateaction" value="continue" />
@@ -455,12 +456,12 @@ $mFieldsArr = substr($mFieldsArr, 0, -1);
455
  Ignore these words while comparing <input name="filterwords" id="filterwords" type="text" value="">
456
  </li>-->
457
  </ul>
458
- <input id="startbutton" class="btn btn-primary" type="button" value="<?php echo __('Import Now',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings();" />
459
- <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="<?php echo __('Terminate Now',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" style="display:none;" onclick="terminateProcess();" />
460
- <input class="btn btn-warning" type="button" value="<?php echo __('Reload',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" id="importagain" style="display:none;" onclick="import_again();" />
461
- <input id="continuebutton" class="btn btn-lg btn-success" type="button" value="<?php echo __('Continue',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>" style="display:none;color: #ffffff;" onclick="continueprocess();">
462
  <!--<input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
463
- <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> <?php echo __('Processing...',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></div>
464
  <div class="clear"></div>
465
  </form>
466
  </div>
@@ -481,7 +482,7 @@ $mFieldsArr = substr($mFieldsArr, 0, -1);
481
  <table class="table-importer">
482
  <tr>
483
  <td>
484
- <h3><?php echo __("Summary",WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></h3>
485
  <div id='reportLog' class='postbox' style='display:none;'>
486
  <input type='hidden' name = 'csv_version' id = 'csv_version' value = "<?php if(isset($_POST['uploaded_csv_name'])) { echo $_POST['uploaded_csv_name']; } ?>">
487
  <div id="logtabs" class="logcontainer">
48
  <table class="table-importer">
49
  <tr>
50
  <td>
51
+ <h3><?php echo __('CSV Import Options','wp-ultimate-csv-importer'); ?></h3>
52
  <div id='sec-one' <?php if($_REQUEST['step']!= 'uploadfile') {?> style='display:none;' <?php } ?>>
53
  <?php if(is_dir($impCE->getUploadDirectory('default'))){
54
  if (!is_writable($impCE->getUploadDirectory('default'))) {
83
  <tr>
84
  <div id='showmappingtemplate' style='float:left;padding-left:10px;'>
85
  <select disabled/>
86
+ <option value ='select template' /> <?php echo __('select template','wp-ultimate-csv-importer'); ?> </option>
87
  </select>
88
  <img src="<?php echo WP_CONTENT_URL; ?>/plugins/<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG; ?>/images/pro_icon.gif" title="PRO Feature" />
89
  </div>
90
 
91
  </div>
92
  <div style="float:right;">
93
+ <input type='button' name='clearform' id='clearform' value='<?php echo __("Clear",'wp-ultimate-csv-importer'); ?>' onclick="Reload();"
94
  class='btn btn-warning' style="margin-right:15px"/>
95
+ <input type='submit' name='importfile' id='importfile' title = '<?php echo __('Next','wp-ultimate-csv-importer'); ?>' value='<?php echo $impCE->reduceStringLength(__("Next",'wp-ultimate-csv-importer'),'Next');echo (" >>");?>' disabled
96
  class='btn btn-primary' style="margin-right:15px"/>
97
  </div>
98
  </tr>
219
  $mappingFields_arr = array();
220
  $wpcsvsettings=get_option('wpcsvfreesettings');
221
  ?>
222
+ <h3><?php echo __('Map CSV to WP fields/attributes','wp-ultimate-csv-importer'); ?></h3>
223
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'mapping_settings' ) { ?>
224
  <div id='sec-two' <?php if($_REQUEST['step']!= 'mapping_settings'){ ?> style='display:none;' <?php } ?> >
225
  <div class='mappingsection'>
226
+ <h2><div class="secondformheader"><?php echo __('Import Data Configuration','wp-ultimate-csv-importer'); ?></div></h2>
227
  <div class='importstatus'>
228
  </div>
229
  <div id='mappingheader' class='mappingheader' >
273
  <input type='hidden' id='stepstatus' name='stepstatus' value='<?php if(isset($_REQUEST['step'])) { echo $_REQUEST['step']; } ?>' />
274
  <input type='hidden' id='mappingArr' name='mappingArr' value='' />
275
  <input type='button' id='prev_record' name='prev_record' value='<<' class="btn btn-primary" onclick='gotoelement(this.id);' />
276
+ <label style="padding-right:10px;" id='preview_of_row'><?php echo __('Showing preview of row # 1','wp-ultimate-csv-importer'); ?></label>
277
  <input type='button' id='next_record' name='next_record' value='>>' class="btn btn-primary" onclick='gotoelement(this.id);' />
278
+ <label id="importalign" style="margin-right:8px;"> <?php echo __('Go To Row #','wp-ultimate-csv-importer'); ?> </label><input type='text' id='goto_element' name='goto_element' />
279
+ <input type='button' id='apply_element' name='apply_element' value='<?php echo __('Show','wp-ultimate-csv-importer'); ?>' class="btn btn-success" onclick='gotoelement(this.id);' style="margin-right:10px;margin-left:5px"/>
280
  </div>
281
  </td>
282
  </tr>
284
  $count = 0;
285
  $usersObj = new UsersActions();
286
  ?>
287
+ <tr><td class="left_align columnheader"> <b><?php echo __('CSV HEADER','wp-ultimate-csv-importer'); ?></b> </td><td class="columnheader"> <b><?php echo __('WP FIELDS','wp-ultimate-csv-importer'); ?></b> </td><td class="columnheader"> <b><?php echo __('CSV ROW','wp-ultimate-csv-importer'); ?></b> </td><td></td></tr>
288
  <?php
289
  foreach ($impCE->headers as $key => $value) {
290
  ?>
291
  <tr>
292
  <td class="left_align csvheader"><label><?php print($value);?></label></td>
293
  <td class="left_align"><select name="mapping<?php print($count); ?>" id="mapping<?php print($count); ?>" class="uiButton" onchange="addcustomfield(this.value,<?php echo $count; ?>);">
294
+ <option id="select">-- Select --</option>
295
  <?php
296
  foreach ($usersObj->defCols as $key1 => $value1) {
297
  if ($key1 == 'post_name')
334
  <span id='elementVal_<?php echo $key; ?>' > <?php echo $getrecords[0][$value]; ?> </span>
335
  </td>
336
  <td width = "180px;">
337
+ <input class="customfieldtext" type="text" id="textbox<?php print($count); ?>" name="textbox<?php print($count); ?>" TITLE="<?php echo __('Replace the default value','wp-ultimate-csv-importer'); ?>" style="display: none;" value="<?php echo $value ?>"/>
338
  <span style="display: none;" id="customspan<?php echo $count ?>">
339
  <a href="#" class="tooltip">
340
  <img src="<?php echo WP_PLUGIN_URL . '/' .WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png'; ?>" />
341
  <span class="tooltipFour">
342
  <img class="callout" src="<?php echo WP_PLUGIN_URL . '/'. WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/callout.gif'; ?>" />
343
+ <strong><?php echo __('Give a name for your new custom field','wp-ultimate-csv-importer'); ?></strong>
344
  <img src="<?php echo WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG.'/images/help.png' ; ?>" style="margin-top: 6px;float:right;" />
345
  </span>
346
  </a>
347
  </span>
348
+ <span style="display: none; color: red; margin-left: 5px;" id="customspan<?php echo $count ?>"><?php echo __('Replace the custom value','wp-ultimate-csv-importer'); ?></span>
349
  </td>
350
  </tr>
351
  <?php
362
  <div>
363
  <div class="goto_import_options" align=center>
364
  <div class="mappingactions" style="margin-top:26px;" >
365
+ <input type='button' id='clear_mapping' title = '<?php echo __('clear Mapping','wp-ultimate-csv-importer'); ?>' class='clear_mapping btn btn-warning' name='clear_mapping' value='<?php echo __("Clear",'wp-ultimate-csv-importer');echo ' ';echo $impCE->reduceStringLength(__(" Mapping",'wp-ultimate-csv-importer'),'Mapping'); ?>' onclick='clearMapping();' style = 'float:left'/>
366
  <span style = ''>
367
  <a href="#" class="tooltip tooltip_smack" style = ''>
368
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" />
369
  <span class="tooltipClearMapping">
370
  <img class="callout" src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/callout.gif" />
371
+ <strong><?php echo __('Refresh to re-map fields','wp-ultimate-csv-importer'); ?></strong>
372
  <img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/help.png" style="margin-top: 6px;float:right;" />
373
  </span>
374
  </a>
375
  </span>
376
  </div>
377
  <div class="mappingactions" >
378
+ <input type='submit' id='goto_importer_setting' title ='<?php echo __("Next",'wp-ultimate-csv-importer');?>' class='goto_importer_setting btn btn-info' name='goto_importer_setting' value='<?php echo $impCE->reduceStringLength(__("Next",'wp-ultimate-csv-importer'),'Next'); ?> >>' />
379
  </div>
380
  </div>
381
  </div>
386
  </tr>
387
  <tr>
388
  <td>
389
+ <h3><?php echo __('Settings and Performance','wp-ultimate-csv-importer'); ?></h3>
390
  <?php if(isset($_REQUEST['step']) && $_REQUEST['step'] == 'importoptions') { ?>
391
  <div id='sec-three' <?php if($_REQUEST['step']!= 'importoptions'){ ?> style='display:none;' <?php } ?> >
392
  <?php if(isset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES'])) { ?>
409
  <div class="postbox" id="options" style=" margin-bottom:0px;">
410
  <!-- <h4 class="hndle">Search settings</h4>-->
411
  <div class="inside">
412
+ <label id='importalign'><input type ='radio' id='importNow' name='importMode' value='' onclick='choose_import_mode(this.id);' checked/> <?php echo __("Import right away",'wp-ultimate-csv-importer'); ?> </label>
413
+ <label id='importalign'><input type ='radio' id='scheduleNow' name='importMode' value='' onclick='choose_import_mode(this.id);' disabled/> <?php echo __("Schedule now",'wp-ultimate-csv-importer'); ?> </label>
414
  <div id='schedule' style='display:none'>
415
  <input type ='hidden' id='select_templatename' name='#select_templatename' value = '<?php if(isset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'])) { echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['templateid'] ; } ?>'>
416
  <?php //echo WPImporter_includes_schedulehelper::generatescheduleHTML(); ?>
441
  </select><br>
442
  <input name="filterhtml" id="filterhtml" type="checkbox" value="1"> Filter out HTML-Tags while comparing <br>
443
  <input name="filterhtmlentities" id="filterhtmlentities" type="checkbox" value="1"> Decode HTML-Entities before comparing <br>-->
444
+ <!--<label id='importalign'><input name='duplicatecontent' id='duplicatecontent' type="checkbox" value=""> <?php echo __('Detect duplicate post content',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> <br>
445
  <input type='hidden' name='wpnoncekey' id='wpnoncekey' value='<?php echo $nonce_Key; ?>' />
446
+ <label id='importalign'><input name='duplicatetitle' id='duplicatetitle' type="checkbox" value="" > <?php echo __('Detect duplicate post title',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label> <br> -->
447
 
448
+ <input type='hidden' name='wpnoncekey' id='wpnoncekey' value='<?php echo $nonce_Key; ?>' />
449
+ <label id='importalign'><?php echo __('No. of posts/rows per server request','wp-ultimate-csv-importer'); ?></label> <span class="mandatory" style="margin-left:-13px;margin-right:10px">*</span> <input name="importlimit" id="importlimit" type="text" value="1" placeholder="10" onblur="check_allnumeric(this.value);"></label> <?php echo $impCE->helpnotes(); ?><br>
450
+ <span class='msg' id='server_request_warning' style="display:none;color:red;margin-left:-10px;"><?php echo __('You can set upto','wp-ultimate-csv-importer'); ?> <?php echo $_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['totRecords']; ?> <?php echo __('per request.','wp-ultimate-csv-importer'); ?></span>
451
  <input type="hidden" id="currentlimit" name="currentlimit" value="0"/>
452
  <input type="hidden" id="tmpcount" name="tmpcount" value="0" />
453
  <input type="hidden" id="terminateaction" name="terminateaction" value="continue" />
456
  Ignore these words while comparing <input name="filterwords" id="filterwords" type="text" value="">
457
  </li>-->
458
  </ul>
459
+ <input id="startbutton" class="btn btn-primary" type="button" value="<?php echo __('Import Now','wp-ultimate-csv-importer'); ?>" style="color: #ffffff;background:#2E9AFE;" onclick="importRecordsbySettings();" />
460
+ <input id="terminatenow" class="btn btn-danger btn-sm" type="button" value="<?php echo __('Terminate Now','wp-ultimate-csv-importer'); ?>" style="display:none;" onclick="terminateProcess();" />
461
+ <input class="btn btn-warning" type="button" value="<?php echo __('Reload','wp-ultimate-csv-importer'); ?>" id="importagain" style="display:none;" onclick="import_again();" />
462
+ <input id="continuebutton" class="btn btn-lg btn-success" type="button" value="<?php echo __('Continue','wp-ultimate-csv-importer'); ?>" style="display:none;color: #ffffff;" onclick="continueprocess();">
463
  <!--<input id="continuebutton" class="button" type="button" value="Continue old search" style="color: #ffffff;background:#2E9AFE;">-->
464
+ <div id="ajaxloader" style="display:none"><img src="<?php echo WP_CONST_ULTIMATE_CSV_IMP_DIR; ?>images/ajax-loader.gif"> <?php echo __('Processing...','wp-ultimate-csv-importer'); ?></div>
465
  <div class="clear"></div>
466
  </form>
467
  </div>
482
  <table class="table-importer">
483
  <tr>
484
  <td>
485
+ <h3><?php echo __("Summary",'wp-ultimate-csv-importer'); ?></h3>
486
  <div id='reportLog' class='postbox' style='display:none;'>
487
  <input type='hidden' name = 'csv_version' id = 'csv_version' value = "<?php if(isset($_POST['uploaded_csv_name'])) { echo $_POST['uploaded_csv_name']; } ?>">
488
  <div id="logtabs" class="logcontainer">
modules/woocommerce/templates/index.php CHANGED
@@ -36,4 +36,4 @@
36
  ********************************************************************************/
37
  if ( ! defined( 'ABSPATH' ) )
38
  exit; // Exit if accessed directly
39
- echo "<div align='center' style='width:100%;'> <p class='warnings' style='width:50%;text-align:center;color:red;'>".__('This feature is only available in PRO!.',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</p></div>";
36
  ********************************************************************************/
37
  if ( ! defined( 'ABSPATH' ) )
38
  exit; // Exit if accessed directly
39
+ echo "<div align='center' style='width:100%;'> <p class='warnings' style='width:50%;text-align:center;color:red;'>".__('This feature is only available in PRO!.','wp-ultimate-csv-importer')."</p></div>";
modules/wpcommerce/templates/index.php CHANGED
@@ -36,4 +36,4 @@
36
  ********************************************************************************/
37
  if ( ! defined( 'ABSPATH' ) )
38
  exit; // Exit if accessed directly
39
- echo "<div align='center' style='width:100%;'> <p class='warnings' style='width:50%;text-align:center;color:red;'>". __('This feature is only available in PRO!.',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</p></div>";
36
  ********************************************************************************/
37
  if ( ! defined( 'ABSPATH' ) )
38
  exit; // Exit if accessed directly
39
+ echo "<div align='center' style='width:100%;'> <p class='warnings' style='width:50%;text-align:center;color:red;'>". __('This feature is only available in PRO!.','wp-ultimate-csv-importer')."</p></div>";
plugins/class.inlineimages.php CHANGED
@@ -14,8 +14,12 @@ class WPImporter_inlineImages {
14
  # print_r($res_array); die('am from importwithInlineImages function');
15
  $updatearray = array();
16
  $res_array = $this->capture_all_shortcodes($data_array['post_content'],$postID);
17
- $updatearray['post_content'] = isset($res_array['post_content']) ? $res_array['post_content'] : '';
18
- $updatearray['ID'] = $postID;
 
 
 
 
19
  $post_id = wp_update_post($updatearray);
20
  $impObj->insPostCount++;
21
  $res_array['inlineimage_shortcode'] = isset($res_array['inlineimage_shortcode']) ? $res_array['inlineimage_shortcode'] : '';
14
  # print_r($res_array); die('am from importwithInlineImages function');
15
  $updatearray = array();
16
  $res_array = $this->capture_all_shortcodes($data_array['post_content'],$postID);
17
+ if(isset($res_array['post_content'])){
18
+ $updatearray['post_content'] = $res_array['post_content'];
19
+ $updatearray['ID'] = $postID;
20
+ }
21
+ else
22
+ $updatearray['ID'] = $postID;
23
  $post_id = wp_update_post($updatearray);
24
  $impObj->insPostCount++;
25
  $res_array['inlineimage_shortcode'] = isset($res_array['inlineimage_shortcode']) ? $res_array['inlineimage_shortcode'] : '';
templates/import.php CHANGED
@@ -161,6 +161,7 @@ for ($i = $limit; $i < $count; $i++) {
161
  $logarr = array('post_id','assigned_author','category','tags','postdate','image','poststatus');
162
  if ($curr_action == 'post' || $curr_action == 'page' || $curr_action == 'custompost' || $curr_action == 'eshop') {
163
  foreach($importObj->detailedLog as $logKey => $logVal) {
 
164
  foreach($logarr as $logarrkey){
165
  if(!array_key_exists($logarrkey,$logVal)){
166
  $logVal[$logarrkey] = '';
@@ -171,7 +172,10 @@ for ($i = $limit; $i < $count; $i++) {
171
  echo " , " . $logVal['SKU'] . ", " . $logVal['verify_here'] . "</p>";
172
  } else {
173
  echo " , " . $logVal['verify_here'] . "</p>";
174
- }
 
 
 
175
  }
176
  }
177
  else if ($curr_action == 'comments' || $curr_action == 'users') {
@@ -238,7 +242,9 @@ if ($inserted_post_count != 0) {
238
  unset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['captureId']);
239
  }
240
  if ($limit == $totRecords) {
241
- echo "<br><div style='margin-left:10px; color:green;'>Import successfully completed!.</div>";
 
 
242
  }
243
  /*if ($curr_action == 'users') {
244
  echo "<div style='margin-left:7px;'>";
161
  $logarr = array('post_id','assigned_author','category','tags','postdate','image','poststatus');
162
  if ($curr_action == 'post' || $curr_action == 'page' || $curr_action == 'custompost' || $curr_action == 'eshop') {
163
  foreach($importObj->detailedLog as $logKey => $logVal) {
164
+ if(array_key_exists($logarr[0],$logVal)) {
165
  foreach($logarr as $logarrkey){
166
  if(!array_key_exists($logarrkey,$logVal)){
167
  $logVal[$logarrkey] = '';
172
  echo " , " . $logVal['SKU'] . ", " . $logVal['verify_here'] . "</p>";
173
  } else {
174
  echo " , " . $logVal['verify_here'] . "</p>";
175
+ } }
176
+ else {
177
+ echo "<p style='margin-left:10px;'>" . $logVal['verify_here'] . "</p>";
178
+ }
179
  }
180
  }
181
  else if ($curr_action == 'comments' || $curr_action == 'users') {
242
  unset($_SESSION['SMACK_MAPPING_SETTINGS_VALUES']['captureId']);
243
  }
244
  if ($limit == $totRecords) {
245
+ echo "<br><div style='margin-left:10px; color:green;'>";
246
+ echo __('Import successfully completed!.','wp-ultimate-csv-importer');
247
+ echo "</div>";
248
  }
249
  /*if ($curr_action == 'users') {
250
  echo "<div style='margin-left:7px;'>";
templates/layout.php CHANGED
@@ -65,7 +65,7 @@ die('You are not allowed to do this operation.Please contact your admin.');
65
  }
66
  else
67
  {
68
- echo "<div align='center' style='width:100%;'> <p class='warnings' style='width:50%;text-align:center;color:red;'>".__('This feature is only available in PRO!.',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</p></div>";
69
  }
70
 
71
  ?>
65
  }
66
  else
67
  {
68
+ echo "<div align='center' style='width:100%;'> <p class='warnings' style='width:50%;text-align:center;color:red;'>".__('This feature is only available in PRO!.','wp-ultimate-csv-importer')."</p></div>";
69
  }
70
 
71
  ?>
templates/menu.php CHANGED
@@ -68,41 +68,44 @@ $tab_inc = 1;
68
  $menuHTML = "<nav class='navbar navbar-default' role='navigation'>
69
  <div>
70
  <ul class='nav navbar-nav'>
71
- <li class = '{$dashboard}' ><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=dashboard' >".__('Dashboard',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></li>
72
  <li class='dropdown {$module} '>
73
  <a href='#' data-toggle='dropdown'>
74
- ". __('Imports',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."
75
  <b class='caret'></b>
76
  </a>
77
  <ul class='dropdown-menu'>
78
- <li class= '{$post}'><a href= 'admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=post&step=uploadfile'>".__('Post',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></li>
79
- <li class = '{$page}'><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=page&step=uploadfile'>". __('Page',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></li>
80
- <li class = '{$custompost}'><a href= 'admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=custompost&step=uploadfile'>". __('Custom Post',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></li>";
81
  if($comments) {
82
- $menuHTML .= "<li class = '{$comments}'><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=comments&step=uploadfile'>". __('Comments',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></li>";
83
  }
84
  if($users) {
85
- $menuHTML .= "<li class = '{$users}'><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=users&step=uploadfile'>". __('Users',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></li>";
86
  }
87
  if($eshop) {
88
- $menuHTML .= "<li class = '{$eshop}'><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=eshop&step=uploadfile'>". __('Eshop',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></li>";
89
  }
90
  $menuHTML .= "</ul>
91
  </li>
92
  <li class='dropdown {$manager}'>
93
- <a href='#' data-toggle='dropdown'> Managers <b class='caret'></b> </a>
 
 
 
94
  <ul class='dropdown-menu'>
95
- <li class = '{$filemanager}'><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=filemanager'>". __('File Manager',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></li>
96
- <li class = '{$schedulemapping}'><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=schedulemapping'>". __('Smart Scheduler',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></li>
97
- <li class = '{$mappingtemplate}'><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=mappingtemplate'>". __('Templates',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></li>
98
  </ul>
99
  </li>";
100
- $menuHTML .= "<li class = '{$export}'><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=export'>". __('Export',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></li>";
101
- $menuHTML .= "<li class= '{$settings}'><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=settings' />". __('Settings',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></li>
102
- <li class = '{$support}'><a href= 'admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=support'>". __('Support',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></li>
103
 
104
- <li ><a href='http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html?utm_source=WpPlugin&utm_medium=Free&utm_campaign=SupportTraffic' target='_blank'>". __('Go Pro Now',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></li>
105
- <li ><a href='http://demo.smackcoders.com/demowpthree/wp-admin/admin.php?page=wp-ultimate-csv-importer-pro/index.php&__module=dashboard' target='_blank'>" . __('Try Live Demo Now',WP_CONST_ULTIMATE_CSV_IMP_SLUG)."</a></li>
106
  </ul>";
107
  $plugin_version = get_option('ULTIMATE_CSV_IMP_VERSION');
108
  $menuHTML .= "</div>";
68
  $menuHTML = "<nav class='navbar navbar-default' role='navigation'>
69
  <div>
70
  <ul class='nav navbar-nav'>
71
+ <li class = '{$dashboard}' ><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=dashboard' >".__('Dashboard','wp-ultimate-csv-importer')."</a></li>
72
  <li class='dropdown {$module} '>
73
  <a href='#' data-toggle='dropdown'>
74
+ ". __('Imports','wp-ultimate-csv-importer')."
75
  <b class='caret'></b>
76
  </a>
77
  <ul class='dropdown-menu'>
78
+ <li class= '{$post}'><a href= 'admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=post&step=uploadfile'>".__('Post','wp-ultimate-csv-importer')."</a></li>
79
+ <li class = '{$page}'><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=page&step=uploadfile'>". __('Page','wp-ultimate-csv-importer')."</a></li>
80
+ <li class = '{$custompost}'><a href= 'admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=custompost&step=uploadfile'>". __('Custom Post','wp-ultimate-csv-importer')."</a></li>";
81
  if($comments) {
82
+ $menuHTML .= "<li class = '{$comments}'><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=comments&step=uploadfile'>". __('Comments','wp-ultimate-csv-importer')."</a></li>";
83
  }
84
  if($users) {
85
+ $menuHTML .= "<li class = '{$users}'><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=users&step=uploadfile'>". __('Users','wp-ultimate-csv-importer')."</a></li>";
86
  }
87
  if($eshop) {
88
+ $menuHTML .= "<li class = '{$eshop}'><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=eshop&step=uploadfile'>". __('Eshop','wp-ultimate-csv-importer')."</a></li>";
89
  }
90
  $menuHTML .= "</ul>
91
  </li>
92
  <li class='dropdown {$manager}'>
93
+ <a href='#' data-toggle='dropdown'>
94
+ ". __('Managers','wp-ultimate-csv-importer')."
95
+ <b class='caret'></b>
96
+ </a>
97
  <ul class='dropdown-menu'>
98
+ <li class = '{$filemanager}'><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=filemanager'>". __('File Manager','wp-ultimate-csv-importer')."</a></li>
99
+ <li class = '{$schedulemapping}'><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=schedulemapping'>". __('Smart Scheduler','wp-ultimate-csv-importer')."</a></li>
100
+ <li class = '{$mappingtemplate}'><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=mappingtemplate'>". __('Templates','wp-ultimate-csv-importer')."</a></li>
101
  </ul>
102
  </li>";
103
+ $menuHTML .= "<li class = '{$export}'><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=export'>". __('Export','wp-ultimate-csv-importer')."</a></li>";
104
+ $menuHTML .= "<li class= '{$settings}'><a href='admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=settings' />". __('Settings','wp-ultimate-csv-importer')."</a></li>
105
+ <li class = '{$support}'><a href= 'admin.php?page=" . WP_CONST_ULTIMATE_CSV_IMP_SLUG . "/index.php&__module=support'>". __('Support','wp-ultimate-csv-importer')."</a></li>
106
 
107
+ <li ><a href='http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html?utm_source=WpPlugin&utm_medium=Free&utm_campaign=SupportTraffic' target='_blank'>". __('Go Pro Now','wp-ultimate-csv-importer')."</a></li>
108
+ <li ><a href='http://demo.smackcoders.com/demowpthree/wp-admin/admin.php?page=wp-ultimate-csv-importer-pro/index.php&__module=dashboard' target='_blank'>" . __('Try Live Demo Now','wp-ultimate-csv-importer')."</a></li>
109
  </ul>";
110
  $plugin_version = get_option('ULTIMATE_CSV_IMP_VERSION');
111
  $menuHTML .= "</div>";
upgrade/migrationfreev3.6.php CHANGED
@@ -4,14 +4,14 @@ if ( ! defined( 'ABSPATH' ) )
4
  ?>
5
  <div align=center style="padding-top:220px;">
6
  <form name="upgrade_to_latest" method="post">
7
- <label style="font-size:2em;" id="step1"><?php echo __('Upgrade to Latest Version 3.6',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?></label>
8
- <input type="submit" class="btn btn-primary btn-sm" name="upgrade" id="upgrade" value="<?php echo __('Click Here',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>"/>
9
  </form>
10
  <form name="goto_plugin_page" method="post"
11
  action="admin.php?page=<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG; ?>/index.php&__module=settings">
12
- <label style="font-size:2em;display:none;" id='upgrade_state'>Upgrade is inprogress...</label>
13
  <input type="submit" style="display:none;" class="btn btn-success" name="gotopluginpage" id="gotopluginpage"
14
- value="<?php echo __('Goto Plugin Settings',WP_CONST_ULTIMATE_CSV_IMP_SLUG); ?>"/>
15
  </form>
16
  </div>
17
  <?php
4
  ?>
5
  <div align=center style="padding-top:220px;">
6
  <form name="upgrade_to_latest" method="post">
7
+ <label style="font-size:2em;" id="step1"><?php echo __('Upgrade to Latest Version 3.6','wp-ultimate-csv-importer'); ?></label>
8
+ <input type="submit" class="btn btn-primary btn-sm" name="upgrade" id="upgrade" value="<?php echo __('Click Here','wp-ultimate-csv-importer'); ?>"/>
9
  </form>
10
  <form name="goto_plugin_page" method="post"
11
  action="admin.php?page=<?php echo WP_CONST_ULTIMATE_CSV_IMP_SLUG; ?>/index.php&__module=settings">
12
+ <label style="font-size:2em;display:none;" id='upgrade_state'><?php echo __('Upgrade is inprogress...','wp-ultimate-csv-importer'); ?></label>
13
  <input type="submit" style="display:none;" class="btn btn-success" name="gotopluginpage" id="gotopluginpage"
14
+ value="<?php echo __('Goto Plugin Settings','wp-ultimate-csv-importer'); ?>"/>
15
  </form>
16
  </div>
17
  <?php