Export WordPress data to XML/CSV - Version 1.3.3

Version Description

  • new feature: compatibility with the Gravity Forms Export Add-On
  • improvement: fallback to PclZip if ZipArchive isn't available
  • bugfix: some output not correctly escaped
Download this release

Release Info

Developer soflyy
Plugin Icon 128x128 Export WordPress data to XML/CSV
Version 1.3.3
Comparing to
See all releases

Code changes from version 1.3.2 to 1.3.3

Files changed (142) hide show
  1. actions/admin_head.php +4 -4
  2. actions/admin_init.php +0 -0
  3. actions/admin_menu.php +0 -0
  4. actions/admin_notices.php +1 -1
  5. actions/wp_ajax_scheduling_dialog_content.php +19 -19
  6. actions/wp_ajax_wpae_available_rules.php +53 -41
  7. actions/wp_ajax_wpae_filtering.php +10 -10
  8. actions/wp_ajax_wpae_filtering_count.php +351 -355
  9. actions/wp_ajax_wpae_preview.php +34 -19
  10. actions/wp_ajax_wpae_upgrade_notice.php +15 -15
  11. actions/wp_ajax_wpallexport.php +52 -14
  12. classes/config.php +0 -0
  13. classes/download.php +0 -0
  14. classes/helper.php +15 -0
  15. classes/input.php +0 -0
  16. classes/installer.php +2 -2
  17. classes/session.php +0 -0
  18. classes/wpallimport.php +21 -1
  19. classes/zip.php +59 -40
  20. config/options.php +0 -0
  21. controllers/admin/export.php +9 -5
  22. controllers/admin/help.php +0 -0
  23. controllers/admin/settings.php +0 -0
  24. controllers/controller.php +0 -0
  25. controllers/controller/admin.php +0 -0
  26. helpers/backward.php +0 -0
  27. helpers/pmxe_render_xml_attributes.php +1 -1
  28. helpers/pmxe_render_xml_element.php +6 -8
  29. helpers/pmxe_render_xml_text.php +2 -2
  30. helpers/str_getcsv.php +0 -0
  31. helpers/wp_all_export_comments_clauses.php +26 -0
  32. helpers/wp_all_export_get_cpt_name.php +3 -0
  33. helpers/wp_all_export_reverse_rules_html.php +14 -12
  34. helpers/wp_all_export_terms_clauses.php +27 -0
  35. helpers/wp_redirect_or_javascript.php +1 -1
  36. libraries/XmlCsvExport.php +68 -2
  37. libraries/XmlExportCustomRecord.php +344 -0
  38. libraries/XmlExportEngine.php +60 -42
  39. libraries/XmlExportFiltering.php +2 -2
  40. models/export/list.php +0 -0
  41. models/export/record.php +4 -2
  42. models/model.php +0 -0
  43. models/model/list.php +0 -0
  44. models/model/record.php +0 -0
  45. readme.txt +7 -2
  46. schema.php +0 -0
  47. src/App/Service/ScheduledExport.php +9 -9
  48. src/App/UnsecuredController/SchedulingController.php +1 -1
  49. src/Pro/Filtering/FilteringCustom.php +163 -0
  50. src/Pro/Filtering/FilteringFactory.php +1 -1
  51. src/Scheduling/views/ManualScheduling.php +13 -13
  52. src/Scheduling/views/SaveSchedulingButton.php +2 -2
  53. src/Scheduling/views/SchedulingHelp.php +9 -9
  54. src/Scheduling/views/SchedulingOptions.php +23 -23
  55. src/Scheduling/views/SchedulingUI.php +21 -21
  56. src/WordPress/AdminDismissibleNotice.php +4 -3
  57. src/WordPress/AdminNotice.php +2 -2
  58. src/WordPress/SitewideAdminDismissibleNotice.php +5 -3
  59. static/css/admin-ie.css +0 -0
  60. static/css/admin-wp-3.8.css +0 -0
  61. static/css/admin.css +3065 -3001
  62. static/img/date-picker.gif +0 -0
  63. static/img/down.gif +0 -0
  64. static/img/drag.png +0 -0
  65. static/img/ico-add-new.png +0 -0
  66. static/img/ico-remove.png +0 -0
  67. static/img/loading.png +0 -0
  68. static/img/progress_animated.gif +0 -0
  69. static/img/screen-options-right-up.gif +0 -0
  70. static/img/screen-options-right.gif +0 -0
  71. static/img/stars.png +0 -0
  72. static/js/admin.js +32 -31
  73. static/js/jquery/css/redmond/images/animated-overlay.gif +0 -0
  74. static/js/jquery/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  75. static/js/jquery/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100_1.png +0 -0
  76. static/js/jquery/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  77. static/js/jquery/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  78. static/js/jquery/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  79. static/js/jquery/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  80. static/js/jquery/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  81. static/js/jquery/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  82. static/js/jquery/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  83. static/js/jquery/css/redmond/images/ui-icons_217bc0_256x240.png +0 -0
  84. static/js/jquery/css/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
  85. static/js/jquery/css/redmond/images/ui-icons_469bdd_256x240.png +0 -0
  86. static/js/jquery/css/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
  87. static/js/jquery/css/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
  88. static/js/jquery/css/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
  89. static/js/jquery/css/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
  90. static/js/jquery/css/redmond/jquery-ui.css +0 -0
  91. static/js/jquery/css/select2/select2-bootstrap.css +0 -0
  92. static/js/jquery/css/select2/select2-spinner.gif +0 -0
  93. static/js/jquery/css/select2/select2.css +0 -0
  94. static/js/jquery/css/select2/select2.png +0 -0
  95. static/js/jquery/css/smoothness/images/tipsy.gif +0 -0
  96. static/js/jquery/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  97. static/js/jquery/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  98. static/js/jquery/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  99. static/js/jquery/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  100. static/js/jquery/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  101. static/js/jquery/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  102. static/js/jquery/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  103. static/js/jquery/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  104. static/js/jquery/css/smoothness/images/ui-icons_222222_256x240.png +0 -0
  105. static/js/jquery/css/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  106. static/js/jquery/css/smoothness/images/ui-icons_454545_256x240.png +0 -0
  107. static/js/jquery/css/smoothness/images/ui-icons_888888_256x240.png +0 -0
  108. static/js/jquery/css/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  109. static/js/jquery/css/smoothness/jquery-ui.css +0 -0
  110. static/js/jquery/css/smoothness/jquery.tipsy.css +0 -0
  111. static/js/jquery/jquery.tipsy.js +0 -0
  112. static/js/jquery/select2.min.js +0 -0
  113. static/js/jquery/ui.autocomplete.js +0 -0
  114. static/js/jquery/ui.datepicker.js +0 -0
  115. static/js/pmxe.js +0 -0
  116. views/admin/export/blocks/filters.php +31 -23
  117. views/admin/export/google.php +6 -3
  118. views/admin/export/index.php +48 -39
  119. views/admin/export/options.php +18 -15
  120. views/admin/export/options/settings.php +22 -17
  121. views/admin/export/process.php +21 -16
  122. views/admin/export/success_page.php +25 -22
  123. views/admin/export/template.php +110 -100
  124. views/admin/export/template/add_new_field.php +10 -10
  125. views/admin/export/template/advanced_field_options.php +16 -16
  126. views/admin/export/template/custom_xml_help.php +25 -25
  127. views/admin/export/template/functions_editor.php +3 -3
  128. views/admin/export/variation_options.php +16 -13
  129. views/admin/export/variation_options_common.php +5 -2
  130. views/admin/feedback/index.php +5 -0
  131. views/admin/google/index.php +4 -0
  132. views/admin/google/indexbck.php +3 -0
  133. views/admin/help/index.php +9 -4
  134. views/admin/manage/bulk.php +6 -1
  135. views/admin/manage/delete.php +7 -2
  136. views/admin/manage/index.php +84 -51
  137. views/admin/manage/scheduling.php +30 -25
  138. views/admin/manage/templates.php +9 -4
  139. views/admin/manage/update.php +16 -12
  140. views/admin/settings/index.php +44 -39
  141. views/controller/error.php +1 -1
  142. wp-all-export.php +11 -8
actions/admin_head.php CHANGED
@@ -6,7 +6,7 @@ function pmxe_admin_head(){
6
  if ($export_id){
7
  ?>
8
  <script type="text/javascript">
9
- var export_id = '<?php echo $export_id; ?>';
10
  </script>
11
  <?php
12
  }
@@ -16,11 +16,11 @@ function pmxe_admin_head(){
16
  ?>
17
  <script type="text/javascript" id="googleMerchantsInit">
18
  if(typeof GoogleMerchants != 'undefined') {
19
- GoogleMerchants.constant('NONCE', '<?php echo $wp_all_export_ajax_nonce; ?>');
20
  }
21
  var ajaxurl = '<?php echo admin_url( "admin-ajax.php" ); ?>';
22
- var export_action = '<?php echo $export_action; ?>';
23
- var wp_all_export_security = '<?php echo $wp_all_export_ajax_nonce; ?>';
24
  </script>
25
  <?php
26
  }
6
  if ($export_id){
7
  ?>
8
  <script type="text/javascript">
9
+ var export_id = '<?php echo intval($export_id); ?>';
10
  </script>
11
  <?php
12
  }
16
  ?>
17
  <script type="text/javascript" id="googleMerchantsInit">
18
  if(typeof GoogleMerchants != 'undefined') {
19
+ GoogleMerchants.constant('NONCE', '<?php echo esc_js($wp_all_export_ajax_nonce); ?>');
20
  }
21
  var ajaxurl = '<?php echo admin_url( "admin-ajax.php" ); ?>';
22
+ var export_action = '<?php echo esc_js($export_action); ?>';
23
+ var wp_all_export_security = '<?php echo esc_js($wp_all_export_ajax_nonce); ?>';
24
  </script>
25
  <?php
26
  }
actions/admin_init.php CHANGED
File without changes
actions/admin_menu.php CHANGED
File without changes
actions/admin_notices.php CHANGED
@@ -12,7 +12,7 @@ function pmxe_admin_notices() {
12
  foreach ($messages as $type => $m) {
13
  in_array((string)$type, array('updated', 'error')) or $type = 'updated';
14
  ?>
15
- <div class="<?php echo $type ?>"><p><?php echo $m ?></p></div>
16
  <?php
17
  }
18
  }
12
  foreach ($messages as $type => $m) {
13
  in_array((string)$type, array('updated', 'error')) or $type = 'updated';
14
  ?>
15
+ <div class="<?php echo esc_attr($type); ?>"><p><?php echo esc_html($m); ?></p></div>
16
  <?php
17
  }
18
  }
actions/wp_ajax_scheduling_dialog_content.php CHANGED
@@ -465,7 +465,7 @@ function pmxe_wp_ajax_scheduling_dialog_content()
465
 
466
  formData.push({name: 'security', value: wp_all_export_security});
467
  formData.push({name: 'action', value: 'save_scheduling'});
468
- formData.push({name: 'element_id', value: <?php echo $export_id; ?>});
469
  formData.push({name: 'scheduling_enable', value: schedulingEnable});
470
 
471
  $.ajax({
@@ -525,7 +525,7 @@ function pmxe_wp_ajax_scheduling_dialog_content()
525
  $('#find-subscription-link').show();
526
  $('#find-subscription-link').animate({left: '410px'}, 300, 'swing');
527
  }, 225);
528
- $('.subscribe-button-text').html('<?php _e('Activate'); ?>');
529
  saveSubscription = true;
530
  return false;
531
  });
@@ -565,14 +565,14 @@ function pmxe_wp_ajax_scheduling_dialog_content()
565
 
566
  $('#subscribe-button .easing-spinner').hide();
567
  $('#subscribe-button svg.error').show();
568
- $('.subscribe-button-text').html('<?php _e('Subscribe'); ?>');
569
 
570
  $('#subscribe-button svg.error').fadeOut(3000, function () {
571
  $('#subscribe-button svg.error').hide({queue: false});
572
 
573
  });
574
 
575
- $('#add-subscription').html('<?php _e('Invalid license, try again?');?>');
576
  $('.text-container p').fadeIn();
577
 
578
  $('#find-subscription-link').animate({width: 'toggle'}, 300, 'swing');
@@ -584,7 +584,7 @@ function pmxe_wp_ajax_scheduling_dialog_content()
584
 
585
  $('#add-subscription-field').val('');
586
 
587
- $('#subscribe-button-text').html('<?php _e('Subscribe'); ?>');
588
  saveSubscription = false;
589
  }
590
  }
@@ -642,14 +642,14 @@ function pmxe_wp_ajax_scheduling_dialog_content()
642
  <label>
643
  <input type="radio" name="scheduling_enable"
644
  value="0" <?php if ((isset($post['scheduling_enable']) && $post['scheduling_enable'] == 0) || !isset($post['scheduling_enable'])) { ?> checked="checked" <?php } ?>/>
645
- <h4 style="display: inline-block;"><?php _e('Do Not Schedule'); ?></h4>
646
  </label>
647
  </div>
648
  <div>
649
  <label>
650
  <input type="radio" name="scheduling_enable"
651
  value="1" <?php if ($post['scheduling_enable'] == 1) { ?> checked="checked" <?php } ?>/>
652
- <h4 style="margin: 0; display: inline-flex; align-items: center;"><?php _e('Automatic Scheduling', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
653
  <span class="connection-icon" style="margin-left: 8px; height: 16px;">
654
  <?php include __DIR__ . '/../src/Scheduling/views/ConnectionIcon.php'; ?>
655
  </span>
@@ -662,7 +662,7 @@ function pmxe_wp_ajax_scheduling_dialog_content()
662
  <form id="scheduling-form">
663
  <div style="margin-bottom: 10px; margin-left:26px;">
664
  <label style="font-size: 13px;">
665
- <?php _e('Run this export on a schedule.'); ?>
666
  </label>
667
  </div>
668
  <div id="automatic-scheduling"
@@ -673,11 +673,11 @@ function pmxe_wp_ajax_scheduling_dialog_content()
673
  <input
674
  type="radio" <?php if (isset($post['scheduling_run_on']) && $post['scheduling_run_on'] != 'monthly') { ?> checked="checked" <?php } ?>
675
  name="scheduling_run_on" value="weekly"
676
- checked="checked"/> <?php _e('Every week on...', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
677
  </label>
678
  </div>
679
  <input type="hidden" style="width: 500px;" name="scheduling_weekly_days"
680
- value="<?php echo $post['scheduling_weekly_days']; ?>" id="weekly_days"/>
681
  <?php
682
  if (isset($post['scheduling_weekly_days'])) {
683
  $weeklyArray = explode(',', $post['scheduling_weekly_days']);
@@ -717,11 +717,11 @@ function pmxe_wp_ajax_scheduling_dialog_content()
717
  <input
718
  type="radio" <?php if (isset($post['scheduling_run_on']) && $post['scheduling_run_on'] == 'monthly') { ?> checked="checked" <?php } ?>
719
  name="scheduling_run_on"
720
- value="monthly"/> <?php _e('Every month on the first...', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
721
  </label>
722
  </div>
723
  <input type="hidden" name="scheduling_monthly_days"
724
- value="<?php if(isset($post['scheduling_monthly_days'])) echo $post['scheduling_monthly_days']; ?>" id="monthly_days"/>
725
  <?php
726
  if (isset($post['scheduling_monthly_days'])) {
727
  $monthlyArray = explode(',', $post['scheduling_monthly_days']);
@@ -767,7 +767,7 @@ function pmxe_wp_ajax_scheduling_dialog_content()
767
 
768
  <?php if ($time) { ?>
769
  <input class="timepicker" type="text" name="scheduling_times[]"
770
- value="<?php echo $time; ?>"/>
771
  <?php } ?>
772
  <?php } ?>
773
  <input class="timepicker" type="text" name="scheduling_times[]"/>
@@ -820,24 +820,24 @@ function pmxe_wp_ajax_scheduling_dialog_content()
820
  </div>
821
 
822
  <span class="subscribe-button-text">
823
- <?php _e('Subscribe'); ?>
824
  </span>
825
  </div>
826
  </a>
827
  </div>
828
  <div class="text-container" style="position: absolute; left: 150px; top: 2px;">
829
- <p><?php _e('Get automatic scheduling for unlimited sites, just $9/mo.'); ?></p>
830
- <p><?php _e('Have a license?'); ?>
831
  <a href="#"
832
- id="add-subscription"><?php _e('Register this site.'); ?></a> <?php _e('Questions?'); ?>
833
  <a href="#" class="help_scheduling">Read more.</a>
834
  </p>
835
  <input type="password" id="add-subscription-field"
836
  style="position: absolute; z-index: 2; top: -4px; font-size:14px;"
837
- placeholder="<?php _e('Enter your license', PMXE_Plugin::LANGUAGE_DOMAIN); ?>"/>
838
  <div style="position: absolute;" id="find-subscription-link"><a
839
  href="http://www.wpallimport.com/portal/automatic-scheduling/"
840
- target="_blank"><?php _e('Find your license.'); ?></a></div>
841
  </div>
842
  </div>
843
  <?php
465
 
466
  formData.push({name: 'security', value: wp_all_export_security});
467
  formData.push({name: 'action', value: 'save_scheduling'});
468
+ formData.push({name: 'element_id', value: <?php echo intval($export_id); ?>});
469
  formData.push({name: 'scheduling_enable', value: schedulingEnable});
470
 
471
  $.ajax({
525
  $('#find-subscription-link').show();
526
  $('#find-subscription-link').animate({left: '410px'}, 300, 'swing');
527
  }, 225);
528
+ $('.subscribe-button-text').html('<?php esc_html_e('Activate'); ?>');
529
  saveSubscription = true;
530
  return false;
531
  });
565
 
566
  $('#subscribe-button .easing-spinner').hide();
567
  $('#subscribe-button svg.error').show();
568
+ $('.subscribe-button-text').html('<?php esc_html_e('Subscribe'); ?>');
569
 
570
  $('#subscribe-button svg.error').fadeOut(3000, function () {
571
  $('#subscribe-button svg.error').hide({queue: false});
572
 
573
  });
574
 
575
+ $('#add-subscription').html('<?php esc_html_e('Invalid license, try again?');?>');
576
  $('.text-container p').fadeIn();
577
 
578
  $('#find-subscription-link').animate({width: 'toggle'}, 300, 'swing');
584
 
585
  $('#add-subscription-field').val('');
586
 
587
+ $('#subscribe-button-text').html('<?php esc_html_e('Subscribe'); ?>');
588
  saveSubscription = false;
589
  }
590
  }
642
  <label>
643
  <input type="radio" name="scheduling_enable"
644
  value="0" <?php if ((isset($post['scheduling_enable']) && $post['scheduling_enable'] == 0) || !isset($post['scheduling_enable'])) { ?> checked="checked" <?php } ?>/>
645
+ <h4 style="display: inline-block;"><?php esc_html_e('Do Not Schedule'); ?></h4>
646
  </label>
647
  </div>
648
  <div>
649
  <label>
650
  <input type="radio" name="scheduling_enable"
651
  value="1" <?php if ($post['scheduling_enable'] == 1) { ?> checked="checked" <?php } ?>/>
652
+ <h4 style="margin: 0; display: inline-flex; align-items: center;"><?php esc_html_e('Automatic Scheduling', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
653
  <span class="connection-icon" style="margin-left: 8px; height: 16px;">
654
  <?php include __DIR__ . '/../src/Scheduling/views/ConnectionIcon.php'; ?>
655
  </span>
662
  <form id="scheduling-form">
663
  <div style="margin-bottom: 10px; margin-left:26px;">
664
  <label style="font-size: 13px;">
665
+ <?php esc_html_e('Run this export on a schedule.'); ?>
666
  </label>
667
  </div>
668
  <div id="automatic-scheduling"
673
  <input
674
  type="radio" <?php if (isset($post['scheduling_run_on']) && $post['scheduling_run_on'] != 'monthly') { ?> checked="checked" <?php } ?>
675
  name="scheduling_run_on" value="weekly"
676
+ checked="checked"/> <?php esc_html_e('Every week on...', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
677
  </label>
678
  </div>
679
  <input type="hidden" style="width: 500px;" name="scheduling_weekly_days"
680
+ value="<?php echo esc_attr($post['scheduling_weekly_days']); ?>" id="weekly_days"/>
681
  <?php
682
  if (isset($post['scheduling_weekly_days'])) {
683
  $weeklyArray = explode(',', $post['scheduling_weekly_days']);
717
  <input
718
  type="radio" <?php if (isset($post['scheduling_run_on']) && $post['scheduling_run_on'] == 'monthly') { ?> checked="checked" <?php } ?>
719
  name="scheduling_run_on"
720
+ value="monthly"/> <?php esc_html_e('Every month on the first...', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
721
  </label>
722
  </div>
723
  <input type="hidden" name="scheduling_monthly_days"
724
+ value="<?php if(isset($post['scheduling_monthly_days'])) echo esc_attr($post['scheduling_monthly_days']); ?>" id="monthly_days"/>
725
  <?php
726
  if (isset($post['scheduling_monthly_days'])) {
727
  $monthlyArray = explode(',', $post['scheduling_monthly_days']);
767
 
768
  <?php if ($time) { ?>
769
  <input class="timepicker" type="text" name="scheduling_times[]"
770
+ value="<?php echo esc_attr($time); ?>"/>
771
  <?php } ?>
772
  <?php } ?>
773
  <input class="timepicker" type="text" name="scheduling_times[]"/>
820
  </div>
821
 
822
  <span class="subscribe-button-text">
823
+ <?php esc_html_e('Subscribe'); ?>
824
  </span>
825
  </div>
826
  </a>
827
  </div>
828
  <div class="text-container" style="position: absolute; left: 150px; top: 2px;">
829
+ <p><?php esc_html_e('Get automatic scheduling for unlimited sites, just $9/mo.'); ?></p>
830
+ <p><?php esc_html_e('Have a license?'); ?>
831
  <a href="#"
832
+ id="add-subscription"><?php esc_html_e('Register this site.'); ?></a> <?php _e('Questions?'); ?>
833
  <a href="#" class="help_scheduling">Read more.</a>
834
  </p>
835
  <input type="password" id="add-subscription-field"
836
  style="position: absolute; z-index: 2; top: -4px; font-size:14px;"
837
+ placeholder="<?php esc_html_e('Enter your license', PMXE_Plugin::LANGUAGE_DOMAIN); ?>"/>
838
  <div style="position: absolute;" id="find-subscription-link"><a
839
  href="http://www.wpallimport.com/portal/automatic-scheduling/"
840
+ target="_blank"><?php esc_html_e('Find your license.'); ?></a></div>
841
  </div>
842
  </div>
843
  <?php
actions/wp_ajax_wpae_available_rules.php CHANGED
@@ -16,16 +16,28 @@ function pmxe_wp_ajax_wpae_available_rules(){
16
 
17
  $post = $input->post('data', array());
18
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  ?>
20
  <select id="wp_all_export_rule">
21
- <option value=""><?php _e('Select Rule', 'wp_all_export_plugin'); ?></option>
22
  <?php
23
  if (strpos($post['selected'], 'tx_') === 0 || strpos($post['selected'], 'product_tx') === 0){
24
  ?>
25
 
26
  <!-- Taxonomies -->
27
- <option value="in"><?php echo __('In', 'wp_all_export_plugin') . ' ' . ucwords(str_replace(array("product_tx", "tx_", "_"), array("", "", " "), $post['selected'])); ?></option>
28
- <option value="not_in"><?php echo __('Not In', 'wp_all_export_plugin') . ' ' . ucwords(str_replace(array("product_tx", "tx_", "_"), array("", "", " "), $post['selected'])); ?></option>
29
 
30
  <!-- Custom Fields -->
31
  <!--option value="between">BETWEEN</option-->
@@ -35,24 +47,24 @@ function pmxe_wp_ajax_wpae_available_rules(){
35
  elseif( in_array($post['selected'], array('post_date', 'post_modified', 'user_registered', 'comment_date', 'cf__completed_date')) )
36
  {
37
  ?>
38
- <option value="equals"><?php _e('equals', 'wp_all_export_plugin'); ?></option>
39
- <option value="not_equals"><?php _e("doesn't equal", 'wp_all_export_plugin'); ?></option>
40
- <option value="greater"><?php _e('newer than', 'wp_all_export_plugin');?></option>
41
- <option value="equals_or_greater"><?php _e('equal to or newer than', 'wp_all_export_plugin'); ?></option>
42
- <option value="less"><?php _e('older than', 'wp_all_export_plugin'); ?></option>
43
- <option value="equals_or_less"><?php _e('equal to or older than', 'wp_all_export_plugin'); ?></option>
44
-
45
- <option value="contains"><?php _e('contains', 'wp_all_export_plugin'); ?></option>
46
- <option value="not_contains"><?php _e("doesn't contain", 'wp_all_export_plugin'); ?></option>
47
- <option value="is_empty"><?php _e('is empty', 'wp_all_export_plugin'); ?></option>
48
- <option value="is_not_empty"><?php _e('is not empty', 'wp_all_export_plugin'); ?></option>
49
  <?php
50
  }
51
  elseif( in_array($post['selected'], array('wp_capabilities')))
52
  {
53
  ?>
54
- <option value="contains"><?php _e('contains', 'wp_all_export_plugin'); ?></option>
55
- <option value="not_contains"><?php _e("doesn't contain", 'wp_all_export_plugin'); ?></option>
56
  <?php
57
  }
58
  elseif ( in_array($post['selected'], array('user_login', 'user_nicename', 'user_role', 'user_email', 'display_name', 'first_name', 'last_name', 'nickname', 'description',
@@ -60,41 +72,41 @@ function pmxe_wp_ajax_wpae_available_rules(){
60
  'comment_type', 'comment_content') ) )
61
  {
62
  ?>
63
- <option value="equals"><?php _e('equals', 'wp_all_export_plugin'); ?></option>
64
- <option value="not_equals"><?php _e("doesn't equal", 'wp_all_export_plugin'); ?></option>
65
- <option value="contains"><?php _e('contains', 'wp_all_export_plugin'); ?></option>
66
- <option value="not_contains"><?php _e("doesn't contain", 'wp_all_export_plugin'); ?></option>
67
- <option value="is_empty"><?php _e('is empty', 'wp_all_export_plugin'); ?></option>
68
- <option value="is_not_empty"><?php _e('is not empty', 'wp_all_export_plugin'); ?></option>
69
  <?php
70
  }
71
  elseif ( in_array($post['selected'], array('term_parent_slug') ) )
72
  {
73
  ?>
74
- <option value="equals"><?php _e('equals', 'wp_all_export_plugin'); ?></option>
75
- <option value="not_equals"><?php _e("doesn't equal", 'wp_all_export_plugin'); ?></option>
76
- <option value="greater"><?php _e('greater than', 'wp_all_export_plugin');?></option>
77
- <option value="equals_or_greater"><?php _e('equal to or greater than', 'wp_all_export_plugin'); ?></option>
78
- <option value="less"><?php _e('less than', 'wp_all_export_plugin'); ?></option>
79
- <option value="equals_or_less"><?php _e('equal to or less than', 'wp_all_export_plugin'); ?></option>
80
- <option value="is_empty"><?php _e('is empty', 'wp_all_export_plugin'); ?></option>
81
- <option value="is_not_empty"><?php _e('is not empty', 'wp_all_export_plugin'); ?></option>
82
  <?php
83
  }
84
  else
85
  {
86
  ?>
87
- <option value="equals"><?php _e('equals', 'wp_all_export_plugin'); ?></option>
88
- <option value="not_equals"><?php _e("doesn't equal", 'wp_all_export_plugin'); ?></option>
89
- <option value="greater"><?php _e('greater than', 'wp_all_export_plugin');?></option>
90
- <option value="equals_or_greater"><?php _e('equal to or greater than', 'wp_all_export_plugin'); ?></option>
91
- <option value="less"><?php _e('less than', 'wp_all_export_plugin'); ?></option>
92
- <option value="equals_or_less"><?php _e('equal to or less than', 'wp_all_export_plugin'); ?></option>
93
-
94
- <option value="contains"><?php _e('contains', 'wp_all_export_plugin'); ?></option>
95
- <option value="not_contains"><?php _e("doesn't contain", 'wp_all_export_plugin'); ?></option>
96
- <option value="is_empty"><?php _e('is empty', 'wp_all_export_plugin'); ?></option>
97
- <option value="is_not_empty"><?php _e('is not empty', 'wp_all_export_plugin'); ?></option>
98
  <?php
99
  }
100
  ?>
16
 
17
  $post = $input->post('data', array());
18
 
19
+ $is_date = false;
20
+
21
+ if(class_exists('GF_Export_Add_On')) {
22
+ $gf_addon = \GF_Export_Add_On::get_instance()->add_on;
23
+
24
+ $element = $gf_addon->get_data_element_by_slug($post['selected']);
25
+
26
+ if (isset($element['filterable']) && $element['filterable'] === 'date') {
27
+ $is_date = true;
28
+ }
29
+ }
30
+
31
  ?>
32
  <select id="wp_all_export_rule">
33
+ <option value=""><?php esc_html_e('Select Rule', 'wp_all_export_plugin'); ?></option>
34
  <?php
35
  if (strpos($post['selected'], 'tx_') === 0 || strpos($post['selected'], 'product_tx') === 0){
36
  ?>
37
 
38
  <!-- Taxonomies -->
39
+ <option value="in"><?php echo esc_attr(__('In', 'wp_all_export_plugin') . ' ' . ucwords(str_replace(array("product_tx", "tx_", "_"), array("", "", " "), $post['selected']))); ?></option>
40
+ <option value="not_in"><?php echo esc_attr(__('Not In', 'wp_all_export_plugin') . ' ' . ucwords(str_replace(array("product_tx", "tx_", "_"), array("", "", " "), $post['selected']))); ?></option>
41
 
42
  <!-- Custom Fields -->
43
  <!--option value="between">BETWEEN</option-->
47
  elseif( in_array($post['selected'], array('post_date', 'post_modified', 'user_registered', 'comment_date', 'cf__completed_date')) )
48
  {
49
  ?>
50
+ <option value="equals"><?php esc_html_e('equals', 'wp_all_export_plugin'); ?></option>
51
+ <option value="not_equals"><?php esc_html_e("doesn't equal", 'wp_all_export_plugin'); ?></option>
52
+ <option value="greater"><?php esc_html_e('newer than', 'wp_all_export_plugin');?></option>
53
+ <option value="equals_or_greater"><?php esc_html_e('equal to or newer than', 'wp_all_export_plugin'); ?></option>
54
+ <option value="less"><?php esc_html_e('older than', 'wp_all_export_plugin'); ?></option>
55
+ <option value="equals_or_less"><?php esc_html_e('equal to or older than', 'wp_all_export_plugin'); ?></option>
56
+
57
+ <option value="contains"><?php esc_html_e('contains', 'wp_all_export_plugin'); ?></option>
58
+ <option value="not_contains"><?php esc_html_e("doesn't contain", 'wp_all_export_plugin'); ?></option>
59
+ <option value="is_empty"><?php esc_html_e('is empty', 'wp_all_export_plugin'); ?></option>
60
+ <option value="is_not_empty"><?php esc_html_e('is not empty', 'wp_all_export_plugin'); ?></option>
61
  <?php
62
  }
63
  elseif( in_array($post['selected'], array('wp_capabilities')))
64
  {
65
  ?>
66
+ <option value="contains"><?php esc_html_e('contains', 'wp_all_export_plugin'); ?></option>
67
+ <option value="not_contains"><?php esc_html_e("doesn't contain", 'wp_all_export_plugin'); ?></option>
68
  <?php
69
  }
70
  elseif ( in_array($post['selected'], array('user_login', 'user_nicename', 'user_role', 'user_email', 'display_name', 'first_name', 'last_name', 'nickname', 'description',
72
  'comment_type', 'comment_content') ) )
73
  {
74
  ?>
75
+ <option value="equals"><?php esc_html_e('equals', 'wp_all_export_plugin'); ?></option>
76
+ <option value="not_equals"><?php esc_html_e("doesn't equal", 'wp_all_export_plugin'); ?></option>
77
+ <option value="contains"><?php esc_html_e('contains', 'wp_all_export_plugin'); ?></option>
78
+ <option value="not_contains"><?php esc_html_e("doesn't contain", 'wp_all_export_plugin'); ?></option>
79
+ <option value="is_empty"><?php esc_html_e('is empty', 'wp_all_export_plugin'); ?></option>
80
+ <option value="is_not_empty"><?php esc_html_e('is not empty', 'wp_all_export_plugin'); ?></option>
81
  <?php
82
  }
83
  elseif ( in_array($post['selected'], array('term_parent_slug') ) )
84
  {
85
  ?>
86
+ <option value="equals"><?php esc_html_e('equals', 'wp_all_export_plugin'); ?></option>
87
+ <option value="not_equals"><?php esc_html_e("doesn't equal", 'wp_all_export_plugin'); ?></option>
88
+ <option value="greater"><?php esc_html_e('greater than', 'wp_all_export_plugin');?></option>
89
+ <option value="equals_or_greater"><?php esc_html_e('equal to or greater than', 'wp_all_export_plugin'); ?></option>
90
+ <option value="less"><?php esc_html_e('less than', 'wp_all_export_plugin'); ?></option>
91
+ <option value="equals_or_less"><?php esc_html_e('equal to or less than', 'wp_all_export_plugin'); ?></option>
92
+ <option value="is_empty"><?php esc_html_e('is empty', 'wp_all_export_plugin'); ?></option>
93
+ <option value="is_not_empty"><?php esc_html_e('is not empty', 'wp_all_export_plugin'); ?></option>
94
  <?php
95
  }
96
  else
97
  {
98
  ?>
99
+ <option value="equals"><?php esc_html_e('equals', 'wp_all_export_plugin'); ?></option>
100
+ <option value="not_equals"><?php esc_html_e("doesn't equal", 'wp_all_export_plugin'); ?></option>
101
+ <option value="greater"><?php esc_html_e('greater than', 'wp_all_export_plugin');?></option>
102
+ <option value="equals_or_greater"><?php esc_html_e('equal to or greater than', 'wp_all_export_plugin'); ?></option>
103
+ <option value="less"><?php esc_html_e('less than', 'wp_all_export_plugin'); ?></option>
104
+ <option value="equals_or_less"><?php esc_html_e('equal to or less than', 'wp_all_export_plugin'); ?></option>
105
+
106
+ <option value="contains"><?php esc_html_e('contains', 'wp_all_export_plugin'); ?></option>
107
+ <option value="not_contains"><?php esc_html_e("doesn't contain", 'wp_all_export_plugin'); ?></option>
108
+ <option value="is_empty"><?php esc_html_e('is empty', 'wp_all_export_plugin'); ?></option>
109
+ <option value="is_not_empty"><?php esc_html_e('is not empty', 'wp_all_export_plugin'); ?></option>
110
  <?php
111
  }
112
  ?>
actions/wp_ajax_wpae_filtering.php CHANGED
@@ -33,7 +33,7 @@ function pmxe_wp_ajax_wpae_filtering(){
33
  ?>
34
  <div class="wpallexport-content-section">
35
  <div class="wpallexport-collapsed-header">
36
- <h3><?php _e('Add Filtering Options', 'wp_all_export_plugin'); ?></h3>
37
  </div>
38
  <div class="wpallexport-collapsed-content">
39
  <?php include_once PMXE_ROOT_DIR . '/views/admin/export/blocks/filters.php'; ?>
@@ -87,13 +87,13 @@ function pmxe_wp_ajax_wpae_filtering(){
87
  if ( XmlExportEngine::$is_auto_generate_enabled ):
88
  ?>
89
  <div class="wpallexport-free-edition-notice" id="migrate-orders-notice" style="padding: 20px; margin-bottom: 10px; display: none;">
90
- <p><?php _e('The WooCoommerce Export Package is Required to Migrate Orders.', PMXE_Plugin::LANGUAGE_DOMAIN);?></p><br/>
91
- <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206899&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=migrate-orders"><?php _e('Purchase the WooCommerce Export Package', PMXE_Plugin::LANGUAGE_DOMAIN);?></a>
92
  </div>
93
 
94
  <div class="wpallexport-free-edition-notice" id="migrate-products-notice" style="padding: 20px; margin-bottom: 10px; display: none;">
95
- <p><?php _e('The WooCoommerce Export Package is Required to Migrate Products.', PMXE_Plugin::LANGUAGE_DOMAIN);?></p><br/>
96
- <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206899&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=migrate-products"><?php _e('Purchase the WooCommerce Export Package', PMXE_Plugin::LANGUAGE_DOMAIN);?></a>
97
  </div>
98
 
99
 
@@ -114,25 +114,25 @@ function pmxe_wp_ajax_wpae_filtering(){
114
  ?>
115
 
116
  <div class="wpallexport-free-edition-notice" id="migrate-users-notice" style="padding: 20px; margin-bottom: 10px; display: none;">
117
- <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=migrate-users"><?php _e('Upgrade to the Pro edition of WP All Export to Migrate Users', PMXE_Plugin::LANGUAGE_DOMAIN);?></a>
118
- <p><?php _e('If you already own it, remove the free edition and install the Pro edition.', PMXE_Plugin::LANGUAGE_DOMAIN);?></p>
119
  </div>
120
 
121
  <?php if(isset($post['cpt'])) { ?>
122
  <span class="wp_all_export_btn_with_note">
123
- <a href="javascript:void(0);" class="back rad3 auto-generate-template" style="float:none; background: #425f9a; padding: 0 50px; margin-right: 10px; color: #fff; font-weight: normal;"><?php printf(__('Migrate %s', 'wp_all_export_plugin'), wp_all_export_get_cpt_name(array($post['cpt']), 2, $post)); ?></a>
124
  <span class="auto-generate-template">&nbsp;</span>
125
  </span>
126
  <?php } ?>
127
  <span class="wp_all_export_btn_with_note">
128
- <input type="submit" class="button button-primary button-hero wpallexport-large-button" value="<?php _e('Customize Export File', 'wp_all_export_plugin') ?>"/>
129
  <span class="auto-generate-template">&nbsp;</span>
130
  </span>
131
  <?php
132
  else:
133
  ?>
134
  <span class="wp_all_export_btn_with_note">
135
- <input type="submit" class="button button-primary button-hero wpallexport-large-button" value="<?php _e('Customize Export File', 'wp_all_export_plugin') ?>"/>
136
  </span>
137
  <?php
138
  endif;
33
  ?>
34
  <div class="wpallexport-content-section">
35
  <div class="wpallexport-collapsed-header">
36
+ <h3><?php esc_html_e('Add Filtering Options', 'wp_all_export_plugin'); ?></h3>
37
  </div>
38
  <div class="wpallexport-collapsed-content">
39
  <?php include_once PMXE_ROOT_DIR . '/views/admin/export/blocks/filters.php'; ?>
87
  if ( XmlExportEngine::$is_auto_generate_enabled ):
88
  ?>
89
  <div class="wpallexport-free-edition-notice" id="migrate-orders-notice" style="padding: 20px; margin-bottom: 10px; display: none;">
90
+ <p><?php esc_html_e('The WooCoommerce Export Package is Required to Migrate Orders.', PMXE_Plugin::LANGUAGE_DOMAIN);?></p><br/>
91
+ <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206899&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=migrate-orders"><?php esc_html_e('Purchase the WooCommerce Export Package', PMXE_Plugin::LANGUAGE_DOMAIN);?></a>
92
  </div>
93
 
94
  <div class="wpallexport-free-edition-notice" id="migrate-products-notice" style="padding: 20px; margin-bottom: 10px; display: none;">
95
+ <p><?php esc_html_e('The WooCoommerce Export Package is Required to Migrate Products.', PMXE_Plugin::LANGUAGE_DOMAIN);?></p><br/>
96
+ <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206899&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=migrate-products"><?php esc_html_e('Purchase the WooCommerce Export Package', PMXE_Plugin::LANGUAGE_DOMAIN);?></a>
97
  </div>
98
 
99
 
114
  ?>
115
 
116
  <div class="wpallexport-free-edition-notice" id="migrate-users-notice" style="padding: 20px; margin-bottom: 10px; display: none;">
117
+ <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=migrate-users"><?php esc_html_e('Upgrade to the Pro edition of WP All Export to Migrate Users', PMXE_Plugin::LANGUAGE_DOMAIN);?></a>
118
+ <p><?php esc_html_e('If you already own it, remove the free edition and install the Pro edition.', PMXE_Plugin::LANGUAGE_DOMAIN);?></p>
119
  </div>
120
 
121
  <?php if(isset($post['cpt'])) { ?>
122
  <span class="wp_all_export_btn_with_note">
123
+ <a href="javascript:void(0);" class="back rad3 auto-generate-template" style="float:none; background: #425f9a; padding: 0 50px; margin-right: 10px; color: #fff; font-weight: normal;"><?php printf(esc_html__('Migrate %s', 'wp_all_export_plugin'), esc_html(wp_all_export_get_cpt_name(array($post['cpt'])), 2, $post)); ?></a>
124
  <span class="auto-generate-template">&nbsp;</span>
125
  </span>
126
  <?php } ?>
127
  <span class="wp_all_export_btn_with_note">
128
+ <input type="submit" class="button button-primary button-hero wpallexport-large-button" value="<?php esc_html_e('Customize Export File', 'wp_all_export_plugin') ?>"/>
129
  <span class="auto-generate-template">&nbsp;</span>
130
  </span>
131
  <?php
132
  else:
133
  ?>
134
  <span class="wp_all_export_btn_with_note">
135
+ <input type="submit" class="button button-primary button-hero wpallexport-large-button" value="<?php esc_html_e('Customize Export File', 'wp_all_export_plugin') ?>"/>
136
  </span>
137
  <?php
138
  endif;
actions/wp_ajax_wpae_filtering_count.php CHANGED
@@ -1,391 +1,387 @@
1
  <?php
2
 
3
- function pmxe_wp_ajax_wpae_filtering_count(){
4
-
5
- if ( ! check_ajax_referer( 'wp_all_export_secure', 'security', false )){
6
- exit( json_encode(array('html' => __('Security check', 'wp_all_export_plugin'))) );
7
- }
8
-
9
- if ( ! current_user_can( PMXE_Plugin::$capabilities ) ){
10
- exit( json_encode(array('html' => __('Security check', 'wp_all_export_plugin'))) );
11
- }
12
-
13
- ob_start();
14
-
15
- $hasVariations = false;
16
-
17
- $input = new PMXE_Input();
18
-
19
- $post = $input->post('data', array());
20
-
21
- $filter_args = array(
22
- 'filter_rules_hierarhy' => empty($post['filter_rules_hierarhy']) ? array() : $post['filter_rules_hierarhy'],
23
- 'product_matching_mode' => empty($post['product_matching_mode']) ? 'strict' : $post['product_matching_mode'],
24
- 'taxonomy_to_export' => empty($post['taxonomy_to_export']) ? '' : $post['taxonomy_to_export']
25
- );
26
-
27
- $input = new PMXE_Input();
28
- $export_id = $input->get('id', 0);
29
- if (empty($export_id))
30
- {
31
- $export_id = ( ! empty(PMXE_Plugin::$session->update_previous)) ? PMXE_Plugin::$session->update_previous : 0;
32
- }
33
-
34
- $export = new PMXE_Export_Record();
35
- $export->getById($export_id);
36
- if ( ! $export->isEmpty() )
37
- {
38
- XmlExportEngine::$exportRecord = $export;
39
- XmlExportEngine::$exportOptions = $export->options + PMXE_Plugin::get_default_import_options();
40
- XmlExportEngine::$exportOptions['export_only_new_stuff'] = $post['export_only_new_stuff'];
41
- XmlExportEngine::$exportOptions['export_only_modified_stuff'] = $post['export_only_modified_stuff'];
42
- if ( ! empty($post['wpml_lang']) ){
43
- XmlExportEngine::$exportOptions['wpml_lang'] = $post['wpml_lang'];
44
- $export->set(array('options' => XmlExportEngine::$exportOptions))->save();
45
- }
46
- }
47
- else{
48
- $sessionLang = empty(PMXE_Plugin::$session->wpml_lang) ? 'all' : PMXE_Plugin::$session->wpml_lang;
49
- XmlExportEngine::$exportOptions['wpml_lang'] = empty($post['wpml_lang']) ? $sessionLang : $post['wpml_lang'];
50
- }
51
-
52
- if (class_exists('SitePress') && !empty(XmlExportEngine::$exportOptions['wpml_lang'])){
53
- PMXE_Plugin::$session->set('wpml_lang', XmlExportEngine::$exportOptions['wpml_lang']);
54
- do_action( 'wpml_switch_language', XmlExportEngine::$exportOptions['wpml_lang'] );
55
- }
56
-
57
- XmlExportEngine::$is_user_export = ( 'users' == $post['cpt'] or 'shop_customer' == $post['cpt'] ) ? true : false;
58
- XmlExportEngine::$is_comment_export = ( 'comments' == $post['cpt'] ) ? true : false;
59
- XmlExportEngine::$is_taxonomy_export = ( 'taxonomies' == $post['cpt'] ) ? true : false;
60
- XmlExportEngine::$post_types = array($post['cpt']);
61
-
62
- if(XmlExportEngine::get_addons_service()->isWooCommerceAddonActive()) {
 
63
  XmlExportEngine::$exportOptions['export_variations'] = empty($post['export_variations']) ? XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_PARENT_AND_VARIATION : $post['export_variations'];
64
  } else {
65
  XmlExportEngine::$exportOptions['export_variations'] = XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_PARENT;
66
  }
67
 
68
- $filters = \Wpae\Pro\Filtering\FilteringFactory::getFilterEngine();
69
- $filters->init($filter_args);
70
- $filters->parse();
71
-
72
- PMXE_Plugin::$session->set('whereclause', $filters->get('queryWhere'));
73
- PMXE_Plugin::$session->set('joinclause', $filters->get('queryJoin'));
74
- PMXE_Plugin::$session->save_data();
75
-
76
- $foundRecords = 0;
77
- $total_records = 0;
78
-
79
- $cpt = array($post['cpt']);
80
-
81
- $is_products_export = ($post['cpt'] == 'product' and class_exists('WooCommerce'));
82
-
83
- if ($post['export_type'] == 'advanced')
84
- {
85
- if (XmlExportEngine::$is_user_export)
86
- {
87
- // get total users
88
- $totalQuery = eval('return new WP_User_Query(array(' . PMXE_Plugin::$session->get('wp_query') . ', \'offset\' => 0, \'number\' => 10 ));');
89
- if ( ! empty($totalQuery->results)){
90
- $total_records = $totalQuery->get_total();
91
- }
92
-
93
- ob_start();
94
- // get users depends on filters
95
- add_action('pre_user_query', 'wp_all_export_pre_user_query', 10, 1);
96
- $exportQuery = eval('return new WP_User_Query(array(' . PMXE_Plugin::$session->get('wp_query') . ', \'offset\' => 0, \'number\' => 10 ));');
97
- if ( ! empty($exportQuery->results)){
98
- $foundRecords = $exportQuery->get_total();
99
- }
100
- remove_action('pre_user_query', 'wp_all_export_pre_user_query');
101
- ob_get_clean();
102
- }
103
- elseif(XmlExportEngine::$is_comment_export)
104
- {
105
- // get total comments
106
- $totalQuery = eval('return new WP_Comment_Query(array(' . PMXE_Plugin::$session->get('wp_query') . ', \'number\' => 10, \'count\' => true ));');
107
- $total_records = $totalQuery->get_comments();
108
-
109
- ob_start();
110
- // get comments depends on filters
111
- add_action('comments_clauses', 'wp_all_export_comments_clauses', 10, 1);
112
- $exportQuery = eval('return new WP_Comment_Query(array(' . PMXE_Plugin::$session->get('wp_query') . '));');
113
- $foundRecords = $exportQuery->get_comments();
114
- remove_action('comments_clauses', 'wp_all_export_comments_clauses');
115
- ob_get_clean();
116
- }
117
- else
118
- {
119
- remove_all_actions('parse_query');
120
- remove_all_actions('pre_get_posts');
121
- remove_all_filters('posts_clauses');
122
-
123
- // get total custom post type records
124
- $totalQuery = eval('return new WP_Query(array(' . PMXE_Plugin::$session->get('wp_query') . ', \'offset\' => 0, \'posts_per_page\' => 10 ));');
125
- if ( ! empty($totalQuery->found_posts)){
126
- $total_records = $totalQuery->found_posts;
127
- }
128
-
129
- wp_reset_postdata();
130
-
131
- ob_start();
132
- // get custom post type records depends on filters
133
- add_filter('posts_where', 'wp_all_export_posts_where', 10, 1);
134
- add_filter('posts_join', 'wp_all_export_posts_join', 10, 1);
135
-
136
- $exportQuery = eval('return new WP_Query(array(' . PMXE_Plugin::$session->get('wp_query') . ', \'offset\' => 0, \'posts_per_page\' => 10 ));');
137
- if ( ! empty($exportQuery->found_posts)){
138
- $foundRecords = $exportQuery->found_posts;
139
- }
140
- remove_filter('posts_join', 'wp_all_export_posts_join');
141
- remove_filter('posts_where', 'wp_all_export_posts_where');
142
- ob_get_clean();
143
- }
144
- }
145
- else
146
- {
147
- if ( 'users' == $post['cpt'] or 'shop_customer' == $post['cpt'] )
148
- {
149
- // get total users
150
- $totalQuery = new WP_User_Query( array( 'orderby' => 'ID', 'order' => 'ASC', 'number' => 10 ));
151
- if ( ! empty($totalQuery->results)){
152
- $total_records = $totalQuery->get_total();
153
- }
154
-
155
- ob_start();
156
- // get users depends on filters
157
- add_action('pre_user_query', 'wp_all_export_pre_user_query', 10, 1);
158
- $exportQuery = new WP_User_Query( array( 'orderby' => 'ID', 'order' => 'ASC', 'number' => 10 ));
159
- if ( ! empty($exportQuery->results)){
160
- $foundRecords = $exportQuery->get_total();
161
- }
162
- remove_action('pre_user_query', 'wp_all_export_pre_user_query');
163
- ob_get_clean();
164
- }
165
- elseif( 'comments' == $post['cpt'] )
166
- {
167
- // get total comments
168
- global $wp_version;
169
-
170
- if ( version_compare($wp_version, '4.2.0', '>=') )
171
- {
172
- $totalQuery = new WP_Comment_Query( array( 'orderby' => 'comment_ID', 'order' => 'ASC', 'number' => 10, 'count' => true));
173
- $total_records = $totalQuery->get_comments();
174
- }
175
- else
176
- {
177
- $total_records = get_comments( array( 'orderby' => 'comment_ID', 'order' => 'ASC', 'number' => 10, 'count' => true));
178
- }
179
-
180
- ob_start();
181
- // get comments depends on filters
182
- add_action('comments_clauses', 'wp_all_export_comments_clauses', 10, 1);
183
-
184
- if ( version_compare($wp_version, '4.2.0', '>=') )
185
- {
186
- $exportQuery = new WP_Comment_Query( array( 'orderby' => 'comment_ID', 'order' => 'ASC'));
187
- $foundRecords = count($exportQuery->get_comments());
188
- }
189
- else
190
- {
191
- $foundRecords = count(get_comments( array( 'orderby' => 'comment_ID', 'order' => 'ASC')));
192
- }
193
- remove_action('comments_clauses', 'wp_all_export_comments_clauses');
194
- ob_get_clean();
195
- }
196
- elseif( 'taxonomies' == $post['cpt'] )
197
- {
198
- global $wp_version;
199
-
200
- if ( version_compare($wp_version, '4.6.0', '>=') ) {
201
- $totalQuery = new WP_Term_Query(array(
202
- 'taxonomy' => $post['taxonomy_to_export'],
203
- 'orderby' => 'name',
204
- 'order' => 'ASC',
205
- 'number' => 10,
206
- 'hide_empty' => FALSE
207
- ));
208
- $total_records = count($totalQuery->get_terms());
209
-
210
- ob_start();
211
- // get comments depends on filters
212
- add_filter('terms_clauses', 'wp_all_export_terms_clauses', 10, 3);
213
- $exportQuery = new WP_Term_Query(array(
214
- 'taxonomy' => $post['taxonomy_to_export'],
215
- 'orderby' => 'name',
216
- 'order' => 'ASC',
217
- 'hide_empty' => FALSE
218
- ));
219
- $foundRecords = count($exportQuery->get_terms());
220
- remove_filter('terms_clauses', 'wp_all_export_terms_clauses');
221
- ob_get_clean();
222
- }
223
- else{
224
- ?>
225
- <div class="founded_records">
226
- <h3><?php _e('Unable to Export', 'wp_all_export_plugin'); ?></h3>
227
- <h4><?php printf(__("Exporting taxonomies requires WordPress 4.6 or greater", "wp_all_export_plugin"), wp_all_export_get_cpt_name($cpt, 2, $post)); ?></h4>
228
- </div>
229
- <?php
230
- exit(json_encode(array('html' => ob_get_clean(), 'found_records' => 0, 'hasVariations' => $hasVariations))); die;
231
- }
232
-
233
- }
234
- else
235
- {
236
- remove_all_actions('parse_query');
237
- remove_all_actions('pre_get_posts');
238
- remove_all_filters('posts_clauses');
239
-
240
- if(XmlExportEngine::get_addons_service()->isWooCommerceAddonActive()) {
241
- $custom_posts = ['product', 'product_variation'];
242
  } else {
243
- $custom_posts = ['product'];
244
  }
245
- $cpt = ($is_products_export) ? $custom_posts : array($post['cpt']);
246
 
247
- // get total custom post type records
248
- $totalQuery = new WP_Query( array( 'post_type' => $cpt, 'post_status' => 'any', 'orderby' => 'ID', 'order' => 'ASC', 'posts_per_page' => 10 ));
249
-
250
- if ( ! empty($totalQuery->found_posts)){
251
- $total_records = $totalQuery->found_posts;
252
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
253
 
254
- wp_reset_postdata();
255
 
256
- ob_start();
257
- // get custom post type records depends on filters
258
- add_filter('posts_where', 'wp_all_export_posts_where', 10, 1);
259
- add_filter('posts_where', 'wp_all_export_numbering_where', 15, 1);
260
 
261
- add_filter('posts_join', 'wp_all_export_posts_join', 10, 1);
262
 
 
263
 
264
- if($is_products_export) {
 
 
265
 
266
- add_filter('posts_where', 'wp_all_export_numbering_where', 15, 1);
 
267
 
268
- if(XmlExportEngine::get_addons_service()->isWooCommerceAddonActive()) {
269
- $productsQuery = new WP_Query(array('post_type' => array('product', 'product_variation'), 'post_status' => 'any', 'orderby' => 'ID', 'order' => 'ASC', 'posts_per_page' => 10));
270
- $variationsQuery = new WP_Query(array('post_type' => 'product_variation', 'post_status' => 'any', 'orderby' => 'ID', 'order' => 'ASC', 'posts_per_page' => 10));
271
 
272
- $foundProducts = $productsQuery->found_posts;
273
- $foundVariations = $variationsQuery->found_posts;
 
274
 
275
- $foundRecords = $foundProducts;
276
- $hasVariations = !!$foundVariations;
277
 
278
- } else if (XmlExportEngine::get_addons_service()->isWooCommerceProductAddonActive()) {
279
- $productsQuery = new WP_Query(array('post_type' => array('product'), 'post_status' => 'any', 'orderby' => 'ID', 'order' => 'ASC', 'posts_per_page' => 10));
280
- $foundProducts = $productsQuery->found_posts;
281
 
 
282
 
283
- $foundRecords = $foundProducts;
284
- $hasVariations = false;
 
 
 
285
  }
286
 
 
287
  remove_filter('posts_where', 'wp_all_export_numbering_where');
288
 
289
- } else {
290
- $exportQuery = new WP_Query( array( 'post_type' => $cpt, 'post_status' => 'any', 'orderby' => 'ID', 'order' => 'ASC', 'posts_per_page' => 10));
291
- if ( ! empty($exportQuery->found_posts))
292
- {
293
- $foundRecords = $exportQuery->found_posts;
294
- }
295
- }
296
-
297
- remove_filter('posts_where', 'wp_all_export_posts_where');
298
- remove_filter('posts_where', 'wp_all_export_numbering_where');
299
-
300
- remove_filter('posts_join', 'wp_all_export_posts_join');
301
-
302
- ob_end_clean();
303
-
304
- }
305
- }
306
-
307
- if(isset($exportQuery)) {
308
- PMXE_Plugin::$session->set('exportQuery', $exportQuery);
309
- PMXE_Plugin::$session->save_data();
310
- }
311
-
312
- if ( $post['is_confirm_screen'] )
313
- {
314
- ?>
315
-
316
- <?php if ($foundRecords > 0) :?>
317
- <h3><?php _e('Your export is ready to run.', 'wp_all_export_plugin'); ?></h3>
318
- <h4><?php printf(__('WP All Export will export %d %s.', 'wp_all_export_plugin'), $foundRecords, wp_all_export_get_cpt_name($cpt, $foundRecords, $post)); ?></h4>
319
- <?php else: ?>
320
- <?php if (! $export->isEmpty() and ($export->options['export_only_new_stuff'] or $export->options['export_only_modified_stuff'])): ?>
321
- <h3><?php _e('Nothing to export.', 'wp_all_export_plugin'); ?></h3>
322
- <h4><?php printf(__("All %s have already been exported.", "wp_all_export_plugin"), wp_all_export_get_cpt_name($cpt, 2, $post)); ?></h4>
323
- <?php elseif ($total_records > 0): ?>
324
- <h3><?php _e('Nothing to export.', 'wp_all_export_plugin'); ?></h3>
325
- <h4><?php printf(__("No matching %s found for selected filter rules.", "wp_all_export_plugin"), wp_all_export_get_cpt_name($cpt, 2, $post)); ?></h4>
326
- <?php else: ?>
327
- <h3><?php _e('Nothing to export.', 'wp_all_export_plugin'); ?></h3>
328
- <h4><?php printf(__("There aren't any %s to export.", "wp_all_export_plugin"), wp_all_export_get_cpt_name($cpt, 2, $post)); ?></h4>
329
- <?php endif; ?>
330
- <?php endif; ?>
331
-
332
- <?php
333
- }
334
- elseif( $post['is_template_screen'] )
335
- {
336
- ?>
337
-
338
- <?php if ($foundRecords > 0) :?>
339
- <h3><span class="matches_count"><?php echo $foundRecords; ?></span> <strong><?php echo wp_all_export_get_cpt_name($cpt, $foundRecords, $post); ?></strong> will be exported</h3>
340
- <h4><?php _e("Drag &amp; drop data to include in the export file.", "wp_all_export_plugin"); ?></h4>
341
- <?php else: ?>
342
- <?php if (! $export->isEmpty() and ($export->options['export_only_new_stuff'] or $export->options['export_only_modified_stuff'])): ?>
343
- <h3><?php _e('Nothing to export.', 'wp_all_export_plugin'); ?></h3>
344
- <h4><?php printf(__("All %s have already been exported.", "wp_all_export_plugin"), wp_all_export_get_cpt_name($cpt, 2, $post)); ?></h4>
345
- <?php elseif ($total_records > 0): ?>
346
- <h3><?php _e('Nothing to export.', 'wp_all_export_plugin'); ?></h3>
347
- <h4><?php printf(__("No matching %s found for selected filter rules.", "wp_all_export_plugin"), wp_all_export_get_cpt_name($cpt, 2, $post)); ?></h4>
348
- <?php else: ?>
349
- <h3><?php _e('Nothing to export.', 'wp_all_export_plugin'); ?></h3>
350
- <h4><?php printf(__("There aren't any %s to export.", "wp_all_export_plugin"), wp_all_export_get_cpt_name($cpt, 2, $post)); ?></h4>
351
- <?php endif; ?>
352
- <?php endif; ?>
353
-
354
- <?php
355
- }
356
- else
357
- {
358
- ?>
359
- <div class="founded_records">
360
- <?php if ($foundRecords > 0) :?>
361
- <h3><span class="matches_count"><?php echo $foundRecords; ?></span> <strong><?php echo wp_all_export_get_cpt_name($cpt, $foundRecords, $post); ?></strong> will be exported</h3>
362
- <h4><?php _e("Continue to configure and run your export.", "wp_all_export_plugin"); ?></h4>
363
- <?php elseif ($total_records > 0): ?>
364
- <h4 style="line-height:60px;"><?php printf(__("No matching %s found for selected filter rules.", "wp_all_export_plugin"), wp_all_export_get_cpt_name($cpt, 2, $post)); ?></h4>
365
- <?php else: ?>
366
- <h4 style="line-height:60px;"><?php printf(__("There aren't any %s to export.", "wp_all_export_plugin"), wp_all_export_get_cpt_name($cpt, 2, $post)); ?></h4>
367
- <?php endif; ?>
368
- </div>
369
- <?php
370
- }
371
-
372
- exit(json_encode(array('html' => ob_get_clean(), 'found_records' => $foundRecords, 'hasVariations' => $hasVariations))); die;
373
 
374
  }
375
 
376
  function wp_all_export_numbering_where($where)
377
  {
378
- global $wpdb;
379
 
380
- $excludeVariationsSql = " AND $wpdb->posts.ID NOT IN (SELECT o.ID FROM $wpdb->posts o
381
  LEFT OUTER JOIN $wpdb->posts r ON o.post_parent = r.ID WHERE ((r.post_status = 'trash' OR r.ID IS NULL) AND o.post_type = 'product_variation'))";
382
 
383
- $groupSql = "GROUP BY $wpdb->posts.ID";
384
- if(strpos($where, $groupSql) !== false ){
385
- $where = str_replace($groupSql, $excludeVariationsSql." ".$groupSql, $where);
386
- } else {
387
- $where = $where.$excludeVariationsSql;
388
- }
389
 
390
- return $where;
391
  }
1
  <?php
2
 
3
+ function pmxe_wp_ajax_wpae_filtering_count()
4
+ {
5
+
6
+ if (!check_ajax_referer('wp_all_export_secure', 'security', false)) {
7
+ exit(json_encode(array('html' => __('Security check', 'wp_all_export_plugin'))));
8
+ }
9
+
10
+ if (!current_user_can(PMXE_Plugin::$capabilities)) {
11
+ exit(json_encode(array('html' => __('Security check', 'wp_all_export_plugin'))));
12
+ }
13
+
14
+ ob_start();
15
+
16
+ $hasVariations = false;
17
+
18
+ $input = new PMXE_Input();
19
+
20
+ $post = $input->post('data', array());
21
+
22
+ $filter_args = array(
23
+ 'filter_rules_hierarhy' => empty($post['filter_rules_hierarhy']) ? array() : $post['filter_rules_hierarhy'],
24
+ 'product_matching_mode' => empty($post['product_matching_mode']) ? 'strict' : $post['product_matching_mode'],
25
+ 'taxonomy_to_export' => empty($post['taxonomy_to_export']) ? '' : $post['taxonomy_to_export'],
26
+ 'sub_post_type_to_export' => empty($post['sub_post_type_to_export']) ? '' : $post['sub_post_type_to_export']
27
+
28
+ );
29
+
30
+ $input = new PMXE_Input();
31
+ $export_id = $input->get('id', 0);
32
+ if (empty($export_id)) {
33
+ $export_id = (!empty(PMXE_Plugin::$session->update_previous)) ? PMXE_Plugin::$session->update_previous : 0;
34
+ }
35
+
36
+ $export = new PMXE_Export_Record();
37
+ $export->getById($export_id);
38
+ if (!$export->isEmpty()) {
39
+ XmlExportEngine::$exportRecord = $export;
40
+ XmlExportEngine::$exportOptions = $export->options + PMXE_Plugin::get_default_import_options();
41
+ XmlExportEngine::$exportOptions['export_only_new_stuff'] = $post['export_only_new_stuff'];
42
+ XmlExportEngine::$exportOptions['export_only_modified_stuff'] = $post['export_only_modified_stuff'];
43
+ if (!empty($post['wpml_lang'])) {
44
+ XmlExportEngine::$exportOptions['wpml_lang'] = $post['wpml_lang'];
45
+ $export->set(array('options' => XmlExportEngine::$exportOptions))->save();
46
+ }
47
+ } else {
48
+ $sessionLang = empty(PMXE_Plugin::$session->wpml_lang) ? 'all' : PMXE_Plugin::$session->wpml_lang;
49
+ XmlExportEngine::$exportOptions['wpml_lang'] = empty($post['wpml_lang']) ? $sessionLang : $post['wpml_lang'];
50
+ }
51
+
52
+ if (class_exists('SitePress') && !empty(XmlExportEngine::$exportOptions['wpml_lang'])) {
53
+ PMXE_Plugin::$session->set('wpml_lang', XmlExportEngine::$exportOptions['wpml_lang']);
54
+ do_action('wpml_switch_language', XmlExportEngine::$exportOptions['wpml_lang']);
55
+ }
56
+
57
+ XmlExportEngine::$is_user_export = ('users' == $post['cpt'] or 'shop_customer' == $post['cpt']) ? true : false;
58
+ XmlExportEngine::$is_comment_export = ('comments' == $post['cpt']) ? true : false;
59
+ XmlExportEngine::$is_taxonomy_export = ('taxonomies' == $post['cpt']) ? true : false;
60
+ XmlExportEngine::$post_types = array($post['cpt']);
61
+ XmlExportEngine::$is_custom_addon_export = ('custom_wpae_gf_export_add_on' == $post['cpt']) ? true : false;
62
+
63
+ if (XmlExportEngine::get_addons_service()->isWooCommerceAddonActive()) {
64
  XmlExportEngine::$exportOptions['export_variations'] = empty($post['export_variations']) ? XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_PARENT_AND_VARIATION : $post['export_variations'];
65
  } else {
66
  XmlExportEngine::$exportOptions['export_variations'] = XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_PARENT;
67
  }
68
 
69
+ $filters = \Wpae\Pro\Filtering\FilteringFactory::getFilterEngine();
70
+ $filters->init($filter_args);
71
+ $filters->parse();
72
+
73
+ PMXE_Plugin::$session->set('whereclause', $filters->get('queryWhere'));
74
+ PMXE_Plugin::$session->set('joinclause', $filters->get('queryJoin'));
75
+ PMXE_Plugin::$session->save_data();
76
+
77
+ $foundRecords = 0;
78
+ $total_records = 0;
79
+
80
+ $cpt = array($post['cpt']);
81
+
82
+ $is_products_export = ($post['cpt'] == 'product' and class_exists('WooCommerce'));
83
+
84
+ if ($post['export_type'] == 'advanced') {
85
+ if (XmlExportEngine::$is_user_export) {
86
+ // get total users
87
+ $totalQuery = eval('return new WP_User_Query(array(' . PMXE_Plugin::$session->get('wp_query') . ', \'offset\' => 0, \'number\' => 10 ));');
88
+ if (!empty($totalQuery->results)) {
89
+ $total_records = $totalQuery->get_total();
90
+ }
91
+
92
+ ob_start();
93
+ // get users depends on filters
94
+ add_action('pre_user_query', 'wp_all_export_pre_user_query', 10, 1);
95
+ $exportQuery = eval('return new WP_User_Query(array(' . PMXE_Plugin::$session->get('wp_query') . ', \'offset\' => 0, \'number\' => 10 ));');
96
+ if (!empty($exportQuery->results)) {
97
+ $foundRecords = $exportQuery->get_total();
98
+ }
99
+ remove_action('pre_user_query', 'wp_all_export_pre_user_query');
100
+ ob_get_clean();
101
+ } elseif (XmlExportEngine::$is_comment_export) {
102
+ // get total comments
103
+ $totalQuery = eval('return new WP_Comment_Query(array(' . PMXE_Plugin::$session->get('wp_query') . ', \'number\' => 10, \'count\' => true ));');
104
+ $total_records = $totalQuery->get_comments();
105
+
106
+ ob_start();
107
+ // get comments depends on filters
108
+ add_action('comments_clauses', 'wp_all_export_comments_clauses', 10, 1);
109
+ $exportQuery = eval('return new WP_Comment_Query(array(' . PMXE_Plugin::$session->get('wp_query') . '));');
110
+ $foundRecords = $exportQuery->get_comments();
111
+ remove_action('comments_clauses', 'wp_all_export_comments_clauses');
112
+ ob_get_clean();
113
+ } else {
114
+
115
+ remove_all_actions('parse_query');
116
+ remove_all_actions('pre_get_posts');
117
+ remove_all_filters('posts_clauses');
118
+
119
+ // get total custom post type records
120
+ $totalQuery = eval('return new WP_Query(array(' . PMXE_Plugin::$session->get('wp_query') . ', \'offset\' => 0, \'posts_per_page\' => 10 ));');
121
+ if (!empty($totalQuery->found_posts)) {
122
+ $total_records = $totalQuery->found_posts;
123
+ }
124
+
125
+ wp_reset_postdata();
126
+
127
+ ob_start();
128
+ // get custom post type records depends on filters
129
+ add_filter('posts_where', 'wp_all_export_posts_where', 10, 1);
130
+ add_filter('posts_join', 'wp_all_export_posts_join', 10, 1);
131
+
132
+ $exportQuery = eval('return new WP_Query(array(' . PMXE_Plugin::$session->get('wp_query') . ', \'offset\' => 0, \'posts_per_page\' => 10 ));');
133
+ if (!empty($exportQuery->found_posts)) {
134
+ $foundRecords = $exportQuery->found_posts;
135
+ }
136
+ remove_filter('posts_join', 'wp_all_export_posts_join');
137
+ remove_filter('posts_where', 'wp_all_export_posts_where');
138
+ ob_get_clean();
139
+
140
+ }
141
+ } else {
142
+ if ('users' == $post['cpt'] or 'shop_customer' == $post['cpt']) {
143
+ // get total users
144
+ $totalQuery = new WP_User_Query(array('orderby' => 'ID', 'order' => 'ASC', 'number' => 10));
145
+ if (!empty($totalQuery->results)) {
146
+ $total_records = $totalQuery->get_total();
147
+ }
148
+
149
+ ob_start();
150
+ // get users depends on filters
151
+ add_action('pre_user_query', 'wp_all_export_pre_user_query', 10, 1);
152
+ $exportQuery = new WP_User_Query(array('orderby' => 'ID', 'order' => 'ASC', 'number' => 10));
153
+ if (!empty($exportQuery->results)) {
154
+ $foundRecords = $exportQuery->get_total();
155
+ }
156
+ remove_action('pre_user_query', 'wp_all_export_pre_user_query');
157
+ ob_get_clean();
158
+ } elseif ('comments' == $post['cpt']) {
159
+ // get total comments
160
+ global $wp_version;
161
+
162
+ if (version_compare($wp_version, '4.2.0', '>=')) {
163
+ $totalQuery = new WP_Comment_Query(array('orderby' => 'comment_ID', 'order' => 'ASC', 'number' => 10, 'count' => true));
164
+ $total_records = $totalQuery->get_comments();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  } else {
166
+ $total_records = get_comments(array('orderby' => 'comment_ID', 'order' => 'ASC', 'number' => 10, 'count' => true));
167
  }
 
168
 
169
+ ob_start();
170
+ // get comments depends on filters
171
+ add_action('comments_clauses', 'wp_all_export_comments_clauses', 10, 1);
172
+
173
+ if (version_compare($wp_version, '4.2.0', '>=')) {
174
+ $exportQuery = new WP_Comment_Query(array('orderby' => 'comment_ID', 'order' => 'ASC'));
175
+ $foundRecords = count($exportQuery->get_comments());
176
+ } else {
177
+ $foundRecords = count(get_comments(array('orderby' => 'comment_ID', 'order' => 'ASC')));
178
+ }
179
+ remove_action('comments_clauses', 'wp_all_export_comments_clauses');
180
+ ob_get_clean();
181
+ } elseif ('taxonomies' == $post['cpt']) {
182
+ global $wp_version;
183
+
184
+ if (version_compare($wp_version, '4.6.0', '>=')) {
185
+ $totalQuery = new WP_Term_Query(array(
186
+ 'taxonomy' => $post['taxonomy_to_export'],
187
+ 'orderby' => 'name',
188
+ 'order' => 'ASC',
189
+ 'number' => 10,
190
+ 'hide_empty' => FALSE
191
+ ));
192
+ $total_records = count($totalQuery->get_terms());
193
+
194
+ ob_start();
195
+ // get comments depends on filters
196
+ add_filter('terms_clauses', 'wp_all_export_terms_clauses', 10, 3);
197
+ $exportQuery = new WP_Term_Query(array(
198
+ 'taxonomy' => $post['taxonomy_to_export'],
199
+ 'orderby' => 'name',
200
+ 'order' => 'ASC',
201
+ 'hide_empty' => FALSE
202
+ ));
203
+ $foundRecords = count($exportQuery->get_terms());
204
+ remove_filter('terms_clauses', 'wp_all_export_terms_clauses');
205
+ ob_get_clean();
206
+ } else {
207
+ ?>
208
+ <div class="founded_records">
209
+ <h3><?php esc_html_e('Unable to Export', 'wp_all_export_plugin'); ?></h3>
210
+ <h4><?php printf(esc_html__("Exporting taxonomies requires WordPress 4.6 or greater", "wp_all_export_plugin"), esc_html(wp_all_export_get_cpt_name($cpt, 2, $post))); ?></h4>
211
+ </div>
212
+ <?php
213
+ exit(json_encode(array('html' => ob_get_clean(), 'found_records' => 0, 'hasVariations' => $hasVariations)));
214
+ die;
215
+ }
216
+
217
+ } else {
218
+ if (strpos($post['cpt'], 'custom_') === 0) {
219
+
220
+ $addon = GF_Export_Add_On::get_instance();
221
+
222
+ $exportQuery = $addon->add_on->get_query(0, 0, $filter_args);
223
+
224
+ PMXE_Plugin::$session->set('exportQuery', $exportQuery);
225
+
226
+ if (is_object($exportQuery)) {
227
+ $foundRecords = $exportQuery->found_posts;
228
+ } else {
229
+ $foundRecords = 0;
230
+ }
231
+ } else {
232
+ remove_all_actions('parse_query');
233
+ remove_all_actions('pre_get_posts');
234
+ remove_all_filters('posts_clauses');
235
+
236
+ if (XmlExportEngine::get_addons_service()->isWooCommerceAddonActive()) {
237
+ $custom_posts = ['product', 'product_variation'];
238
+ } else {
239
+ $custom_posts = ['product'];
240
+ }
241
+ $cpt = ($is_products_export) ? $custom_posts : array($post['cpt']);
242
+
243
+ // get total custom post type records
244
+ $totalQuery = new WP_Query(array('post_type' => $cpt, 'post_status' => 'any', 'orderby' => 'ID', 'order' => 'ASC', 'posts_per_page' => 10));
245
+
246
+ if (!empty($totalQuery->found_posts)) {
247
+ $total_records = $totalQuery->found_posts;
248
+ }
249
+
250
+ wp_reset_postdata();
251
+
252
+ ob_start();
253
+ // get custom post type records depends on filters
254
+ add_filter('posts_where', 'wp_all_export_posts_where', 10, 1);
255
+ add_filter('posts_where', 'wp_all_export_numbering_where', 15, 1);
256
 
257
+ add_filter('posts_join', 'wp_all_export_posts_join', 10, 1);
258
 
 
 
 
 
259
 
260
+ if ($is_products_export) {
261
 
262
+ add_filter('posts_where', 'wp_all_export_numbering_where', 15, 1);
263
 
264
+ if (XmlExportEngine::get_addons_service()->isWooCommerceAddonActive()) {
265
+ $productsQuery = new WP_Query(array('post_type' => array('product', 'product_variation'), 'post_status' => 'any', 'orderby' => 'ID', 'order' => 'ASC', 'posts_per_page' => 10));
266
+ $variationsQuery = new WP_Query(array('post_type' => 'product_variation', 'post_status' => 'any', 'orderby' => 'ID', 'order' => 'ASC', 'posts_per_page' => 10));
267
 
268
+ $foundProducts = $productsQuery->found_posts;
269
+ $foundVariations = $variationsQuery->found_posts;
270
 
271
+ $foundRecords = $foundProducts;
272
+ $hasVariations = !!$foundVariations;
 
273
 
274
+ } else if (XmlExportEngine::get_addons_service()->isWooCommerceProductAddonActive()) {
275
+ $productsQuery = new WP_Query(array('post_type' => array('product'), 'post_status' => 'any', 'orderby' => 'ID', 'order' => 'ASC', 'posts_per_page' => 10));
276
+ $foundProducts = $productsQuery->found_posts;
277
 
 
 
278
 
279
+ $foundRecords = $foundProducts;
280
+ $hasVariations = false;
281
+ }
282
 
283
+ remove_filter('posts_where', 'wp_all_export_numbering_where');
284
 
285
+ } else {
286
+ $exportQuery = new WP_Query(array('post_type' => $cpt, 'post_status' => 'any', 'orderby' => 'ID', 'order' => 'ASC', 'posts_per_page' => 10));
287
+ if (!empty($exportQuery->found_posts)) {
288
+ $foundRecords = $exportQuery->found_posts;
289
+ }
290
  }
291
 
292
+ remove_filter('posts_where', 'wp_all_export_posts_where');
293
  remove_filter('posts_where', 'wp_all_export_numbering_where');
294
 
295
+ remove_filter('posts_join', 'wp_all_export_posts_join');
296
+
297
+ ob_end_clean();
298
+ }
299
+
300
+ }
301
+ }
302
+
303
+ if (isset($exportQuery)) {
304
+ PMXE_Plugin::$session->set('exportQuery', $exportQuery);
305
+ PMXE_Plugin::$session->save_data();
306
+ }
307
+
308
+ if ($post['is_confirm_screen']) {
309
+ ?>
310
+
311
+ <?php if ($foundRecords > 0) : ?>
312
+ <h3><?php esc_html_e('Your export is ready to run.', 'wp_all_export_plugin'); ?></h3>
313
+ <h4><?php printf(esc_html__('WP All Export will export %d %s.', 'wp_all_export_plugin'), $foundRecords, esc_html(wp_all_export_get_cpt_name($cpt, $foundRecords, $post))); ?></h4>
314
+ <?php else: ?>
315
+ <?php if (!$export->isEmpty() and ($export->options['export_only_new_stuff'] or $export->options['export_only_modified_stuff'])): ?>
316
+ <h3><?php esc_html_e('Nothing to export.', 'wp_all_export_plugin'); ?></h3>
317
+ <h4><?php printf(esc_html__("All %s have already been exported.", "wp_all_export_plugin"), esc_html(wp_all_export_get_cpt_name($cpt, 2, $post))); ?></h4>
318
+ <?php elseif ($total_records > 0): ?>
319
+ <h3><?php esc_html_e('Nothing to export.', 'wp_all_export_plugin'); ?></h3>
320
+ <h4><?php printf(esc_html__("No matching %s found for selected filter rules.", "wp_all_export_plugin"), esc_html(wp_all_export_get_cpt_name($cpt, 2, $post))); ?></h4>
321
+ <?php else: ?>
322
+ <h3><?php esc_html_e('Nothing to export.', 'wp_all_export_plugin'); ?></h3>
323
+ <h4><?php printf(esc_html__("There aren't any %s to export.", "wp_all_export_plugin"), esc_html(wp_all_export_get_cpt_name($cpt, 2, $post))); ?></h4>
324
+ <?php endif; ?>
325
+ <?php endif; ?>
326
+
327
+ <?php
328
+ } elseif ($post['is_template_screen']) {
329
+ ?>
330
+
331
+ <?php if ($foundRecords > 0) : ?>
332
+ <h3><span class="matches_count"><?php echo esc_html($foundRecords); ?></span>
333
+ <strong><?php echo esc_html(wp_all_export_get_cpt_name($cpt, $foundRecords, $post)); ?></strong> will be
334
+ exported</h3>
335
+ <h4><?php esc_html_e("Drag & drop data to include in the export file.", "wp_all_export_plugin"); ?></h4>
336
+ <?php else: ?>
337
+ <?php if (!$export->isEmpty() and ($export->options['export_only_new_stuff'] or $export->options['export_only_modified_stuff'])): ?>
338
+ <h3><?php esc_html_e('Nothing to export.', 'wp_all_export_plugin'); ?></h3>
339
+ <h4><?php printf(esc_html__("All %s have already been exported.", "wp_all_export_plugin"), esc_html(wp_all_export_get_cpt_name($cpt, 2, $post))); ?></h4>
340
+ <?php elseif ($total_records > 0): ?>
341
+ <h3><?php esc_html_e('Nothing to export.', 'wp_all_export_plugin'); ?></h3>
342
+ <h4><?php printf(esc_html__("No matching %s found for selected filter rules.", "wp_all_export_plugin"), esc_html(wp_all_export_get_cpt_name($cpt, 2, $post))); ?></h4>
343
+ <?php else: ?>
344
+ <h3><?php esc_html_e('Nothing to export.', 'wp_all_export_plugin'); ?></h3>
345
+ <h4><?php printf(esc_html__("There aren't any %s to export.", "wp_all_export_plugin"), esc_html(wp_all_export_get_cpt_name($cpt, 2, $post))); ?></h4>
346
+ <?php endif; ?>
347
+ <?php endif; ?>
348
+
349
+ <?php
350
+ } else {
351
+ ?>
352
+ <div class="founded_records">
353
+ <?php if ($foundRecords > 0) : ?>
354
+ <h3><span class="matches_count"><?php echo esc_html($foundRecords); ?></span>
355
+ <strong><?php echo esc_html(wp_all_export_get_cpt_name($cpt, $foundRecords, $post)); ?></strong>
356
+ will be exported</h3>
357
+ <h4><?php esc_html_e("Continue to configure and run your export.", "wp_all_export_plugin"); ?></h4>
358
+ <?php elseif ($total_records > 0): ?>
359
+ <h4 style="line-height:60px;"><?php printf(esc_html__("No matching %s found for selected filter rules.", "wp_all_export_plugin"), esc_html(wp_all_export_get_cpt_name($cpt, 2, $post))); ?></h4>
360
+ <?php else: ?>
361
+ <h4 style="line-height:60px;"><?php printf(esc_html__("There aren't any %s to export.", "wp_all_export_plugin"), esc_html(wp_all_export_get_cpt_name($cpt, 2, $post))); ?></h4>
362
+ <?php endif; ?>
363
+ </div>
364
+ <?php
365
+ }
366
+
367
+ exit(json_encode(array('html' => ob_get_clean(), 'found_records' => $foundRecords, 'hasVariations' => $hasVariations)));
368
+ die;
 
 
 
 
 
 
 
 
 
 
369
 
370
  }
371
 
372
  function wp_all_export_numbering_where($where)
373
  {
374
+ global $wpdb;
375
 
376
+ $excludeVariationsSql = " AND $wpdb->posts.ID NOT IN (SELECT o.ID FROM $wpdb->posts o
377
  LEFT OUTER JOIN $wpdb->posts r ON o.post_parent = r.ID WHERE ((r.post_status = 'trash' OR r.ID IS NULL) AND o.post_type = 'product_variation'))";
378
 
379
+ $groupSql = "GROUP BY $wpdb->posts.ID";
380
+ if (strpos($where, $groupSql) !== false) {
381
+ $where = str_replace($groupSql, $excludeVariationsSql . " " . $groupSql, $where);
382
+ } else {
383
+ $where = $where . $excludeVariationsSql;
384
+ }
385
 
386
+ return $where;
387
  }
actions/wp_ajax_wpae_preview.php CHANGED
@@ -109,7 +109,7 @@ function pmxe_wp_ajax_wpae_preview(){
109
  $msgs = array($msgs);
110
  }
111
  foreach ($msgs as $msg): ?>
112
- <div class="error"><p><?php echo $msg ?></p></div>
113
  <?php endforeach;
114
  exit( json_encode(array('html' => ob_get_clean())) );
115
  }
@@ -164,16 +164,31 @@ function pmxe_wp_ajax_wpae_preview(){
164
  }
165
  else
166
  {
167
- remove_all_actions('parse_query');
168
- remove_all_actions('pre_get_posts');
169
- remove_all_filters('posts_clauses');
170
 
171
- add_filter('posts_join', 'wp_all_export_posts_join', 10, 1);
172
- add_filter('posts_where', 'wp_all_export_posts_where', 10, 1);
173
- $exportQuery = new WP_Query( array( 'post_type' => $exportOptions['cpt'], 'post_status' => 'any', 'orderby' => 'title', 'order' => 'ASC', 'posts_per_page' => 10 ));
174
-
175
- remove_filter('posts_where', 'wp_all_export_posts_where');
176
- remove_filter('posts_join', 'wp_all_export_posts_join');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
  }
178
  }
179
 
@@ -185,7 +200,7 @@ function pmxe_wp_ajax_wpae_preview(){
185
 
186
  <div id="post-preview" class="wpallexport-preview">
187
 
188
- <p class="wpallexport-preview-title"><?php echo sprintf("Preview first 10 %s", wp_all_export_get_cpt_name($exportOptions['cpt'], 10, $exportOptions)); ?></p>
189
 
190
  <div class="wpallexport-preview-content">
191
 
@@ -202,7 +217,7 @@ function pmxe_wp_ajax_wpae_preview(){
202
  $error_msg .= '</li>';
203
  }
204
  $error_msg .= '</ul>';
205
- echo $error_msg;
206
  exit( json_encode(array('html' => ob_get_clean())) );
207
  }
208
 
@@ -228,7 +243,7 @@ function pmxe_wp_ajax_wpae_preview(){
228
  }
229
 
230
  $error_msg = '<span class="error">'.__($errorMessage, 'wp_all_import_plugin').'</span>';
231
- echo $error_msg;
232
  exit( json_encode(array('html' => ob_get_clean())) );
233
  } catch (WpaeInvalidStringException $e) {
234
  // Find the line where the function is
@@ -244,12 +259,12 @@ function pmxe_wp_ajax_wpae_preview(){
244
  }
245
 
246
  $error_msg = '<span class="error">'.__($errorMessage, 'wp_all_import_plugin').'</span>';
247
- echo $error_msg;
248
  exit( json_encode(array('html' => ob_get_clean())) );
249
  } catch (WpaeTooMuchRecursionException $e) {
250
  $errorMessage = __('There was a problem parsing the custom XML template');
251
  $error_msg = '<span class="error">'.__($errorMessage, 'wp_all_import_plugin').'</span>';
252
- echo $error_msg;
253
  exit( json_encode(array('html' => ob_get_clean())) );
254
  }
255
 
@@ -323,7 +338,7 @@ function pmxe_wp_ajax_wpae_preview(){
323
  $error_msg .= __('You can continue export or try to use &lt;data&gt; tag as root element.', 'wp_all_import_plugin');
324
  $error_msg .= '</li>';
325
  $error_msg .= '</ul>';
326
- echo $error_msg;
327
  exit( json_encode(array('html' => ob_get_clean())) );
328
  }
329
  break;
@@ -349,7 +364,7 @@ function pmxe_wp_ajax_wpae_preview(){
349
  $error_msg .= '</li>';
350
  }
351
  $error_msg .= '</ul>';
352
- echo $error_msg;
353
  exit( json_encode(array('html' => ob_get_clean())) );
354
  }
355
  else{
@@ -363,7 +378,7 @@ function pmxe_wp_ajax_wpae_preview(){
363
  $error_msg .= __('You can continue export or try to use &lt;data&gt; tag as root element.', 'wp_all_import_plugin');
364
  $error_msg .= '</li>';
365
  $error_msg .= '</ul>';
366
- echo $error_msg;
367
  exit( json_encode(array('html' => ob_get_clean())) );
368
  }
369
  }
@@ -394,7 +409,7 @@ function pmxe_wp_ajax_wpae_preview(){
394
  ?>
395
  <td>
396
  <?php if (!$rkey):?><strong><?php endif;?>
397
- <?php echo $value; ?>
398
  <?php if (!$rkey):?></strong><?php endif;?>
399
  </td>
400
  <?php
109
  $msgs = array($msgs);
110
  }
111
  foreach ($msgs as $msg): ?>
112
+ <div class="error"><p><?php echo wp_kses_post($msg); ?></p></div>
113
  <?php endforeach;
114
  exit( json_encode(array('html' => ob_get_clean())) );
115
  }
164
  }
165
  else
166
  {
 
 
 
167
 
168
+ if(strpos($exportOptions['cpt'][0], 'custom_') === 0) {
169
+ $addon = GF_Export_Add_On::get_instance();
170
+
171
+ $filter_args = array(
172
+ 'filter_rules_hierarhy' => empty($exportOptions['filter_rules_hierarhy']) ? array() : $exportOptions['filter_rules_hierarhy'],
173
+ 'product_matching_mode' => empty($exportOptions['product_matching_mode']) ? 'strict' : $exportOptions['product_matching_mode'],
174
+ 'taxonomy_to_export' => empty($exportOptions['taxonomy_to_export']) ? '' : $exportOptions['taxonomy_to_export'],
175
+ 'sub_post_type_to_export' => empty($exportOptions['sub_post_type_to_export']) ? '' : $exportOptions['sub_post_type_to_export']
176
+ );
177
+
178
+ $exportQuery = $addon->add_on->get_query(0, 0, $filter_args);
179
+ } else {
180
+
181
+ remove_all_actions('parse_query');
182
+ remove_all_actions('pre_get_posts');
183
+ remove_all_filters('posts_clauses');
184
+
185
+ add_filter('posts_join', 'wp_all_export_posts_join', 10, 1);
186
+ add_filter('posts_where', 'wp_all_export_posts_where', 10, 1);
187
+ $exportQuery = new WP_Query(array('post_type' => $exportOptions['cpt'], 'post_status' => 'any', 'orderby' => 'title', 'order' => 'ASC', 'posts_per_page' => 10));
188
+
189
+ remove_filter('posts_where', 'wp_all_export_posts_where');
190
+ remove_filter('posts_join', 'wp_all_export_posts_join');
191
+ }
192
  }
193
  }
194
 
200
 
201
  <div id="post-preview" class="wpallexport-preview">
202
 
203
+ <p class="wpallexport-preview-title"><?php echo sprintf("Preview first 10 %s", esc_html(wp_all_export_get_cpt_name($exportOptions['cpt'], 10, $exportOptions))); ?></p>
204
 
205
  <div class="wpallexport-preview-content">
206
 
217
  $error_msg .= '</li>';
218
  }
219
  $error_msg .= '</ul>';
220
+ echo wp_kses_post($error_msg);
221
  exit( json_encode(array('html' => ob_get_clean())) );
222
  }
223
 
243
  }
244
 
245
  $error_msg = '<span class="error">'.__($errorMessage, 'wp_all_import_plugin').'</span>';
246
+ echo wp_kses_post($error_msg);
247
  exit( json_encode(array('html' => ob_get_clean())) );
248
  } catch (WpaeInvalidStringException $e) {
249
  // Find the line where the function is
259
  }
260
 
261
  $error_msg = '<span class="error">'.__($errorMessage, 'wp_all_import_plugin').'</span>';
262
+ echo wp_kses_post($error_msg);
263
  exit( json_encode(array('html' => ob_get_clean())) );
264
  } catch (WpaeTooMuchRecursionException $e) {
265
  $errorMessage = __('There was a problem parsing the custom XML template');
266
  $error_msg = '<span class="error">'.__($errorMessage, 'wp_all_import_plugin').'</span>';
267
+ echo wp_kses_post($error_msg);
268
  exit( json_encode(array('html' => ob_get_clean())) );
269
  }
270
 
338
  $error_msg .= __('You can continue export or try to use &lt;data&gt; tag as root element.', 'wp_all_import_plugin');
339
  $error_msg .= '</li>';
340
  $error_msg .= '</ul>';
341
+ echo wp_kses_post($error_msg);
342
  exit( json_encode(array('html' => ob_get_clean())) );
343
  }
344
  break;
364
  $error_msg .= '</li>';
365
  }
366
  $error_msg .= '</ul>';
367
+ echo wp_kses_post($error_msg);
368
  exit( json_encode(array('html' => ob_get_clean())) );
369
  }
370
  else{
378
  $error_msg .= __('You can continue export or try to use &lt;data&gt; tag as root element.', 'wp_all_import_plugin');
379
  $error_msg .= '</li>';
380
  $error_msg .= '</ul>';
381
+ echo wp_kses_post($error_msg);
382
  exit( json_encode(array('html' => ob_get_clean())) );
383
  }
384
  }
409
  ?>
410
  <td>
411
  <?php if (!$rkey):?><strong><?php endif;?>
412
+ <?php echo esc_html($value); ?>
413
  <?php if (!$rkey):?></strong><?php endif;?>
414
  </td>
415
  <?php
actions/wp_ajax_wpae_upgrade_notice.php CHANGED
@@ -73,34 +73,34 @@ function pmxe_wp_ajax_wpae_upgrade_notice()
73
  <div id="post-preview" class="wpallexport-preview wpallexport-upgrade-notice">
74
  <a class="custom-close" href="#"></a>
75
  <div class="upgrade">
76
- <h1><?php _e('Exporting Users is a Pro Feature'); ?></h1>
77
- <h2><?php _e('Purchase a Pro package to export users, along with<br>many other powerful features.'); ?></h2>
78
 
79
  <div class="features">
80
  <div class="column list">
81
- <span><?php _e('Export all user data'); ?></span>
82
- <span><?php _e('Drag & drop interface'); ?></span>
83
- <span><?php _e('Create any CSV or XML'); ?></span>
84
- <span><?php _e('WooCommerce, ACF and more'); ?></span>
85
  </div>
86
  <div class="column cta">
87
  <div class="button upgrade-button">
88
- <span class="subscribe-button-text"><?php _e('Upgrade to Pro'); ?></span>
89
  </div>
90
- <span class="trusted"><?php _e('Trusted by over 200,000 happy users'); ?></span>
91
  </div>
92
  </div>
93
  <ul class="perks">
94
- <li class="guarantee"><span><?php _e('90 Day Guarantee'); ?></span><small><?php _e('No questions,<br> full refund.'); ?></small></li>
95
- <li class="updates"><span><?php _e('Lifetime Updates'); ?></span><small><?php _e('Pay once and get<br>updates for life.'); ?></small></li>
96
- <li class="support"><span><?php _e('World Class Support'); ?></span><small><?php _e('Get help from a team<br>of experts.'); ?></small></li>
97
- <li class="license"><span><?php _e('Unlimited Sites'); ?></span><small><?php _e('Install on as many sites<br>as you like.'); ?></small></li>
98
  </ul>
99
- <p class="already-have"><a class="already-have-link"><?php _e('Already own the Pro version?'); ?></a></p>
100
  </div>
101
  <div class="install">
102
- <h1><?php _e('User Export Add-On is not installed'); ?></h1>
103
- <p><?php _e('You can download the User Export Add-On from the customer portal: <a href="https://www.wpallimport.com/portal/">https://www.wpallimport.com/portal/</a>. Once you install it, you\'ll be able to export users.'); ?></p>
104
  </div>
105
  </div>
106
  <?php
73
  <div id="post-preview" class="wpallexport-preview wpallexport-upgrade-notice">
74
  <a class="custom-close" href="#"></a>
75
  <div class="upgrade">
76
+ <h1><?php esc_html_e('Exporting Users is a Pro Feature'); ?></h1>
77
+ <h2><?php esc_html_e('Purchase a Pro package to export users, along with<br>many other powerful features.'); ?></h2>
78
 
79
  <div class="features">
80
  <div class="column list">
81
+ <span><?php esc_html_e('Export all user data'); ?></span>
82
+ <span><?php esc_html_e('Drag & drop interface'); ?></span>
83
+ <span><?php esc_html_e('Create any CSV or XML'); ?></span>
84
+ <span><?php esc_html_e('WooCommerce, ACF and more'); ?></span>
85
  </div>
86
  <div class="column cta">
87
  <div class="button upgrade-button">
88
+ <span class="subscribe-button-text"><?php esc_html_e('Upgrade to Pro'); ?></span>
89
  </div>
90
+ <span class="trusted"><?php esc_html_e('Trusted by over 200,000 happy users'); ?></span>
91
  </div>
92
  </div>
93
  <ul class="perks">
94
+ <li class="guarantee"><span><?php esc_html_e('90 Day Guarantee'); ?></span><small><?php esc_html_e('No questions,<br> full refund.'); ?></small></li>
95
+ <li class="updates"><span><?php esc_html_e('Lifetime Updates'); ?></span><small><?php esc_html_e('Pay once and get<br>updates for life.'); ?></small></li>
96
+ <li class="support"><span><?php esc_html_e('World Class Support'); ?></span><small><?php esc_html_e('Get help from a team<br>of experts.'); ?></small></li>
97
+ <li class="license"><span><?php esc_html_e('Unlimited Sites'); ?></span><small><?php esc_html_e('Install on as many sites<br>as you like.'); ?></small></li>
98
  </ul>
99
+ <p class="already-have"><a class="already-have-link"><?php esc_html_e('Already own the Pro version?'); ?></a></p>
100
  </div>
101
  <div class="install">
102
+ <h1><?php esc_html_e('User Export Add-On is not installed'); ?></h1>
103
+ <p><?php echo 'You can download the User Export Add-On from the customer portal: <a href="https://www.wpallimport.com/portal/">https://www.wpallimport.com/portal/</a>. Once you install it, you\'ll be able to export users.'; ?></p>
104
  </div>
105
  </div>
106
  <?php
actions/wp_ajax_wpallexport.php CHANGED
@@ -95,16 +95,33 @@ function pmxe_wp_ajax_wpallexport()
95
  }
96
  remove_action('comments_clauses', 'wp_all_export_comments_clauses');
97
  } else {
98
- remove_all_actions('parse_query');
99
- remove_all_actions('pre_get_posts');
100
- remove_all_filters('posts_clauses');
101
- remove_all_filters('posts_orderby');
102
 
103
- add_filter('posts_join', 'wp_all_export_posts_join', 10, 1);
104
- add_filter('posts_where', 'wp_all_export_posts_where', 10, 1);
105
- $exportQuery = new WP_Query(array('post_type' => $exportOptions['cpt'], 'post_status' => 'any', 'orderby' => 'ID', 'order' => 'ASC', 'offset' => $export->exported, 'posts_per_page' => $posts_per_page));
106
- remove_filter('posts_where', 'wp_all_export_posts_where');
107
- remove_filter('posts_join', 'wp_all_export_posts_join');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  }
109
  }
110
 
@@ -135,12 +152,33 @@ function pmxe_wp_ajax_wpallexport()
135
  remove_filter('terms_clauses', 'wp_all_export_terms_clauses');
136
  } else {
137
 
138
- if(XmlExportEngine::$is_user_export) {
139
- $foundPosts = $exportQuery->get_total();
140
- $postCount = count($exportQuery->get_results());
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
141
  } else {
142
- $foundPosts = $exportQuery->found_posts;
143
- $postCount = $exportQuery->post_count;
 
 
 
 
 
 
144
  }
145
  }
146
  // [ \get total founded records ]
95
  }
96
  remove_action('comments_clauses', 'wp_all_export_comments_clauses');
97
  } else {
 
 
 
 
98
 
99
+ if(strpos($exportOptions['cpt'][0], 'custom_') === 0) {
100
+
101
+ $addon = GF_Export_Add_On::get_instance();
102
+
103
+ $filter_args = array(
104
+ 'filter_rules_hierarhy' => empty($exportOptions['filter_rules_hierarhy']) ? array() : $exportOptions['filter_rules_hierarhy'],
105
+ 'product_matching_mode' => empty($exportOptions['product_matching_mode']) ? 'strict' : $exportOptions['product_matching_mode'],
106
+ 'taxonomy_to_export' => empty($exportOptions['taxonomy_to_export']) ? '' : $exportOptions['taxonomy_to_export'],
107
+ 'sub_post_type_to_export' => empty($exportOptions['sub_post_type_to_export']) ? '' : $exportOptions['sub_post_type_to_export']
108
+ );
109
+
110
+ $exportQuery = $addon->add_on->get_query($export->exported, $posts_per_page, $filter_args );
111
+
112
+ } else {
113
+
114
+ remove_all_actions('parse_query');
115
+ remove_all_actions('pre_get_posts');
116
+ remove_all_filters('posts_clauses');
117
+ remove_all_filters('posts_orderby');
118
+
119
+ add_filter('posts_join', 'wp_all_export_posts_join', 10, 1);
120
+ add_filter('posts_where', 'wp_all_export_posts_where', 10, 1);
121
+ $exportQuery = new WP_Query(array('post_type' => $exportOptions['cpt'], 'post_status' => 'any', 'orderby' => 'ID', 'order' => 'ASC', 'offset' => $export->exported, 'posts_per_page' => $posts_per_page));
122
+ remove_filter('posts_where', 'wp_all_export_posts_where');
123
+ remove_filter('posts_join', 'wp_all_export_posts_join');
124
+ }
125
  }
126
  }
127
 
152
  remove_filter('terms_clauses', 'wp_all_export_terms_clauses');
153
  } else {
154
 
155
+ if(strpos($exportOptions['cpt'][0], 'custom_') === 0) {
156
+
157
+ $addon = GF_Export_Add_On::get_instance();
158
+
159
+ $filter_args = array(
160
+ 'filter_rules_hierarhy' => empty($exportOptions['filter_rules_hierarhy']) ? array() : $exportOptions['filter_rules_hierarhy'],
161
+ 'product_matching_mode' => empty($exportOptions['product_matching_mode']) ? 'strict' : $exportOptions['product_matching_mode'],
162
+ 'taxonomy_to_export' => empty($exportOptions['taxonomy_to_export']) ? '' : $exportOptions['taxonomy_to_export'],
163
+ 'sub_post_type_to_export' => empty($exportOptions['sub_post_type_to_export']) ? '' : $exportOptions['sub_post_type_to_export']
164
+ );
165
+
166
+ $totalQuery = $addon->add_on->get_query( 0, 0, $filter_args);
167
+ $exportQuery = $addon->add_on->get_query($export->exported, $exportOptions['records_per_iteration'] , $filter_args );
168
+ $foundPosts = count($totalQuery->results);
169
+ $postCount = count($exportQuery->results);
170
+
171
+ XmlExportEngine::$exportQuery = $exportQuery;
172
+
173
  } else {
174
+
175
+ if (XmlExportEngine::$is_user_export) {
176
+ $foundPosts = $exportQuery->get_total();
177
+ $postCount = count($exportQuery->get_results());
178
+ } else {
179
+ $foundPosts = $exportQuery->found_posts;
180
+ $postCount = $exportQuery->post_count;
181
+ }
182
  }
183
  }
184
  // [ \get total founded records ]
classes/config.php CHANGED
File without changes
classes/download.php CHANGED
File without changes
classes/helper.php CHANGED
@@ -136,4 +136,19 @@ class PMXE_Helper {
136
 
137
  return (boolean)preg_match($pattern, $string);
138
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
139
  }
136
 
137
  return (boolean)preg_match($pattern, $string);
138
  }
139
+
140
+ public static function is_rapid_export_addon($cpt)
141
+ {
142
+ if (is_array($cpt)) {
143
+ $cpt = $cpt[0];
144
+ }
145
+
146
+ $is_rapid_addon_export = true;
147
+
148
+ if (strpos($cpt, 'custom_') !== 0) {
149
+ $is_rapid_addon_export = false;
150
+ }
151
+
152
+ return $is_rapid_addon_export;
153
+ }
154
  }
classes/input.php CHANGED
File without changes
classes/installer.php CHANGED
@@ -20,7 +20,7 @@ class PMXE_Installer
20
 
21
  private function error($message){
22
 
23
- $message = __($message);
24
  $error = <<<EOT
25
  <style type="text/css">
26
  body, html {
@@ -34,7 +34,7 @@ class PMXE_Installer
34
  </p>
35
  </div>
36
  EOT;
37
- echo $error;
38
  die;
39
  }
40
  }
20
 
21
  private function error($message){
22
 
23
+ $message = __(esc_html($message));
24
  $error = <<<EOT
25
  <style type="text/css">
26
  body, html {
34
  </p>
35
  </div>
36
  EOT;
37
+ echo wp_kses_post($error);
38
  die;
39
  }
40
  }
classes/session.php CHANGED
File without changes
classes/wpallimport.php CHANGED
@@ -113,6 +113,10 @@ final class PMXE_Wpallimport
113
 
114
  $custom_type = (empty($exportOptions['cpt'])) ? 'post' : $exportOptions['cpt'][0];
115
 
 
 
 
 
116
  // Do not create an import template for WooCommerce Refunds
117
  if ( $export->options['export_to'] == 'xml' && in_array($export->options['xml_template_type'], array('custom', 'XmlGoogleMerchants')) ) return false;
118
 
@@ -160,7 +164,19 @@ final class PMXE_Wpallimport
160
  'update_categories_logic' => 'only',
161
  'taxonomies_list' => '',
162
  'export_id' => $export->id
163
- );
 
 
 
 
 
 
 
 
 
 
 
 
164
 
165
  if ( in_array('product', $exportOptions['cpt']) )
166
  {
@@ -544,6 +560,10 @@ final class PMXE_Wpallimport
544
 
545
  XmlExportMediaGallery::prepare_import_template( $options, self::$templateOptions, $element_name, $ID);
546
 
 
 
 
 
547
  if($addons->isUserAddonActive()) {
548
  XmlExportUser::prepare_import_template($options, self::$templateOptions, $element_name, $ID);
549
  }
113
 
114
  $custom_type = (empty($exportOptions['cpt'])) ? 'post' : $exportOptions['cpt'][0];
115
 
116
+ if(XmlExportEngine::$is_custom_addon_export) {
117
+ $custom_type = 'gf_entries';
118
+ }
119
+
120
  // Do not create an import template for WooCommerce Refunds
121
  if ( $export->options['export_to'] == 'xml' && in_array($export->options['xml_template_type'], array('custom', 'XmlGoogleMerchants')) ) return false;
122
 
164
  'update_categories_logic' => 'only',
165
  'taxonomies_list' => '',
166
  'export_id' => $export->id
167
+ );
168
+
169
+
170
+ if(XmlExportEngine::$is_custom_addon_export) {
171
+
172
+ $gf_addon = \GF_Export_Add_On::get_instance();
173
+ $sub_post_type = $gf_addon->add_on->get_sub_post_type();
174
+
175
+ if(class_exists('GFAPI')) {
176
+ $form = GFAPI::get_form($sub_post_type);
177
+ self::$templateOptions['gravity_form_title'] = $form['title'];
178
+ }
179
+ }
180
 
181
  if ( in_array('product', $exportOptions['cpt']) )
182
  {
560
 
561
  XmlExportMediaGallery::prepare_import_template( $options, self::$templateOptions, $element_name, $ID);
562
 
563
+ if(XmlExportEngine::$is_custom_addon_export) {
564
+ XmlExportCustomRecord::prepare_import_template($options, self::$templateOptions, $element_name, $ID);
565
+ }
566
+
567
  if($addons->isUserAddonActive()) {
568
  XmlExportUser::prepare_import_template($options, self::$templateOptions, $element_name, $ID);
569
  }
classes/zip.php CHANGED
@@ -1,54 +1,73 @@
1
  <?php
2
 
3
  if ( ! class_exists('PMXE_Zip')){
4
-
5
  class PMXE_Zip
6
  {
7
  /**
8
- * Add files and sub-directories in a folder to zip file.
9
- * @param string $folder
10
- * @param ZipArchive $zipFile
11
- * @param int $exclusiveLength Number of text to be exclusived from the file path.
12
- */
13
- private static function folderToZip($folder, &$zipFile, $exclusiveLength) {
14
- $handle = opendir($folder);
15
- while (false !== $f = readdir($handle)) {
16
- if ($f != '.' && $f != '..') {
17
- $filePath = "$folder/$f";
18
- // Remove prefix from file path before add to zip.
19
- $localPath = substr($filePath, $exclusiveLength);
20
- if (is_file($filePath)) {
21
- $zipFile->addFile($filePath, $localPath);
22
- } elseif (is_dir($filePath)) {
23
- // Add sub-directory.
24
- $zipFile->addEmptyDir($localPath);
25
- self::folderToZip($filePath, $zipFile, $exclusiveLength);
26
- }
27
- }
28
- }
29
- closedir($handle);
 
 
 
 
 
 
 
 
 
30
  }
31
 
32
  /**
33
- * Zip a folder (include itself).
34
- * Usage:
35
- * PMXE_Zip::zipDir('/path/to/sourceDir', '/path/to/out.zip');
36
- *
37
- * @param string $sourcePath Path of directory to be zip.
38
- * @param string $outZipPath Path of output zip file.
39
- */
40
  public static function zipDir($sourcePath, $outZipPath)
41
  {
42
- $pathInfo = pathInfo($sourcePath);
43
- $parentPath = $pathInfo['dirname'];
44
- $dirName = $pathInfo['basename'];
45
-
46
- $z = new ZipArchive();
47
- $z->open($outZipPath, ZIPARCHIVE::CREATE);
48
- $z->addEmptyDir($dirName);
49
- self::folderToZip($sourcePath, $z, strlen("$parentPath/"));
50
- $z->close();
 
 
 
 
 
 
 
 
 
 
51
  }
52
- }
53
 
54
  }
1
  <?php
2
 
3
  if ( ! class_exists('PMXE_Zip')){
4
+
5
  class PMXE_Zip
6
  {
7
  /**
8
+ * Add files and sub-directories in a folder to zip file.
9
+ * @param string $folder
10
+ * @param ZipArchive|PclZip $zipFile
11
+ * @param int $exclusiveLength Number of text to be exclusived from the file path.
12
+ */
13
+ private static function folderToZip($folder, &$zipFile, $exclusiveLength, $type = 'zip', $removePath = '') {
14
+ $handle = opendir($folder);
15
+ if($handle !== false) {
16
+ while (false !== $f = readdir($handle)) {
17
+ if ($f != '.' && $f != '..') {
18
+ $filePath = "$folder/$f";
19
+ // Remove prefix from file path before add to zip.
20
+ $localPath = substr($filePath, $exclusiveLength);
21
+ // Fall back to PclZip if ZipArchive is unavailable.
22
+ if( 'zip' === $type ) {
23
+ if ( is_file( $filePath ) ) {
24
+ $zipFile->addFile( $filePath, $localPath );
25
+ } elseif ( is_dir( $filePath ) ) {
26
+ // Add sub-directory.
27
+ $zipFile->addEmptyDir( $localPath );
28
+ self::folderToZip( $filePath, $zipFile, $exclusiveLength );
29
+ }
30
+ }else{
31
+ if( is_file($filePath)) {
32
+ $zipFile->add( $filePath, '', $removePath );
33
+ }
34
+ }
35
+ }
36
+ }
37
+ closedir($handle);
38
+ }
39
  }
40
 
41
  /**
42
+ * Zip a folder (include itself).
43
+ * Usage:
44
+ * PMXE_Zip::zipDir('/path/to/sourceDir', '/path/to/out.zip');
45
+ *
46
+ * @param string $sourcePath Path of directory to be zip.
47
+ * @param string $outZipPath Path of output zip file.
48
+ */
49
  public static function zipDir($sourcePath, $outZipPath)
50
  {
51
+ $pathInfo = pathInfo($sourcePath);
52
+ $parentPath = $pathInfo['dirname'];
53
+ $dirName = $pathInfo['basename'];
54
+
55
+ // Fall back to PclZip if ZipArchive is unavailable.
56
+ if(class_exists('ZipArchive')){
57
+ $z = new ZipArchive();
58
+ $z->open($outZipPath, ZIPARCHIVE::CREATE);
59
+ $z->addEmptyDir($dirName);
60
+ self::folderToZip($sourcePath, $z, strlen("$parentPath/"));
61
+ $z->close();
62
+ }else{
63
+ require_once ABSPATH . 'wp-admin/includes/class-pclzip.php';
64
+
65
+ $z = new PclZip($outZipPath);
66
+ self::folderToZip($sourcePath, $z, strlen("$parentPath/"), 'pcl', $parentPath);
67
+
68
+
69
+ }
70
  }
71
+ }
72
 
73
  }
config/options.php CHANGED
File without changes
controllers/admin/export.php CHANGED
@@ -94,6 +94,7 @@ class PMXE_Admin_Export extends PMXE_Controller_Admin
94
  'wp_query_selector' => 'wp_query',
95
  'auto_generate' => 0,
96
  'taxonomy_to_export' => '',
 
97
  'created_at_version' => PMXE_VERSION
98
  );
99
 
@@ -119,9 +120,6 @@ class PMXE_Admin_Export extends PMXE_Controller_Admin
119
  }
120
  }
121
 
122
- if (!class_exists('ZipArchive')) {
123
- $this->errors->add('form-validation', __('ZipArchive class is missing on your server.<br/>Please contact your web hosting provider and ask them to install and activate ZipArchive.', 'wp_all_export_plugin'));
124
- }
125
  if (!class_exists('XMLReader') or !class_exists('XMLWriter')) {
126
  $this->errors->add('form-validation', __('Required PHP components are missing.<br/><br/>WP All Export requires XMLReader, and XMLWriter PHP modules to be installed.<br/>These are standard features of PHP, and are necessary for WP All Export to write the files you are trying to export.<br/>Please contact your web hosting provider and ask them to install and activate the DOMDocument, XMLReader, and XMLWriter PHP modules.', 'wp_all_export_plugin'));
127
  }
@@ -134,9 +132,10 @@ class PMXE_Admin_Export extends PMXE_Controller_Admin
134
  PMXE_Plugin::$session->set('wp_query_selector', $post['wp_query_selector']);
135
  PMXE_Plugin::$session->set('taxonomy_to_export', $post['taxonomy_to_export']);
136
  PMXE_Plugin::$session->set('created_at_version', $post['created_at_version']);
 
137
 
138
  if (!empty($post['auto_generate'])) {
139
- $auto_generate = XmlCsvExport::auto_genetate_export_fields($post, $this->errors);
140
 
141
  foreach ($auto_generate as $key => $value) {
142
  PMXE_Plugin::$session->set($key, $value);
@@ -337,7 +336,7 @@ class PMXE_Admin_Export extends PMXE_Controller_Admin
337
  // prepare active languages list
338
  $language_list = array('all' => 'All');
339
  foreach ($langs as $code => $langInfo) {
340
- $language_list[$code] = "<img width='18' height='12' src='" . $sitepress->get_flag_url($code) . "' style='position:relative; top: 2px;'/> " . $langInfo['display_name'];
341
  if(isset($this->default_language)){
342
  if ($code == $this->default_language) $language_list[$code] .= ' ( <strong>default</strong> )';
343
  }
@@ -551,6 +550,11 @@ class PMXE_Admin_Export extends PMXE_Controller_Admin
551
  return $friendly_name;
552
  }
553
  } else {
 
 
 
 
 
554
  $post_type_details = get_post_type_object(array_shift($post_types));
555
  $friendly_name = $post_type_details->labels->name . ' Export - ' . date("Y F d H:i");
556
  return $friendly_name;
94
  'wp_query_selector' => 'wp_query',
95
  'auto_generate' => 0,
96
  'taxonomy_to_export' => '',
97
+ 'sub_post_type_to_export' => '',
98
  'created_at_version' => PMXE_VERSION
99
  );
100
 
120
  }
121
  }
122
 
 
 
 
123
  if (!class_exists('XMLReader') or !class_exists('XMLWriter')) {
124
  $this->errors->add('form-validation', __('Required PHP components are missing.<br/><br/>WP All Export requires XMLReader, and XMLWriter PHP modules to be installed.<br/>These are standard features of PHP, and are necessary for WP All Export to write the files you are trying to export.<br/>Please contact your web hosting provider and ask them to install and activate the DOMDocument, XMLReader, and XMLWriter PHP modules.', 'wp_all_export_plugin'));
125
  }
132
  PMXE_Plugin::$session->set('wp_query_selector', $post['wp_query_selector']);
133
  PMXE_Plugin::$session->set('taxonomy_to_export', $post['taxonomy_to_export']);
134
  PMXE_Plugin::$session->set('created_at_version', $post['created_at_version']);
135
+ PMXE_Plugin::$session->set('sub_post_type_to_export', $post['sub_post_type_to_export']);
136
 
137
  if (!empty($post['auto_generate'])) {
138
+ $auto_generate = XmlCsvExport::auto_generate_export_fields($post, $this->errors);
139
 
140
  foreach ($auto_generate as $key => $value) {
141
  PMXE_Plugin::$session->set($key, $value);
336
  // prepare active languages list
337
  $language_list = array('all' => 'All');
338
  foreach ($langs as $code => $langInfo) {
339
+ $language_list[$code] = "<img width='18' height='12' src='" . esc_attr($sitepress->get_flag_url($code)) . "' style='position:relative; top: 2px;'/> " . esc_html($langInfo['display_name']);
340
  if(isset($this->default_language)){
341
  if ($code == $this->default_language) $language_list[$code] .= ' ( <strong>default</strong> )';
342
  }
550
  return $friendly_name;
551
  }
552
  } else {
553
+ $is_rapid_add_on_export = PMXE_Helper::is_rapid_export_addon($post_types);
554
+ if($is_rapid_add_on_export) {
555
+ return 'Gravity Forms Entries Export - ' . date("Y F d H:i");
556
+ }
557
+
558
  $post_type_details = get_post_type_object(array_shift($post_types));
559
  $friendly_name = $post_type_details->labels->name . ' Export - ' . date("Y F d H:i");
560
  return $friendly_name;
controllers/admin/help.php CHANGED
File without changes
controllers/admin/settings.php CHANGED
File without changes
controllers/controller.php CHANGED
File without changes
controllers/controller/admin.php CHANGED
File without changes
helpers/backward.php CHANGED
File without changes
helpers/pmxe_render_xml_attributes.php CHANGED
@@ -2,6 +2,6 @@
2
  function pmxe_render_xml_attributes($el, $path = '/')
3
  {
4
  foreach ($el->attributes as $attr) {
5
- echo ' <span class="xml-attr" title="' . $path . '@' . $attr->nodeName . '"><span class="xml-attr-name">' . $attr->nodeName . '</span>=<span class="xml-attr-value">"' . esc_attr($attr->value) . '"</span></span>';
6
  }
7
  }
2
  function pmxe_render_xml_attributes($el, $path = '/')
3
  {
4
  foreach ($el->attributes as $attr) {
5
+ echo ' <span class="xml-attr" title="' . esc_attr($path . '@' . $attr->nodeName) . '"><span class="xml-attr-name">' . esc_html($attr->nodeName) . '</span>=<span class="xml-attr-value">"' . esc_attr($attr->value) . '"</span></span>';
6
  }
7
  }
helpers/pmxe_render_xml_element.php CHANGED
@@ -7,16 +7,14 @@ function pmxe_render_xml_element($el, $shorten = false, $path = '/', $ind = 1, $
7
  $path .= "[$ind]";
8
  }
9
 
10
- echo '<div class="xml-element lvl-' . $lvl . ' lvl-mod4-' . ($lvl % 4) . '" title="' . $path . '">';
11
- //if ($el->hasAttributes()){
12
- //echo '<div class="xml-element-xpaths">'; self::render_element_xpaths($el, $alternativePath, $ind, $lvl); echo '</div>';
13
- //}
14
  if ($el->hasChildNodes()) {
15
  $is_render_collapsed = $ind > 1;
16
  if ($el->childNodes->length > 1 or ! $el->childNodes->item(0) instanceof DOMText or strlen(trim($el->childNodes->item(0)->wholeText)) > 40) {
17
  echo '<div class="xml-expander">' . ($is_render_collapsed ? '+' : '-') . '</div>';
18
  }
19
- echo '<div class="xml-tag opening">&lt;<span class="xml-tag-name">' . $el->nodeName . '</span>'; pmxe_render_xml_attributes($el, $path . '/'); echo '&gt;</div>';
20
  if (1 == $el->childNodes->length and $el->childNodes->item(0) instanceof DOMText) {
21
  pmxe_render_xml_text(trim($el->childNodes->item(0)->wholeText), $shorten, $is_render_collapsed);
22
  } else {
@@ -41,15 +39,15 @@ function pmxe_render_xml_element($el, $shorten = false, $path = '/', $ind = 1, $
41
  } elseif ($child instanceof DOMComment) {
42
  if (preg_match('%\[pmxi_more:(\d+)\]%', $child->nodeValue, $mtch)) {
43
  $no = intval($mtch[1]);
44
- echo '<div class="xml-more">[ &dArr; ' . sprintf(__('<strong>%s</strong> %s more', 'wp_all_import_plugin'), $no, _n('element', 'elements', $no, 'wp_all_import_plugin')) . ' &dArr; ]</div>';
45
  }
46
  }
47
  }
48
  echo '</div>';
49
  }
50
- echo '<div class="xml-tag closing">&lt;/<span class="xml-tag-name">' . $el->nodeName . '</span>&gt;</div>';
51
  } else {
52
- echo '<div class="xml-tag opening empty">&lt;<span class="xml-tag-name">' . $el->nodeName . '</span>'; pmxe_render_xml_attributes($el); echo '/&gt;</div>';
53
  }
54
  echo '</div>';
55
  }
7
  $path .= "[$ind]";
8
  }
9
 
10
+ echo '<div class="xml-element lvl-' . intval($lvl) . ' lvl-mod4-' . (intval($lvl) % 4) . '" title="' . esc_attr($path) . '">';
11
+
 
 
12
  if ($el->hasChildNodes()) {
13
  $is_render_collapsed = $ind > 1;
14
  if ($el->childNodes->length > 1 or ! $el->childNodes->item(0) instanceof DOMText or strlen(trim($el->childNodes->item(0)->wholeText)) > 40) {
15
  echo '<div class="xml-expander">' . ($is_render_collapsed ? '+' : '-') . '</div>';
16
  }
17
+ echo '<div class="xml-tag opening">&lt;<span class="xml-tag-name">' . esc_html($el->nodeName) . '</span>'; pmxe_render_xml_attributes($el, $path . '/'); echo '&gt;</div>';
18
  if (1 == $el->childNodes->length and $el->childNodes->item(0) instanceof DOMText) {
19
  pmxe_render_xml_text(trim($el->childNodes->item(0)->wholeText), $shorten, $is_render_collapsed);
20
  } else {
39
  } elseif ($child instanceof DOMComment) {
40
  if (preg_match('%\[pmxi_more:(\d+)\]%', $child->nodeValue, $mtch)) {
41
  $no = intval($mtch[1]);
42
+ echo '<div class="xml-more">[ &dArr; ' . wp_kses_post(sprintf(__('<strong>%s</strong> %s more', 'wp_all_import_plugin'), $no, _n('element', 'elements', $no, 'wp_all_import_plugin'))) . ' &dArr; ]</div>';
43
  }
44
  }
45
  }
46
  echo '</div>';
47
  }
48
+ echo '<div class="xml-tag closing">&lt;/<span class="xml-tag-name">' . esc_html($el->nodeName) . '</span>&gt;</div>';
49
  } else {
50
+ echo '<div class="xml-tag opening empty">&lt;<span class="xml-tag-name">' . esc_html($el->nodeName) . '</span>'; pmxe_render_xml_attributes($el); echo '/&gt;</div>';
51
  }
52
  echo '</div>';
53
  }
helpers/pmxe_render_xml_text.php CHANGED
@@ -7,7 +7,7 @@ function pmxe_render_xml_text($text, $shorten = false, $is_render_collapsed = fa
7
 
8
  if (preg_match('%\[more:(\d+)\]%', $text, $mtch)) {
9
  $no = intval($mtch[1]);
10
- echo '<div class="xml-more">[ &dArr; ' . sprintf(__('<strong>%s</strong> %s more', 'pmxi_plugin'), $no, _n('element', 'elements', $no, 'pmxi_plugin')) . ' &dArr; ]</div>';
11
  return;
12
  }
13
  $more = '';
@@ -21,5 +21,5 @@ function pmxe_render_xml_text($text, $shorten = false, $is_render_collapsed = fa
21
  $text = str_replace('CDATABEGIN', '&lt;![CDATA[', $text);
22
  $text = str_replace('CDATACLOSE', ']]&gt;', $text);
23
  $is_short = strlen($text) <= 40;
24
- echo '<div class="xml-content textonly' . ($is_short ? ' short' : '') . ($is_cdata ? ' cdata' : '') . ($is_render_collapsed ? ' collapsed' : '') . '">' . $text . $more . '</div>';
25
  }
7
 
8
  if (preg_match('%\[more:(\d+)\]%', $text, $mtch)) {
9
  $no = intval($mtch[1]);
10
+ echo '<div class="xml-more">[ &dArr; ' . sprintf(wp_kses_post(__('<strong>%s</strong> %s more', 'pmxi_plugin'), $no, _n('element', 'elements', $no, 'pmxi_plugin'))) . ' &dArr; ]</div>';
11
  return;
12
  }
13
  $more = '';
21
  $text = str_replace('CDATABEGIN', '&lt;![CDATA[', $text);
22
  $text = str_replace('CDATACLOSE', ']]&gt;', $text);
23
  $is_short = strlen($text) <= 40;
24
+ echo '<div class="xml-content textonly' . ($is_short ? ' short' : '') . ($is_cdata ? ' cdata' : '') . ($is_render_collapsed ? ' collapsed' : '') . '">' . esc_html($text) . $more . '</div>';
25
  }
helpers/str_getcsv.php CHANGED
File without changes
helpers/wp_all_export_comments_clauses.php ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ function wp_all_export_comments_clauses($obj)
4
+ {
5
+ if ( ! empty(PMXE_Plugin::$session) and PMXE_Plugin::$session->has_session() )
6
+ {
7
+ // manual export run
8
+ $customWhere = PMXE_Plugin::$session->get('whereclause');
9
+ $obj['where'] .= $customWhere;
10
+
11
+ $customJoin = PMXE_Plugin::$session->get('joinclause');
12
+
13
+ if ( ! empty( $customJoin ) ) {
14
+ $obj['join'] .= implode( ' ', array_unique( $customJoin ) );
15
+ }
16
+ }
17
+ else
18
+ {
19
+ // cron job execution
20
+ if ( ! empty(XmlExportEngine::$exportOptions['whereclause']) ) $obj['where'] .= XmlExportEngine::$exportOptions['whereclause'];
21
+ if ( ! empty(XmlExportEngine::$exportOptions['joinclause']) ) {
22
+ $obj['join'] .= implode( ' ', array_unique( XmlExportEngine::$exportOptions['joinclause'] ) );
23
+ }
24
+ }
25
+ return $obj;
26
+ }
helpers/wp_all_export_get_cpt_name.php CHANGED
@@ -27,6 +27,9 @@ function wp_all_export_get_cpt_name($cpt = array(), $count = 2, $post = array())
27
  $cptName = ($count > 1) ? __('Taxonomy Terms', 'wp_all_export_plugin') : __('Taxonomy Term', 'wp_all_export_plugin');
28
  }
29
  }
 
 
 
30
  else
31
  {
32
  if (count($cpt) === 1 and in_array('product_variation', $cpt) and class_exists('WooCommerce')){
27
  $cptName = ($count > 1) ? __('Taxonomy Terms', 'wp_all_export_plugin') : __('Taxonomy Term', 'wp_all_export_plugin');
28
  }
29
  }
30
+ elseif (in_array('custom_wpae-gf-addon', $cpt)) {
31
+ $cptName = ($count > 1) ? __('Entries', 'wp_all_export_plugin') : __('Entry', 'wp_all_export_plugin');
32
+ }
33
  else
34
  {
35
  if (count($cpt) === 1 and in_array('product_variation', $cpt) and class_exists('WooCommerce')){
helpers/wp_all_export_reverse_rules_html.php CHANGED
@@ -16,23 +16,25 @@ if ( ! function_exists('wp_all_export_reverse_rules_html') ) {
16
  $rulenumber++;
17
 
18
  ?>
19
- <li id="item_<?php echo $rulenumber;?>" class="dragging">
20
  <div class="drag-element">
21
- <input type="hidden" value="<?php echo $rule->element; ?>" class="wp_all_export_xml_element" name="wp_all_export_xml_element[<?php echo $rulenumber; ?>]"/>
22
- <input type="hidden" value="<?php echo $rule->condition; ?>" class="wp_all_export_rule" name="wp_all_export_rule[<?php echo $rulenumber; ?>]"/>
23
- <input type="hidden" value="<?php echo $rule->value; ?>" class="wp_all_export_value" name="wp_all_export_value[<?php echo $rulenumber; ?>]"/>
24
- <span class="rule_element"><?php echo empty($rule->title) ? $rule->element : $rule->title; ?></span>
25
- <span class="rule_as_is"><?php echo $condition_label; ?></span>
26
- <span class="rule_condition_value"><?php echo $rule->value; ?></span>
27
  <span class="condition <?php if ($rulenumber == count($filter_rules_hierarhy)):?>last_condition<?php endif; ?>">
28
- <label for="rule_and_<?php echo $rulenumber; ?>">AND</label>
29
- <input id="rule_and_<?php echo $rulenumber; ?>" type="radio" value="and" name="rule[<?php echo $rulenumber; ?>]" <?php if ($rule->clause == 'AND'): ?>checked="checked"<?php endif; ?> class="rule_condition"/>
30
- <label for="rule_or_<?php echo $rulenumber; ?>">OR</label>
31
- <input id="rule_or_<?php echo $rulenumber; ?>" type="radio" value="or" name="rule[<?php echo $rulenumber; ?>]" <?php if ($rule->clause == 'OR'): ?>checked="checked"<?php endif; ?> class="rule_condition"/>
32
  </span>
33
  </div>
34
  <a href="javascript:void(0);" class="icon-item remove-ico"></a>
35
- <?php echo wp_all_export_reverse_rules_html($filter_rules_hierarhy, $rule, $rulenumber, $condition_labels); ?>
 
 
36
  </li>
37
  <?php
38
  }
16
  $rulenumber++;
17
 
18
  ?>
19
+ <li id="item_<?php echo intval($rulenumber);?>" class="dragging">
20
  <div class="drag-element">
21
+ <input type="hidden" value="<?php echo esc_attr($rule->element); ?>" class="wp_all_export_xml_element" name="wp_all_export_xml_element[<?php echo $rulenumber; ?>]"/>
22
+ <input type="hidden" value="<?php echo esc_attr($rule->condition); ?>" class="wp_all_export_rule" name="wp_all_export_rule[<?php echo $rulenumber; ?>]"/>
23
+ <input type="hidden" value="<?php echo esc_attr($rule->value); ?>" class="wp_all_export_value" name="wp_all_export_value[<?php echo $rulenumber; ?>]"/>
24
+ <span class="rule_element"><?php echo empty($rule->title) ? esc_html($rule->element) : esc_html($rule->title); ?></span>
25
+ <span class="rule_as_is"><?php echo esc_html($condition_label); ?></span>
26
+ <span class="rule_condition_value"><?php echo esc_html($rule->value); ?></span>
27
  <span class="condition <?php if ($rulenumber == count($filter_rules_hierarhy)):?>last_condition<?php endif; ?>">
28
+ <label for="rule_and_<?php echo intval($rulenumber); ?>">AND</label>
29
+ <input id="rule_and_<?php echo intval($rulenumber); ?>" type="radio" value="and" name="rule[<?php echo $rulenumber; ?>]" <?php if ($rule->clause == 'AND'): ?>checked="checked"<?php endif; ?> class="rule_condition"/>
30
+ <label for="rule_or_<?php echo intval($rulenumber); ?>">OR</label>
31
+ <input id="rule_or_<?php echo intval($rulenumber); ?>" type="radio" value="or" name="rule[<?php echo $rulenumber; ?>]" <?php if ($rule->clause == 'OR'): ?>checked="checked"<?php endif; ?> class="rule_condition"/>
32
  </span>
33
  </div>
34
  <a href="javascript:void(0);" class="icon-item remove-ico"></a>
35
+ <?php
36
+ // Output sanitized inside the function
37
+ echo wp_all_export_reverse_rules_html($filter_rules_hierarhy, $rule, $rulenumber, $condition_labels); ?>
38
  </li>
39
  <?php
40
  }
helpers/wp_all_export_terms_clauses.php ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ function wp_all_export_terms_clauses($clauses, $taxonomies, $args)
4
+ {
5
+ if ( ! empty(PMXE_Plugin::$session) and PMXE_Plugin::$session->has_session() )
6
+ {
7
+ // manual export run
8
+ $customWhere = PMXE_Plugin::$session->get('whereclause');
9
+ $clauses['where'] .= $customWhere;
10
+
11
+ $customJoin = PMXE_Plugin::$session->get('joinclause');
12
+
13
+ if ( ! empty( $customJoin ) ) {
14
+ $clauses['join'] .= implode( ' ', array_unique( $customJoin ) );
15
+ }
16
+ }
17
+ else
18
+ {
19
+ // cron job execution
20
+ if ( ! empty(XmlExportEngine::$exportOptions['whereclause']) ) $clauses['where'] .= XmlExportEngine::$exportOptions['whereclause'];
21
+ if ( ! empty(XmlExportEngine::$exportOptions['joinclause']) ) {
22
+ $clauses['join'] .= implode( ' ', array_unique( XmlExportEngine::$exportOptions['joinclause'] ) );
23
+ }
24
+ }
25
+
26
+ return $clauses;
27
+ }
helpers/wp_redirect_or_javascript.php CHANGED
@@ -9,7 +9,7 @@ if ( ! function_exists('wp_redirect_or_javascript')):
9
  function wp_redirect_or_javascript($location, $javascript = NULL, $status = 302) {
10
  if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) and strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest') {
11
  is_null($javascript) and $javascript = 'location.href="' . addslashes($location) . '";';
12
- echo '<script type="text/javascript">' . $javascript . '</script>';
13
  } else {
14
  return wp_redirect($location, $status);
15
  }
9
  function wp_redirect_or_javascript($location, $javascript = NULL, $status = 302) {
10
  if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) and strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest') {
11
  is_null($javascript) and $javascript = 'location.href="' . addslashes($location) . '";';
12
+ echo '<script type="text/javascript">' . esc_js($javascript) . '</script>';
13
  } else {
14
  return wp_redirect($location, $status);
15
  }
libraries/XmlCsvExport.php CHANGED
@@ -77,6 +77,15 @@ final Class XmlCsvExport
77
  $articles = apply_filters('wp_all_export_csv_rows', $articles, XmlExportEngine::$exportOptions, XmlExportEngine::$exportID);
78
  if (!$preview) do_action('pmxe_exported_post', $term->term_id, XmlExportEngine::$exportRecord);
79
  }
 
 
 
 
 
 
 
 
 
80
  }
81
  else { // exporting custom post types
82
  while ( XmlExportEngine::$exportQuery->have_posts() ) {
@@ -268,6 +277,38 @@ final Class XmlCsvExport
268
 
269
  }
270
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
271
  }
272
  elseif ( XmlExportEngine::$is_comment_export ) // exporting comments
273
  {
@@ -729,7 +770,7 @@ final Class XmlCsvExport
729
  }
730
  // [ \CSV Export Helpers ]
731
 
732
- public static function auto_genetate_export_fields($post, $errors = false)
733
  {
734
  $errors or $errors = new WP_Error();
735
 
@@ -836,11 +877,36 @@ final Class XmlCsvExport
836
 
837
  if (XmlExportEngine::get_addons_service()->isAcfAddonActive() && !XmlExportEngine::$is_comment_export) XmlExportEngine::$acf_export->auto_generate_export_fields($auto_generate);
838
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
839
  return $auto_generate;
840
  }
841
 
842
 
843
-
844
  /**
845
  * @param $xmlWriter
846
  * @param $key
77
  $articles = apply_filters('wp_all_export_csv_rows', $articles, XmlExportEngine::$exportOptions, XmlExportEngine::$exportID);
78
  if (!$preview) do_action('pmxe_exported_post', $term->term_id, XmlExportEngine::$exportRecord);
79
  }
80
+ }
81
+ elseif (XmlExportEngine::$is_custom_addon_export) {
82
+
83
+ foreach (XmlExportEngine::$exportQuery->results as $record) {
84
+
85
+ $articles[] = XmlExportCustomRecord::prepare_data($record, XmlExportEngine::$exportOptions, false, $acfs, XmlExportEngine::$implode, $preview);
86
+ $articles = apply_filters('wp_all_export_csv_rows', $articles, XmlExportEngine::$exportOptions, XmlExportEngine::$exportID);
87
+ if (!$preview) do_action('pmxe_exported_post', $record->id, XmlExportEngine::$exportRecord);
88
+ }
89
  }
90
  else { // exporting custom post types
91
  while ( XmlExportEngine::$exportQuery->have_posts() ) {
277
 
278
  }
279
 
280
+ }
281
+ elseif (XmlExportEngine::$is_custom_addon_export) {
282
+
283
+ foreach (XmlExportEngine::$exportQuery->results as $record) {
284
+
285
+ $is_export_record = apply_filters('wp_all_export_xml_rows', true, $record, XmlExportEngine::$exportOptions, XmlExportEngine::$exportID);
286
+
287
+ if (!$is_export_record) continue;
288
+
289
+ if (!$is_custom_xml) {
290
+ // add additional information before each node
291
+ self::before_xml_node($xmlWriter, $record->id);
292
+ $xmlWriter->startElement(self::$node_xml_tag);
293
+
294
+ XmlExportCustomRecord::prepare_data($record, XmlExportEngine::$exportOptions, $xmlWriter, XmlExportEngine::$implode, $preview);
295
+
296
+ $xmlWriter->closeElement(); // end post
297
+
298
+ // add additional information after each node
299
+ self::after_xml_node($xmlWriter, $record->id);
300
+ } else {
301
+ $articles = array();
302
+ $articles[] = XmlExportCustomRecord::prepare_data($record, XmlExportEngine::$exportOptions, $xmlWriter, XmlExportEngine::$implode, $preview);
303
+ $articles = apply_filters('wp_all_export_csv_rows', $articles, XmlExportEngine::$exportOptions, XmlExportEngine::$exportID);
304
+
305
+ $xmlWriter->writeArticle($articles);
306
+ }
307
+
308
+ if (!$preview) {
309
+ do_action('pmxe_exported_post', $record->id, XmlExportEngine::$exportRecord);
310
+ }
311
+ }
312
  }
313
  elseif ( XmlExportEngine::$is_comment_export ) // exporting comments
314
  {
770
  }
771
  // [ \CSV Export Helpers ]
772
 
773
+ public static function auto_generate_export_fields($post, $errors = false)
774
  {
775
  $errors or $errors = new WP_Error();
776
 
877
 
878
  if (XmlExportEngine::get_addons_service()->isAcfAddonActive() && !XmlExportEngine::$is_comment_export) XmlExportEngine::$acf_export->auto_generate_export_fields($auto_generate);
879
 
880
+ if(XmlExportEngine::$is_custom_addon_export) {
881
+
882
+ $auto_generate = [];
883
+
884
+ $addon = GF_Export_Add_On::get_instance();
885
+ $addon->run();
886
+ $available_data = $addon->add_on->init_available_data([]);
887
+
888
+ foreach($available_data as $section) {
889
+ foreach($section as $field) {
890
+ if($field['auto']) {
891
+ $auto_generate['ids'][] = 1;
892
+ $auto_generate['cc_label'][] = $field['label'];
893
+ $auto_generate['cc_php'][] = 0;
894
+ $auto_generate['cc_code'][] = '';
895
+ $auto_generate['cc_sql'][] = '';
896
+ $auto_generate['cc_settings'][] = '';
897
+ $auto_generate['cc_type'][] = $field['type'];
898
+ $auto_generate['cc_value'][] = $field['label'];
899
+ $auto_generate['cc_name'][] = $field['name'];
900
+ }
901
+ }
902
+ }
903
+
904
+ }
905
+
906
  return $auto_generate;
907
  }
908
 
909
 
 
910
  /**
911
  * @param $xmlWriter
912
  * @param $key
libraries/XmlExportCustomRecord.php ADDED
@@ -0,0 +1,344 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if (!class_exists('XmlExportCustomRecord')) {
4
+ final class XmlExportCustomRecord {
5
+
6
+ private $default_fields = [];
7
+
8
+ private $author_fields = [];
9
+
10
+ private $other_fields = [];
11
+
12
+ private $parent_fields = [];
13
+
14
+ private $advanced_fields = [];
15
+
16
+ public static $is_active = true;
17
+
18
+ public function __construct() {
19
+ if (XmlExportEngine::$exportOptions['export_type'] == 'specific' and strpos(XmlExportEngine::$exportOptions['cpt'][0], 'custom_') !== 0) {
20
+ self::$is_active = false;
21
+ return;
22
+ }
23
+
24
+ do_action('pmxe_custom_record_export', XmlExportEngine::$exportOptions);
25
+ }
26
+
27
+
28
+ // [\FILTERS]
29
+
30
+ public function init(& $existing_meta_keys = array()) {
31
+ if (!self::$is_active) return;
32
+
33
+ if(PMXE_Plugin::$session->get('exportQuery') && !XmlExportEngine::$exportQuery) {
34
+ XmlExportEngine::$exportQuery = PMXE_Plugin::$session->get('exportQuery');
35
+ }
36
+ }
37
+
38
+ public static function prepare_data($record, $exportOptions, $xmlWriter = false, $implode_delimiter, $preview) {
39
+ $article = array();
40
+
41
+ if (wp_all_export_is_compatible() && isset($exportOptions['is_generate_import']) && $exportOptions['is_generate_import'] && $exportOptions['import_id']) {
42
+ $postRecord = new PMXI_Post_Record();
43
+ $postRecord->clear();
44
+ $postRecord->getBy(array(
45
+ 'post_id' => $record->id,
46
+ 'import_id' => $exportOptions['import_id'],
47
+ ));
48
+
49
+ if ($postRecord->isEmpty()) {
50
+ $postRecord->set(array(
51
+ 'post_id' => $record->id,
52
+ 'import_id' => $exportOptions['import_id'],
53
+ 'unique_key' => $record->id
54
+ ))->save();
55
+ }
56
+ unset($postRecord);
57
+ }
58
+
59
+ $is_xml_export = false;
60
+
61
+ if (
62
+ !empty($xmlWriter) &&
63
+ isset($exportOptions['export_to']) &&
64
+ $exportOptions['export_to'] == 'xml' &&
65
+ !in_array($exportOptions['xml_template_type'], array('custom', 'XmlGoogleMerchants')))
66
+ {
67
+ $is_xml_export = true;
68
+ }
69
+
70
+ foreach ($exportOptions['ids'] as $ID => $value) {
71
+ $fieldName = apply_filters('wp_all_export_field_name', wp_all_export_parse_field_name($exportOptions['cc_name'][$ID]), $ID);
72
+ $fieldValue = $exportOptions['cc_value'][$ID];
73
+ $fieldLabel = $exportOptions['cc_label'][$ID];
74
+ $fieldSql = $exportOptions['cc_sql'][$ID];
75
+ $fieldPhp = $exportOptions['cc_php'][$ID];
76
+ $fieldCode = $exportOptions['cc_code'][$ID];
77
+ $fieldType = $exportOptions['cc_type'][$ID];
78
+ $fieldOptions = isset($exportOptions['cc_options']) ? $exportOptions['cc_options'][$ID] : [];
79
+ $fieldSettings = empty($exportOptions['cc_settings'][$ID]) ? $fieldOptions : $exportOptions['cc_settings'][$ID];
80
+
81
+ if (empty($fieldName) or empty($fieldType) or !is_numeric($ID)) continue;
82
+
83
+ $element_name = (!empty($fieldName)) ? $fieldName : 'untitled_' . $ID;
84
+
85
+ $element_name_ns = '';
86
+
87
+ if ($is_xml_export) {
88
+ //$element_name = (!empty($fieldName)) ? preg_replace('/[^a-z0-9_:-]/i', '', $fieldName) : 'untitled_' . $ID;
89
+
90
+ if (strpos($element_name, ":") !== false) {
91
+ $element_name_parts = explode(":", $element_name);
92
+ $element_name_ns = (empty($element_name_parts[0])) ? '' : $element_name_parts[0];
93
+ $element_name = (empty($element_name_parts[1])) ? 'untitled_' . $ID : preg_replace('/[^a-z0-9_-]/i', '', $element_name_parts[1]);
94
+ }
95
+ }
96
+
97
+ $fieldSnipped = (!empty($fieldPhp) and !empty($fieldCode)) ? $fieldCode : false;
98
+
99
+ if (isset($exportOptions['cc_combine_multiple_fields'][$ID]) && $exportOptions['cc_combine_multiple_fields'][$ID]) {
100
+
101
+ $combineMultipleFieldsValue = $exportOptions['cc_combine_multiple_fields_value'][$ID];
102
+
103
+ $combineMultipleFieldsValue = stripslashes($combineMultipleFieldsValue);
104
+ $snippetParser = new \Wpae\App\Service\SnippetParser();
105
+ $snippets = $snippetParser->parseSnippets($combineMultipleFieldsValue);
106
+ $engine = new XmlExportEngine(XmlExportEngine::$exportOptions);
107
+ $engine->init_available_data();
108
+ $engine->init_additional_data();
109
+ $snippets = $engine->get_fields_options($snippets);
110
+
111
+ $articleData = self::prepare_data($record, $snippets, $xmlWriter, $implode_delimiter, $preview);
112
+
113
+ $functions = $snippetParser->parseFunctions($combineMultipleFieldsValue);
114
+ $combineMultipleFieldsValue = \Wpae\App\Service\CombineFields::prepareMultipleFieldsValue($functions, $combineMultipleFieldsValue, $articleData);
115
+
116
+ if ($preview) {
117
+ $combineMultipleFieldsValue = trim(preg_replace('~[\r\n]+~', ' ', htmlspecialchars($combineMultipleFieldsValue)));
118
+ }
119
+
120
+
121
+ wp_all_export_write_article($article, $element_name, pmxe_filter($combineMultipleFieldsValue, $fieldSnipped));
122
+
123
+ } else {
124
+
125
+
126
+ $addon = GF_Export_Add_On::get_instance();
127
+ $addon->add_on->handle_element($article, $element_name, $fieldValue, $record, $fieldSnipped, $preview);
128
+
129
+ }
130
+
131
+ if ($is_xml_export and isset($article[$element_name])) {
132
+
133
+ $element_name_in_file = XmlCsvExport::_get_valid_header_name($element_name);
134
+
135
+ $element_name_in_file = str_replace(' ', '', $element_name_in_file);
136
+ $element_name_in_file = str_replace('-', '_', $element_name_in_file);
137
+ $element_name_in_file = str_replace('/', '_', $element_name_in_file);
138
+
139
+ $xmlWriter = apply_filters('wp_all_export_add_before_element', $xmlWriter, $element_name_in_file, XmlExportEngine::$exportID, $record->id);
140
+
141
+ $xmlWriter->beginElement($element_name_ns, $element_name_in_file, null);
142
+ $xmlWriter->writeData($article[$element_name], $element_name_in_file);
143
+ $xmlWriter->closeElement();
144
+
145
+ $xmlWriter = apply_filters('wp_all_export_add_after_element', $xmlWriter, $element_name_in_file, XmlExportEngine::$exportID, $record->id);
146
+
147
+ }
148
+ }
149
+
150
+ return $article;
151
+ }
152
+
153
+ public static function prepare_import_template( $exportOptions, &$templateOptions, $element_name, $ID) {
154
+
155
+ $rapid_addon = \GF_Export_Add_On::get_instance()->add_on;
156
+
157
+ $element_slug = $exportOptions['cc_label'][$ID];
158
+
159
+ $element_location = $rapid_addon->get_element_location($element_slug);
160
+
161
+ $element_data = $rapid_addon->get_data_element_by_slug($element_slug);
162
+
163
+ if($element_location === 'meta') {
164
+
165
+ if(isset($element_data['consent']) && $element_data['consent']) {
166
+
167
+ $element_name_in_file = $element_data['element_meta_key'];
168
+ $element_name_in_file = explode(".", $element_name_in_file);
169
+ $element_name_in_file = $element_name_in_file[0];
170
+
171
+ if($exportOptions['export_to'] === 'csv') {
172
+ $templateOptions['pmgi']['fields'][$element_name_in_file] = '{consentconsent[1]}';
173
+ $templateOptions['pmgi']['is_multiple_field_value'][$element_name_in_file] = 'no';
174
+ }
175
+ else {
176
+ $templateOptions['pmgi']['fields'][$element_name_in_file] = '{Consent_Consent[1]}';
177
+ $templateOptions['pmgi']['is_multiple_field_value'][$element_name_in_file] = 'no';
178
+ }
179
+ } else {
180
+ if ($exportOptions['export_to'] === 'csv') {
181
+
182
+ $element_value = '{' . $element_name . '[1]}';
183
+
184
+ if (isset($templateOptions['pmgi']['fields']) && is_array($templateOptions['pmgi']['fields']) && in_array($element_value, $templateOptions['pmgi']['fields'])) {
185
+ $field_order = 2;
186
+
187
+ while (in_array('{' . $element_name . '_' . $field_order . '[1]}', $templateOptions['pmgi']['fields'])) {
188
+ $field_order++;
189
+ }
190
+
191
+ $templateOptions['pmgi']['fields'][$element_data['element_meta_key']] = '{' . $element_name . '_' . $field_order . '[1]}';
192
+ } else {
193
+ $templateOptions['pmgi']['fields'][$element_data['element_meta_key']] = $element_value;
194
+ }
195
+
196
+ $templateOptions['pmgi']['is_multiple_field_value'][$element_data['element_meta_key']] = 'no';
197
+
198
+ } else {
199
+
200
+
201
+ $element_name = str_replace(' ', '', $element_data['element_label']);
202
+
203
+ $element_name = str_replace(['-', '/'], '-', $element_name);
204
+
205
+ $i = 1;
206
+
207
+ if(isset($templateOptions['pmgi']['fields']) && is_array($templateOptions['pmgi']['fields'])) {
208
+ while (in_array('{' . $element_name . '[' . $i . ']}', $templateOptions['pmgi']['fields'])) {
209
+ $i++;
210
+ }
211
+ }
212
+
213
+ $templateOptions['pmgi']['fields'][$element_data['element_meta_key']] = '{' . str_replace('-', '_', $element_name) . '[' . $i . ']}';
214
+ $templateOptions['pmgi']['is_multiple_field_value'][$element_data['element_meta_key']] = 'no';
215
+
216
+ }
217
+ }
218
+
219
+
220
+ } else if ($element_location === 'related_table') {
221
+
222
+ switch ($element_slug) {
223
+
224
+ case 'user_name':
225
+ $templateOptions['pmgi']['notes'][0]['username'] = '{' . $element_name . '[1]}';
226
+ break;
227
+
228
+ case 'value':
229
+ $templateOptions['pmgi']['notes'][0]['note_text'] = '{' . $element_name . '[1]}';
230
+ break;
231
+
232
+ case 'note_type':
233
+ $templateOptions['pmgi']['notes'][0]['note_type'] = '{' . $element_name . '[1]}';
234
+ break;
235
+
236
+ case 'sub_type':
237
+ $templateOptions['pmgi']['notes'][0]['note_sub_type'] = '{' . $element_name . '[1]}';
238
+ break;
239
+
240
+ }
241
+
242
+ if(strpos($element_slug, 'date_created') === 0) {
243
+ $templateOptions['pmgi']['notes'][0]['date'] = '{' . $element_name . '[1]}';
244
+
245
+ }
246
+
247
+ } else if ($element_location === 'main_table') {
248
+
249
+ if($exportOptions['export_to'] === 'csv') {
250
+
251
+ $other_entry_data = [
252
+ 'datecreated',
253
+ 'dateupdated',
254
+ 'starred',
255
+ 'read',
256
+ 'ip',
257
+ 'sourceurl',
258
+ 'useragent',
259
+ 'createdbyuserid',
260
+ 'status'
261
+ ];
262
+ } else {
263
+ $other_entry_data = [
264
+ 'DateCreated',
265
+ 'DateUpdated',
266
+ 'Starred',
267
+ 'Read',
268
+ 'IP',
269
+ 'SourceURL',
270
+ 'UserAgent',
271
+ 'CreatedByUserID',
272
+ 'Status'
273
+ ];
274
+ }
275
+
276
+ if(in_array($element_name, $other_entry_data)) {
277
+
278
+ if($element_name === 'sourceurl' || $element_name === 'SourceURL') {
279
+ $wpai_element_name = 'source_url';
280
+ } else if ($element_name === 'useragent' || $element_name === 'UserAgent') {
281
+ $wpai_element_name = 'user_agent';
282
+ } else if ($element_name === 'createdbyuserid' || $element_name === 'CreatedByUserID') {
283
+ $wpai_element_name = 'created_by';
284
+ }
285
+ else if ($element_name === 'datecreated' || $element_name === 'DateCreated') {
286
+ $wpai_element_name = 'date_created';
287
+ }
288
+ else if ($element_name === 'dateupdated' || $element_name === 'DateUpdated') {
289
+ $wpai_element_name = 'date_updated';
290
+ }
291
+
292
+ else {
293
+ $wpai_element_name = str_replace('_', '', strtolower($element_name));
294
+ }
295
+
296
+ if(in_array($element_name, ['starred', 'read', 'status']) || in_array($element_name, ['Starred', 'Read', 'Status'])) {
297
+ $templateOptions['pmgi'][strtolower($wpai_element_name)] = 'xpath';
298
+ $templateOptions['pmgi'][strtolower($element_name). "_xpath"] = '{' . $element_name . '[1]}';
299
+ } else {
300
+ $templateOptions['pmgi'][strtolower($wpai_element_name)] = '{' . $element_name . '[1]}';
301
+ $templateOptions['is_update_' . $exportOptions['cc_type'][$ID]] = 1;
302
+ }
303
+
304
+ }
305
+
306
+ if ($element_name === 'id'){
307
+
308
+ if ($element_name == 'ID' && !$ID && $exportOptions['export_to'] == 'csv' && $exportOptions['export_to_sheet'] != 'csv') {
309
+ $element_name = 'id';
310
+ }
311
+
312
+ $templateOptions['unique_key'] = '{' . $element_name . '[1]}';
313
+ $templateOptions['tmp_unique_key'] = '{' . $element_name . '[1]}';
314
+ $templateOptions['single_product_id'] = '{' . $element_name . '[1]}';
315
+ }
316
+ }
317
+
318
+ return;
319
+ }
320
+
321
+ /**
322
+ * __get function.
323
+ *
324
+ * @access public
325
+ * @param mixed $key
326
+ * @return mixed
327
+ */
328
+ public function __get($key) {
329
+ return $this->get($key);
330
+ }
331
+
332
+ /**
333
+ * Get a session variable
334
+ *
335
+ * @param string $key
336
+ * @param mixed $default used if the session variable isn't set
337
+ * @return mixed value of session variable
338
+ */
339
+ public function get($key, $default = null) {
340
+ return isset($this->{$key}) ? $this->{$key} : $default;
341
+ }
342
+
343
+ }
344
+ }
libraries/XmlExportEngine.php CHANGED
@@ -40,8 +40,9 @@ if ( ! class_exists('XmlExportEngine') ){
40
  public static $user_export = false;
41
  public static $comment_export;
42
  public static $taxonomy_export;
 
43
 
44
- public static $is_preview = false;
45
 
46
  public static $implode = ',';
47
 
@@ -213,7 +214,8 @@ if ( ! class_exists('XmlExportEngine') ){
213
  public static $is_user_export = false;
214
  public static $is_comment_export = false;
215
  public static $is_taxonomy_export = false;
216
- public static $post_types = array();
 
217
  public static $exportOptions = array();
218
  public static $exportQuery;
219
  public static $exportID = false;
@@ -392,6 +394,11 @@ if ( ! class_exists('XmlExportEngine') ){
392
 
393
  self::$is_taxonomy_export = ( in_array('taxonomies', self::$post_types) ) ? true : false;
394
 
 
 
 
 
 
395
  }
396
  else
397
  {
@@ -446,6 +453,8 @@ if ( ! class_exists('XmlExportEngine') ){
446
 
447
  self::$comment_export = new XmlExportComment();
448
  self::$taxonomy_export = new XmlExportTaxonomy();
 
 
449
  do_action('pmxe_init_addons');
450
  }
451
 
@@ -732,7 +741,7 @@ if ( ! class_exists('XmlExportEngine') ){
732
 
733
  if ( ! empty($this->available_data[$section['content']]) or ! empty($section['additional']) ):
734
  ?>
735
- <p class="wpae-available-fields-group"><?php echo $section['title']; ?><span class="wpae-expander">+</span></p>
736
  <div class="wpae-custom-field">
737
  <?php
738
  if($slug == 'cf' && XmlExportEngine::$is_user_export) {
@@ -758,10 +767,10 @@ if ( ! class_exists('XmlExportEngine') ){
758
  ?>
759
  <ul>
760
  <?php if ( ! empty($this->available_data[$section['content']]) ): ?>
761
- <li class="<?php echo $elementClass; ?>">
762
  <div class="default_column" rel="">
763
- <label class="wpallexport-element-label"><?php echo __("All", "wp_all_export_plugin") . ' ' . $section['title']; ?></label>
764
- <input type="hidden" name="rules[]" value="pmxe_<?php echo $slug; ?>"/>
765
  </div>
766
  </li>
767
  <?php
@@ -775,18 +784,18 @@ if ( ! class_exists('XmlExportEngine') ){
775
  $is_auto_field = ( ! empty($field['auto']) or self::$is_auto_generate_enabled and ('specific' != $this->post['export_type'] or 'specific' == $this->post['export_type'] and (! in_array(self::$post_types[0], array('product')) || !\class_exists('WooCommerce'))));
776
 
777
  ?>
778
- <li class="pmxe_<?php echo $slug; ?> <?php if ( $is_auto_field ) echo 'wp_all_export_auto_generate';?> <?php echo $elementClass;?>">
779
  <div class="custom_column" rel="<?php echo ($i + 1);?>">
780
- <label class="wpallexport-xml-element"><?php echo (is_array($field)) ? $field['name'] : $field; ?></label>
781
  <input type="hidden" name="ids[]" value="1"/>
782
- <input type="hidden" name="cc_label[]" value="<?php echo (is_array($field)) ? $field['label'] : $field; ?>"/>
783
  <input type="hidden" name="cc_php[]" value="0"/>
784
  <input type="hidden" name="cc_code[]" value=""/>
785
  <input type="hidden" name="cc_sql[]" value="0"/>
786
  <input type="hidden" name="cc_options[]" value="0"/>
787
- <input type="hidden" name="cc_type[]" value="<?php echo (is_array($field)) ? $field['type'] : $slug; ?>"/>
788
- <input type="hidden" name="cc_value[]" value="<?php echo (is_array($field)) ? $field['label'] : $field; ?>"/>
789
- <input type="hidden" name="cc_name[]" value="<?php echo (is_array($field)) ? $field['name'] : $field;?>"/>
790
  <input type="hidden" name="cc_settings[]" value="0"/>
791
  </div>
792
  </li>
@@ -802,7 +811,7 @@ if ( ! class_exists('XmlExportEngine') ){
802
 
803
  ?>
804
  <li class="available_sub_section">
805
- <p class="wpae-available-fields-group"><?php echo $sub_section['title']; ?><span
806
  class="wpae-expander">+</span></p>
807
  <div class="wpae-custom-field">
808
  <?php
@@ -815,9 +824,9 @@ if ( ! class_exists('XmlExportEngine') ){
815
  <ul>
816
  <li>
817
  <div class="default_column" rel="">
818
- <label class="wpallexport-element-label"><?php echo __("All", "wp_all_export_plugin") . ' ' . $sub_section['title']; ?></label>
819
  <input type="hidden" name="rules[]"
820
- value="pmxe_<?php echo $slug; ?>_<?php echo $sub_slug; ?>"/>
821
  </div>
822
  </li>
823
  <?php
@@ -825,23 +834,23 @@ if ( ! class_exists('XmlExportEngine') ){
825
  $is_auto_field = empty($field['auto']) ? false : true;
826
  $field_options = (in_array($sub_slug, array('images', 'attachments'))) ? esc_attr('{"is_export_featured":true,"is_export_attached":true,"image_separator":"|"}') : '0';
827
  ?>
828
- <li class="pmxe_<?php echo $slug; ?>_<?php echo $sub_slug; ?> <?php if ($is_auto_field) echo 'wp_all_export_auto_generate'; ?>">
829
  <div class="custom_column" rel="<?php echo($i + 1); ?>">
830
- <label class="wpallexport-xml-element"><?php echo (is_array($field)) ? XmlExportEngine::sanitizeFieldName($field['name']) : $field; ?></label>
831
  <input type="hidden" name="ids[]" value="1"/>
832
  <input type="hidden" name="cc_label[]"
833
- value="<?php echo (is_array($field)) ? $field['label'] : $field; ?>"/>
834
  <input type="hidden" name="cc_php[]" value="0"/>
835
  <input type="hidden" name="cc_code[]" value="0"/>
836
  <input type="hidden" name="cc_sql[]" value="0"/>
837
  <input type="hidden" name="cc_options[]"
838
- value="<?php echo $field_options; ?>"/>
839
  <input type="hidden" name="cc_type[]"
840
- value="<?php echo (is_array($field)) ? $field['type'] : $sub_slug; ?>"/>
841
  <input type="hidden" name="cc_value[]"
842
- value="<?php echo (is_array($field)) ? $field['label'] : $field; ?>"/>
843
  <input type="hidden" name="cc_name[]"
844
- value="<?php echo (is_array($field)) ? XmlExportEngine::sanitizeFieldName($field['name']) : $field; ?>"/>
845
  <input type="hidden" name="cc_settings[]" value=""/>
846
  </div>
847
  </li>
@@ -902,6 +911,15 @@ if ( ! class_exists('XmlExportEngine') ){
902
  self::$woo_order_export->render_filters();
903
  }
904
 
 
 
 
 
 
 
 
 
 
905
  if ( ! empty($available_sections) )
906
  {
907
  $exclude = array('wpml_lang', 'wpml_trid');
@@ -911,7 +929,7 @@ if ( ! class_exists('XmlExportEngine') ){
911
  if ( ! empty($section['content']) and ! empty($this->available_data[$section['content']]) or ! empty($section['fields'])):
912
  ?>
913
 
914
- <optgroup label="<?php echo $section['title']; ?>">
915
 
916
  <?php if ( ! empty($section['content']) && ! empty($this->available_data[$section['content']]) ): ?>
917
 
@@ -931,19 +949,19 @@ if ( ! class_exists('XmlExportEngine') ){
931
  $exclude_fields = array('attributes');
932
  if ( ! in_array($field_label, $exclude_fields)):
933
  ?>
934
- <option value="<?php echo 'cf_' . $field_label; ?>"><?php echo $field_name; ?></option>
935
  <?php
936
  endif;
937
  break;
938
  case 'cf':
939
  ?>
940
- <option value="<?php echo 'cf_' . $field_label; ?>"><?php echo $field_name; ?></option>
941
  <?php
942
  break;
943
  case 'cats':
944
  case 'attr':
945
  ?>
946
- <option value="<?php echo 'tx_' . $field_label; ?>"><?php echo $field_name; ?></option>
947
  <?php
948
  break;
949
  default:
@@ -957,7 +975,7 @@ if ( ! class_exists('XmlExportEngine') ){
957
  break;
958
  case 'user_nicename':
959
  ?>
960
- <option value="user_role"><?php _e('User Role', 'wp_all_export_plugin'); ?></option>
961
  <?php
962
  break;
963
  }
@@ -1002,7 +1020,7 @@ if ( ! class_exists('XmlExportEngine') ){
1002
  }
1003
  }
1004
  ?>
1005
- <option value="<?php echo $field_label; ?>"><?php echo $field_name; ?></option>
1006
  <?php
1007
  break;
1008
  }
@@ -1016,7 +1034,7 @@ if ( ! class_exists('XmlExportEngine') ){
1016
 
1017
  <?php foreach ($section['fields'] as $key => $title) : ?>
1018
 
1019
- <option value="<?php echo $key; ?>"><?php echo $title; ?></option>
1020
 
1021
  <?php endforeach; ?>
1022
 
@@ -1034,19 +1052,19 @@ if ( ! class_exists('XmlExportEngine') ){
1034
  {
1035
  if ( $sub_slug == 'attributes' ) {
1036
  ?>
1037
- <optgroup label="<?php echo $sub_section['title']; ?>">
1038
  <?php
1039
  foreach ($sub_section['meta'] as $field) :
1040
  if ( isset( $field['type'] ) ) {
1041
  switch ( $field['type'] ) {
1042
  case 'attr':
1043
  ?>
1044
- <option value="<?php echo 'tx_' . $field['label']; ?>"><?php echo $field['name']; ?></option>
1045
  <?php
1046
  break;
1047
  case 'cf':
1048
  ?>
1049
- <option value="<?php echo 'cf_' . $field['label']; ?>"><?php echo $field['name']; ?></option>
1050
  <?php
1051
  break;
1052
  default:
@@ -1099,7 +1117,7 @@ if ( ! class_exists('XmlExportEngine') ){
1099
 
1100
  if ( ! empty($this->available_data[$section['content']]) or ! empty($section['additional']) ):
1101
  ?>
1102
- <optgroup label="<?php echo $section['title']; ?>">
1103
 
1104
  <?php
1105
  if ( ! empty($this->available_data[$section['content']]) )
@@ -1118,10 +1136,10 @@ if ( ! class_exists('XmlExportEngine') ){
1118
  }
1119
  ?>
1120
  <option
1121
- value="<?php echo $field_type;?>"
1122
- label="<?php echo $field_label;?>"
1123
- <?php echo $elementDisabled; ?>
1124
- options="<?php echo $field_options; ?>"><?php echo $field_name;?></option>
1125
  <?php
1126
  }
1127
  }
@@ -1136,7 +1154,7 @@ if ( ! class_exists('XmlExportEngine') ){
1136
  foreach ($section['additional'] as $sub_slug => $sub_section)
1137
  {
1138
  ?>
1139
- <optgroup label="<?php echo $sub_section['title']; ?>">
1140
 
1141
  <?php
1142
  foreach ($sub_section['meta'] as $field)
@@ -1147,9 +1165,9 @@ if ( ! class_exists('XmlExportEngine') ){
1147
  $field_options = empty($field['options']) ? '{"is_export_featured":true,"is_export_attached":true,"image_separator":"|"}' : $field['options'];
1148
  ?>
1149
  <option
1150
- value="<?php echo $field_type;?>"
1151
- label="<?php echo $field_label;?>"
1152
- options="<?php echo $field_options; ?>"><?php echo $field_name;?></option>
1153
  <?php
1154
  }
1155
  ?>
@@ -1170,7 +1188,7 @@ if ( ! class_exists('XmlExportEngine') ){
1170
 
1171
  ?>
1172
  <optgroup label="Advanced">
1173
- <option value="sql" label="sql"><?php _e("SQL Query", "wp_all_export_plugin"); ?></option>
1174
  </optgroup>
1175
  </select>
1176
  <?php
40
  public static $user_export = false;
41
  public static $comment_export;
42
  public static $taxonomy_export;
43
+ public static $custom_record_export;
44
 
45
+ public static $is_preview = false;
46
 
47
  public static $implode = ',';
48
 
214
  public static $is_user_export = false;
215
  public static $is_comment_export = false;
216
  public static $is_taxonomy_export = false;
217
+ public static $is_custom_addon_export = false;
218
+ public static $post_types = array();
219
  public static $exportOptions = array();
220
  public static $exportQuery;
221
  public static $exportID = false;
394
 
395
  self::$is_taxonomy_export = ( in_array('taxonomies', self::$post_types) ) ? true : false;
396
 
397
+ if(count(self::$post_types) === 1) {
398
+ if(strpos(self::$post_types[0], 'custom_') === 0 ) {
399
+ self::$is_custom_addon_export = true;
400
+ }
401
+ }
402
  }
403
  else
404
  {
453
 
454
  self::$comment_export = new XmlExportComment();
455
  self::$taxonomy_export = new XmlExportTaxonomy();
456
+ self::$custom_record_export = new XmlExportCustomRecord();
457
+
458
  do_action('pmxe_init_addons');
459
  }
460
 
741
 
742
  if ( ! empty($this->available_data[$section['content']]) or ! empty($section['additional']) ):
743
  ?>
744
+ <p class="wpae-available-fields-group"><?php echo esc_html($section['title']); ?><span class="wpae-expander">+</span></p>
745
  <div class="wpae-custom-field">
746
  <?php
747
  if($slug == 'cf' && XmlExportEngine::$is_user_export) {
767
  ?>
768
  <ul>
769
  <?php if ( ! empty($this->available_data[$section['content']]) ): ?>
770
+ <li class="<?php echo esc_attr($elementClass); ?>">
771
  <div class="default_column" rel="">
772
+ <label class="wpallexport-element-label"><?php esc_html_e("All", "wp_all_export_plugin") . ' ' . esc_html($section['title']); ?></label>
773
+ <input type="hidden" name="rules[]" value="<?php echo esc_attr("pmxe_" . $slug); ?>"/>
774
  </div>
775
  </li>
776
  <?php
784
  $is_auto_field = ( ! empty($field['auto']) or self::$is_auto_generate_enabled and ('specific' != $this->post['export_type'] or 'specific' == $this->post['export_type'] and (! in_array(self::$post_types[0], array('product')) || !\class_exists('WooCommerce'))));
785
 
786
  ?>
787
+ <li class="pmxe_<?php echo $slug; ?> <?php if ( $is_auto_field ) echo 'wp_all_export_auto_generate';?> <?php echo esc_attr($elementClass);?>">
788
  <div class="custom_column" rel="<?php echo ($i + 1);?>">
789
+ <label class="wpallexport-xml-element"><?php echo esc_html(is_array($field) ? $field['name'] : $field); ?></label>
790
  <input type="hidden" name="ids[]" value="1"/>
791
+ <input type="hidden" name="cc_label[]" value="<?php echo esc_html(is_array($field) ? $field['label'] : $field); ?>"/>
792
  <input type="hidden" name="cc_php[]" value="0"/>
793
  <input type="hidden" name="cc_code[]" value=""/>
794
  <input type="hidden" name="cc_sql[]" value="0"/>
795
  <input type="hidden" name="cc_options[]" value="0"/>
796
+ <input type="hidden" name="cc_type[]" value="<?php echo esc_html(is_array($field) ? $field['type'] : $slug); ?>"/>
797
+ <input type="hidden" name="cc_value[]" value="<?php echo esc_html(is_array($field) ? $field['label'] : $field); ?>"/>
798
+ <input type="hidden" name="cc_name[]" value="<?php echo esc_html(is_array($field) ? $field['name'] : $field); ?>"/>
799
  <input type="hidden" name="cc_settings[]" value="0"/>
800
  </div>
801
  </li>
811
 
812
  ?>
813
  <li class="available_sub_section">
814
+ <p class="wpae-available-fields-group"><?php echo esc_html($sub_section['title']); ?><span
815
  class="wpae-expander">+</span></p>
816
  <div class="wpae-custom-field">
817
  <?php
824
  <ul>
825
  <li>
826
  <div class="default_column" rel="">
827
+ <label class="wpallexport-element-label"><?php echo __("All", "wp_all_export_plugin") . ' ' . esc_html($sub_section['title']); ?></label>
828
  <input type="hidden" name="rules[]"
829
+ value="<?php echo esc_attr("pmxe_" . $slug . "_" . $sub_slug); ?>"/>
830
  </div>
831
  </li>
832
  <?php
834
  $is_auto_field = empty($field['auto']) ? false : true;
835
  $field_options = (in_array($sub_slug, array('images', 'attachments'))) ? esc_attr('{"is_export_featured":true,"is_export_attached":true,"image_separator":"|"}') : '0';
836
  ?>
837
+ <li class="<?php echo esc_attr("pmxe_" . $slug . "_" . $sub_slug); ?> <?php if ($is_auto_field) echo 'wp_all_export_auto_generate'; ?>">
838
  <div class="custom_column" rel="<?php echo($i + 1); ?>">
839
+ <label class="wpallexport-xml-element"><?php echo (is_array($field)) ? esc_html(XmlExportEngine::sanitizeFieldName($field['name'])) : esc_html($field); ?></label>
840
  <input type="hidden" name="ids[]" value="1"/>
841
  <input type="hidden" name="cc_label[]"
842
+ value="<?php echo (is_array($field)) ? esc_attr($field['label']) : esc_attr($field); ?>"/>
843
  <input type="hidden" name="cc_php[]" value="0"/>
844
  <input type="hidden" name="cc_code[]" value="0"/>
845
  <input type="hidden" name="cc_sql[]" value="0"/>
846
  <input type="hidden" name="cc_options[]"
847
+ value="<?php echo esc_attr($field_options); ?>"/>
848
  <input type="hidden" name="cc_type[]"
849
+ value="<?php echo (is_array($field)) ? esc_attr($field['type']) : esc_attr($sub_slug); ?>"/>
850
  <input type="hidden" name="cc_value[]"
851
+ value="<?php echo (is_array($field)) ? esc_attr($field['label']) : esc_attr($field); ?>"/>
852
  <input type="hidden" name="cc_name[]"
853
+ value="<?php echo (is_array($field)) ? esc_attr(XmlExportEngine::sanitizeFieldName($field['name'])) : esc_attr($field); ?>"/>
854
  <input type="hidden" name="cc_settings[]" value=""/>
855
  </div>
856
  </li>
911
  self::$woo_order_export->render_filters();
912
  }
913
 
914
+ if(self::$is_custom_addon_export) {
915
+ if(class_exists('GF_Export_Add_On')) {
916
+ $addon = GF_Export_Add_On::get_instance();
917
+ $addon->render_filters();
918
+ unset($available_sections);
919
+ }
920
+
921
+ }
922
+
923
  if ( ! empty($available_sections) )
924
  {
925
  $exclude = array('wpml_lang', 'wpml_trid');
929
  if ( ! empty($section['content']) and ! empty($this->available_data[$section['content']]) or ! empty($section['fields'])):
930
  ?>
931
 
932
+ <optgroup label="<?php echo esc_attr($section['title']); ?>">
933
 
934
  <?php if ( ! empty($section['content']) && ! empty($this->available_data[$section['content']]) ): ?>
935
 
949
  $exclude_fields = array('attributes');
950
  if ( ! in_array($field_label, $exclude_fields)):
951
  ?>
952
+ <option value="<?php echo esc_attr('cf_' . $field_label); ?>"><?php echo esc_html($field_name); ?></option>
953
  <?php
954
  endif;
955
  break;
956
  case 'cf':
957
  ?>
958
+ <option value="<?php echo esc_attr('cf_' . $field_label); ?>"><?php echo esc_html($field_name); ?></option>
959
  <?php
960
  break;
961
  case 'cats':
962
  case 'attr':
963
  ?>
964
+ <option value="<?php echo esc_attr('tx_' . $field_label); ?>"><?php echo esc_html($field_name); ?></option>
965
  <?php
966
  break;
967
  default:
975
  break;
976
  case 'user_nicename':
977
  ?>
978
+ <option value="user_role"><?php esc_html_e('User Role', 'wp_all_export_plugin'); ?></option>
979
  <?php
980
  break;
981
  }
1020
  }
1021
  }
1022
  ?>
1023
+ <option value="<?php echo esc_attr($field_label); ?>"><?php echo esc_html($field_name); ?></option>
1024
  <?php
1025
  break;
1026
  }
1034
 
1035
  <?php foreach ($section['fields'] as $key => $title) : ?>
1036
 
1037
+ <option value="<?php echo esc_attr($key); ?>"><?php echo esc_html($title); ?></option>
1038
 
1039
  <?php endforeach; ?>
1040
 
1052
  {
1053
  if ( $sub_slug == 'attributes' ) {
1054
  ?>
1055
+ <optgroup label="<?php echo esc_attr($sub_section['title']); ?>">
1056
  <?php
1057
  foreach ($sub_section['meta'] as $field) :
1058
  if ( isset( $field['type'] ) ) {
1059
  switch ( $field['type'] ) {
1060
  case 'attr':
1061
  ?>
1062
+ <option value="<?php echo esc_attr('tx_' . $field['label']); ?>"><?php echo esc_html($field['name']); ?></option>
1063
  <?php
1064
  break;
1065
  case 'cf':
1066
  ?>
1067
+ <option value="<?php echo esc_attr('cf_' . $field['label']); ?>"><?php echo esc_html($field['name']); ?></option>
1068
  <?php
1069
  break;
1070
  default:
1117
 
1118
  if ( ! empty($this->available_data[$section['content']]) or ! empty($section['additional']) ):
1119
  ?>
1120
+ <optgroup label="<?php echo esc_attr($section['title']); ?>">
1121
 
1122
  <?php
1123
  if ( ! empty($this->available_data[$section['content']]) )
1136
  }
1137
  ?>
1138
  <option
1139
+ value="<?php echo esc_attr($field_type);?>"
1140
+ label="<?php echo esc_attr($field_label);?>"
1141
+ <?php echo esc_html($elementDisabled); ?>
1142
+ options="<?php echo esc_attr($field_options); ?>"><?php echo esc_html($field_name);?></option>
1143
  <?php
1144
  }
1145
  }
1154
  foreach ($section['additional'] as $sub_slug => $sub_section)
1155
  {
1156
  ?>
1157
+ <optgroup label="<?php echo esc_attr($sub_section['title']); ?>">
1158
 
1159
  <?php
1160
  foreach ($sub_section['meta'] as $field)
1165
  $field_options = empty($field['options']) ? '{"is_export_featured":true,"is_export_attached":true,"image_separator":"|"}' : $field['options'];
1166
  ?>
1167
  <option
1168
+ value="<?php echo esc_attr($field_type);?>"
1169
+ label="<?php echo esc_attr($field_label);?>"
1170
+ options="<?php echo esc_attr($field_options); ?>"><?php echo esc_html($field_name);?></option>
1171
  <?php
1172
  }
1173
  ?>
1188
 
1189
  ?>
1190
  <optgroup label="Advanced">
1191
+ <option value="sql" label="sql"><?php esc_html_e("SQL Query", "wp_all_export_plugin"); ?></option>
1192
  </optgroup>
1193
  </select>
1194
  <?php
libraries/XmlExportFiltering.php CHANGED
@@ -61,7 +61,7 @@ if ( ! class_exists('XmlExportFiltering') )
61
  public static function render_filtering_block( $engine, $isWizard, $post, $is_on_template_screen = false )
62
  {
63
  ?>
64
- <input type="hidden" class="hierarhy-output" name="filter_rules_hierarhy" value="<?php echo esc_html($post['filter_rules_hierarhy']);?>"/>
65
  <?php
66
 
67
  if ( $isWizard or $post['export_type'] != 'specific' ) return;
@@ -70,7 +70,7 @@ if ( ! class_exists('XmlExportFiltering') )
70
  <div class="wpallexport-collapsed wpallexport-section closed">
71
  <div class="wpallexport-content-section wpallexport-filtering-section" <?php if ($is_on_template_screen):?>style="margin-bottom: 10px;"<?php endif; ?>>
72
  <div class="wpallexport-collapsed-header" style="padding-left: 25px;">
73
- <h3><?php _e('Filtering Options','wp_all_export_plugin');?></h3>
74
  </div>
75
  <div class="wpallexport-collapsed-content" style="padding: 0;">
76
  <div class="wpallexport-collapsed-content-inner">
61
  public static function render_filtering_block( $engine, $isWizard, $post, $is_on_template_screen = false )
62
  {
63
  ?>
64
+ <input type="hidden" class="hierarhy-output" name="filter_rules_hierarhy" value="<?php echo esc_attr($post['filter_rules_hierarhy']);?>"/>
65
  <?php
66
 
67
  if ( $isWizard or $post['export_type'] != 'specific' ) return;
70
  <div class="wpallexport-collapsed wpallexport-section closed">
71
  <div class="wpallexport-content-section wpallexport-filtering-section" <?php if ($is_on_template_screen):?>style="margin-bottom: 10px;"<?php endif; ?>>
72
  <div class="wpallexport-collapsed-header" style="padding-left: 25px;">
73
+ <h3><?php esc_html_e('Filtering Options','wp_all_export_plugin');?></h3>
74
  </div>
75
  <div class="wpallexport-collapsed-content" style="padding: 0;">
76
  <div class="wpallexport-collapsed-content-inner">
models/export/list.php CHANGED
File without changes
models/export/record.php CHANGED
@@ -53,8 +53,10 @@ class PMXE_Export_Record extends PMXE_Model_Record {
53
  $filter_args = array(
54
  'filter_rules_hierarhy' => $this->options['filter_rules_hierarhy'],
55
  'product_matching_mode' => $this->options['product_matching_mode'],
56
- 'taxonomy_to_export' => empty($this->options['taxonomy_to_export']) ? '' : $this->options['taxonomy_to_export']
57
- );
 
 
58
 
59
  $filters = \Wpae\Pro\Filtering\FilteringFactory::getFilterEngine();
60
  $filters->init($filter_args);
53
  $filter_args = array(
54
  'filter_rules_hierarhy' => $this->options['filter_rules_hierarhy'],
55
  'product_matching_mode' => $this->options['product_matching_mode'],
56
+ 'taxonomy_to_export' => empty($this->options['taxonomy_to_export']) ? '' : $this->options['taxonomy_to_export'],
57
+ 'sub_post_type_to_export' => empty($this->options['sub_post_type_to_export']) ? '' : $this->options['sub_post_type_to_export']
58
+
59
+ );
60
 
61
  $filters = \Wpae\Pro\Filtering\FilteringFactory::getFilterEngine();
62
  $filters->init($filter_args);
models/model.php CHANGED
File without changes
models/model/list.php CHANGED
File without changes
models/model/record.php CHANGED
File without changes
readme.txt CHANGED
@@ -1,8 +1,8 @@
1
  === Export any WordPress data to XML/CSV ===
2
  Contributors: soflyy, wpallimport
3
  Requires at least: 5.0
4
- Tested up to: 5.8
5
- Stable tag: 1.3.2
6
  Tags: export, wordpress csv export, wordpress xml export, export woocommerce, migrate, export csv from wordpress, export xml from wordpress, advanced xml export, advanced csv export, export data, bulk csv export, export custom post type, export woocommerce products, export woocommerce orders, migrate woocommerce, csv export, export csv, xml export, export xml, csv exporter, datafeed
7
 
8
  Easily export any data from WordPress. Drag & drop to create a completely custom spreadsheet, CSV, or XML file.
@@ -91,6 +91,11 @@ Either: -
91
 
92
  == Changelog ==
93
 
 
 
 
 
 
94
  = 1.3.2 =
95
  * improvement: add support for exporting non-WooCommerce 'product' CPTs
96
  * improvement: initial PHP 8 support
1
  === Export any WordPress data to XML/CSV ===
2
  Contributors: soflyy, wpallimport
3
  Requires at least: 5.0
4
+ Tested up to: 5.9
5
+ Stable tag: 1.3.3
6
  Tags: export, wordpress csv export, wordpress xml export, export woocommerce, migrate, export csv from wordpress, export xml from wordpress, advanced xml export, advanced csv export, export data, bulk csv export, export custom post type, export woocommerce products, export woocommerce orders, migrate woocommerce, csv export, export csv, xml export, export xml, csv exporter, datafeed
7
 
8
  Easily export any data from WordPress. Drag & drop to create a completely custom spreadsheet, CSV, or XML file.
91
 
92
  == Changelog ==
93
 
94
+ = 1.3.3 =
95
+ * new feature: compatibility with the Gravity Forms Export Add-On
96
+ * improvement: fallback to PclZip if ZipArchive isn't available
97
+ * bugfix: some output not correctly escaped
98
+
99
  = 1.3.2 =
100
  * improvement: add support for exporting non-WooCommerce 'product' CPTs
101
  * improvement: initial PHP 8 support
schema.php CHANGED
File without changes
src/App/Service/ScheduledExport.php CHANGED
@@ -14,19 +14,19 @@ class ScheduledExport
14
  if ((int)$export->executing) {
15
  return new JsonResponse(array(
16
  'status' => 403,
17
- 'message' => sprintf(__('Export #%s is currently in manually process. Request skipped.', 'wp_all_export_plugin'), $export->id)
18
  ));
19
  }
20
  if ($export->processing and !$export->triggered) {
21
  return new JsonResponse(array(
22
  'status' => 403,
23
- 'message' => sprintf(__('Export #%s currently in process. Request skipped.', 'wp_all_export_plugin'), $export->id)
24
  ));
25
  }
26
  if (!$export->processing and $export->triggered) {
27
  return new JsonResponse(array(
28
  'status' => 403,
29
- 'message' => sprintf(__('Export #%s already triggered. Request skipped.', 'wp_all_export_plugin'), $export->id)
30
  ));
31
  }
32
 
@@ -38,7 +38,7 @@ class ScheduledExport
38
 
39
  return new JsonResponse(array(
40
  'status' => 200,
41
- 'message' => sprintf(__('#%s Cron job triggered.', 'wp_all_export_plugin'), $export->id)
42
  ));
43
  }
44
 
@@ -60,13 +60,13 @@ class ScheduledExport
60
  if (!empty($export->parent_id) or empty($queue_exports)) {
61
  wp_send_json(array(
62
  'status' => 403,
63
- 'message' => sprintf(__('Export #%s is not triggered. Request skipped.', 'wp_all_export_plugin'), $export->id)
64
  ));
65
  }
66
  } elseif ((int)$export->executing) {
67
  wp_send_json(array(
68
  'status' => 403,
69
- 'message' => sprintf(__('Export #%s is currently in manually process. Request skipped.', 'wp_all_export_plugin'), $export->id)
70
  ));
71
  } elseif ((int)$export->triggered and !(int)$export->processing) {
72
  $response = $export->set(array('canceled' => 0))->execute($logger, true);
@@ -104,19 +104,19 @@ class ScheduledExport
104
 
105
  wp_send_json(array(
106
  'status' => 200,
107
- 'message' => sprintf(__('Export #%s complete', 'wp_all_export_plugin'), $export->id)
108
  ));
109
  } else {
110
  wp_send_json(array(
111
  'status' => 200,
112
- 'message' => sprintf(__('Records Processed %s.', 'wp_all_export_plugin'), (int)$export->exported)
113
  ));
114
  }
115
 
116
  } else {
117
  wp_send_json(array(
118
  'status' => 403,
119
- 'message' => sprintf(__('Export #%s already processing. Request skipped.', 'wp_all_export_plugin'), $export->id)
120
  ));
121
  }
122
  }
14
  if ((int)$export->executing) {
15
  return new JsonResponse(array(
16
  'status' => 403,
17
+ 'message' => sprintf(esc_html__('Export #%s is currently in manually process. Request skipped.', 'wp_all_export_plugin'), $export->id)
18
  ));
19
  }
20
  if ($export->processing and !$export->triggered) {
21
  return new JsonResponse(array(
22
  'status' => 403,
23
+ 'message' => sprintf(esc_html__('Export #%s currently in process. Request skipped.', 'wp_all_export_plugin'), $export->id)
24
  ));
25
  }
26
  if (!$export->processing and $export->triggered) {
27
  return new JsonResponse(array(
28
  'status' => 403,
29
+ 'message' => sprintf(esc_html__('Export #%s already triggered. Request skipped.', 'wp_all_export_plugin'), $export->id)
30
  ));
31
  }
32
 
38
 
39
  return new JsonResponse(array(
40
  'status' => 200,
41
+ 'message' => sprintf(esc_html__('#%s Cron job triggered.', 'wp_all_export_plugin'), $export->id)
42
  ));
43
  }
44
 
60
  if (!empty($export->parent_id) or empty($queue_exports)) {
61
  wp_send_json(array(
62
  'status' => 403,
63
+ 'message' => sprintf(esc_html__('Export #%s is not triggered. Request skipped.', 'wp_all_export_plugin'), $export->id)
64
  ));
65
  }
66
  } elseif ((int)$export->executing) {
67
  wp_send_json(array(
68
  'status' => 403,
69
+ 'message' => sprintf(esc_html__('Export #%s is currently in manually process. Request skipped.', 'wp_all_export_plugin'), $export->id)
70
  ));
71
  } elseif ((int)$export->triggered and !(int)$export->processing) {
72
  $response = $export->set(array('canceled' => 0))->execute($logger, true);
104
 
105
  wp_send_json(array(
106
  'status' => 200,
107
+ 'message' => sprintf(esc_html__('Export #%s complete', 'wp_all_export_plugin'), $export->id)
108
  ));
109
  } else {
110
  wp_send_json(array(
111
  'status' => 200,
112
+ 'message' => sprintf(esc_html__('Records Processed %s.', 'wp_all_export_plugin'), (int)$export->exported)
113
  ));
114
  }
115
 
116
  } else {
117
  wp_send_json(array(
118
  'status' => 403,
119
+ 'message' => sprintf(esc_html__('Export #%s already processing. Request skipped.', 'wp_all_export_plugin'), $export->id)
120
  ));
121
  }
122
  }
src/App/UnsecuredController/SchedulingController.php CHANGED
@@ -80,7 +80,7 @@ class SchedulingController extends BaseController
80
  }
81
 
82
  $logger = function($m) {
83
- echo "<p>$m</p>\\n";
84
  };
85
 
86
  if ($export->processing == 1 and (time() - strtotime($export->registered_on)) > 120) {
80
  }
81
 
82
  $logger = function($m) {
83
+ echo "<p>" . wp_kses_post($m) . "</p>\\n";
84
  };
85
 
86
  if ($export->processing == 1 and (time() - strtotime($export->registered_on)) > 120) {
src/Pro/Filtering/FilteringCustom.php ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Wpae\Pro\Filtering;
4
+
5
+ /**
6
+ * Class FilteringCPT
7
+ * @package Wpae\Pro\Filtering
8
+ */
9
+ class FilteringCustom extends FilteringBase
10
+ {
11
+
12
+ public static $variationWhere;
13
+ public static $variationJoin = array();
14
+
15
+ private $add_on;
16
+
17
+
18
+ public function __construct()
19
+ {
20
+ parent::__construct();
21
+
22
+ $this->add_on = \GF_Export_Add_On::get_instance();
23
+ }
24
+
25
+ /**
26
+ * @return bool
27
+ */
28
+ public function parse()
29
+ {
30
+
31
+ if ($this->isFilteringAllowed()) {
32
+
33
+ $this->checkNewStuff();
34
+
35
+ // No Filtering Rules defined
36
+ if (empty($this->filterRules)) return FALSE;
37
+
38
+ $this->queryWhere = ($this->isExportNewStuff() || $this->isExportModifiedStuff()) ? $this->queryWhere . " AND (" : " AND (";
39
+
40
+ // Apply Filtering Rules
41
+ foreach ($this->filterRules as $rule) {
42
+ if (is_null($rule->parent_id)) {
43
+ $this->parse_single_rule($rule);
44
+ }
45
+ }
46
+
47
+ if ($this->meta_query || $this->tax_query) {
48
+ $this->queryWhere .= " ) GROUP BY {$this->wpdb->posts}.ID";
49
+ } else {
50
+ $this->queryWhere .= ")";
51
+ }
52
+ }
53
+
54
+ }
55
+
56
+
57
+ /**
58
+ *
59
+ */
60
+ public function getExcludeQueryWhere($postsToExclude)
61
+ {
62
+ }
63
+
64
+ public function getModifiedQueryWhere($export)
65
+ {
66
+ }
67
+
68
+ public function checkNewStuff()
69
+ {
70
+ }
71
+
72
+
73
+ private function is_date_filter($element_label)
74
+ {
75
+
76
+ $gf_addon = \GF_Export_Add_On::get_instance()->add_on;
77
+
78
+ $data_element = $gf_addon->get_data_element_by_slug($element_label);
79
+
80
+ if(is_array($data_element)) {
81
+ if (isset($data_element['filterable']) && $data_element['filterable'] === 'date') {
82
+ return true;
83
+ }
84
+ }
85
+
86
+ return false;
87
+
88
+ }
89
+
90
+ /**
91
+ * @param $rule
92
+ * @return mixed|void
93
+ */
94
+ public function parse_single_rule($rule)
95
+ {
96
+
97
+ apply_filters('wp_all_export_single_filter_rule', $rule);
98
+
99
+ $gf_addon = \GF_Export_Add_On::get_instance()->add_on;
100
+
101
+ $element_label = str_replace('rt_', '', $rule->element);
102
+ $element_label = str_replace('cf_', '', $element_label);
103
+
104
+ $data_element = $gf_addon->get_data_element_by_slug($element_label);
105
+
106
+ if ($this->is_date_filter($element_label)) {
107
+ $this->parse_date_field($rule);
108
+ $rule->value = "'{$rule->value}'";
109
+ }
110
+
111
+ if (strpos($rule->element, 'cf_') === 0) {
112
+
113
+ $table_alias = 'wp_gf_entry_meta';
114
+
115
+ $meta_key = $data_element['element_meta_key'];
116
+
117
+ $joinString = " INNER JOIN {$gf_addon->get_meta_table()} AS $table_alias ON ({$gf_addon->get_main_table()}.id = $table_alias.entry_id) ";
118
+
119
+ $whereString = "$table_alias.meta_key = '$meta_key' AND $table_alias.meta_value " . $this->parse_condition($rule, false, $table_alias) . "";
120
+
121
+ $this->queryJoin[] = $joinString;
122
+ $this->queryWhere .= $whereString;
123
+
124
+ } else if (strpos($rule->element, 'rt_') === 0) {
125
+
126
+ $has_notes = [];
127
+ $sql = "SELECT DISTINCT(entry_id) FROM {$gf_addon->get_related_table()} WHERE {$element_label} " . $this->parse_condition($rule);
128
+ $results = $this->wpdb->get_results($sql);
129
+
130
+ if ($results && is_array($results)) {
131
+ foreach ($results as $result) {
132
+ $has_notes[] = $result->entry_id;
133
+ }
134
+ }
135
+
136
+ if (is_array($has_notes) && !empty($has_notes)) {
137
+ $query_string = "{$gf_addon->get_main_table()}.id IN ( " . implode(',', $has_notes) . " )";
138
+ $this->queryWhere .= $query_string;
139
+ } else {
140
+ $this->queryWhere .= ' 1 = 1 ';
141
+ }
142
+ } else {
143
+ $this->queryWhere .= $gf_addon->get_main_table() . "." . $rule->element . " " . $this->parse_condition($rule, true);
144
+
145
+ }
146
+
147
+ $this->recursion_parse_query($rule);
148
+ }
149
+
150
+ /**
151
+ * @param $str
152
+ * @param $prefix
153
+ * @return string
154
+ */
155
+ private function removePrefix($str, $prefix)
156
+ {
157
+ if (substr($str, 0, strlen($prefix)) == $prefix) {
158
+ $str = substr($str, strlen($prefix));
159
+ return $str;
160
+ }
161
+ return $str;
162
+ }
163
+ }
src/Pro/Filtering/FilteringFactory.php CHANGED
@@ -29,7 +29,7 @@ class FilteringFactory
29
  <div class="wpallexport-collapsed wpallexport-section closed">
30
  <div class="wpallexport-content-section wpallexport-filtering-section" <?php if ($is_on_template_screen):?>style="margin-bottom: 10px;"<?php endif; ?>>
31
  <div class="wpallexport-collapsed-header" style="padding-left: 25px;">
32
- <h3><?php _e('Filtering Options','wp_all_export_plugin');?></h3>
33
  </div>
34
  <div class="wpallexport-collapsed-content" style="padding: 0;">
35
  <div class="wpallexport-collapsed-content-inner">
29
  <div class="wpallexport-collapsed wpallexport-section closed">
30
  <div class="wpallexport-content-section wpallexport-filtering-section" <?php if ($is_on_template_screen):?>style="margin-bottom: 10px;"<?php endif; ?>>
31
  <div class="wpallexport-collapsed-header" style="padding-left: 25px;">
32
+ <h3><?php esc_html_e('Filtering Options','wp_all_export_plugin');?></h3>
33
  </div>
34
  <div class="wpallexport-collapsed-content" style="padding: 0;">
35
  <div class="wpallexport-collapsed-content-inner">
src/Scheduling/views/ManualScheduling.php CHANGED
@@ -3,43 +3,43 @@
3
  <label>
4
  <input type="radio" name="scheduling_enable"
5
  value="2" <?php if ($post['scheduling_enable'] == 2) { ?> checked="checked" <?php } ?>/>
6
- <h4 style="margin-top: 0;display: inline-block;"><?php _e('Manual Scheduling', PMXE_Plugin::LANGUAGE_DOMAIN); ?></h4>
7
  </label>
8
- <div style="margin-left: 26px; margin-bottom: 10px; font-size: 13px;"><?php _e('Run this export using cron jobs.'); ?></div>
9
  <div style="<?php if ($post['scheduling_enable'] != 2) { ?> display: none; <?php } ?>" class="manual-scheduling">
10
 
11
  <div class="wpallexport-free-edition-notice" style="margin: 15px 0; width: 90%; padding-left: 10px; padding-right: 10px;">
12
- <a style="font-size: 1.3em;" class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=manual-scheduling"><?php _e('Upgrade to the Pro edition of WP All Export for Manual Scheduling','wp_all_export_plugin');?></a>
13
  <p>
14
- <?php _e('If you already own it, remove the free edition and install the Pro edition.','wp_all_export_plugin');?>
15
  </p>
16
  </div>
17
 
18
  <p style="margin:0;">
19
- <h5 style="margin-bottom: 10px; margin-top: 10px; font-size: 14px; color: #ccc;"><?php _e('Trigger URL'); ?></h5>
20
  <code style="padding: 10px; border: 1px solid #ccc; display: block; width: 90%; color: #ccc; user-select: none; cursor: default;">
21
- <?php echo site_url() . '/wp-load.php?export_key=●●●●●●●●●●●●&export_id=' . $export_id . '&action=trigger'; ?>
22
  </code>
23
  </p>
24
  <p style="margin: 0 0 15px;">
25
- <h5 style="margin-bottom: 10px; margin-top: 10px; font-size: 14px; color: #ccc;"><?php _e('Processing URL'); ?></h5>
26
  <code style="padding: 10px; border: 1px solid #ccc; display: block; width: 90%; color: #ccc; user-select: none; cursor: default;">
27
- <?php echo site_url() . '/wp-load.php?export_key=●●●●●●●●●●●●&export_id=' . $export_id . '&action=processing'; ?>
28
  </code>
29
  </p>
30
  <p style="margin: 0 0 15px;">
31
- <h5 style="margin-bottom: 10px; margin-top: 10px; font-size: 14px;"><?php _e('File URL'); ?></h5>
32
  <code style="padding: 10px; border: 1px solid #ccc; display: block; width: 90%;">
33
- <?php echo site_url() . '/wp-load.php?security_token=' . substr(md5($cron_job_key . $export_id), 0, 16) . '&export_id=' . $export_id . '&action=get_data'; ?>
34
  </code>
35
  </p>
36
  <p style="margin: 0 0 15px;">
37
- <h5 style="margin-bottom: 10px; margin-top: 10px; font-size: 14px;"><?php _e('Bundle URL'); ?></h5>
38
  <code style="padding: 10px; border: 1px solid #ccc; display: block; width: 90%;">
39
- <?php echo site_url() . '/wp-load.php?security_token=' . substr(md5($cron_job_key . $export_id), 0, 16) . '&export_id=' . $export_id . '&action=get_bundle'; ?>
40
  </code>
41
  </p>
42
- <p style="margin:0; padding-left: 0;"><?php _e('Read more about manual scheduling'); ?>: <a target="_blank" href="http://www.wpallimport.com/documentation/recurring/cron/?utm_source=export-plugin-free&utm_medium=read-more&utm_campaign=manual-scheduling">
43
  http://www.wpallimport.com/documentation/recurring/cron/</a>
44
  </p>
45
  </div>
3
  <label>
4
  <input type="radio" name="scheduling_enable"
5
  value="2" <?php if ($post['scheduling_enable'] == 2) { ?> checked="checked" <?php } ?>/>
6
+ <h4 style="margin-top: 0;display: inline-block;"><?php esc_html_e('Manual Scheduling', PMXE_Plugin::LANGUAGE_DOMAIN); ?></h4>
7
  </label>
8
+ <div style="margin-left: 26px; margin-bottom: 10px; font-size: 13px;"><?php esc_html_e('Run this export using cron jobs.'); ?></div>
9
  <div style="<?php if ($post['scheduling_enable'] != 2) { ?> display: none; <?php } ?>" class="manual-scheduling">
10
 
11
  <div class="wpallexport-free-edition-notice" style="margin: 15px 0; width: 90%; padding-left: 10px; padding-right: 10px;">
12
+ <a style="font-size: 1.3em;" class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=manual-scheduling"><?php esc_html_e('Upgrade to the Pro edition of WP All Export for Manual Scheduling','wp_all_export_plugin');?></a>
13
  <p>
14
+ <?php esc_html_e('If you already own it, remove the free edition and install the Pro edition.','wp_all_export_plugin');?>
15
  </p>
16
  </div>
17
 
18
  <p style="margin:0;">
19
+ <h5 style="margin-bottom: 10px; margin-top: 10px; font-size: 14px; color: #ccc;"><?php esc_html_e('Trigger URL'); ?></h5>
20
  <code style="padding: 10px; border: 1px solid #ccc; display: block; width: 90%; color: #ccc; user-select: none; cursor: default;">
21
+ <?php echo esc_url(site_url() . '/wp-load.php?export_key=●●●●●●●●●●●●&export_id=' . intval($export_id) . '&action=trigger'); ?>
22
  </code>
23
  </p>
24
  <p style="margin: 0 0 15px;">
25
+ <h5 style="margin-bottom: 10px; margin-top: 10px; font-size: 14px; color: #ccc;"><?php esc_html_e('Processing URL'); ?></h5>
26
  <code style="padding: 10px; border: 1px solid #ccc; display: block; width: 90%; color: #ccc; user-select: none; cursor: default;">
27
+ <?php echo esc_url(site_url() . '/wp-load.php?export_key=●●●●●●●●●●●●&export_id=' . intval($export_id) . '&action=processing'); ?>
28
  </code>
29
  </p>
30
  <p style="margin: 0 0 15px;">
31
+ <h5 style="margin-bottom: 10px; margin-top: 10px; font-size: 14px;"><?php esc_html_e('File URL'); ?></h5>
32
  <code style="padding: 10px; border: 1px solid #ccc; display: block; width: 90%;">
33
+ <?php echo esc_url(site_url() . '/wp-load.php?security_token=' . substr(md5($cron_job_key . $export_id), 0, 16) . '&export_id=' . intval($export_id) . '&action=get_data'); ?>
34
  </code>
35
  </p>
36
  <p style="margin: 0 0 15px;">
37
+ <h5 style="margin-bottom: 10px; margin-top: 10px; font-size: 14px;"><?php esc_html_e('Bundle URL'); ?></h5>
38
  <code style="padding: 10px; border: 1px solid #ccc; display: block; width: 90%;">
39
+ <?php echo esc_url(site_url() . '/wp-load.php?security_token=' . substr(md5($cron_job_key . $export_id), 0, 16) . '&export_id=' . intval($export_id) . '&action=get_bundle'); ?>
40
  </code>
41
  </p>
42
+ <p style="margin:0; padding-left: 0;"><?php esc_html_e('Read more about manual scheduling'); ?>: <a target="_blank" href="http://www.wpallimport.com/documentation/recurring/cron/?utm_source=export-plugin-free&utm_medium=read-more&utm_campaign=manual-scheduling">
43
  http://www.wpallimport.com/documentation/recurring/cron/</a>
44
  </p>
45
  </div>
src/Scheduling/views/SaveSchedulingButton.php CHANGED
@@ -14,9 +14,9 @@
14
  <div class="save-text"
15
  style="display: block; position:absolute; <?php if($this->isWizard) {?> left: 70px; <?php } else { ?> left: 60px; <?php } ?> top:0; user-select: none;">
16
  <?php if($this->isWizard) {?>
17
- <?php _e('Confirm & Run Export', 'wp_all_export_plugin'); ?>
18
  <?php } else { ?>
19
- <?php _e('Save Export Configuration', 'wp_all_export_plugin'); ?>
20
  <?php } ?>
21
  </div>
22
  </div>
14
  <div class="save-text"
15
  style="display: block; position:absolute; <?php if($this->isWizard) {?> left: 70px; <?php } else { ?> left: 60px; <?php } ?> top:0; user-select: none;">
16
  <?php if($this->isWizard) {?>
17
+ <?php esc_html_e('Confirm & Run Export', 'wp_all_export_plugin'); ?>
18
  <?php } else { ?>
19
+ <?php esc_html_e('Save Export Configuration', 'wp_all_export_plugin'); ?>
20
  <?php } ?>
21
  </div>
22
  </div>
src/Scheduling/views/SchedulingHelp.php CHANGED
@@ -1,31 +1,31 @@
1
  <div id="wp-all-export-scheduling-help-inner" class="wp_all_export_scheduling_help">
2
 
3
- <p style="margin-top:5px; padding-left: 0;"><?php _e('This service is provided by Soflyy, the company that makes WP All Export. Automatic Scheduling makes it very easy to run exports on a schedule.', 'wp_all_export_plugin'); ?></p>
4
 
5
  <h3 id="wpae_help_custom_xml_editor_tab">
6
- <span>+</span>&nbsp;<?php _e('How does it work?', 'wp_all_export_plugin'); ?></h3>
7
 
8
  <div rel="wpae_help_custom_xml_editor_tab" class="wp_all_export_help_tab" style="padding-left:8px;">
9
- <?php _e('When you set an export to run on a schedule, our servers will contact your site to make sure that your export starts when you want it to. Our servers will check back every minute to make sure that the export is still running, and will continue doing so until it finishes.'); ?>
10
  </div>
11
 
12
  <h3 id="wpae_help_php_functions_tab">
13
- <span>+</span>&nbsp;<?php _e('Why does it cost money?', 'wp_all_export_plugin'); ?></h3>
14
 
15
  <div rel="wpae_help_php_functions_tab" class="wp_all_export_help_tab" style="padding-left:8px;">
16
- <?php _e('Your data is very important to us. We have a very resilient, scalable cluster of servers powering Automatic Scheduling. Our highly qualified team is on call 24hrs a day, 7 days a week to make sure your exports run when you need them to run.');?>
17
  </div>
18
 
19
- <h3 id="wpae_help_repeating_fields_tab"><span>+</span>&nbsp;<?php _e('What do I get for $9 a month?', 'wp_all_export_plugin'); ?></h3>
20
 
21
  <div rel="wpae_help_repeating_fields_tab" class="wp_all_export_help_tab" style="padding-left:8px;">
22
- <?php _e('You\'ll receive a license key for Automatic Scheduling that you can use in WP All Export and WP All Import. You can set up as many imports and exports on as many sites as you like. We do ask, however, that you not share your license with anyone else.'); ?>
23
  </div>
24
 
25
  <h3 id="wpae_help_example_template_tab">
26
- <span>+</span>&nbsp;<?php _e('What information is shared with Soflyy?', 'wp_all_export_plugin'); ?></h3>
27
 
28
  <div rel="wpae_help_example_template_tab" class="wp_all_export_help_tab" style="padding-left:8px;">
29
- <?php _e('When you set an export to run on a schedule, WP All Export will open an encrypted connection to our servers and send your license key, your site URL, the ID of the export you want to run, the export security key, and the times that you want the export to run.');?>
30
  </div>
31
  </div>
1
  <div id="wp-all-export-scheduling-help-inner" class="wp_all_export_scheduling_help">
2
 
3
+ <p style="margin-top:5px; padding-left: 0;"><?php esc_html_e('This service is provided by Soflyy, the company that makes WP All Export. Automatic Scheduling makes it very easy to run exports on a schedule.', 'wp_all_export_plugin'); ?></p>
4
 
5
  <h3 id="wpae_help_custom_xml_editor_tab">
6
+ <span>+</span>&nbsp;<?php esc_html_e('How does it work?', 'wp_all_export_plugin'); ?></h3>
7
 
8
  <div rel="wpae_help_custom_xml_editor_tab" class="wp_all_export_help_tab" style="padding-left:8px;">
9
+ <?php esc_html_e('When you set an export to run on a schedule, our servers will contact your site to make sure that your export starts when you want it to. Our servers will check back every minute to make sure that the export is still running, and will continue doing so until it finishes.'); ?>
10
  </div>
11
 
12
  <h3 id="wpae_help_php_functions_tab">
13
+ <span>+</span>&nbsp;<?php esc_html_e('Why does it cost money?', 'wp_all_export_plugin'); ?></h3>
14
 
15
  <div rel="wpae_help_php_functions_tab" class="wp_all_export_help_tab" style="padding-left:8px;">
16
+ <?php esc_html_e('Your data is very important to us. We have a very resilient, scalable cluster of servers powering Automatic Scheduling. Our highly qualified team is on call 24hrs a day, 7 days a week to make sure your exports run when you need them to run.');?>
17
  </div>
18
 
19
+ <h3 id="wpae_help_repeating_fields_tab"><span>+</span>&nbsp;<?php esc_html_e('What do I get for $9 a month?', 'wp_all_export_plugin'); ?></h3>
20
 
21
  <div rel="wpae_help_repeating_fields_tab" class="wp_all_export_help_tab" style="padding-left:8px;">
22
+ <?php esc_html_e('You\'ll receive a license key for Automatic Scheduling that you can use in WP All Export and WP All Import. You can set up as many imports and exports on as many sites as you like. We do ask, however, that you not share your license with anyone else.'); ?>
23
  </div>
24
 
25
  <h3 id="wpae_help_example_template_tab">
26
+ <span>+</span>&nbsp;<?php esc_html_e('What information is shared with Soflyy?', 'wp_all_export_plugin'); ?></h3>
27
 
28
  <div rel="wpae_help_example_template_tab" class="wp_all_export_help_tab" style="padding-left:8px;">
29
+ <?php esc_html_e('When you set an export to run on a schedule, WP All Export will open an encrypted connection to our servers and send your license key, your site URL, the ID of the export you want to run, the export security key, and the times that you want the export to run.');?>
30
  </div>
31
  </div>
src/Scheduling/views/SchedulingOptions.php CHANGED
@@ -376,7 +376,7 @@ $options = \PMXE_Plugin::getInstance()->getOption();
376
  if(!hasActiveLicense) {
377
  if (!$(this).data('iunderstand') && schedulingEnable) {
378
  $('#no-subscription').slideDown();
379
- $(this).find('.save-text').html('<?php echo _e('I Understand');?>');
380
  $(this).find('.save-text').css('left', '100px');
381
  $(this).data('iunderstand', 1);
382
 
@@ -416,7 +416,7 @@ $options = \PMXE_Plugin::getInstance()->getOption();
416
 
417
  formData.push({name: 'security', value: wp_all_export_security});
418
  formData.push({name: 'action', value: 'save_scheduling'});
419
- formData.push({name: 'element_id', value: <?php echo $export_id; ?>});
420
  formData.push({name: 'scheduling_enable', value: $('input[name="scheduling_enable"]:checked').val()});
421
 
422
  $button.find('.easing-spinner').toggle();
@@ -455,7 +455,7 @@ $options = \PMXE_Plugin::getInstance()->getOption();
455
  if(!hasActiveLicense) {
456
  if (!$(this).data('iunderstand') && schedulingEnable) {
457
  $('#no-subscription').slideDown();
458
- $(this).find('.save-text').html('<?php echo _e('I Understand');?>');
459
  $(this).find('.save-text').css('left', '100px');
460
  $(this).data('iunderstand', 1);
461
 
@@ -493,7 +493,7 @@ $options = \PMXE_Plugin::getInstance()->getOption();
493
 
494
  formData.push({name: 'security', value: wp_all_export_security});
495
  formData.push({name: 'action', value: 'save_scheduling'});
496
- formData.push({name: 'element_id', value: <?php echo $export_id; ?>});
497
  formData.push({name: 'scheduling_enable', value: $('input[name="scheduling_enable"]:checked').val()});
498
 
499
  $.ajax({
@@ -560,7 +560,7 @@ $options = \PMXE_Plugin::getInstance()->getOption();
560
  $('#find-subscription-link').show();
561
  $('#find-subscription-link').animate({left: '410px'}, 300, 'swing');
562
  }, 225);
563
- $('.subscribe-button-text').html('<?php _e('Activate'); ?>');
564
  saveSubscription = true;
565
  return false;
566
  });
@@ -595,14 +595,14 @@ $options = \PMXE_Plugin::getInstance()->getOption();
595
  } else {
596
  $('#subscribe-button .easing-spinner').hide();
597
  $('#subscribe-button svg.error').show();
598
- $('.subscribe-button-text').html('<?php _e('Subscribe'); ?>');
599
 
600
  $('#subscribe-button svg.error').fadeOut(3000, function () {
601
  $('#subscribe-button svg.error').hide({queue: false});
602
 
603
  });
604
 
605
- $('#add-subscription').html('<?php _e('Invalid license, try again?');?>');
606
  $('.text-container p').fadeIn();
607
 
608
  $('#find-subscription-link').animate({width: 'toggle'}, 300, 'swing');
@@ -614,7 +614,7 @@ $options = \PMXE_Plugin::getInstance()->getOption();
614
 
615
  $('#add-subscription-field').val('');
616
 
617
- $('#subscribe-button-text').html('<?php _e('Subscribe'); ?>');
618
  saveSubscription = false;
619
  }
620
  }
@@ -660,7 +660,7 @@ $options = \PMXE_Plugin::getInstance()->getOption();
660
  <div class="wpallexport-content-section" style="padding-bottom: 15px; margin-bottom: 10px;">
661
  <div class="wpallexport-collapsed-header" id="scheduling-options-header" style="padding-left: 25px;">
662
  <h3 id="scheduling-title" style="position: relative;">
663
- <?php _e('Scheduling Options', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
664
  </h3>
665
  </div>
666
 
@@ -669,14 +669,14 @@ $options = \PMXE_Plugin::getInstance()->getOption();
669
  <div style="margin-bottom: 20px;">
670
  <label>
671
  <input type="radio" name="scheduling_enable" value="0" <?php if(!$schedulingExportOptions['scheduling_enable']) { ?> checked="checked" <?php } ?>/>
672
- <h4 style="display: inline-block; margin-top:3px; margin-bottom:-2px;"><?php _e('Do Not Schedule'); ?></h4>
673
  </label>
674
  </div>
675
  <div>
676
  <label>
677
  <input type="radio" name="scheduling_enable" value="1" <?php if($schedulingExportOptions['scheduling_enable'] == 1) {?> checked="checked" <?php }?>/>
678
 
679
- <h4 style="margin: 0; display: inline-flex; align-items: center;"><?php _e('Automatic Scheduling', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
680
  <span class="connection-icon" style="margin-left: 8px;">
681
  <?php include_once('ConnectionIcon.php'); ?>
682
  </span>
@@ -688,7 +688,7 @@ $options = \PMXE_Plugin::getInstance()->getOption();
688
  </div>
689
  <div style="margin-bottom: 10px; margin-left:26px;">
690
  <label style="font-size: 13px;">
691
- <?php _e('Run this export on a schedule.'); ?>
692
  </label>
693
  </div>
694
  <div id="automatic-scheduling"
@@ -699,11 +699,11 @@ $options = \PMXE_Plugin::getInstance()->getOption();
699
  <input
700
  type="radio" <?php if ($schedulingExportOptions['scheduling_run_on'] != 'monthly') { ?> checked="checked" <?php } ?>
701
  name="scheduling_run_on" value="weekly"
702
- checked="checked"/> <?php _e('Every week on...', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
703
  </label>
704
  </div>
705
  <input type="hidden" style="width: 500px;" name="scheduling_weekly_days"
706
- value="<?php echo $schedulingExportOptions['scheduling_weekly_days']; ?>" id="weekly_days"/>
707
  <?php
708
  if (isset($schedulingExportOptions['scheduling_weekly_days'])) {
709
  $weeklyArray = explode(',', $schedulingExportOptions['scheduling_weekly_days']);
@@ -742,7 +742,7 @@ $options = \PMXE_Plugin::getInstance()->getOption();
742
  <input
743
  type="radio" <?php if ($schedulingExportOptions['scheduling_run_on'] == 'monthly') { ?> checked="checked" <?php } ?>
744
  name="scheduling_run_on"
745
- value="monthly"/> <?php _e('Every month on the first...', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
746
  </label>
747
  </div>
748
  <input type="hidden" name="scheduling_monthly_days" value="<?php if (isset($schedulingExportOptions['scheduling_monthly_days'])) echo $schedulingExportOptions['scheduling_monthly_days']; ?>" id="monthly_days"/>
@@ -791,7 +791,7 @@ $options = \PMXE_Plugin::getInstance()->getOption();
791
 
792
  <?php if ($time) { ?>
793
  <input class="timepicker" type="text" name="scheduling_times[]"
794
- value="<?php echo $time; ?>"/>
795
  <?php } ?>
796
  <?php } ?>
797
  <input class="timepicker" type="text" name="scheduling_times[]"/>
@@ -837,17 +837,17 @@ $options = \PMXE_Plugin::getInstance()->getOption();
837
  </div>
838
 
839
  <span class="subscribe-button-text">
840
- <?php _e('Subscribe'); ?>
841
  </span>
842
  </div>
843
  </a>
844
  </div>
845
  <div class="text-container" style="position: absolute; left: 150px; top: 2px;">
846
- <p><?php _e('Get automatic scheduling for unlimited sites, just $9/mo.', PMXE_Plugin::LANGUAGE_DOMAIN); ?></p>
847
- <p><?php _e('Have a license?', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
848
- <a href="#" id="add-subscription"><?php _e('Register this site.'); ?></a> <?php _e('Questions?', PMXE_Plugin::LANGUAGE_DOMAIN); ?> <a href="#" class="help_scheduling">Read more.</a></p>
849
- <input type="password" id="add-subscription-field" style="position: absolute; z-index: 2; font-size: 14px;" placeholder="<?php _e('Enter your license', PMXE_Plugin::LANGUAGE_DOMAIN); ?>"/>
850
- <div style="position: absolute;" id="find-subscription-link"><a href="http://www.wpallimport.com/portal/automatic-scheduling/" target="_blank"><?php _e('Find your license at the customer portal.', PMXE_Plugin::LANGUAGE_DOMAIN);?></a></div>
851
  </div>
852
  </div>
853
  <?php
@@ -866,7 +866,7 @@ $options = \PMXE_Plugin::getInstance()->getOption();
866
  <fieldset class="optionsset column rad4 wp-all-export-scheduling-help">
867
 
868
  <div class="title">
869
- <span style="font-size:1.5em;" class="wpallexport-add-row-title"><?php _e('Automatic Scheduling', 'wp_all_export_plugin'); ?></span>
870
  </div>
871
 
872
  <?php
376
  if(!hasActiveLicense) {
377
  if (!$(this).data('iunderstand') && schedulingEnable) {
378
  $('#no-subscription').slideDown();
379
+ $(this).find('.save-text').html('<?php esc_html_e('I Understand');?>');
380
  $(this).find('.save-text').css('left', '100px');
381
  $(this).data('iunderstand', 1);
382
 
416
 
417
  formData.push({name: 'security', value: wp_all_export_security});
418
  formData.push({name: 'action', value: 'save_scheduling'});
419
+ formData.push({name: 'element_id', value: <?php echo intval($export_id); ?>});
420
  formData.push({name: 'scheduling_enable', value: $('input[name="scheduling_enable"]:checked').val()});
421
 
422
  $button.find('.easing-spinner').toggle();
455
  if(!hasActiveLicense) {
456
  if (!$(this).data('iunderstand') && schedulingEnable) {
457
  $('#no-subscription').slideDown();
458
+ $(this).find('.save-text').html('<?php esc_html_e('I Understand');?>');
459
  $(this).find('.save-text').css('left', '100px');
460
  $(this).data('iunderstand', 1);
461
 
493
 
494
  formData.push({name: 'security', value: wp_all_export_security});
495
  formData.push({name: 'action', value: 'save_scheduling'});
496
+ formData.push({name: 'element_id', value: <?php echo intval($export_id); ?>});
497
  formData.push({name: 'scheduling_enable', value: $('input[name="scheduling_enable"]:checked').val()});
498
 
499
  $.ajax({
560
  $('#find-subscription-link').show();
561
  $('#find-subscription-link').animate({left: '410px'}, 300, 'swing');
562
  }, 225);
563
+ $('.subscribe-button-text').html('<?php esc_html_e('Activate'); ?>');
564
  saveSubscription = true;
565
  return false;
566
  });
595
  } else {
596
  $('#subscribe-button .easing-spinner').hide();
597
  $('#subscribe-button svg.error').show();
598
+ $('.subscribe-button-text').html('<?php esc_html_e('Subscribe'); ?>');
599
 
600
  $('#subscribe-button svg.error').fadeOut(3000, function () {
601
  $('#subscribe-button svg.error').hide({queue: false});
602
 
603
  });
604
 
605
+ $('#add-subscription').html('<?php esc_html_e('Invalid license, try again?');?>');
606
  $('.text-container p').fadeIn();
607
 
608
  $('#find-subscription-link').animate({width: 'toggle'}, 300, 'swing');
614
 
615
  $('#add-subscription-field').val('');
616
 
617
+ $('#subscribe-button-text').html('<?php esc_html_e('Subscribe'); ?>');
618
  saveSubscription = false;
619
  }
620
  }
660
  <div class="wpallexport-content-section" style="padding-bottom: 15px; margin-bottom: 10px;">
661
  <div class="wpallexport-collapsed-header" id="scheduling-options-header" style="padding-left: 25px;">
662
  <h3 id="scheduling-title" style="position: relative;">
663
+ <?php esc_html_e('Scheduling Options', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
664
  </h3>
665
  </div>
666
 
669
  <div style="margin-bottom: 20px;">
670
  <label>
671
  <input type="radio" name="scheduling_enable" value="0" <?php if(!$schedulingExportOptions['scheduling_enable']) { ?> checked="checked" <?php } ?>/>
672
+ <h4 style="display: inline-block; margin-top:3px; margin-bottom:-2px;"><?php esc_html_e('Do Not Schedule'); ?></h4>
673
  </label>
674
  </div>
675
  <div>
676
  <label>
677
  <input type="radio" name="scheduling_enable" value="1" <?php if($schedulingExportOptions['scheduling_enable'] == 1) {?> checked="checked" <?php }?>/>
678
 
679
+ <h4 style="margin: 0; display: inline-flex; align-items: center;"><?php esc_html_e('Automatic Scheduling', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
680
  <span class="connection-icon" style="margin-left: 8px;">
681
  <?php include_once('ConnectionIcon.php'); ?>
682
  </span>
688
  </div>
689
  <div style="margin-bottom: 10px; margin-left:26px;">
690
  <label style="font-size: 13px;">
691
+ <?php esc_html_e('Run this export on a schedule.'); ?>
692
  </label>
693
  </div>
694
  <div id="automatic-scheduling"
699
  <input
700
  type="radio" <?php if ($schedulingExportOptions['scheduling_run_on'] != 'monthly') { ?> checked="checked" <?php } ?>
701
  name="scheduling_run_on" value="weekly"
702
+ checked="checked"/> <?php esc_html_e('Every week on...', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
703
  </label>
704
  </div>
705
  <input type="hidden" style="width: 500px;" name="scheduling_weekly_days"
706
+ value="<?php echo esc_attr($schedulingExportOptions['scheduling_weekly_days']); ?>" id="weekly_days"/>
707
  <?php
708
  if (isset($schedulingExportOptions['scheduling_weekly_days'])) {
709
  $weeklyArray = explode(',', $schedulingExportOptions['scheduling_weekly_days']);
742
  <input
743
  type="radio" <?php if ($schedulingExportOptions['scheduling_run_on'] == 'monthly') { ?> checked="checked" <?php } ?>
744
  name="scheduling_run_on"
745
+ value="monthly"/> <?php esc_html_e('Every month on the first...', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
746
  </label>
747
  </div>
748
  <input type="hidden" name="scheduling_monthly_days" value="<?php if (isset($schedulingExportOptions['scheduling_monthly_days'])) echo $schedulingExportOptions['scheduling_monthly_days']; ?>" id="monthly_days"/>
791
 
792
  <?php if ($time) { ?>
793
  <input class="timepicker" type="text" name="scheduling_times[]"
794
+ value="<?php echo esc_attr($time); ?>"/>
795
  <?php } ?>
796
  <?php } ?>
797
  <input class="timepicker" type="text" name="scheduling_times[]"/>
837
  </div>
838
 
839
  <span class="subscribe-button-text">
840
+ <?php esc_html_e('Subscribe'); ?>
841
  </span>
842
  </div>
843
  </a>
844
  </div>
845
  <div class="text-container" style="position: absolute; left: 150px; top: 2px;">
846
+ <p><?php esc_html_e('Get automatic scheduling for unlimited sites, just $9/mo.', PMXE_Plugin::LANGUAGE_DOMAIN); ?></p>
847
+ <p><?php esc_html_e('Have a license?', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
848
+ <a href="#" id="add-subscription"><?php esc_html_e('Register this site.'); ?></a> <?php esc_html_e('Questions?', PMXE_Plugin::LANGUAGE_DOMAIN); ?> <a href="#" class="help_scheduling">Read more.</a></p>
849
+ <input type="password" id="add-subscription-field" style="position: absolute; z-index: 2; font-size: 14px;" placeholder="<?php esc_html_e('Enter your license', PMXE_Plugin::LANGUAGE_DOMAIN); ?>"/>
850
+ <div style="position: absolute;" id="find-subscription-link"><a href="http://www.wpallimport.com/portal/automatic-scheduling/" target="_blank"><?php esc_html_e('Find your license at the customer portal.', PMXE_Plugin::LANGUAGE_DOMAIN);?></a></div>
851
  </div>
852
  </div>
853
  <?php
866
  <fieldset class="optionsset column rad4 wp-all-export-scheduling-help">
867
 
868
  <div class="title">
869
+ <span style="font-size:1.5em;" class="wpallexport-add-row-title"><?php esc_html_e('Automatic Scheduling', 'wp_all_export_plugin'); ?></span>
870
  </div>
871
 
872
  <?php
src/Scheduling/views/SchedulingUI.php CHANGED
@@ -395,7 +395,7 @@ $export_id = $export->id;
395
 
396
  formData.push({name: 'security', value: wp_all_export_security});
397
  formData.push({name: 'action', value: 'save_scheduling'});
398
- formData.push({name: 'element_id', value: <?php echo $export_id; ?>});
399
  formData.push({name: 'scheduling_enable', value: $('input[name="scheduling_enable"]:checked').val()});
400
 
401
  $.ajax({
@@ -451,7 +451,7 @@ $export_id = $export->id;
451
  $('#find-subscription-link').show();
452
  $('#find-subscription-link').animate({left: '410px'}, 300, 'swing');
453
  }, 225);
454
- $('.subscribe-button-text').html('<?php _e('Activate'); ?>');
455
  saveSubscription = true;
456
  return false;
457
  });
@@ -486,13 +486,13 @@ $export_id = $export->id;
486
  } else {
487
  $('#subscribe-button .easing-spinner').hide();
488
  $('#subscribe-button svg.error').show();
489
- $('.subscribe-button-text').html('<?php _e('Subscribe'); ?>');
490
  $('#subscribe-button svg.error').fadeOut(3000, function () {
491
  $('#subscribe-button svg.error').hide({queue: false});
492
 
493
  });
494
 
495
- $('#add-subscription').html('<?php _e('Invalid license, try again?');?>');
496
  $('.text-container p').fadeIn();
497
 
498
  $('#find-subscription-link').animate({width: 'toggle'}, 300, 'swing');
@@ -504,7 +504,7 @@ $export_id = $export->id;
504
 
505
  $('#add-subscription-field').val('');
506
 
507
- $('#subscribe-button-text').html('<?php _e('Subscribe'); ?>');
508
  saveSubscription = false;
509
  }
510
  }
@@ -551,13 +551,13 @@ $export_id = $export->id;
551
  <div style="margin-bottom: 20px;">
552
  <label>
553
  <input type="radio" name="scheduling_enable" value="0" <?php if($post['scheduling_enable'] == 0) { ?> checked="checked" <?php } ?>/>
554
- <h4 style="display: inline-block;"><?php _e('Do Not Schedule'); ?></h4>
555
  </label>
556
  </div>
557
  <div>
558
  <label>
559
  <input type="radio" name="scheduling_enable" value="1" <?php if($post['scheduling_enable'] == 1) {?> checked="checked" <?php }?>/>
560
- <h4 style="margin: 0; display: inline-flex; align-items: center;"><?php _e('Automatic Scheduling', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
561
  <span class="connection-icon" style="margin-left: 8px;">
562
  <?php include_once('ConnectionIcon.php'); ?>
563
  </span>
@@ -570,7 +570,7 @@ $export_id = $export->id;
570
 
571
  <div style="margin-bottom: 10px; margin-left:26px;">
572
  <label>
573
- <?php _e('Run this export on a schedule.'); ?>
574
  <?php if($hasActiveLicense) { ?>
575
  <?php } ?>
576
  </label>
@@ -583,11 +583,11 @@ $export_id = $export->id;
583
  <input
584
  type="radio" <?php if ($post['scheduling_run_on'] != 'monthly') { ?> checked="checked" <?php } ?>
585
  name="scheduling_run_on" value="weekly"
586
- checked="checked"/> <?php _e('Every week on...', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
587
  </label>
588
  </div>
589
  <input type="hidden" style="width: 500px;" name="scheduling_weekly_days"
590
- value="<?php echo $post['scheduling_weekly_days']; ?>" id="weekly_days"/>
591
  <?php
592
  if (isset($post['scheduling_weekly_days'])) {
593
  $weeklyArray = explode(',', $post['scheduling_weekly_days']);
@@ -626,10 +626,10 @@ $export_id = $export->id;
626
  <input
627
  type="radio" <?php if ($post['scheduling_run_on'] == 'monthly') { ?> checked="checked" <?php } ?>
628
  name="scheduling_run_on"
629
- value="monthly"/> <?php _e('Every month on the first...', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
630
  </label>
631
  </div>
632
- <input type="hidden" name="scheduling_monthly_days" value="<?php if(isset($post['scheduling_monthly_days'])) echo $post['scheduling_monthly_days']; ?>" id="monthly_days"/>
633
  <?php
634
  if (isset($post['scheduling_monthly_days'])) {
635
  $monthlyArray = explode(',', $post['scheduling_monthly_days']);
@@ -675,7 +675,7 @@ $export_id = $export->id;
675
 
676
  <?php if ($time) { ?>
677
  <input class="timepicker" type="text" name="scheduling_times[]"
678
- value="<?php echo $time; ?>"/>
679
  <?php } ?>
680
  <?php } ?>
681
  <input class="timepicker" type="text" name="scheduling_times[]"/>
@@ -721,17 +721,17 @@ $export_id = $export->id;
721
  </div>
722
 
723
  <span class="subscribe-button-text">
724
- <?php _e('Subscribe', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
725
  </span>
726
  </div>
727
  </a>
728
  </div>
729
  <div class="text-container" style="position: absolute; left: 150px; top: 2px;">
730
- <p><?php _e('Get automatic scheduling for unlimited sites, just $9/mo.'); ?></p>
731
- <p><?php _e('Have a license?'); ?>
732
- <a href="#" id="add-subscription"><?php _e('Register this site.'); ?></a> <?php _e('Questions?', PMXE_Plugin::LANGUAGE_DOMAIN); ?> <a href="#" class="help_scheduling">Read more.</a></p>
733
- <input type="password" id="add-subscription-field" style="position: absolute; z-index: 2; font-size:14px;" placeholder="<?php _e('Enter your license', PMXE_Plugin::LANGUAGE_DOMAIN); ?>" />
734
- <div style="position: absolute;" id="find-subscription-link"><a href="http://www.wpallimport.com/portal/automatic-scheduling/" target="_blank"><?php _e('Find your license.', PMXE_Plugin::LANGUAGE_DOMAIN);?></a></div>
735
  </div>
736
  </div>
737
  <?php
@@ -761,14 +761,14 @@ $export_id = $export->id;
761
  </div>
762
  <div class="save-text"
763
  style="display: block; position:absolute; <?php if($this->isWizard) {?> left: 70px; <?php } else { ?> left: 60px; <?php } ?> top:0; user-select: none;">
764
- <?php _e('Save Scheduling Options', 'wp_all_export_plugin'); ?>
765
  </div>
766
  </div>
767
  <div class="wpallexport-overlay"></div>
768
  <fieldset class="optionsset column rad4 wp-all-export-scheduling-help">
769
 
770
  <div class="title">
771
- <span style="font-size:1.5em;" class="wpallexport-add-row-title"><?php _e('Automatic Scheduling', 'wp_all_export_plugin'); ?></span>
772
  </div>
773
 
774
  <?php
395
 
396
  formData.push({name: 'security', value: wp_all_export_security});
397
  formData.push({name: 'action', value: 'save_scheduling'});
398
+ formData.push({name: 'element_id', value: <?php echo intval($export_id); ?>});
399
  formData.push({name: 'scheduling_enable', value: $('input[name="scheduling_enable"]:checked').val()});
400
 
401
  $.ajax({
451
  $('#find-subscription-link').show();
452
  $('#find-subscription-link').animate({left: '410px'}, 300, 'swing');
453
  }, 225);
454
+ $('.subscribe-button-text').html('<?php esc_html_e('Activate'); ?>');
455
  saveSubscription = true;
456
  return false;
457
  });
486
  } else {
487
  $('#subscribe-button .easing-spinner').hide();
488
  $('#subscribe-button svg.error').show();
489
+ $('.subscribe-button-text').html('<?php esc_html_e('Subscribe'); ?>');
490
  $('#subscribe-button svg.error').fadeOut(3000, function () {
491
  $('#subscribe-button svg.error').hide({queue: false});
492
 
493
  });
494
 
495
+ $('#add-subscription').html('<?php esc_html_e('Invalid license, try again?');?>');
496
  $('.text-container p').fadeIn();
497
 
498
  $('#find-subscription-link').animate({width: 'toggle'}, 300, 'swing');
504
 
505
  $('#add-subscription-field').val('');
506
 
507
+ $('#subscribe-button-text').html('<?php esc_html_e('Subscribe'); ?>');
508
  saveSubscription = false;
509
  }
510
  }
551
  <div style="margin-bottom: 20px;">
552
  <label>
553
  <input type="radio" name="scheduling_enable" value="0" <?php if($post['scheduling_enable'] == 0) { ?> checked="checked" <?php } ?>/>
554
+ <h4 style="display: inline-block;"><?php esc_html_e('Do Not Schedule'); ?></h4>
555
  </label>
556
  </div>
557
  <div>
558
  <label>
559
  <input type="radio" name="scheduling_enable" value="1" <?php if($post['scheduling_enable'] == 1) {?> checked="checked" <?php }?>/>
560
+ <h4 style="margin: 0; display: inline-flex; align-items: center;"><?php esc_html_e('Automatic Scheduling', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
561
  <span class="connection-icon" style="margin-left: 8px;">
562
  <?php include_once('ConnectionIcon.php'); ?>
563
  </span>
570
 
571
  <div style="margin-bottom: 10px; margin-left:26px;">
572
  <label>
573
+ <?php esc_html_e('Run this export on a schedule.'); ?>
574
  <?php if($hasActiveLicense) { ?>
575
  <?php } ?>
576
  </label>
583
  <input
584
  type="radio" <?php if ($post['scheduling_run_on'] != 'monthly') { ?> checked="checked" <?php } ?>
585
  name="scheduling_run_on" value="weekly"
586
+ checked="checked"/> <?php esc_html_e('Every week on...', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
587
  </label>
588
  </div>
589
  <input type="hidden" style="width: 500px;" name="scheduling_weekly_days"
590
+ value="<?php echo esc_attr($post['scheduling_weekly_days']); ?>" id="weekly_days"/>
591
  <?php
592
  if (isset($post['scheduling_weekly_days'])) {
593
  $weeklyArray = explode(',', $post['scheduling_weekly_days']);
626
  <input
627
  type="radio" <?php if ($post['scheduling_run_on'] == 'monthly') { ?> checked="checked" <?php } ?>
628
  name="scheduling_run_on"
629
+ value="monthly"/> <?php esc_html_e('Every month on the first...', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
630
  </label>
631
  </div>
632
+ <input type="hidden" name="scheduling_monthly_days" value="<?php if(isset($post['scheduling_monthly_days'])) echo esc_attr($post['scheduling_monthly_days']); ?>" id="monthly_days"/>
633
  <?php
634
  if (isset($post['scheduling_monthly_days'])) {
635
  $monthlyArray = explode(',', $post['scheduling_monthly_days']);
675
 
676
  <?php if ($time) { ?>
677
  <input class="timepicker" type="text" name="scheduling_times[]"
678
+ value="<?php echo esc_attr($time); ?>"/>
679
  <?php } ?>
680
  <?php } ?>
681
  <input class="timepicker" type="text" name="scheduling_times[]"/>
721
  </div>
722
 
723
  <span class="subscribe-button-text">
724
+ <?php esc_html_e('Subscribe', PMXE_Plugin::LANGUAGE_DOMAIN); ?>
725
  </span>
726
  </div>
727
  </a>
728
  </div>
729
  <div class="text-container" style="position: absolute; left: 150px; top: 2px;">
730
+ <p><?php esc_html_e('Get automatic scheduling for unlimited sites, just $9/mo.'); ?></p>
731
+ <p><?php esc_html_e('Have a license?'); ?>
732
+ <a href="#" id="add-subscription"><?php esc_html_e('Register this site.'); ?></a> <?php esc_html_e('Questions?', PMXE_Plugin::LANGUAGE_DOMAIN); ?> <a href="#" class="help_scheduling">Read more.</a></p>
733
+ <input type="password" id="add-subscription-field" style="position: absolute; z-index: 2; font-size:14px;" placeholder="<?php esc_html_e('Enter your license', PMXE_Plugin::LANGUAGE_DOMAIN); ?>" />
734
+ <div style="position: absolute;" id="find-subscription-link"><a href="http://www.wpallimport.com/portal/automatic-scheduling/" target="_blank"><?php esc_html_e('Find your license.', PMXE_Plugin::LANGUAGE_DOMAIN);?></a></div>
735
  </div>
736
  </div>
737
  <?php
761
  </div>
762
  <div class="save-text"
763
  style="display: block; position:absolute; <?php if($this->isWizard) {?> left: 70px; <?php } else { ?> left: 60px; <?php } ?> top:0; user-select: none;">
764
+ <?php esc_html_e('Save Scheduling Options', 'wp_all_export_plugin'); ?>
765
  </div>
766
  </div>
767
  <div class="wpallexport-overlay"></div>
768
  <fieldset class="optionsset column rad4 wp-all-export-scheduling-help">
769
 
770
  <div class="title">
771
+ <span style="font-size:1.5em;" class="wpallexport-add-row-title"><?php esc_html_e('Automatic Scheduling', 'wp_all_export_plugin'); ?></span>
772
  </div>
773
 
774
  <?php
src/WordPress/AdminDismissibleNotice.php CHANGED
@@ -16,10 +16,11 @@ class AdminDismissibleNotice extends AdminNotice
16
  public function showNotice()
17
  {
18
  ?>
19
- <div class="<?php echo $this->getType();?>" style="position: relative;"><p>
20
- <?php echo $this->message; ?>
 
21
  </p>
22
- <button class="notice-dismiss wpae-general-notice-dismiss" type="button" data-noticeId="<?php echo $this->noticeId; ?>"><span class="screen-reader-text">Dismiss this notice.</span></button>
23
  </div>
24
  <?php
25
  }
16
  public function showNotice()
17
  {
18
  ?>
19
+ <div class="<?php echo $this->getType();?>" style="position: relative;">
20
+ <p>
21
+ <?php echo wp_kses_post($this->message); ?>
22
  </p>
23
+ <button class="notice-dismiss wpae-general-notice-dismiss" type="button" data-noticeId="<?php echo esc_attr($this->noticeId); ?>"><span class="screen-reader-text">Dismiss this notice.</span></button>
24
  </div>
25
  <?php
26
  }
src/WordPress/AdminNotice.php CHANGED
@@ -15,8 +15,8 @@ abstract class AdminNotice
15
  public function showNotice()
16
  {
17
  ?>
18
- <div class="<?php echo $this->getType();?>"><p>
19
- <?php echo $this->message; ?>
20
  </p></div>
21
  <?php
22
  }
15
  public function showNotice()
16
  {
17
  ?>
18
+ <div class="<?php echo esc_attr($this->getType());?>"><p>
19
+ <?php echo wp_kses_post($this->message); ?>
20
  </p></div>
21
  <?php
22
  }
src/WordPress/SitewideAdminDismissibleNotice.php CHANGED
@@ -44,10 +44,12 @@ class SitewideAdminDismissibleNotice extends AdminNotice
44
  });
45
  });
46
  </script>
47
- <div class="<?php echo $this->getType();?>" style="position: relative;"><p>
48
- <?php echo $this->message; ?>
 
 
49
  </p>
50
- <button class="notice-dismiss wpae-general-notice-dismiss" type="button" data-noticeId="<?php echo $this->noticeId; ?>"><span class="screen-reader-text">Dismiss this notice.</span></button>
51
  </div>
52
  <?php
53
  }
44
  });
45
  });
46
  </script>
47
+ <div class="<?php echo esc_attr($this->getType());?>" style="position: relative;"><p>
48
+ <?php
49
+ echo wp_kses_post($this->message);
50
+ ?>
51
  </p>
52
+ <button class="notice-dismiss wpae-general-notice-dismiss" type="button" data-noticeId="<?php echo esc_attr($this->noticeId); ?>"><span class="screen-reader-text">Dismiss this notice.</span></button>
53
  </div>
54
  <?php
55
  }
static/css/admin-ie.css CHANGED
File without changes
static/css/admin-wp-3.8.css CHANGED
File without changes
static/css/admin.css CHANGED
@@ -1,31 +1,31 @@
1
  .wpallexport-plugin .help_custom_xml,
2
- .wpallexport-plugin .preview_a_custom_xml_row,
3
- .wpallexport-plugin .preview_a_row,
4
  .wpallexport-plugin .add_column,
5
  .wpallexport-plugin .wp_all_export_auto_generate_data,
6
  .wpallexport-plugin .wp_all_export_clear_all_data{
7
- background: #40acad;
8
- -moz-border-radius: 4px;
9
- -khtml-border-radius: 4px;
10
- -webkit-border-radius: 4px;
11
- border-radius: 4px;
12
- clear: both;
13
- color: #fff !important;
14
- float: right;
15
- font-size: 14px;
16
- /*margin: 10px 0;*/
17
- padding: 10px 20px 10px 20px;
18
- border: none;
19
- cursor: pointer;
20
  }
21
  .wpallexport-plugin .custom_xml_upgrade_notice,
22
  .wpallexport-plugin .disabled_fields_upgrade_notice{
23
- display: none;
24
  }
25
  .wpallexport-plugin .wp_all_export_disabled_button{
26
- background: #e4e6e6 !important;
27
- color: #777 !important;
28
- cursor: default !important;
29
  }
30
  .wpallexport-plugin .wp_all_export_custom_xml_help,
31
  .wpallexport-plugin .wp_all_export_scheduling_help
@@ -66,100 +66,100 @@
66
 
67
  .wpallexport-plugin .code-block {
68
  border-radius: 2px 2px 2px 2px;
69
- -moz-border-radius: 2px 2px 2px 2px;
70
- -webkit-border-radius: 2px 2px 2px 2px;
71
- border: 0px solid #000000;
72
- background-color: #F1F1F1;
73
- padding-top: 10px;
74
- padding-bottom: 10px;
75
  }
76
 
77
  .wpallexport-plugin .wp_all_export_code{
78
  font-family: monospace;
79
  font-size: 12px;
80
  }
81
- .wpallexport-plugin .wp_all_export_code .wp_all_export_code_comment{
82
- color:#a50;
83
- }
84
- .wpallexport-plugin .wp_all_export_code .wp_all_export_code_tag{
85
- color:#170;
86
- }
87
- .wpallexport-plugin .wp_all_export_code p.wp_all_export_code_comment,
88
- .wpallexport-plugin .wp_all_export_code p.wp_all_export_code_tag{
89
- margin: 0;
90
- }
91
- .wpallexport-plugin .wp_all_export_code .wp_all_export_code_tag.lv1,
92
- .wpallexport-plugin .wp_all_export_code .wp_all_export_code_comment.lv1{
93
- padding-left: 15px;
94
- }
95
- .wpallexport-plugin .wp_all_export_code .wp_all_export_code_tag.lv2,
96
- .wpallexport-plugin .wp_all_export_code .wp_all_export_code_comment.lv2{
97
- padding-left: 30px;
98
- }
99
- .wpallexport-plugin .wp_all_export_code .wp_all_export_code_tag.lv3,
100
- .wpallexport-plugin .wp_all_export_code .wp_all_export_code_comment.lv3{
101
- padding-left: 45px;
102
- }
103
- .wpallexport-plugin .wp_all_export_code .wp_all_export_code_tag .wp_all_export_code_text{
104
- color:#000;
105
- font-weight: bold;
106
- }
107
- .wpallexport-plugin .wp_all_export_code .wp_all_export_code_text{
108
- color:#000;
109
- font-weight: bold;
110
- }
111
  .wpallexport-plugin .wp_all_export_help_tab{
112
  display: none;
113
  padding-bottom: 15px;
114
  }
115
  .wpallexport-plugin .wp_all_export_auto_generate_data,
116
  .wpallexport-plugin .wp_all_export_clear_all_data{
117
- clear: none;
118
- margin-left: 20px;
119
- float: left;
120
  }
121
  .wpallexport-plugin fieldset.column{
122
- display: none;
123
  }
124
  .wpallexport-plugin fieldset.optionsset .template{
125
- display: none;
126
  }
127
  .wpallexport-plugin .custom_column, .wpallexport-plugin .default_column{
128
- background: none repeat scroll 0 0 #FFFFFF;
129
- border: 1px solid #CCCCCC;
130
- cursor: move;
131
- /*float: left;*/
132
- margin: 0 5px 5px 5px;
133
- padding: 10px;
134
- position: relative;
135
  }
136
 
137
  .wpallexport-plugin .custom_column label {
138
- cursor: move;
139
  }
140
 
141
  .wpallexport-plugin #wp_all_export_auto_generate_data{
142
- background: #38a659 none repeat scroll 0 0;
143
- color: #fff;
144
- display: block;
145
- margin: 10px 5px;
146
- padding: 10px;
147
- text-align: center;
148
- text-decoration: none;
149
  }
150
  .wpallexport-plugin .wpallexport-free-edition-notice{
151
- display: block;
152
- margin: 5px;
153
- padding: 20px;
154
- text-align: center;
155
- background-color: #FFB8B8;
156
- border: 1px solid #FF8383;
157
- color: #000;
158
  }
159
  .wpallexport-plugin .wpallexport-free-edition-notice p{
160
- color: #000 !important;
161
- font-size: 1.3em !important;
162
- margin-bottom: 0;
163
  }
164
 
165
  .wpallexport-plugin .wpallexport-free-edition-notice.wpallexport-user-export-notice p,
@@ -172,15 +172,15 @@
172
  .wpallexport-plugin .wpallexport-free-edition-notice.wpallexport-product-export-notice p
173
 
174
  {
175
- margin-bottom: 1em;
176
- margin-top: 0;
177
  }
178
 
179
 
180
  .wpallexport-plugin .upgrade_link{
181
- color: #000 !important;
182
- font-size: 1.3em;
183
- text-decoration: underline !important;
184
  }
185
  .wpallexport-plugin .wpallexport-user-export-notice,
186
  .wpallexport-plugin .wpallexport-shop_customer-export-notice,
@@ -192,356 +192,361 @@
192
  .wpallexport-plugin .wpallexport-taxonomies-export-notice,
193
  .wpallexport-plugin .wpallexport-product-export-notice,
194
  .wpallexport-plugin .wpallexport-custom-product-export-notice{
195
- padding: 20px;
196
- display: none;
197
- width: 558px;
198
- margin: 0 auto;
199
  }
200
  .wpallexport-plugin li.wpallexport_disabled div{
201
- background: #dfdfdf;
202
  }
203
  .wpallexport-plugin .custom_column.active, .wpallexport-plugin .default_column.active{
204
- background: #ccc;
205
  }
206
  .wpallexport-plugin fieldset.column .error{
207
- background: pink;
208
- }
209
- .wpallexport-plugin #columns_to_export {
210
- list-style-type: none;
211
- margin: 0;
212
- padding: 0;
213
- /*height: 250px; */
214
- /*width: 450px; */
215
- }
216
- .wpallexport-plugin #columns_to_export li {
217
- margin: 5px 3px 3px 0;
218
- padding: 1px;
219
- float: left;
220
- min-width: 115px;
221
- /*height: 90px; */
222
- text-align: center;
223
  }
224
  .wpallexport-plugin .wpallexport-edit-row-title{
225
- display: none;
226
  }
227
  .wpallexport-plugin .wpallexport-xml-element{
228
- color: green;
229
  }
230
- .wpallexport-plugin .columns-to-export-content ol,
231
  .wpallexport-plugin .pmxe-state-hover,
232
- .wpallexport-plugin .pmxe-state-default{
233
- width: 100%;
234
- height: 235px;
235
- border: 4px dashed #bbb;
236
- margin-left: 0;
237
- overflow: auto;
238
  }
239
  .wpallexport-plugin .CodeMirror-line.pmxe-state-hover,
240
- .wpallexport-plugin .CodeMirror-line.pmxe-state-default{
241
- width: 100%;
242
- height: 18px;
243
- margin-left: 0;
244
- overflow: auto;
245
- max-width: 900px;
246
  }
247
  .wpallexport-plugin .av-state-default{
248
- overflow: hidden;
249
- height: 100%;
250
- width: 100%;
251
- border: 4px dashed #bbb;
252
  }
253
  .wpallexport-plugin .columns-to-export-content ol li.placeholder{
254
- font-size: 20px;
255
- line-height: 26px;
256
- margin-bottom: 0;
257
- margin-left: 25% !important;
258
- margin-right: auto;
259
- margin-top: 7% !important;
260
- text-align: center;
261
- width: 450px;
262
  }
263
  .wpallexport-plugin li.ui-draggable{
264
- list-style: none !important;
265
  }
266
  .wpallexport-plugin #available_data{
267
- padding: 0;
268
- background: #fafafa;
269
- border: 1px solid #ddd;
270
- overflow: hidden;
271
- }
272
- .wpallexport-plugin #available_data .title,
273
- .wpallexport-plugin .wp-all-export-edit-column .title,
274
- .wpallexport-plugin .wp-all-export-custom-xml-help .title,
275
- .wpallexport-plugin .wp-all-export-scheduling-help .title
276
- {
277
- font-weight: bold;
278
- padding: 12px 8px;
279
- color: #464646;
280
- background: #fff;
281
- font-size: 12px;
282
- text-align: center;
283
- border-bottom: 1px solid #ddd;
284
- -moz-border-radius-topleft: 4px;
285
- -webkit-border-top-left-radius: 4px;
286
- border-top-left-radius: 4px;
287
- -moz-border-radius-topright: 4px;
288
- -webkit-border-top-right-radius: 4px;
289
- border-top-right-radius: 4px;
290
- }
291
- .wpallexport-plugin .wp-all-export-custom-xml-help,
292
- .wpallexport-plugin .wp-all-export-scheduling-help
293
- {
294
- position: fixed;
295
- top: 8%;
296
- width: 515px;
297
- z-index: 999999;
298
- border: 1px solid #ccc;
299
- display: none;
300
- margin-bottom: 20px;
301
- padding: 0 !important;
302
- }
303
-
304
- .wpallexport-plugin .wp-all-export-edit-column{
305
-
306
- position: fixed;
307
- top: 8%;
308
- width: 850px;
309
- z-index: 999999;
310
- border: 1px solid #ccc;
311
- display: none;
312
- margin-bottom: 20px;
313
- padding: 0 !important;
314
- }
315
- .wpallexport-plugin .wp-all-export-edit-column form,
316
- .wpallexport-plugin .wp-all-export-custom-xml-help form{
317
- /*padding: 10px;*/
318
- background: #fff;
319
- }
320
- .wpallexport-plugin #available_data ul li .pmxe_remove_column{
321
- display: none;
322
- }
323
 
324
  .wpallexport-plugin span.wpai-license-text {
325
- margin-left: 8px;
326
  }
327
 
328
  .wpallexport-plugin .wpai-license,
329
  .wpallexport-plugin .wpai-no-license {
330
- display: flex;
331
  }
332
 
333
  .wpallexport-plugin .wpae-available-fields-group{
334
- background: none repeat scroll 0 0 white;
335
- border: 1px dotted #ccc;
336
- font-weight: bold;
337
- margin: 5px;
338
- padding: 10px;
339
- cursor: pointer;
340
  }
341
  .wpallexport-plugin .wp-all-export-warning,
342
  .wpallexport-plugin .wp-all-export-product-bundle-warning,
343
  .wpallexport-plugin .wp-all-export-sku-warning,
344
  .wpallexport-plugin .wp-all-export-advanced-query-warning,
345
  .wpallexport-plugin .wp-all-export-product-type-warning{
346
- position: relative;
347
- clear: both;
348
- background: none repeat scroll 0 0 #fff;
349
- border-left: 4px solid #ffa500;
350
- box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.1);
351
- margin: 0;
352
- padding: 1px 12px;
353
  }
354
  .wpallexport-plugin .wp-all-export-product-bundle-warning,
355
  .wpallexport-plugin .wp-all-export-warning{
356
- margin-top: 20px;
357
  }
358
  .wpallexport-plugin .wp-all-export-warning .notice-dismiss{
359
- margin-top: 5px;
360
  }
361
  .wpallexport-plugin .wpallexport-csv-delimiter{
362
- float: right;
363
- position: relative;
364
- right: 30px;
365
- top: -16px;
366
  }
367
  .wpallexport-plugin .wpallexport-csv-delimiter input[type="text"]{
368
- vertical-align:middle;
369
- font-size:11px;
370
- background:#fff !important;
371
- width: 40px !important;
372
- text-align: center;
373
  }
374
  .wpallexport-plugin .wp-all-export-warning h3,
375
  .wpallexport-plugin .wp-all-export-sku-warning h3,
376
  .wpallexport-plugin .wp-all-export-advanced-query-warning h3,
377
  .wpallexport-plugin .wp-all-export-product-type-warning h3{
378
- font-size: 14px;
379
  }
380
  .wpallexport-plugin .wpae-available-fields-group .wpae-expander{
381
- float: right;
382
  }
383
  .wpallexport-plugin .wpae-taxonomy-fields,
384
  .wpallexport-plugin .wpae-custom-field,
385
  .wpallexport-plugin .wpae-other-fields{
386
- display: none;
387
  }
388
 
389
  .wpae-custom-field .wpallexport-free-edition-notice {
390
- margin-left: 20px;
391
  }
392
 
393
  .wpallexport-plugin .pmxe_remove_column{
394
- color: red;
395
- cursor: pointer;
396
- font-weight: bold;
397
- position: absolute;
398
- right: -4px;
399
- text-decoration: none;
400
- top: -8px;
401
  }
402
  .wpallexport-plugin .pmxe_field_type{
403
- /*width: 240px;*/
404
- /*height: 30px;*/
405
  }
406
  .wpallexport-plugin .pmxe_preview{
407
- width: 100%;
408
  }
409
  .wpallexport-plugin .pmxe_preview tr td{
410
- border: 1px solid #ccc;
411
- padding: 3px;
412
- vertical-align: top;
413
  }
414
  .wpallexport-plugin .pmxe_date_format_wrapper{
415
- display: none;
416
  }
417
  .wpallexport-plugin span.auto-generate-template{
418
- color: #888;
419
- display: block;
420
- font-size: 12px;
421
- /*margin-right: 190px;*/
422
- opacity: 0.7;
423
  }
424
  .wpallexport-plugin .wpallexport-filtering-wrapper{
425
- overflow: hidden;
426
- background: #fff none repeat scroll 0 0;
427
- border-color: #ddd;
428
- border-style: solid;
429
- border-width: 1px;
430
- padding: 0 20px 0;
431
- margin-top: 20px;
432
- display: none;
433
  }
434
  .wpallexport-plugin .last_condition{
435
- display: none !important;
436
  }
437
 
438
  .wpallexport-plugin #date_field_notice{
439
- display: none;
440
  }
441
  .wpallexport-plugin .wp_all_export_btn_with_note{
442
- display: inline-block;
443
  }
444
 
445
- .wpallexport-plugin .wpallexport-import-to-format{
446
- background: #f6f5f1 none repeat scroll 0 0;
447
- border: 1px solid #cfceca;
448
- color: #888 !important;
449
- display: inline-block;
450
- font-size: 18px;
451
- height: 50px;
452
- line-height: 10px;
453
- padding-top: 25px;
454
- text-align: center;
455
- text-decoration: none;
456
- max-width: 295px;
457
- width:40%;
458
- margin-right: 10px;
459
- position: relative;
460
-
461
- }
462
- .wpallexport-plugin .wpallexport-import-to-format.selected{
463
- background: #38a659 none repeat scroll 0 0;
464
- border: 1px solid #3da55c;
465
- color: #fff !important;
466
- }
467
-
468
- .wpallexport-plugin .wpallexport-import-to-format span.wpallexport-import-to-arrow{
469
- display: none;
470
- }
471
- .wpallexport-plugin .wpallexport-import-to-format.selected span.wpallexport-import-to-arrow{
472
- background: url('../img/bottom_arrow.png') no-repeat;
473
- position: absolute;
474
- bottom: -12px;
475
- left: 48%;
476
- display: block;
477
- height: 14px;
478
- width: 24px;
479
- }
480
-
481
-
482
- .wpallexport-plugin .wpallexport-import-to-format.wpallexport-csv-type span.wpallexport-import-to-title:before{
483
- color: #888;
484
- content: "\f495";
485
- font-family: "dashicons";
486
- font-size: 30px;
487
- padding-right: 5px;
488
- position: relative;
489
- top: 7px;
490
- }
491
- .wpallexport-plugin .wpallexport-import-to-format.wpallexport-xml-type span.wpallexport-import-to-title:before{
492
- color: #888;
493
- content: "\f499";
494
- font-family: "dashicons";
495
- font-size: 30px;
496
- padding-right: 5px;
497
- position: relative;
498
- top: 7px;
499
- }
500
- .wpallexport-plugin .wpallexport-import-to-format.wpallexport-csv-type.selected span.wpallexport-import-to-title:before,
501
- .wpallexport-plugin .wpallexport-import-to-format.wpallexport-xml-type.selected span.wpallexport-import-to-title:before{
502
- color: #a3ddb4;
503
- }
504
 
505
  .wpallexport-plugin .wpallexport-all-options .wpallexport-file-format-options{
506
- margin: 10px auto;
507
- text-align: center;
 
 
 
 
 
 
 
508
  }
509
- .wpallexport-plugin .wpallexport-all-options .wpallexport-file-format-options .wpallexport-csv-options,
510
- .wpallexport-plugin .wpallexport-all-options .wpallexport-file-format-options .wpallexport-xml-options{
511
- margin: 0 auto;
512
- min-height: 30px;
513
- width: 83%;
514
- max-width:605px;
515
- }
516
 
517
  .wpallexport-plugin #available_data div.wpae-custom-field{
518
- overflow: auto;
519
- height: auto;
520
- /*max-height: 500px; */
521
  }
522
 
523
  .wp-all-export-custom-xml-drag-over{
524
- border: none !important;
525
- margin: 0;
526
- padding: 0;
527
- width: auto !important;
528
- min-width: 350px;
529
- text-align: left;
530
- background: none !important;
531
  }
532
 
533
  .wp-all-export-custom-xml-drag-over .wpallexport-xml-element span{
534
- color: #000;
535
- font-weight: bold;
536
  }
537
  .wpallexport-plugin .taxonomy_to_export_wrapper{
538
- display: none;
539
  }
 
 
 
 
 
540
  .wpallexport-plugin .wp-all-export-advanced-field-options-content{
541
- padding: 14px 0;
542
  }
543
  .wpallexport-plugin .wp-all-export-additional-csv-options{
544
- margin-left: 20px;
545
  }
546
  /*--------------------------------------------------------------------------
547
  *
@@ -550,141 +555,141 @@
550
  *-------------------------------------------------------------------------*/
551
 
552
  .wpallexport-plugin hr {
553
- height: 1px;
554
- border-width: 0px;
555
- color: #ddd;
556
- background-color: #ddd;
557
- margin-bottom: 15px;
558
  }
559
- .wpallexport-plugin a:focus,
560
  .wpallexport-plugin input:focus{ box-shadow: none; }
561
 
562
  .wpallexport-plugin a.wpallexport-help {
563
- overflow: hidden;
564
- text-indent: -99999px;
565
- display: inline-block;
566
- width: 16px;
567
- height: 16px;
568
- background-repeat: no-repeat;
569
- background-image: url("../img/help.png");
570
- vertical-align: middle;
571
- margin-left: 5px;
572
- position: relative;
573
- top: 4px;
574
- background-size: cover;
575
  }
576
  .wpallexport-plugin input.datepicker {
577
- width: 8em;
578
  }
579
  .wpallexport-plugin button.ui-datepicker-trigger {
580
- background-image: url("../img/date-picker.gif");
581
- background-repeat: no-repeat;
582
- cursor: pointer;
583
- border: none;
584
- margin: 1px;
585
- width: 21px;
586
- height: 18px;
587
- vertical-align: middle;
588
  }
589
  .wpallexport-plugin .progress-msg {
590
- font-style: italic;
591
- display: none;
592
  }
593
  .wpallexport-plugin .loading {
594
- cursor: progress;
595
- background-repeat: no-repeat;
596
- background-position: center;
597
  }
598
  .wpallexport-plugin .preload {
599
- background-repeat: no-repeat;
600
- background-position: 50% 10px;
601
- min-height: 35px;
602
  }
603
  .wpallexport-plugin .wpallexport-preview-preload {
604
- background-repeat: no-repeat;
605
- background-position: 50% 20px;
606
- height: 80px;
607
  }
608
  .wpallexport-plugin .back{
609
- background: url("../img/back.png") no-repeat scroll 8% 50% #e4e6e6;
610
- color: #777;
611
- display: inline-block;
612
- font-size: 14px;
613
- font-weight: bold;
614
- height: 46px;
615
- line-height: 46px;
616
- padding: 0 30px 0 40px;
617
- position: relative;
618
- text-decoration: none;
619
  }
620
  .wpallexport-plugin .wpallexport-large-button{
621
- box-shadow: none !important;
622
- vertical-align:bottom !important;
623
- height: 40px;
624
- line-height: 39px;
625
- /*margin-left: 10px;*/
626
- background: url('../img/continue.png') no-repeat 93% 50% #425f9a;
627
- border: none;
628
  }
629
  .wpallexport-plugin .wpallexport-large-button:hover,
630
  .wpallexport-plugin .wpallexport-large-button:active,
631
  .wpallexport-plugin .wpallexport-large-button:focus{
632
- background: url('../img/continue.png') no-repeat 93% 50% #425f9a;
633
- border: none;
634
- box-shadow: none;
635
  }
636
 
637
  /*@+ header */
638
  .wpallexport-plugin .wpallexport-logo{
639
- background: url(../img/logo.svg) no-repeat;
640
- background-size: 55px 55px;
641
- width: 55px;
642
- height: 55px;
643
- margin-top: 8px;
644
- margin-bottom: 8px;
645
- float: left;
646
- margin-right: 8px;
647
  }
648
  .wpallexport-plugin .wpallexport-title{
649
- float: left;
650
- }
651
- .wpallexport-plugin .wpallexport-title p{
652
- font-size: 18px !important;
653
- line-height: 16px;
654
- color: #777;
655
- margin-top: 0;
656
- margin-bottom: 0;
657
- }
658
- .wpallexport-plugin .wpallexport-title h2,
659
- .wpallexport-plugin .wpallexport-title h3{
660
- font-size: 33px;
661
- color: #425f9a;
662
- font-weight: bold;
663
- padding-top: 5px;
664
- padding-right: 0;
665
- margin-left: 2px;
666
- }
667
- .wpallexport-plugin .wpallexport-title h2,
668
- .wpallexport-plugin .wpallexport-title h3{
669
- margin: 8px 0 !important;
670
- }
671
  .wpallexport-plugin .wpallexport-title > h2:before,
672
  .wpallexport-plugin .wpallexport-title > h3:before {
673
- content: '';
674
- background: url(../img/wpallexport.svg) no-repeat;
675
- background-size: 134px 14px;
676
- width: 134px;
677
- height: 25px;
678
- display: block;
679
  }
680
  .wpallexport-plugin .wpallexport-links{
681
- float: right;
682
- margin-right: 3px;
683
- margin-top: 33px;
684
  }
685
  .wpallexport-plugin .wpallexport-links a{
686
- font-size: 12px;
687
- text-decoration: none;
688
  }
689
  /*.wpallexport-plugin .wpallexport-support{
690
  color: #777;
@@ -705,391 +710,391 @@
705
  padding-left: 38px;
706
  font-size: 14px;
707
  }*/
708
- .wpallexport-plugin .pmxi_progress{
709
- border-bottom: 1px solid #ddd;
710
- -moz-border-radius-topleft: 4px;
711
- -webkit-border-top-left-radius: 4px;
712
- border-top-left-radius: 4px;
713
- -moz-border-radius-topright: 4px;
714
- -webkit-border-top-right-radius: 4px;
715
- border-top-right-radius: 4px;
716
- height: 76px;
717
  }
718
  .wpallexport-plugin .wpallexport-step-1 .pmxi_progress{
719
- background: url("../img/ui_4.0/step_1_bar.png") no-repeat scroll center center / contain #f1f2f2;
720
  }
721
  .wpallexport-plugin .wpallexport-step-2 .pmxi_progress{
722
- background: url("../img/ui_4.0/step_2_bar.png") no-repeat scroll center center / contain #f1f2f2;
723
  }
724
  .wpallexport-plugin .wpallexport-step-3 .pmxi_progress{
725
- background: url("../img/ui_4.0/step_3_bar.png") no-repeat scroll center center / contain #f1f2f2;
726
  }
727
  .wpallexport-plugin .wpallexport-step-4 .pmxi_progress{
728
- background: url("../img/ui_4.0/step_4_bar.png") no-repeat scroll center center / contain #f1f2f2;
729
  }
730
  .wpallexport-plugin .wpallexport-step-5 .pmxi_progress{
731
- background: url("../img/ui_4.0/step_5_bar.png") no-repeat scroll center center / contain #f1f2f2;
732
  }
733
  .wpallexport-plugin .wpallexport-step-6 .pmxi_progress{
734
- background: url("../img/ui_4.0/step_6_bar.png") no-repeat scroll center center / contain #f1f2f2;
735
  }
736
 
737
  .wpallexport-plugin .wpallexport-file-upload-result{
738
- padding: 35px;
739
  }
740
- .wpallexport-plugin .wpallexport-step-2 .wpallexport-file-upload-result,
741
- .wpallexport-plugin .wpallexport-step-3 .wpallexport-file-upload-result,
742
- .wpallexport-plugin .wpallexport-step-4 .wpallexport-file-upload-result,
743
  .wpallexport-plugin .wpallexport-step-5 .wpallexport-file-upload-result,
744
  .wpallexport-plugin .wpallexport-step-6 .wpallexport-file-upload-result {
745
- display: block;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
746
  }
747
- .wpallexport-plugin .wpallexport-file-upload-result h2{
748
- float: left;
749
- padding: 0;
750
- margin-top: 7px !important;
751
- height: 31px;
752
- }
753
- .wpallexport-plugin .wpallexport-file-upload-result[rel=upload_type] h2{
754
- background: url('../img/ui_4.0/cloud.png') no-repeat;
755
- padding-left: 45px !important;
756
- }
757
- .wpallexport-plugin .wpallexport-file-upload-result[rel=url_type] h2{
758
- background: url('../img/ui_4.0/cloud_url.png') no-repeat;
759
- padding-left: 45px !important;
760
- font-size: 14px;
761
- line-height: 35px;
762
- height: 35px;
763
- }
764
- .wpallexport-plugin .wpallexport-file-upload-result[rel=file_type] h2{
765
- background: url('../img/ui_4.0/use_existing_green.png') no-repeat;
766
- padding-left: 45px !important;
767
- height: 35px;
768
- }
769
- .wpallexport-plugin .wpallexport-file-upload-result h2 .wpallexport-uploaded-file-size{
770
- color: #777;
771
- }
772
- .wpallexport-plugin .wpallexport-file-upload-result a{
773
- text-decoration: none;
774
- font-size: 18px;
775
- margin-top: 12px;
776
- float: right;
777
- margin-left: 20px;
778
- padding-left: 25px;
779
- }
780
- .wpallexport-plugin .wpallexport-file-upload-result a:last-child{
781
- margin-left: 0 !important;
782
- }
783
  .wpallexport-plugin .wpallexport-download-from-url{
784
- background: none repeat scroll 0 0 #46ba69;
785
- color: #fff;
786
- display: inline-block;
787
- font-size: 14px;
788
- height: 19px;
789
- padding: 15px;
790
- position: relative;
791
- text-decoration: none;
792
- vertical-align: bottom;
793
  }
794
  .wpallexport-plugin .wpallexport-file-upload-result .wpallexport-change-uploaded-file{
795
- color:#40acad;
796
- }
797
- .wpallexport-plugin .wpallexport-file-upload-result .wpallexport-change-uploaded-file:before{
798
- color: #ddd;
799
- content: "\f463";
800
- float: left;
801
- font-family: "dashicons";
802
- font-size: 30px;
803
- padding-right: 5px;
804
- }
805
  .wpallexport-plugin .wpallexport-file-upload-result .wpallexport-remove-uploaded-file{
806
- color:#dd4a58;
807
- }
808
- .wpallexport-plugin .wpallexport-file-upload-result .wpallexport-remove-uploaded-file:before{
809
- color: #ddd;
810
- content: "\f335";
811
- display: inline-block;
812
- float: left;
813
- font-family: "dashicons";
814
- font-size: 32px;
815
- }
816
  /*@+*/
817
 
818
- .wpallexport-plugin .wpallexport-collapsed .wpallexport-collapsed-header{
819
- background: url('../img/collapser.png') no-repeat 98% 0;
820
- height: 30px;
821
- padding-left: 30px;
822
- cursor: pointer;
823
- }
824
- .wpallexport-plugin .wpallexport-collapsed .wpallexport-collapsed-header h3{
825
- font-size: 17px;
826
- line-height: 30px;
827
- color:#425e99;
828
- -webkit-touch-callout: none;
829
- -webkit-user-select: none;
830
- -khtml-user-select: none;
831
- -moz-user-select: none;
832
- -ms-user-select: none;
833
- user-select: none;
834
- }
835
  .wpallexport-plugin .wpallexport-collapsed.closed .wpallexport-collapsed-header{
836
- background: url('../img/collapser.png') no-repeat 98% -30px;
 
 
 
837
  }
838
- .wpallexport-plugin .wpallexport-collapsed.closed .wpallexport-collapsed-header h3{
839
- color:#777;
840
- }
841
  .wpallexport-plugin .wpallexport-collapsed .wpallexport-collapsed-content{
842
- display: none;
843
- padding: 15px 25px 25px 25px;
844
- position: relative;
845
  }
846
  .wpallexport-plugin .wpallexport-collapsed-content-inner{
847
- padding: 15px 25px 25px 25px;
848
  }
849
 
850
  .wpallexport-plugin .step_description{
851
- text-align: center;
852
- overflow: hidden;
853
- position: relative;
854
- /*width: 1200px;*/
855
- }
856
- .wpallexport-plugin .step_description h2{
857
- color: #425f9a;
858
- font-size: 23px;
859
- font-weight: normal;
860
- }
861
- .wpallexport-plugin .step_description h3{
862
- color: #777;
863
- }
864
 
865
  .wpallexport-plugin div.input > label{
866
- color: #000;
867
  }
868
  .wpallexport-plugin div.input.pmxi_checked > label{
869
- color: #000;
870
  }
871
 
872
  .wpallexport-plugin .ajax-console div.updated{
873
- background: none;
874
- border: none;
875
- box-shadow: none;
876
  }
877
 
878
  a.wpallexport-import-to-format span.wpallexport-import-to-title {
879
- font-size: 18px;
880
  }
881
 
882
- .wpallexport-plugin .wpallexport-collapsed-content a,
883
  .wpallexport-plugin .wp-pointer-content a,
884
- .wpallexport-plugin .wpallexport-pointer-content a,
885
  .wpallexport-plugin .wpallexport-collapsed-content h4{
886
- font-size: 14px;
887
- margin-bottom: 5px;
888
- color: #40acad;
889
- text-decoration: none;
890
  }
891
  .wpallexport-plugin div.error,
892
  .wpallexport-plugin div.updated {
893
- margin-top: 15px;
894
  }
895
  .wpallexport-plugin div.error.license-status,
896
  .wpallexport-plugin div.updated.license-status {
897
- margin: 0 0 0 2px;
898
- display: inline-block;
899
- text-transform: capitalize;
900
- padding: 2px 10px;
901
- height: 18px;
902
- vertical-align: 1px;
903
- line-height: 17px;
904
  }
905
  .wpallexport-plugin .wp-pointer-content ul,
906
  .wpallexport-plugin .wpallexport-pointer-content ul{
907
- list-style: disc inside none;
908
- margin: 20px;
909
  }
910
 
911
  .wpallexport-plugin a.add-new {
912
- font-size: 18px;
913
- background-color: #eee;
914
- cursor: pointer;
915
- padding: 6px 10px 6px 10px;
916
- line-height: normal;
917
- font-style: normal;
918
- color: #464646;
919
- border-color: #bbb;
920
- -moz-border-radius: 4px 4px 4px 4px;
921
- border-radius: 4px;
922
  border-style: solid;
923
- border-width: 1px;
924
- text-decoration: none;
925
  }
926
  .wpallexport-plugin a.add-new:hover {
927
- border-color: #666666;
928
- color: #000;
 
 
 
 
929
  }
930
- .wpallexport-plugin div.input {
931
- /*min-height: 21px;*/
932
- font-size: 12px !important;
933
  }
934
- .wpallexport-plugin div.input > * {
935
- vertical-align: middle;
936
- }
937
  .wpallexport-plugin .wpallexport-template select,
938
  .wpallexport-plugin .options select{
939
- border: 1px solid #ddd;
940
- font-size: 12px;
941
- /*height: 25px;*/
942
- width: auto;
943
- padding: 4px 25px 4px 12px;
944
- color: #000;
945
  }
946
  .wpallexport-plugin .wpallexport-template input[type="text"],
947
  .wpallexport-plugin .options input[type="text"]{
948
- height: auto;
949
- color: #000;
950
- font-size: 14px;
951
  }
952
  .wpallexport-plugin .wpallexport-template .wpallexport-section select,
953
  .wpallexport-plugin .options .wpallexport-section select{
954
- font-size: 16px;
955
- height: 40px;
956
- /*padding: 10px;*/
957
- border: 1px solid #ddd;
958
- border-radius: 4px;
959
- -moz-border-radius: 4px;
960
- -khtml-border-radius: 4px;
961
- -webkit-border-radius: 4px;
962
- color: #777;
963
- font-size: 15px;
964
- width: 100%;
965
- position: relative;
966
- top: 0;
967
- }
968
- .wpallexport-plugin .wpallexport-template .wpallexport-section input[type="text"],
969
  .wpallexport-plugin .options .wpallexport-section input[type="text"],
970
  .wpallexport-plugin .wp-pointer-content input[type="text"]
971
  {
972
- font-size: 14px;
973
- height: 40px;
974
- border: 1px solid #ddd;
975
- border-radius: 4px;
976
- -moz-border-radius: 4px;
977
- -khtml-border-radius: 4px;
978
- -webkit-border-radius: 4px;
979
- color: #000;
980
- font-size: 15px;
981
- position: relative;
982
- top: 0;
983
- }
984
- .wpallexport-plugin .wpallexport-template select[multiple=multiple]{
985
- height: auto !important;
986
- }
987
  .wpallexport-plugin .wpallexport-note {
988
- color: #777;
989
- font-size: 9px;
990
  }
991
  .wpallexport-plugin div.sub {
992
- padding-left: 20px;
993
- font-size: 12px;
994
  }
995
 
996
- .wpallexport-plugin .icon-item,
997
- .wpallexport-plugin .add-new-custom,
998
  .wpallexport-plugin .add-new-key{
999
- display: inline-block;
1000
- width: 16px;
1001
- height: 16px;
1002
- margin: 0px 3px;
1003
  }
1004
  .wpallexport-plugin .add-new-ico,
1005
- .wpallexport-plugin .add-new-cat,
1006
- .wpallexport-plugin .add-new-custom,
1007
- .wpallexport-plugin .add-new-key{
1008
- background: url("../img/ui_4.0/add.png") no-repeat 0px 5px;
1009
- font-size: 12px;
1010
- width:100px;
1011
- height:25px;
1012
- padding-left: 20px;
1013
- color:#21759B;
1014
- /*font-family: "Open Sans",​sans-serif;*/
1015
- padding-top: 2px;
1016
- text-decoration: underline;
1017
- display: block;
1018
- /*margin: 0 auto; */
1019
  }
1020
 
1021
  .wpallexport-plugin .remove-ico{
1022
- background: url("../img/trash.png") no-repeat;
1023
- top: 5px;
1024
- right: 0;
1025
- position: absolute;
1026
- width: 19px;
1027
- height: 22px;
1028
  }
1029
  .wpallexport-plugin #columns .remove-field{
1030
- background: url("../img/remove.png") no-repeat;
1031
- top: -5px;
1032
- right: -11px;
1033
- position: absolute;
1034
- width: 16px;
1035
- height: 16px;
1036
  }
1037
  .wpallexport-plugin .widefat{
1038
- background-color: #fff;
1039
  }
1040
  .wpallexport-plugin .postbox{
1041
- margin: 0;
1042
  }
1043
  .wpallexport-plugin .action.remove{
1044
- display: block;
1045
- position: relative;
1046
- }
1047
- .wpallexport-plugin .action.remove a{
1048
- background: url("../img/trash.png") no-repeat scroll 0 0 transparent;
1049
- height: 22px;
1050
- position: absolute;
1051
- right: 20px;
1052
- top:0;
1053
- width: 19px;
1054
- }
1055
  .wpallexport-plugin .drag-element{
1056
- background: url("../img/drag.png") top right no-repeat;
1057
- cursor: pointer;
1058
- padding-left: 25px;
1059
- background-position: 0px 1px;
1060
  }
1061
  .wpallexport-plugin .sortable li{ position: relative; }
1062
  .wpallexport-plugin ol{ margin-top: 6px; list-style: none; }
1063
  .wpallexport-plugin h2.wpallexport-wp-notices{ margin-top: 0px; padding: 0px; }
1064
  .wpallexport-plugin #footer-upgrade{
1065
- /*float: left !important;*/
1066
  }
1067
  .wpallexport-plugin .wpallexport-overlay, .wpallexport-plugin .wpallexport-super-overlay {
1068
- display:none;
1069
- position:fixed;
1070
- z-index:99999;
1071
- opacity:0.7;
1072
- filter:alpha(opacity=70);
1073
- top:0;
1074
- right:0;
1075
- left:0;
1076
- bottom:0;
1077
- background:#777;
1078
  }
1079
  .wpallexport-plugin .wp-pointer{
1080
- z-index: 999999 !important;
1081
  }
1082
  .wpallexport-plugin .tipsy{
1083
- font-size: 14px !important;
1084
  }
1085
  .wpallexport-plugin .assign_term{
1086
- left: -20px;
1087
- position: absolute;
1088
- top: 15px;
1089
  }
1090
  .wpallexport-plugin .CodeMirror {
1091
- border: 1px solid #c7c7c7;
1092
- margin-top: 10px;
1093
  }
1094
  /*--------------------------------------------------------------------------
1095
  *
@@ -1098,75 +1103,75 @@ a.wpallexport-import-to-format span.wpallexport-import-to-title {
1098
  *-------------------------------------------------------------------------*/
1099
 
1100
  .wpallexport-plugin .rad0{
1101
- border-radius: 0px !important;
1102
- -moz-border-radius: 0px !important;
1103
- -khtml-border-radius: 0px !important;
1104
- -webkit-border-radius: 0px !important;
1105
  }
1106
  .wpallexport-plugin .rad3{
1107
- border-radius: 3px;
1108
- -moz-border-radius: 3px;
1109
- -khtml-border-radius: 3px;
1110
- -webkit-border-radius: 3px;
1111
  }
1112
  .wpallexport-plugin .rad4{
1113
- border-radius: 4px;
1114
- -moz-border-radius: 4px;
1115
- -khtml-border-radius: 4px;
1116
- -webkit-border-radius: 4px;
1117
  }
1118
  .wpallexport-plugin .rad5{
1119
- border-radius: 5px;
1120
- -moz-border-radius: 5px;
1121
- -khtml-border-radius: 5px;
1122
- -webkit-border-radius: 5px;
1123
  }
1124
  .wpallexport-plugin .rad10{
1125
- border-radius: 10px;
1126
- -moz-border-radius: 10px;
1127
- -khtml-border-radius: 10px;
1128
- -webkit-border-radius: 10px;
1129
  }
1130
  .wpallexport-plugin .rad14{
1131
- border-radius: 14px;
1132
- -moz-border-radius: 14px;
1133
- -khtml-border-radius: 14px;
1134
- -webkit-border-radius: 14px;
1135
  }
1136
- .wpallexport-plugin .pl17{ padding-left: 17px; }
1137
  .wpallexport-plugin .no-margin{ margin: 0px; }
1138
  .wpallexport-plugin .hidden{ display: none; }
1139
  .wpallexport-plugin .fs11 { font-size: 11px; }
1140
  .wpallexport-plugin .rel { position: relative; }
1141
  .wpallexport-plugin .txt_center{ text-align: center; }
1142
  .wpallexport-plugin .wpallexport-clear{
1143
- display: block;
1144
- clear: both;
1145
  }
1146
  .wpallexport-plugin .ui-autocomplete{
1147
- max-height: 450px;
1148
- overflow: auto;
1149
- z-index: 999999;
1150
  }
1151
  .wpallexport-plugin .wp-all-export-edit-column-buttons{
1152
- background: none repeat scroll 0 0 #f7f8f8;
1153
- border-top: 1px solid #ebebeb;
1154
- padding: 15px;
1155
- position: relative;
1156
- height: 38px;
1157
  }
1158
  .wpallexport-plugin .wp-all-export-field-options{
1159
- padding: 10px;
1160
- overflow-y: auto;
1161
- min-height: 240px;
1162
  }
1163
  .wpallexport-plugin .wp-all-export-field-options .chosen-container .chosen-results{
1164
- max-height: 140px;
1165
  }
1166
  .wpallexport-plugin .wp-all-export-advanced-field-options{
1167
- display: block;
1168
- padding: 10px 0;
1169
- width: 100px;
1170
  }
1171
  /*.wpallexport-plugin .wp-all-export-advanced-field-options-content{
1172
  display: none;
@@ -1179,116 +1184,116 @@ a.wpallexport-import-to-format span.wpallexport-import-to-title {
1179
 
1180
  /*@+ fixes */
1181
  .wpallexport-plugin input[type="file"] {
1182
- padding: 0; /* FIX height or <input type="file" /> for Safari & Chrome */
1183
  }
1184
  .wpallexport-plugin .ui-widget-overlay {
1185
- position: fixed !important; /* FIX: modal dialog overlay in IE 8 */
1186
- background-color: #777 !important; /* FIX: overlay color */
1187
  }
1188
  .wpallexport-plugin .ui-dialog {
1189
- position: absolute !important; /* FIX: for wordpress 3.1 not to add empty space */
1190
- z-index: 999999;
1191
  }
1192
  /*@*/
1193
 
1194
  /*@+ other stuff */
1195
  .wpallexport-plugin fieldset{
1196
- padding: 20px;
1197
- width:auto;
1198
  }
1199
  .wpallexport-plugin .right fieldset{
1200
- padding: 15px;
1201
  }
1202
  .wpallexport-plugin .right fieldset input{
1203
- max-width:none;
1204
- padding:6px;
1205
- margin:0px
1206
  }
1207
  .wpallexport-plugin .right a{
1208
- text-decoration: underline;
1209
  }
1210
  .wpallexport-plugin fieldset legend{
1211
- padding: 0px 5px;
1212
- font-weight: bold;
1213
  }
1214
  .wpallexport-plugin .options fieldset legend{
1215
- font-size: 1.17em;
1216
  }
1217
  .wpallexport-plugin .matches_count{
1218
- font-weight: bold;
1219
- color:#33AA28;
1220
  }
1221
  .wpallexport-plugin input.small{
1222
- width:50px !important;
1223
- /*height: 30px !important;*/
1224
- text-align: center;
1225
  }
1226
  .wpallexport-plugin .ui-state-default a{
1227
- font-size: 13px !important;
1228
  }
1229
  .wpallexport-plugin #wp-content-media-buttons{
1230
- display: none;
1231
  }
1232
  .wpallexport-plugin .ui-tabs-hide{
1233
- display: none !important;
1234
  }
1235
  .wpallexport-plugin .button-primary:hover{
1236
- font-weight: normal;
1237
  }
1238
  .wpallexport-plugin .hndle{
1239
- padding: 7px;
1240
- margin-bottom: 0px;
1241
- cursor: default !important;
1242
  }
1243
  .wpallexport-plugin .inside{
1244
- margin: 0;
1245
- line-height: 20px;
1246
  }
1247
  .wpallexport-plugin .inside input[type="text"]{
1248
- background: #fff;
1249
  }
1250
  /*@*/
1251
  .wpallexport-plugin .wpallexport-created-by{
1252
- color: #888;
1253
- display: block;
1254
- line-height: 31px;
1255
- margin: 0 auto;
1256
- opacity: 0.7;
1257
- overflow: hidden;
1258
- text-decoration: none;
1259
- vertical-align: inherit;
1260
- width: 139px;
1261
- margin-top: 20px;
1262
- font-size: 12px;
1263
  }
1264
  .wpallexport-plugin .wpallexport-created-by span{
1265
- background: url('../img/soflyy-logo.svg') no-repeat;
1266
- display: block;
1267
- float: right;
1268
- width: 72px;
1269
- height: 32px;
1270
  }
1271
  .wpallexport-plugin .wpallexport-created-by:hover{
1272
- opacity: 1.0;
1273
  }
1274
  .wpallexport-plugin .wpallexport-preload-image{
1275
- display: none;
1276
  }
1277
  .wpallexport-plugin .wpallexport-cdata{
1278
- color: green;
1279
- font-weight: bold;
1280
- display: block;
1281
- clear: both;
1282
  }
1283
  .wpallexport-plugin .wpallexport-expired{
1284
- font-weight: bold;
1285
- font-size: 14px;
1286
  }
1287
  .wpallexport-plugin .wp_all_export_sub_input{
1288
- vertical-align:middle;
1289
- font-size: 11px !important;
1290
- background:#fff !important;
1291
- text-align:center;
1292
  }
1293
  /*--------------------------------------------------------------------------
1294
  *
@@ -1298,382 +1303,401 @@ a.wpallexport-import-to-format span.wpallexport-import-to-title {
1298
 
1299
  /* 2 column wpallexport-layout */
1300
  .wpallexport-plugin table.wpallexport-layout {
1301
- clear: both;
1302
- border-collapse: collapse;
1303
- min-width: 770px;
1304
  }
1305
 
1306
- .wpallexport-plugin .wpallexport-step-3 table.wpallexport-layout,
1307
  .wpallexport-plugin .wpallexport-step-4 table.wpallexport-layout{
1308
- width: 100%;
1309
  }
1310
 
1311
- .wpallexport-plugin table.wpallexport-layout.wpallexport-step-1,
1312
  .wpallexport-plugin .wpallexport-step-2,
1313
  .wpallexport-plugin .wpallexport-step-3,
1314
  .wpallexport-plugin .wpallexport-step-4,
1315
  .wpallexport-plugin .wpallexport-step-5,
1316
  .wpallexport-plugin .wpallexport-step-6{
1317
- margin: 20px 0 0 0px;
1318
- }
1319
- .wpallexport-plugin table.wpallexport-layout td {
1320
- vertical-align: top;
1321
- border: none;
1322
- font-size: 12px !important;
1323
- border: none;
1324
- }
1325
- .wpallexport-plugin table.wpallexport-layout td.left {
1326
- /*min-width: 490px;*/
1327
- width: 61%;
1328
- }
1329
- .wpallexport-plugin table.wpallexport-layout td.right {
1330
- padding: 10px 0 16px 20px;
1331
- width: 22%;
1332
- min-width: 260px;
1333
- position: relative;
1334
- }
1335
- .wpallexport-plugin table.wpallexport-layout td.left > h2:first-child {
1336
- margin-top: -22px;
1337
- padding: 14px 0 3px 0;
1338
- }
1339
- .wpallexport-plugin table.wpallexport-layout td.left hr {
1340
- clear: both;
1341
- }
1342
- .wpallexport-plugin.no-js table.wpallexport-layout td.left > h2:first-child {
1343
- margin-top: 0px;
1344
- }
1345
  .wpallexport-plugin table.wpallexport-layout div.left {
1346
- min-width: 490px;
1347
- width: 70%;
1348
- float: left;
1349
  }
1350
  .wpallexport-plugin table.wpallexport-layout div.right {
1351
- padding: 0px 0 16px 20px;
1352
- width: 25%;
1353
- /*min-width: 260px; */
1354
- position: relative;
1355
- float: right;
1356
  }
1357
  /*@*/
1358
 
1359
  .wpallexport-plugin table.wpallexport-layout.wpallexport-step-1 tr td.left{
1360
- width: 100%;
1361
  }
1362
- .wpallexport-plugin form.options table.wpallexport-layout td.right{
1363
- width: 25%;
1364
  }
1365
 
1366
  .wpallexport-plugin .wpallexport-content-section{
1367
- background: #fff;
1368
- border: 1px solid #ddd;
1369
- border-radius: 4px;
1370
- -moz-border-radius: 4px;
1371
- -khtml-border-radius: 4px;
1372
- -webkit-border-radius: 4px;
1373
- margin-top: 20px;
1374
- margin-bottom: 20px;
1375
- padding-bottom: 15px;
1376
  }
1377
 
1378
  .wpallexport-plugin table.form-table {
1379
- clear: none;
1380
- margin-top: 0px;
1381
  }
1382
  .wpallexport-plugin table.form-table.custom-params {
1383
- max-width: 700px;
1384
- }
1385
- .wpallexport-plugin table.form-table td,
1386
- .wpallexport-plugin table.form-table th {
1387
- vertical-align: top;
1388
- }
1389
- .wpallexport-plugin table.form-table thead td {
1390
- font-weight: bold;
1391
- }
1392
- .wpallexport-plugin table.form-table.custom-params input {
1393
- margin-left: 0;
1394
- }
1395
- .wpallexport-plugin table.form-table tr.template,
1396
- .wpallexport-plugin table.form-table ol li.template,
1397
- .wpallexport-plugin table.form-table ul li.template,
1398
- .wpallexport-plugin table.cf-form-table tr.template,
1399
- .wpallexport-plugin table.tax-form-table tr.template {
1400
- display: none;
1401
- }
1402
-
1403
- .wpallexport-plugin .form-table td{
1404
- padding: 0px;
1405
- line-height: inherit !important;
1406
- }
1407
- .wpallexport-plugin form.settings .form-table td{
1408
- padding: 15px 10px;
1409
- }
1410
- .wpallexport-plugin .form-table td label,
1411
- .wpallexport-plugin .form-table td li,
1412
- .wpallexport-plugin .form-table td p{
1413
- line-height: 1.4em;
1414
- }
1415
- .wpallexport-plugin .form-table td label{
1416
- display: inline-block;
1417
- margin: 0.25em 0 0.5em !important;
1418
- }
1419
-
1420
- .wpallexport-plugin div.input label,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1421
  .wpallexport-plugin .form-field{
1422
- font-size: 12px !important;
1423
  }
1424
  .wpallexport-plugin input[type="radio"]{
1425
- margin-left: 4px;
1426
  }
1427
 
1428
  .wpallexport-plugin .wpallexport-wrapper{
1429
- width: 1200px;
 
 
 
 
1430
  }
1431
 
 
1432
  .wpallexport-plugin form.wpallexport-choose-file .chosen-search input[type="text"] {
1433
- font-size: 15px;
1434
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1435
- background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0xNS44NTMgMTYuNTZjLTEuNjgzIDEuNTE3LTMuOTExIDIuNDQtNi4zNTMgMi40NC01LjI0MyAwLTkuNS00LjI1Ny05LjUtOS41czQuMjU3LTkuNSA5LjUtOS41IDkuNSA0LjI1NyA5LjUgOS41YzAgMi40NDItLjkyMyA0LjY3LTIuNDQgNi4zNTNsNy40NCA3LjQ0LS43MDcuNzA3LTcuNDQtNy40NHptLTYuMzUzLTE1LjU2YzQuNjkxIDAgOC41IDMuODA5IDguNSA4LjVzLTMuODA5IDguNS04LjUgOC41LTguNS0zLjgwOS04LjUtOC41IDMuODA5LTguNSA4LjUtOC41eiIvPjwvc3ZnPg==') no-repeat right 5px top 50%;
1436
- background-size: auto;
1437
- background-size: 12px;
1438
  }
1439
 
1440
  .wpallexport-plugin .chosen-results .group-result,
1441
  .wpallexport-plugin .chosen-results .active-result {
1442
- font-size: 15px;
1443
- line-height: 28px;
1444
  }
1445
 
1446
  .wpallexport-plugin .chosen-results .active-result.highlighted {
1447
- background: #eee;
1448
- color: #555;
1449
  }
1450
 
1451
  /*--------------------------------------------------------------------------
1452
  *
1453
  * Step 1 - choose file
1454
- *
1455
  *-------------------------------------------------------------------------*/
1456
 
1457
  /*@+ Choose File forms */
1458
  .wpallexport-plugin form.wpallexport-choose-file {
1459
- margin-top: 15px;
1460
- position: relative;
1461
- }
1462
- .wpallexport-plugin form.wpallexport-choose-file h3 {
1463
- margin-bottom: 5px;
1464
- }
1465
- .wpallexport-plugin form.wpallexport-choose-file .label {
1466
- font-size: 15px;
1467
- }
1468
- .wpallexport-plugin form.wpallexport-choose-file input[type="text"],
1469
- .wpallexport-plugin form.wpallexport-choose-file input[type="password"] {
1470
- width: 80px;
1471
- font-size: 12px;
1472
- }
1473
- .wpallexport-plugin form.wpallexport-choose-file input.regular-text,
1474
- .wpallexport-plugin form.wpallexport-choose-file select.regular-text {
1475
- width: 100%;
1476
- }
1477
- .wpallexport-plugin #wpcontent form.wpallexport-choose-file select[name="file"],
1478
- .wpallexport-plugin #wpcontent form.wpallexport-choose-file select[name="reimport"] {
1479
- font-size: 12px;
1480
- }
1481
- .wpallexport-plugin form.wpallexport-choose-file input[type="submit"].button {
1482
- /*width: 150px;*/
1483
- }
1484
- .wpallexport-plugin form.wpallexport-choose-file div.input {
1485
- margin-top: 20px;
1486
- }
1487
- .wpallexport-plugin form.wpallexport-choose-file .wpallexport-submit-buttons{
1488
- clear: both;
1489
- text-align: center;
1490
- display: none;
1491
- }
1492
- /*@*/
1493
-
1494
- .wpallexport-plugin #select-files{
1495
- height:35px;
1496
- line-height: 35px;
1497
- font-size: 18px;
1498
- margin-top: 30px;
1499
- display: inline-block;
1500
- position: relative;
1501
- z-index: 0;
1502
- text-decoration: none;
1503
- color: #888;
1504
- background: url('../img/ui_4.0/select_files.png') no-repeat 0 2px;
1505
- padding-left: 45px;
1506
  }
1507
- .wpallexport-plugin .wpallexport-progress{
1508
- position: relative;
1509
- display: none;
1510
- color: #009039;
1511
- font-size: 13px;
1512
- font-weight: bold;
1513
- margin-top: 10px;
1514
- width: 100%;
1515
- text-align: center;
1516
- /*border:1px solid #4297D7;*/
1517
- -moz-border-radius: 8px;
1518
- -khtml-border-radius: 8px;
1519
- -webkit-border-radius: 8px;
1520
- border-radius: 8px;
1521
- }
1522
- .wpallexport-plugin #progressbar{
1523
- border: medium none;
1524
- text-align: center;
1525
- width: 100%;
1526
- font-size: 20px;
1527
- color:#000;
1528
- line-height: 35px;
1529
- margin: 20px 0;
1530
  }
1531
- .wpallexport-plugin #progressbar span{ color:#777; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1532
 
1533
  .wpallexport-plugin #file_name{
1534
- font-size: 16px;
1535
- font-weight: bold;
1536
- margin-left: 10px;
1537
- float: right;
1538
  }
1539
 
1540
 
1541
- .wpallexport-plugin .wpallexport-import-types{
1542
- margin: 37px 0 10px;
1543
- text-align: center;
 
 
 
 
 
 
 
 
1544
  }
1545
- .wpallexport-plugin .wpallexport-import-types h2,
1546
- .wpallexport-plugin .wpallexport-import-types h3,
1547
- .wpallexport-plugin .wpallexport-choose-data-type h3{
1548
- color:#40ad6e;
1549
- font-size: 24px;
1550
- margin-bottom: 25px;
1551
- font-weight: normal;
1552
- }
1553
  .wpallexport-plugin .wpallexport-upload-type-container {
1554
- display: none;
1555
- text-align: center;
1556
- padding: 0 55px;
1557
  }
1558
  .wpallexport-plugin a.wpallexport-import-from{
1559
- color:#888;
1560
- background: #f6f5f1;
1561
- border: 1px solid #ddd;
1562
- border-radius: 4px;
1563
- -moz-border-radius: 4px;
1564
- -khtml-border-radius: 4px;
1565
- -webkit-border-radius: 4px;
1566
- font-size: 20px;
1567
- display: inline-block;
1568
- height: 65px;
1569
- width: 292px;
1570
- text-decoration: none;
1571
- margin: 5px;
1572
- vertical-align: top;
1573
- padding-top: 10px;
1574
- }
1575
- .wpallexport-plugin a.wpallexport-import-from.bind{
1576
- color: #888;
1577
- border-color: #cfceca;
1578
- }
1579
- .wpallexport-plugin a.wpallexport-import-from.selected{
1580
- color:#fff;
1581
- background: #46ba69;
1582
- border: 1px solid #3da55c;
1583
- }
1584
- .wpallexport-plugin a.wpallexport-import-from span{
1585
- display: inline-block;
1586
- position: relative;
1587
- }
1588
- .wpallexport-plugin a.wpallexport-import-from.wpallexport-upload-type{
1589
- padding-top: 15px;
1590
- height: 60px;
1591
- }
1592
- .wpallexport-plugin a.wpallexport-import-from.wpallexport-upload-type span.wpallexport-icon{
1593
- background: url('../img/ui_4.0/upload_sprite.png') 0 -30px no-repeat;
1594
- width: 40px;
1595
- height: 30px;
1596
- top: 6px;
1597
- left: -10px;
1598
- }
1599
- .wpallexport-plugin a.wpallexport-import-from.wpallexport-upload-type.selected span.wpallexport-icon{
1600
- background: url('../img/ui_4.0/upload_sprite.png') 0 0 no-repeat;
1601
- width: 40px;
1602
- height: 30px;
1603
- top: 6px;
1604
- left: -10px;
1605
- }
1606
- .wpallexport-plugin a.wpallexport-import-from.wpallexport-url-type span.wpallexport-icon:before{
1607
- content: "\f109";
1608
- font-family: "dashicons";
1609
- font-size: 33px;
1610
- left: 23%;
1611
- line-height: 10px;
1612
- position: absolute;
1613
- top: 12px;
1614
- }
1615
- .wpallexport-plugin a.wpallexport-import-from.wpallexport-url-type span.wpallexport-icon{
1616
- width: 40px;
1617
- height: 34px;
1618
- top:10px;
1619
- left: -10px;
1620
- }
1621
- .wpallexport-plugin a.wpallexport-import-from.wpallexport-url-type.selected span.wpallexport-icon{
1622
- width: 40px;
1623
- height: 34px;
1624
- top:10px;
1625
- left: -10px;
1626
- }
1627
- .wpallexport-plugin a.wpallexport-import-from.wpallexport-file-type span.wpallexport-icon:before{
1628
- content: "\f107";
1629
- font-family: "dashicons";
1630
- font-size: 33px;
1631
- left: 23%;
1632
- line-height: 10px;
1633
- position: absolute;
1634
- top: 12px;
1635
- }
1636
- .wpallexport-plugin a.wpallexport-import-from.wpallexport-file-type span.wpallexport-icon{
1637
- width: 32px;
1638
- height: 34px;
1639
- top:10px;
1640
- left: -10px;
1641
- }
1642
- .wpallexport-plugin a.wpallexport-import-from.wpallexport-file-type.selected span.wpallexport-icon{
1643
- width: 32px;
1644
- height: 34px;
1645
- top:10px;
1646
- left: -10px;
1647
- }
1648
- .wpallexport-plugin a.wpallexport-import-from.wpallexport-url-type.selected span.wpallexport-icon:before,
1649
- .wpallexport-plugin a.wpallexport-import-from.wpallexport-file-type.selected span.wpallexport-icon:before{
1650
- color: #a3ddb4;
1651
- }
1652
 
1653
  .wpallexport-plugin .wpallexport-upload-resource-step-one,
1654
  .wpallexport-plugin .wpallexport-file-upload-result{
1655
- background: #fff;
1656
- border-top: 1px solid #ddd;
1657
- border-right: 1px solid #ddd;
1658
- border-left: 1px solid #ddd;
1659
- border-bottom: 1px solid #ddd;
1660
- /*margin-bottom: 20px;*/
1661
- padding: 20px;
1662
- padding-top: 0;
1663
  }
1664
  .wpallexport-plugin .wpallexport-choose-post-type{
1665
- background: #fff;
1666
- /*border-bottom: 1px solid #ddd;
1667
- border-right: 1px solid #ddd;
1668
- border-left: 1px solid #ddd;
1669
- padding: 20px;
1670
- padding-top: 0;
1671
- -moz-border-radius-bottomright: 4px;
1672
- -webkit-border-bottom-right-radius: 4px;
1673
- border-bottom-right-radius: 4px;
1674
- -moz-border-radius-bottomleft: 4px;
1675
- -webkit-border-bottom-left-radius: 4px;
1676
- border-bottom-left-radius: 4px;*/
1677
  }
1678
  /*.wpallexport-plugin .wpallexport-upload-resource-step-one,
1679
  .wpallexport-plugin .wpallexport-upload-resource-step-two{
@@ -1681,145 +1705,164 @@ a.wpallexport-import-to-format span.wpallexport-import-to-title {
1681
  border-top-right-radius: 4px;
1682
  border-bottom-right-radius: 4px;
1683
  -moz-border-radius-topleft: 4px;
1684
- -webkit-border-top-left-radius: 4px;
1685
  -moz-border-radius-topright: 4px;
1686
- -webkit-border-top-right-radius: 4px;
1687
  -moz-border-radius-bottomleft: 4px;
1688
  -webkit-border-bottom-left-radius: 4px;
1689
  }*/
1690
  .wpallexport-plugin .wpallexport-choose-post-type{ padding-top: 40px; }
1691
  .wpallexport-plugin .wpallexport-file-upload-result{ padding-top: 30px; overflow: hidden; }
1692
  .wpallexport-plugin .wpallexport-upload-resource-step-one{ padding-bottom: 40px; }
1693
- .wpallexport-plugin .wpallexport-upload-resource-step-two{
1694
- display: none;
1695
  }
1696
  .wpallexport-plugin .wpallexport-upload-resource-step-two h2{
1697
- text-align: center;
1698
- color: #4db278;
1699
- padding: 0;
1700
- margin: 20px 0;
1701
  }
1702
  .wpallexport-plugin .dd-select{
1703
- border: 1px solid #ddd;
1704
  }
1705
- .wpallexport-plugin #custom_type_selector,
1706
  .wpallexport-plugin #file_selector,
1707
  .wpallexport-plugin #wp_query_selector,
1708
- .wpallexport-plugin #taxonomy_to_export{
1709
- margin: 0 auto;
1710
- margin-bottom: 20px;
1711
- text-align: left;
 
 
1712
  }
1713
  .wpallexport-plugin .wpallexport-change-custom-type #custom_type_selector{
1714
- margin: 0;
1715
  }
1716
  .wpallexport-plugin .wpallexport-change-custom-type #custom_type_selector .dd-option{
1717
- padding: 10px 0 0 10px;
1718
  }
1719
  .wpallexport-plugin .wpallexport-change-custom-type #custom_type_selector .dd-select{
1720
- padding: 5px 0 0;
1721
  }
1722
  .wpallexport-plugin #file_selector{
1723
- margin-top: 30px;
1724
  }
1725
  .wpallexport-plugin #custom_type_selector .dd-options li,
1726
  .wpallexport-plugin #file_selector .dd-options li,
1727
  .wpallexport-plugin #wp_query_selector .dd-options li,
1728
- .wpallexport-plugin #taxonomy_to_export .dd-options li{
1729
- margin-bottom: 0;
 
 
1730
  }
1731
  .wpallexport-plugin #custom_type_selector .dd-options li .dd-option,
1732
  .wpallexport-plugin #file_selector .dd-options li .dd-option,
1733
  .wpallexport-plugin #wp_query_selector .dd-options li .dd-option,
1734
- .wpallexport-plugin #taxonomy_to_export .dd-options li .dd-option{
1735
- font-size: 18px;
1736
- color: #555;
1737
- border: none;
 
 
1738
  }
1739
  /*.wpallexport-plugin #file_selector .dd-options li .dd-option{
1740
  font-size: 18px;
1741
  color: #ccc;
1742
  border: none;
1743
  }*/
1744
- .wpallexport-plugin #custom_type_selector .dd-options li .dd-option:hover,
1745
- .wpallexport-plugin #custom_type_selector .dd-options li .dd-option-selected,
1746
- .wpallexport-plugin #file_selector .dd-options li .dd-option:hover,
1747
- .wpallexport-plugin #file_selector .dd-options li .dd-option-selected,
1748
- .wpallexport-plugin #wp_query_selector .dd-options li .dd-option:hover,
1749
- .wpallexport-plugin #wp_query_selector .dd-options li .dd-option-selected,
1750
- .wpallexport-plugin #taxonomy_to_export .dd-options li .dd-option:hover,
1751
- .wpallexport-plugin #taxonomy_to_export .dd-options li .dd-option-selected{
1752
- background: #eee;
1753
- color: #555;
1754
- }
1755
- /*.wpallexport-plugin #file_selector .dd-options li .dd-option:hover,
1756
- .wpallexport-plugin #file_selector .dd-options li .dd-option-selected{
1757
- background: #40acad;
1758
- color: #fff;
1759
- }*/
 
 
 
1760
  .wpallexport-plugin #custom_type_selector .dd-select,
1761
  .wpallexport-plugin #file_selector .dd-select,
1762
  .wpallexport-plugin #wp_query_selector .dd-select,
1763
- .wpallexport-plugin #taxonomy_to_export .dd-select{
1764
- background: #fff !important;
1765
- padding: 10px 0;
1766
- /*margin-left: -5px;*/
 
 
 
1767
  }
1768
  .wpallexport-plugin #custom_type_selector .dd-selected,
1769
  .wpallexport-plugin #file_selector .dd-selected,
1770
  .wpallexport-plugin #wp_query_selector .dd-selected,
1771
- .wpallexport-plugin #taxonomy_to_export .dd-selected{
1772
- color: #000;
1773
- font-weight: normal;
1774
- font-size: 18px;
1775
- padding: 0;
1776
- padding: 0 12px;
1777
- line-height: 24px;
 
 
 
1778
  }
1779
  .wpallexport-plugin .change_file #file_selector .dd-select,
1780
  .wpallexport-plugin .change_file #wp_query_selector .dd-select,
1781
- .wpallexport-plugin .change_file #taxonomy_to_export .dd-select{
1782
- padding: 5px 0 0;
1783
- }
1784
- .wpallexport-plugin .change_file #file_selector .dd-options .dd-option,
1785
- .wpallexport-plugin .change_file #wp_query_selector .dd-options .dd-option,
1786
- .wpallexport-plugin .change_file #taxonomy_to_export .dd-options .dd-option{
1787
- padding: 0 10px;
1788
- }
 
 
 
 
1789
  .wpallexport-plugin .dd-options{
1790
- /*left: -5px;*/
1791
  }
1792
  .wpallexport-plugin #file_selector .dd-selected .dd-selected-image{
1793
- margin-left: 10px;
1794
  }
1795
  .wpallexport-plugin #file_selector .dd-options .dd-option .dd-option-text{
1796
- position: relative;
1797
- top: -2px;
1798
  }
1799
  .wpallexport-plugin #file_selector .dd-option .dashicon:before,
1800
  .wpallexport-plugin #file_selector .dd-selected .dashicon:before {
1801
- font-size: 24px;
1802
- float: left;
1803
- margin: 2px 5px 2px 2px;
1804
  }
1805
  .wpallexport-plugin #file_selector .dd-option .dashicon-post:before,
1806
  .wpallexport-plugin #file_selector .dd-selected .dashicon-post:before{
1807
- font-family: "dashicons";
1808
- content: "\f109";
1809
- color: #555;
1810
  }
1811
  .wpallexport-plugin #file_selector .dd-option .dashicon-page:before,
1812
  .wpallexport-plugin #file_selector .dd-selected .dashicon-page:before{
1813
- font-family: "dashicons";
1814
- content: "\f105";
1815
- color: #555;
1816
  }
1817
  .wpallexport-plugin #file_selector .dd-option .dashicon-product:before,
1818
  .wpallexport-plugin #file_selector .dd-selected .dashicon-product:before{
1819
- font-family: "WooCommerce";
1820
- content: "\e006";
1821
- color: #555;
1822
- margin-top: 0;
1823
  }
1824
  .wpallexport-plugin #file_selector .dd-option .dashicon-shop_order:before,
1825
  .wpallexport-plugin #file_selector .dd-selected .dashicon-shop_order:before,
@@ -1829,1126 +1872,1126 @@ a.wpallexport-import-to-format span.wpallexport-import-to-title {
1829
  .wpallexport-plugin #file_selector .dd-selected .dashicon-shop_coupon:before,
1830
  .wpallexport-plugin #file_selector .dd-option .dashicon-shop_customer:before,
1831
  .wpallexport-plugin #file_selector .dd-selected .dashicon-shop_customer:before{
1832
- font-family: "WooCommerce";
1833
- content: "\e03d";
1834
- color: #555;
1835
- margin-top: 2px;
1836
  }
1837
  .wpallexport-plugin #file_selector .dd-option .dashicon-cpt:before,
1838
  .wpallexport-plugin #file_selector .dd-selected .dashicon-cpt:before{
1839
- font-family: "dashicons";
1840
- content: "\f111";
1841
- color: #555;
1842
- margin-top: -2px;
1843
  }
1844
  .wpallexport-plugin #file_selector .dd-option .dashicon-users:before,
1845
  .wpallexport-plugin #file_selector .dd-selected .dashicon-users:before{
1846
- font-family: "dashicons";
1847
- content: "\f110";
1848
- color: #555;
1849
  }
1850
  .wpallexport-plugin #file_selector .dd-option .dashicon-comments:before,
1851
  .wpallexport-plugin #file_selector .dd-selected .dashicon-comments:before{
1852
- font-family: "dashicons";
1853
- content: "\f101";
1854
- color: #555;
1855
  }
1856
  .wpallexport-plugin #file_selector .dd-option .dashicon-taxonomies:before,
1857
  .wpallexport-plugin #file_selector .dd-selected .dashicon-taxonomies:before{
1858
- font-family: "dashicons";
1859
- content: "\f318";
1860
- color: #555;
1861
  }
1862
  .wpallexport-plugin #file_selector .dd-option:hover .dashicon:before,
1863
  .wpallexport-plugin #file_selector .dd-option-selected .dashicon:before{
1864
- color: #555;
1865
  }
1866
  .wpallexport-plugin #file_selector .dd-selected .dashicon:before{
1867
- color:#46ba69;
1868
- line-height: 24px;
1869
  }
1870
 
1871
  .wpallexport-plugin #file_selector .dd-option .dashicon-review:before,
1872
  .wpallexport-plugin #file_selector .dd-selected .dashicon-review:before{
1873
- content: '';
1874
- background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' standalone='no'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 20010904//EN' 'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'%3E%3Csvg version='1.0' xmlns='http://www.w3.org/2000/svg' width='1280.000000pt' height='1222.000000pt' viewBox='0 0 1280.000000 1222.000000' preserveAspectRatio='xMidYMid meet'%3E%3Cmetadata%3E%0ACreated by potrace 1.15, written by Peter Selinger 2001-2017%0A%3C/metadata%3E%3Cg transform='translate(0.000000,1222.000000) scale(0.100000,-0.100000)'%0Afill='%23555' stroke='none'%3E%3Cpath d='M6273 12205 c-115 -32 -205 -96 -266 -187 -19 -29 -304 -602 -635%0A-1273 -330 -671 -719 -1461 -864 -1755 l-264 -535 -220 -32 c-3672 -539 -3667%0A-538 -3722 -557 -100 -35 -199 -123 -248 -219 -76 -148 -69 -309 18 -454 23%0A-37 448 -457 1450 -1430 1270 -1233 1418 -1380 1413 -1403 -2 -14 -39 -223%0A-80 -465 -42 -242 -111 -645 -155 -895 -43 -250 -124 -718 -180 -1040 -56%0A-322 -135 -778 -176 -1015 -90 -512 -92 -552 -30 -680 102 -216 358 -320 574%0A-233 31 13 836 432 1788 931 l1731 906 804 -420 c442 -231 1223 -640 1734%0A-907 512 -268 953 -495 980 -504 63 -22 202 -23 268 -3 111 33 228 129 277%0A225 29 57 50 146 50 212 0 32 -41 292 -90 578 -138 795 -261 1506 -371 2145%0A-56 319 -124 716 -153 882 l-52 303 1422 1392 c965 944 1432 1408 1453 1442%0A43 71 62 130 68 211 16 208 -126 413 -324 468 -32 9 -379 61 -770 117 -392 55%0A-1034 145 -1425 200 -392 56 -868 123 -1058 150 -190 26 -419 58 -510 71 -91%0A12 -170 27 -177 33 -6 6 -399 799 -873 1761 -473 963 -877 1774 -898 1804 -44%0A65 -131 131 -210 161 -74 29 -207 36 -279 15z'/%3E%3C/g%3E%3C/svg%3E");
1875
- background-size: 22px 22px;
1876
- background-repeat: no-repeat;
1877
- margin-top: -2px;
1878
- width: 22px;
1879
- height: 22px;
1880
  }
1881
  .wpallexport-plugin #file_selector .dd-selected .dashicon-review:before {
1882
- background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' standalone='no'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 20010904//EN' 'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'%3E%3Csvg version='1.0' xmlns='http://www.w3.org/2000/svg' width='1280.000000pt' height='1222.000000pt' viewBox='0 0 1280.000000 1222.000000' preserveAspectRatio='xMidYMid meet'%3E%3Cmetadata%3E%0ACreated by potrace 1.15, written by Peter Selinger 2001-2017%0A%3C/metadata%3E%3Cg transform='translate(0.000000,1222.000000) scale(0.100000,-0.100000)'%0Afill='%2346ba69' stroke='none'%3E%3Cpath d='M6273 12205 c-115 -32 -205 -96 -266 -187 -19 -29 -304 -602 -635%0A-1273 -330 -671 -719 -1461 -864 -1755 l-264 -535 -220 -32 c-3672 -539 -3667%0A-538 -3722 -557 -100 -35 -199 -123 -248 -219 -76 -148 -69 -309 18 -454 23%0A-37 448 -457 1450 -1430 1270 -1233 1418 -1380 1413 -1403 -2 -14 -39 -223%0A-80 -465 -42 -242 -111 -645 -155 -895 -43 -250 -124 -718 -180 -1040 -56%0A-322 -135 -778 -176 -1015 -90 -512 -92 -552 -30 -680 102 -216 358 -320 574%0A-233 31 13 836 432 1788 931 l1731 906 804 -420 c442 -231 1223 -640 1734%0A-907 512 -268 953 -495 980 -504 63 -22 202 -23 268 -3 111 33 228 129 277%0A225 29 57 50 146 50 212 0 32 -41 292 -90 578 -138 795 -261 1506 -371 2145%0A-56 319 -124 716 -153 882 l-52 303 1422 1392 c965 944 1432 1408 1453 1442%0A43 71 62 130 68 211 16 208 -126 413 -324 468 -32 9 -379 61 -770 117 -392 55%0A-1034 145 -1425 200 -392 56 -868 123 -1058 150 -190 26 -419 58 -510 71 -91%0A12 -170 27 -177 33 -6 6 -399 799 -873 1761 -473 963 -877 1774 -898 1804 -44%0A65 -131 131 -210 161 -74 29 -207 36 -279 15z'/%3E%3C/g%3E%3C/svg%3E");
1883
- margin-top: 2px;
1884
  }
1885
 
1886
  .wpallexport-plugin input[name=url]{
1887
- font-size: 18px !important;
1888
- height: 49px;
1889
- margin-top: 20px;
1890
- padding: 5px;
1891
- width: 75% !important;
1892
- /*background: url('../img/ui_4.0/url.png') 10px -42px no-repeat;*/
1893
- padding-left: 60px;
1894
- border: 1px solid #ddd;
1895
- border-radius: 4px;
1896
- -moz-border-radius: 4px;
1897
- -khtml-border-radius: 4px;
1898
- -webkit-border-radius: 4px;
1899
- color: #cfceca;
1900
- margin-bottom: 0;
1901
  }
1902
  .wpallexport-plugin .wpallexport-url-icon:before{
1903
- color: #cfceca;
1904
- content: "\f103";
1905
- font-family: "dashicons";
1906
- font-size: 30px;
1907
- left: 45px;
1908
- position: relative;
1909
- top: -14px;
1910
- vertical-align: bottom;
1911
  }
1912
  .wpallexport-plugin .wpallexport-url-icon.focus:before{
1913
- color: #333;
1914
  }
1915
  .wpallexport-plugin input[name=url].focus{
1916
- background-position: 10px 8px;
1917
- color:#333;
1918
- font-size: 11px !important;
1919
  }
1920
  .wpallexport-plugin #plupload-ui h3{
1921
- float: left;
1922
- font-size: 13px;
1923
- font-weight: normal;
1924
- margin-bottom: 0;
1925
- margin-top: 8px;
1926
  }
1927
  .wpallexport-plugin .wpallexport-reimported-notify{
1928
- border: 1px solid #AFAFAF;
1929
- margin-bottom: 20px;
1930
- padding: 10px 20px;
1931
  }
1932
  .wpallexport-plugin .wpallexport-reimported-notify p span{
1933
- color: #ccc;
1934
  }
1935
  .wpallexport-plugin .wpallexport-choose-data-type{
1936
- text-align: center;
1937
- margin-bottom: 30px;
1938
  }
1939
  .wpallexport-plugin #wpallexport-url-upload-status{
1940
- margin: 10px;
1941
  }
1942
  .wpallexport-plugin .wpallexport-uploaded-file-name{
1943
- color: #333;
1944
  }
1945
  .wpallexport-plugin .wpallexport-choose-import-direction[rel="new"]{
1946
- margin-left: -13%;
1947
  }
1948
  .wpallexport-plugin .wpallexport-choose-import-direction[rel="matching"]{
1949
- margin-left: -12%;
1950
  }
1951
  .wpallexport-plugin .wpallexport-extra-text-left{
1952
- float: left;
1953
- text-align: right;
1954
- width: 37%;
1955
  }
1956
  .wpallexport-plugin .wpallexport-extra-text-right{
1957
- float: right;
1958
- text-align: left;
1959
- width: 38%;
1960
  }
1961
- .wpallexport-plugin .wpallexport-new-records,
1962
  .wpallexport-plugin .wpallexport-existing-records{
1963
- display: none;
1964
- color: #777;
1965
- font-size: 18px;
1966
- line-height: 50px;
1967
  }
1968
  .wpallexport-plugin .wpallexport-extra-text-below{
1969
- max-width: 565px;
1970
- margin: 0 auto;
1971
  }
1972
  .wpallexport-plugin .chosen-container-single .chosen-single{
1973
- background: none;
1974
- box-shadow: none;
1975
- color: #555 !important;
1976
- border: 1px solid #ddd;
1977
  }
1978
  .wpallexport-plugin .chosen-container-active.chosen-with-drop .chosen-single{
1979
- background: none;
1980
  }
1981
  .wpallexport-plugin .wp_all_export_product_matching_mode{
1982
- margin-top: 25px;
1983
- margin-left: 10px;
1984
  }
1985
  /*--------------------------------------------------------------------------
1986
  *
1987
  * Step 2 - XPath filtering
1988
- *
1989
  *-------------------------------------------------------------------------*/
1990
 
1991
  .wpallexport-plugin .wpallexport-filtering-section{
1992
- padding-bottom: 15px !important;
1993
- margin-bottom: 0px;
1994
- margin-top: 10px;
1995
- overflow: visible;
1996
  }
1997
  .wpallexport-plugin .wpallexport-console{
1998
- position:relative;
1999
- padding:0;
2000
- display:none;
2001
- height: 110px;
2002
  }
2003
  .wpallexport-plugin .action_buttons{
2004
- overflow: hidden;
2005
- clear: both;
2006
- padding: 10px;
2007
- border-bottom: 1px solid #ddd;
2008
- }
2009
- .wpallexport-plugin .action_buttons .wpallexport-go-to{
2010
- display: block;
2011
- height: 21px;
2012
- margin-top: 25px;
2013
- text-decoration: none;
2014
- width: 13px;
2015
- }
2016
- .wpallexport-plugin .action_buttons #prev_element{
2017
- background: url('../img/ui_4.0/left_btn.png') no-repeat;
2018
- margin-left: 15px;
2019
- float: left;
2020
- }
2021
- .wpallexport-plugin .action_buttons #next_element{
2022
- background: url('../img/ui_4.0/right_btn.png') no-repeat;
2023
- margin-right: 15px;
2024
- float: right;
2025
- }
2026
- .wpallexport-plugin .action_buttons .wpallexport-root-element{
2027
- color: #46ba69;
2028
- font-weight: bold;
2029
- margin-top: 0;
2030
- }
2031
  .wpallexport-plugin #wp_all_export_value{
2032
- display: inline-block;
2033
- height: 28px;
2034
- margin: 0;
2035
- padding: 3px;
2036
- position: relative;
2037
- top: 2px;
2038
- width: 50px;
2039
- }
2040
- .wpallexport-plugin #wp_all_export_add_rule{
2041
- background: url("../img/rule.png") no-repeat scroll 10px 10px #40acad;
2042
- border: 1px solid #3a9c9d;
2043
- border-radius: 5px;
2044
- -moz-border-radius: 5px;
2045
- -khtml-border-radius: 5px;
2046
- -webkit-border-radius: 5px;
2047
- color: #fff;
2048
- display: inline-block;
2049
- font-size: 14px;
2050
- height: 21px;
2051
- margin: 0;
2052
- float: right;
2053
- padding: 13px 40px 10px 50px;
2054
- text-decoration: none;
2055
- font-weight: bold;
2056
- min-width: 60px;
2057
  }
2058
- .wpallexport-plugin #wp_all_export_apply_filters{
2059
- background: url("../img/rule.png") no-repeat scroll 10px 10px #40acad;
2060
- border: 1px solid #3a9c9d;
2061
- border-radius: 5px;
2062
- -moz-border-radius: 5px;
2063
- -khtml-border-radius: 5px;
2064
- -webkit-border-radius: 5px;
2065
- color: #fff;
2066
- display: inline-block;
2067
- font-size: 14px;
2068
- height: 21px;
2069
- margin: 0;
2070
- float: right;
2071
- padding: 13px 40px 10px 50px;
2072
- text-decoration: none;
2073
- font-weight: bold;
2074
  }
2075
  .wpallexport-plugin #wp_all_export_apply_filters{
2076
- float: right;
2077
- margin-top: 35px;
2078
  }
2079
  .wpallexport-plugin .wp_all_export_rule_inputs .chosen-container-single input[type="text"]{
2080
- width: 100% !important;
2081
  }
2082
  .wpallexport-plugin .wp_all_export_rule_inputs .chosen-container-single .chosen-single{
2083
- height: 48px;
2084
- line-height: 38px;
2085
- font-size: 15px;
2086
  }
2087
 
2088
  .wpallexport-plugin .chosen-container-single .chosen-single span {
2089
- margin-top: 5px;
2090
- color: #777;
2091
  }
2092
 
2093
  .wpallexport-plugin .googleMerchants .chosen-container-single .chosen-single span,
2094
  .wpallexport-plugin .export-single .chosen-container-single .chosen-single span {
2095
- margin-top: 0;
2096
  }
2097
  .wpallexport-plugin .timezone-select .chosen-container-single .chosen-single span {
2098
- margin-top: 0;
2099
  }
2100
  .wpallexport-plugin .chosen-container-single .chosen-search input[type="text"] {
2101
- background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0xNS44NTMgMTYuNTZjLTEuNjgzIDEuNTE3LTMuOTExIDIuNDQtNi4zNTMgMi40NC01LjI0MyAwLTkuNS00LjI1Ny05LjUtOS41czQuMjU3LTkuNSA5LjUtOS41IDkuNSA0LjI1NyA5LjUgOS41YzAgMi40NDItLjkyMyA0LjY3LTIuNDQgNi4zNTNsNy40NCA3LjQ0LS43MDcuNzA3LTcuNDQtNy40NHptLTYuMzUzLTE1LjU2YzQuNjkxIDAgOC41IDMuODA5IDguNSA4LjVzLTMuODA5IDguNS04LjUgOC41LTguNS0zLjgwOS04LjUtOC41IDMuODA5LTguNSA4LjUtOC41eiIvPjwvc3ZnPg==') no-repeat right 5px top 50%;
2102
- background-size: 12px;
2103
  }
2104
  .wpallexport-plugin .wp_all_export_rule_inputs .chosen-container-single .chosen-single div{
2105
- top: 9px;
2106
- display: none;
2107
  }
2108
 
2109
  .wpallexport-plugin #wp_all_export_value{
2110
- font-size: 16px;
2111
- height: 48px;
2112
- padding: 10px;
2113
- border: 1px solid #ddd;
2114
- border-radius: 5px;
2115
- -moz-border-radius: 5px;
2116
- -khtml-border-radius: 5px;
2117
- -webkit-border-radius: 5px;
2118
- color: #777;
2119
- font-size: 15px !important;
2120
- width: 100%;
2121
- position: relative;
2122
- top: 0;
2123
- }
2124
- .wpallexport-plugin #wp_all_export_filtering_rules{
2125
- position: relative;
2126
- padding: 0;
2127
  }
2128
  .wpallexport-plugin .wp_all_export_filtering_rules{
2129
- margin: 0;
2130
  }
2131
  .wpallexport-plugin .wp_all_export_filtering_rules .drag-element{
2132
- background: url('../img/list.png') no-repeat 0 3px;
2133
- padding-left: 30px;
2134
- height: 25px;
2135
- line-height: 21px;
2136
  }
2137
  .wpallexport-plugin .wp_all_export_filtering_rules .drag-element .rule_element{
2138
- display: inline-block;
2139
- width: 30%;
2140
- color:#46ba69;
2141
- font-size: 14px;
2142
  }
2143
  .wpallexport-plugin .wp_all_export_filtering_rules .drag-element .rule_as_is{
2144
- display: inline-block;
2145
- width: 20%;
2146
- color:#40acad;
2147
- font-size: 14px;
2148
  }
2149
  .wpallexport-plugin .wp_all_export_filtering_rules .drag-element .rule_condition_value{
2150
- display: inline-block;
2151
- width: 20%;
2152
- color:#000;
2153
- font-size: 14px;
2154
  }
2155
  .wpallexport-plugin .wp_all_export_filtering_rules .drag-element .condition{
2156
- display: inline-block;
2157
- width: 25%;
2158
- color: #000;
2159
- font-size: 14px;
2160
- word-wrap: break-word;
2161
  }
2162
  .wpallexport-plugin .wp_all_export_filtering_rules li{
2163
- position: relative;
2164
- padding: 10px 10px 10px 20px;
2165
- margin: 5px;
2166
- border: 1px solid #ddd;
2167
- border-radius: 4px;
2168
- -moz-border-radius: 4px;
2169
- -khtml-border-radius: 4px;
2170
- -webkit-border-radius: 4px;
2171
- }
2172
- .wpallexport-plugin .wp_all_export_filtering_rules li ol{
2173
- margin-top: 10px;
2174
- }
2175
- .wpallexport-plugin .wp_all_export_filtering_rules li ol li{
2176
- border: 1px dotted #ddd;
2177
- }
2178
- .wpallexport-plugin .wp_all_export_filtering_rules li .remove-ico{
2179
- right: 4%;
2180
- top:10px;
2181
- }
2182
- .wpallexport-plugin .wp_all_export_filtering_rules li .condition{
2183
- padding: 2px;
2184
- }
2185
- .wpallexport-plugin .wp_all_export_filtering_rules li .condition label{
2186
- margin: 0px 3px;
2187
- }
2188
- .wpallexport-plugin .wp_all_export_filtering_rules li strong{
2189
- text-transform: uppercase;
2190
- }
2191
  .wpallexport-plugin .pmxi_group_rule{
2192
- margin-left: -55px;
2193
  }
2194
  .wpallexport-plugin .wp_all_export_rule_inputs{
2195
- /*float: left;*/
2196
- }
2197
- .wpallexport-plugin .wp_all_export_rule_inputs table{
2198
- width: 100%;
2199
- }
2200
- .wpallexport-plugin .wp_all_export_rule_inputs table tr th{
2201
- color: #000;
2202
- font-weight: 16px;
2203
- text-align: left;
2204
- }
2205
- .wpallexport-plugin .ajax-console .founded_records{
2206
- background: url('../img/elements.png') no-repeat;
2207
- padding-left: 80px;
2208
- margin-bottom: 0;
2209
- margin-left: 40px;
2210
- margin-top: 25px;
2211
- margin-bottom: 20px;
2212
- position: relative;
2213
- height: 63px;
2214
- }
2215
- .wpallexport-plugin .ajax-console .founded_records h3{
2216
- color: #425f9a;
2217
- margin-bottom: 0;
2218
- margin-top: 3px;
2219
- font-size: 22px;
2220
- line-height: 28px;
2221
- }
2222
- .wpallexport-plugin .ajax-console .founded_records h4{
2223
- color: #777;
2224
- margin-top: 5px;
2225
- font-size:20px;
2226
- }
2227
- .wpallexport-plugin .ajax-console .founded_records .wp_all_export_preloader{
2228
- margin: 20px 0;
2229
- position: relative;
2230
- top:10px;
2231
- }
2232
- .wpallexport-plugin #filtering_result .wp_all_export_preloader{
2233
- margin: 20px 0;
2234
- position: relative;
2235
- top:-10px;
2236
- }
2237
  .wpallexport-plugin .wpallexport-change-root-element{
2238
- display: block;
2239
- background: #f6f5f1;
2240
- border: 1px solid #ecebe7;
2241
- border-radius: 5px;
2242
- -moz-border-radius: 5px;
2243
- -khtml-border-radius: 5px;
2244
- -webkit-border-radius: 5px;
2245
- color: #777;
2246
- font-size: 16px;
2247
- text-decoration: none;
2248
- margin: 5px 10px;
2249
- padding: 10px;
2250
- }
2251
- .wpallexport-plugin .wpallexport-change-root-element:hover{
2252
- color: #000;
2253
- }
2254
- .wpallexport-plugin .wpallexport-change-root-element.selected{
2255
- background: #46ba69;
2256
- border: 1px solid #3da55c;
2257
- color: #fff;
2258
- cursor: default;
2259
- }
2260
- .wpallexport-plugin .wpallexport-change-root-element .tag_name{
2261
- display: inline-block;
2262
- max-width: 87%;
2263
- overflow: hidden;
2264
- text-overflow: ellipsis;
2265
- }
2266
- .wpallexport-plugin .wpallexport-change-root-element .tag_count{
2267
- float: right;
2268
- background: url('../img/ui_4.0/element_arrow.png') no-repeat;
2269
- display: inline-block;
2270
- height: 15px;
2271
- padding-left: 20px;
2272
- position: relative;
2273
- top: 2px;
2274
- line-height: 15px;
2275
- }
2276
- .wpallexport-plugin .wpallexport-change-root-element.selected .tag_count{
2277
- background: url('../img/ui_4.0/element_arrow.png') no-repeat 0px -15px;
2278
- }
2279
  .wpallexport-plugin .import_information{
2280
- border-top: 1px solid #ddd;
2281
- text-align: center;
2282
- padding: 20px;
2283
- }
2284
- .wpallexport-plugin .import_information h3{
2285
- text-align: center;
2286
- color:#777;
2287
- background: url('../img/ui_4.0/elements_notify.png') no-repeat;
2288
- padding-left: 60px;
2289
- height: 50px;
2290
- display: inline-block;
2291
- margin: 0 auto;
2292
- line-height: 45px;
2293
- }
2294
- .wpallexport-plugin .import_information h3 span{
2295
- color:#46ba69;
2296
- }
2297
  .wpallexport-plugin .wpallexport-set-csv-delimiter{
2298
- padding-top: 5px;
2299
- text-align: center;
2300
- display: none;
2301
  }
2302
  .wpallexport-plugin #current_element{
2303
- color:green;
2304
  }
2305
  .wpallexport-plugin #current_xml{ display: none;}
2306
- .wpallexport-plugin #goto_element{
2307
- font-size: 16px;
2308
- height: 35px;
2309
- margin-right: 10px;
2310
- min-width: 50px;
2311
- padding-top: 5px;
2312
- text-align: center;
2313
- width: 50px !important;
2314
  }
2315
  .wpallexport-plugin .wpallexport-choose-elements{
2316
- /*width: 1200px;*/
 
 
 
2317
  }
2318
- .wpallexport-plugin .wpallexport-choose-elements table tbody tr td{
2319
- overflow: hidden;
2320
- }
2321
  .wpallexport-plugin .wpallexport-elements-information{
2322
- font-size: 20px;
2323
- padding-top: 17px;
2324
- margin-right: 10px;
2325
  }
2326
  /*--------------------------------------------------------------------------
2327
  *
2328
  * Step 3 - Template Builder
2329
- *
2330
  *-------------------------------------------------------------------------*/
2331
 
2332
  /*@+ Template form */
2333
  .wpallexport-plugin .wpallexport-export-template tbody tr td.left{
2334
- width: 81%;
2335
  }
2336
  .wpallexport-plugin form.wpallexport-step-3 {
2337
- /*width: 700px;*/
2338
- position: relative;
2339
- width: 100%;
2340
- margin-top: 0 !important;
2341
- }
2342
- .wpallexport-plugin form.wpallexport-template .load-template {
2343
- display: block;
2344
- font-size: 12px;
2345
- }
2346
-
2347
- .wpallexport-plugin .load-template-container {
2348
- display: flex;
2349
- align-items: center;
2350
- }
2351
-
2352
- .wpallexport-plugin form.wpallexport-template .load-template select {
2353
- width: auto;
2354
- padding: 4px 25px 4px 12px;
2355
- font-size: 12px;
2356
- height: 34px;
2357
- background-size: 14px 14px;
2358
- }
2359
-
2360
- .wpallexport-plugin form.wpallexport-step-3 .wpallexport-section .wpallexport-content-section{
2361
- /*overflow: hidden; */
2362
- padding-bottom: 0;
2363
- margin-top: 0;
2364
- }
2365
-
2366
- .wpallexport-plugin form.wpallexport-step-3 .wpallexport-section .wpallexport-content-section .wpallexport-collapsed-content{
2367
- padding: 0;
2368
- }
2369
 
2370
  .wpallexport-plugin #poststuff{
2371
- min-width: 200px;
2372
  }
2373
  .wpallexport-plugin #poststuff form.wpallexport-template h3 {
2374
- margin: 1em 0 5px 2px;
2375
- font-size: 1.17em;
2376
- padding: 0px;
2377
  }
2378
  .wpallexport-plugin #post-preview {
2379
- font-size: 12px;
 
 
 
2380
  }
2381
- .wpallexport-plugin #post-preview .error {
2382
- margin: 5px 0;
2383
- }
2384
  .wpallexport-plugin h3 .header-option {
2385
- display: block;
2386
- float: right;
2387
- font-size: 12px;
2388
- font-weight: normal;
2389
  }
2390
  .wpallexport-plugin .builder_header{
2391
- padding: 0 10px;
2392
- width: 1200px;
2393
- overflow: hidden;
2394
- }
2395
- .wpallexport-plugin .builder_header .left{
2396
- float: left;
2397
- }
2398
- .wpallexport-plugin .builder_header .right{
2399
- float:right;
2400
- }
2401
- .wpallexport-plugin .builder_header h3{
2402
- color: #425F9A;
2403
- margin-top: 0;
2404
- font-size: 22px;
2405
- margin-bottom: 0;
2406
- }
2407
- .wpallexport-plugin .builder_header h4{
2408
- color: #777;
2409
- margin-top: 10px;
2410
- margin-bottom: 0;
2411
- font-size: 18px;
2412
- }
2413
- .wpallexport-plugin .pmxi_option{
2414
- padding: 3px 0;
2415
- }
2416
- .wpallexport-plugin .pmxi_option a.wpallexport-help{
2417
- /*float: right;*/
2418
- }
2419
  .wpallexport-plugin .parse{
2420
- text-decoration: none !important;
2421
  }
2422
  .wpallexport-plugin .nested_xml{
2423
- display: none;
2424
  }
2425
  .wpallexport-plugin .nested_xml_tree{
2426
- width: 70%;
2427
- float: left;
2428
- padding: 5px 15px;
2429
  }
2430
  .wpallexport-plugin .nested_actions{
2431
- width:25%;
2432
- float: right;
 
 
 
 
2433
  }
2434
- .wpallexport-plugin .nested_actions input[type="text"]{
2435
- width:100%;
2436
- padding: 7px;
2437
- }
2438
  .wpallexport-plugin .nested_xml_tree .green{
2439
- color: green;
2440
- padding-bottom: 10px;
2441
  }
2442
- .wpallexport-plugin .nested_xml_tree .red,
2443
  .wpallexport-plugin .nested_msgs{
2444
- color: red;
2445
- padding-bottom: 10px;
2446
  }
2447
  .wpallexport-plugin .nested_files ul{
2448
- list-style: decimal outside none;
2449
- padding-left: 15px;
2450
  }
2451
  .wpallexport-plugin .template_input{
2452
- margin-top: 20px;
2453
  }
2454
  .wpallexport-plugin .wp_all_export_preloader{
2455
- background: url("../img/preloader.png");
2456
- width: 80px;
2457
- height: 10px;
2458
- margin: 20px auto;
2459
- display: none;
2460
  }
2461
  .wpallexport-plugin #filtering_result{
2462
- float: left;
2463
  }
2464
  .wpallexport-plugin .wp_all_export_filter_preloader{
2465
- background: url("../img/preloader.gif") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
2466
- margin-top: 50px;
2467
- height: 16px;
2468
- line-height: 16px;
2469
- padding-left: 20px;
2470
- display: none;
2471
- position: relative;
2472
- float: right;
2473
  }
2474
  .wpallexport-plugin .wp_all_export_functions_preloader{
2475
- background: url("../img/preloader.gif") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
2476
- margin-top: 6px;
2477
- margin-left: 6px;
2478
- height: 16px;
2479
- line-height: 16px;
2480
- padding-left: 20px;
2481
- display: none;
2482
- position: relative;
2483
- float: right;
2484
  }
2485
  .wpallexport-plugin .sub_input{
2486
- padding-left:17px;
2487
- margin: 5px;
2488
  }
2489
  .wpallexport-plugin .main_choise{
2490
- float: left;
2491
- margin-right: 5px;
2492
- }
2493
- .wpallexport-plugin .specify_cf{
2494
- left: 25%;
2495
- top: 8px;
2496
- background: #40acad;
2497
- padding: 10px;
2498
- position: relative;
2499
- border-radius: 4px;
2500
- -moz-border-radius: 4px;
2501
- -khtml-border-radius: 4px;
2502
- -webkit-border-radius: 4px;
2503
- color: #fff !important;
2504
- }
2505
- .wpallexport-plugin .set_serialize.active,
2506
  .wpallexport-plugin .set_mapping.active{
2507
- font-weight: bold;
2508
  }
2509
- .wpallexport-plugin .custom_type{
2510
- /*margin: 0 auto; */
2511
  }
2512
  .wpallexport-plugin .wpallexport-custom-fields textarea{
2513
- border: 1px solid #ddd;
2514
- border-radius: 4px;
2515
- -moz-border-radius: 4px;
2516
- -khtml-border-radius: 4px;
2517
- -webkit-border-radius: 4px;
2518
- padding: 6px 5px;
2519
- font-size: 15px !important;
2520
- height: 40px;
2521
- float: left;
2522
- margin-right: 5px;
2523
- line-height: 25px;
2524
- width: 68% !important;
2525
  }
2526
  .wpallexport-plugin .wpallexport-custom-fields .wpallexport-custom-fields-actions,
2527
  .wpallexport-plugin .wpallexport-real-estate .wpallexport-custom-fields-actions{
2528
- float: right;
2529
- right: 30px;
2530
- position: relative;
2531
- /*padding: 0 10px;*/
2532
- border: 1px solid #ddd;
2533
- margin-bottom: 10px;
2534
  }
2535
  .wpallexport-plugin .wpallexport-step-3 div.custom_type{
2536
- /*width: 80%;
2537
- min-height: 65px;*/
2538
  }
2539
  .wpallexport-plugin span.remove{
2540
- position: static !important;
2541
  }
2542
 
2543
  .wpallexport-plugin input[type="text"][name="tagno"]{
2544
- margin-left: 5px;
2545
- padding: 3px;
2546
- width: 40px;
2547
- border: 1px solid #BBBBBB;
2548
- -moz-border-radius: 3px;
2549
- -khtml-border-radius: 3px;
2550
- -webkit-border-radius: 3px;
2551
- border-radius: 3px;
2552
- text-align: center;
2553
  }
2554
  .wpallexport-pointer-content {
2555
- padding: 0 0 10px;
2556
- position: relative;
2557
- font-size: 13px;
2558
- background: #fff;
2559
- border: 1px solid #dfdfdf;
2560
- -webkit-box-shadow: 0 3px 6px rgba(0,0,0,0.075);
2561
- box-shadow: 0 3px 6px rgba(0,0,0,0.075);
2562
  }
2563
  #post-preview div.title{
2564
- text-align:right;
2565
- border-bottom: 1px solid #ccc;
2566
- padding: 10px;
2567
- /*font-style:italic;*/
2568
  }
2569
  #post-preview .wpallexport-preview-title{
2570
- border-bottom: 1px solid #ccc;
2571
- margin-bottom: 0;
2572
- padding-bottom: 10px;
2573
- text-align: center;
2574
  }
2575
  #post-preview .wpallexport-preview-content{
2576
- padding: 15px;
2577
- overflow: auto;
2578
- max-height: 350px;
2579
  }
2580
  #post-preview .wpallexport-preview-content .test_progress{
2581
- clear: both;
2582
  }
2583
- .wpallexport-plugin .preview,
2584
  .wpallexport-plugin .preview_images,
2585
- .wpallexport-plugin .preview_prices,
2586
- .wpallexport-plugin .preview_taxonomies,
2587
  .wpallexport-plugin .parse,
2588
- .wpallexport-plugin .test_images{
2589
- background: #40acad;
2590
- -moz-border-radius: 4px;
2591
- -khtml-border-radius: 4px;
2592
- -webkit-border-radius: 4px;
2593
- border-radius: 4px;
2594
- clear: both;
2595
- color: #fff !important;
2596
- float: right;
2597
- font-size: 14px;
2598
- margin: 10px 0;
2599
- padding: 10px 20px 10px 20px;
2600
  }
2601
  .wpallexport-plugin .test_images{
2602
- display: block;
2603
- float: left;
2604
- margin-bottom: 15px;
2605
- margin-left: 0;
2606
- margin-top: 0;
2607
  }
2608
  .wpallexport-plugin .save_popup{
2609
- -moz-border-radius: 4px;
2610
- -khtml-border-radius: 4px;
2611
- -webkit-border-radius: 4px;
2612
- border-radius: 4px;
2613
- position: absolute;
2614
- top: 41px;
2615
- right: 60px;
2616
- background: #40acad;
2617
- padding: 10px 15px 10px 15px;
2618
- color:#fff !important;
2619
- }
2620
- .wpallexport-plugin .autodetect_cf,
2621
  .wpallexport-plugin .wpallexport-auto-detect-unique-key,
2622
  .wpallexport-plugin .wpallexport-change-unique-key{
2623
- -moz-border-radius: 4px;
2624
- -khtml-border-radius: 4px;
2625
- -webkit-border-radius: 4px;
2626
- border-radius: 4px;
2627
- background: #40acad;
2628
- padding: 10px 15px 10px 15px;
2629
- color:#fff !important;
2630
- font-size: 14px;
2631
- position: relative;
2632
- top:-1px;
2633
  }
2634
  .wpallexport-plugin .wpallexport-change-unique-key{
2635
- background-position: 10px 12px;
2636
- padding: 10px 15px 10px 15px;
2637
  }
2638
  .wpallexport-plugin .autodetect_cf{
2639
- display: inline-block;
2640
- margin-bottom: 5px;
2641
  }
2642
  .wpallexport-plugin .preview_taxonomies{
2643
- float: none;
2644
- /*padding: 5px 20px 5px 45px;*/
2645
- margin-left: 10px;
2646
  }
2647
  .wpallexport-plugin .set_xpath{
2648
- left: 0;
2649
- padding-left: 15px;
2650
- position: absolute;
2651
- top: 0;
2652
  }
2653
  .wpallexport-plugin #woocommerce-product-data{
2654
- margin-bottom: 20px;
2655
  }
2656
- .wpallexport-plugin input[name^="attribute_name"],
2657
  .wpallexport-plugin input[name^="variable_attribute_name"]{
2658
- width: 95% !important;
2659
  }
2660
  .wpallexport-plugin .fix_checkbox{
2661
- position: relative;
2662
- /*margin: 0px !important;*/
2663
  }
2664
  .wpallexport-plugin .newline{
2665
- line-height: 16px;
2666
  }
2667
  .wpallexport-plugin #add_encoding{
2668
- display: none;
2669
  }
2670
  .wpallexport-plugin #new_encoding{
2671
- border: 1px solid #BBBBBB;
2672
- -moz-border-radius: 3px;
2673
- -khtml-border-radius: 3px;
2674
- -webkit-border-radius: 3px;
2675
- border-radius: 3px;
2676
  }
2677
  .wpallexport-plugin .load_options{
2678
- height: 0;
2679
- line-height: 0;
2680
- margin: 0;
2681
- padding: 0;
2682
- position: relative;
2683
- right: 10px;
2684
- text-align: right;
2685
- top: -35px;
2686
- width: 100%;
2687
  }
2688
  .wpallexport-plugin .custom-params tr td{
2689
- /*width: 50%;*/
2690
  }
2691
  .wpallexport-plugin .custom-params tr td.action{
2692
- width: 100% !important;
2693
- position: relative;
2694
- display: block;
2695
  }
2696
  .wpallexport-plugin .form-field textarea{
2697
- width:80%;
2698
  }
2699
  .wpallexport-plugin .drag-element .assign_post{
2700
- float: left;
2701
- margin-top: 2px;
2702
- }
2703
- .wpallexport-plugin .post_taxonomy{
2704
- /*margin-bottom: 15px;*/
2705
- overflow: hidden;
2706
- padding-left: 5px;
2707
- /*padding-bottom: 15px;*/
2708
- }
2709
- .wpallexport-plugin .post_taxonomy .delim{
2710
- padding-left: 25px;
2711
- }
2712
- .wpallexport-plugin .post_taxonomy .delim .add-new-ico{
2713
- float: left;
2714
- margin-right: 10%;
2715
- margin-top: 5px;
2716
- }
2717
- .wpallexport-plugin .post_taxonomy ol.ui-sortable{
2718
- padding-right: 0px;
2719
- }
2720
- .wpallexport-plugin .post_taxonomy ol.ui-sortable .drag-element{
2721
- background-position: 0 10px;
2722
- }
2723
- .wpallexport-plugin .post_taxonomy ol.ui-sortable .remove-ico{
2724
- top: 8px;
2725
- }
2726
 
2727
  .wpallexport-plugin .separated_by{
2728
- float: right;
2729
- font-size: 12px;
2730
- color: #999999;
2731
- margin-right: 20px;
2732
  }
2733
  .wpallexport-plugin .delim > label{
2734
- color: #999999;
2735
- font-size: 11px;
2736
  }
2737
- .wpallexport-plugin .template-sidebar .tag{
2738
- /*max-height: 550px;*/
2739
  }
2740
  .wpallexport-plugin .wp-pointer-content .action.remove a{
2741
- top: 8px;
2742
  }
2743
  .wpallexport-plugin .wpallexport-drag-icon{
2744
- position: relative;
2745
- top: 5px;
2746
  }
2747
  .wpallexport-plugin .wpallexport-featured-images textarea{
2748
- width: 70%;
2749
- height: 70px;
2750
- margin: 5px 0;
2751
- padding-top: 5px;
2752
  }
2753
  .wpallexport-plugin .wpallexport-placeholder{
2754
- color: #888 !important;
2755
  }
2756
  .wpallexport-plugin .ui-widget-overlay{
2757
- background: #777 !important;
2758
- z-index: 99999;
2759
  }
2760
  .wpallexport-plugin .auto_detect_sf{
2761
- width: 80px;
2762
- left: 0;
2763
  }
2764
  .wpallexport-plugin .ui-menu-item a{
2765
- text-decoration: none;
2766
- color: #777;
 
 
 
 
2767
  }
2768
- .wpallexport-plugin .ui-menu-item a.ui-state-focus,
2769
- .wpallexport-plugin .ui-menu-item a.ui-state-active{
2770
- margin: 0;
2771
- }
2772
  .wpallexport-plugin .ui-menu-item{
2773
- border-bottom: 1px solid #777;
2774
  }
2775
  .wpallexport-plugin .ui-menu-item:last-child{
2776
- border-bottom: none;
2777
  }
2778
  .wpallexport-plugin .cf_welcome,
2779
  .wpallexport-plugin .cf_detect_result{
2780
- position: relative;
2781
- text-align: center;
2782
- padding-bottom: 15px;
2783
- padding-top: 10px;
2784
- border-bottom: 1px solid #ddd;
2785
- border-top: 1px solid #ddd;
2786
  }
2787
  .wpallexport-plugin .wpallexport-dismiss-cf-welcome{
2788
- display: block;
2789
- width: 100px;
2790
- /*height: 16px;
2791
- position: absolute;
2792
- right: 10px;
2793
- top: 30%;*/
2794
- /*background: url('../img/ico-remove.png') no-repeat;*/
2795
- margin: 0 auto;
2796
  }
2797
  .wpallexport-plugin .wpallexport-cf-options{
2798
- display: block;
2799
- padding: 10px 12px;
2800
  }
2801
  .wpallexport-plugin .wpallexport-cf-menu{
2802
- display: none;
2803
- border: none;
2804
- -webkit-border-radius: 0px;
2805
- -moz-border-radius: 0px;
2806
- -o-border-radius: 0px;
2807
- border-radius: 0px;
2808
- border: 0px;
2809
- padding: 0;
2810
- /*padding-left: 12px;*/
2811
- margin-bottom: 0;
2812
- margin-top: 0;
2813
  }
2814
  .wpallexport-plugin .wpallexport-cf-menu li{
2815
- border-bottom: none;
2816
- padding: 5px 0;
2817
- padding-left: 16px;
2818
- margin-bottom: 0;
2819
- cursor: pointer;
2820
- width: auto;
2821
  }
2822
  .wpallexport-plugin .wpallexport-cf-menu li:hover{
2823
- background: #fafafa;
2824
  }
2825
  .wpallexport-plugin .wpallexport-cf-menu li.active{
2826
- list-style: disc inside none;
2827
- padding-left: 5px;
2828
  }
2829
  .wpallexport-plugin .wpallexport-cf-menu li a{
2830
- padding: 0;
2831
- /*font-family: "Open Sans",​sans-serif;*/
2832
- font-size: 12px;
2833
- display: inline;
2834
- color: #777;
2835
  }
2836
  .wpallexport-plugin .ui-autocomplete li a:hover{
2837
- border: none;
2838
- -webkit-border-radius: 0px;
2839
- -moz-border-radius: 0px;
2840
- -o-border-radius: 0px;
2841
- border-radius: 0px;
2842
- border: 0px;
2843
  }
2844
  .wpallexport-plugin .wpallexport-not-empty{
2845
- /*display: block;
2846
- padding: 5px;*/
2847
  }
2848
- .wpallexport-plugin .wp-all-export-format{
2849
- /*margin-top: 15px; */
2850
  }
2851
 
2852
  .wpallexport-plugin .product_variations .sub-options {
2853
- margin-left: 20px;
2854
- margin-top: 8px;
2855
- margin-bottom: 8px;
2856
  }
2857
 
2858
  .sub-options {
2859
- display: none;
2860
  }
2861
  /*--------------------------------------------------------------------------
2862
  *
2863
  * Step 4 - Import Options
2864
- *
2865
  *-------------------------------------------------------------------------*/
2866
 
2867
  .wpallexport-plugin .options .tag{
2868
- margin-top: 0px;
2869
  }
2870
  .wpallexport-plugin .show_hints{
2871
- color: #fff;
2872
- padding: 10px;
2873
- -moz-border-radius-topleft: 5px;
2874
- -webkit-border-top-left-radius: 5px;
2875
- border-top-left-radius: 5px;
2876
- -moz-border-radius-bottomleft: 5px;
2877
- -webkit-border-bottom-left-radius: 5px;
2878
- border-bottom-left-radius: 5px;
2879
- position: absolute;
2880
- top: 18px;
2881
- right: -1px;
2882
- background: url('../img/ui_4.0/right_btn.png') no-repeat 95% 8px #40acad;
2883
- padding-right: 30px;
2884
- cursor: pointer;
2885
- border: none;
 
 
 
2886
  }
2887
- .wpallexport-plugin .show_hints:hover{
2888
- color: #dfdfdf;
2889
- }
2890
 
2891
  .wpallexport-plugin .wp-pointer-arrow{
2892
- display: none;
2893
  }
2894
  .wpallexport-plugin .wp-pointer-content,
2895
  .wpallexport-plugin .wpallexport-pointer-content{
2896
- border: 1px solid #ecebe7;
2897
- border-radius: 4px;
2898
- -moz-border-radius: 4px;
2899
- -khtml-border-radius: 4px;
2900
- -webkit-border-radius: 4px;
2901
- margin: 20px 10px 20px 20px;
2902
- padding: 0;
2903
- }
2904
- .wpallexport-plugin .wp-pointer-content fieldset{
2905
- margin-top: 15px;
2906
- }
2907
- .wpallexport-plugin .wp-pointer-content .wp-pointer-buttons,
2908
- .wpallexport-plugin .wpallexport-pointer-content .wp-pointer-buttons{
2909
- padding: 15px;
2910
- background: #f7f8f8;
2911
- border-top: 1px solid #ebebeb;
2912
- }
2913
- .wpallexport-plugin .wp-pointer-content .wp-pointer-buttons a.close:before,
2914
- .wpallexport-plugin .wpallexport-pointer-content .wp-pointer-buttons a.close:before{
2915
- content:none;
2916
- }
2917
- .wpallexport-plugin .wp-pointer-content .wp-pointer-buttons a.close,
2918
- .wpallexport-plugin .wpallexport-pointer-content .wp-pointer-buttons a.close{
2919
- background: url('../img/remove.png') no-repeat 10px 10px #e4e6e6;
2920
- padding: 10px 15px 10px 30px;
2921
- color: #777;
2922
- border-radius: 4px;
2923
- -moz-border-radius: 4px;
2924
- -khtml-border-radius: 4px;
2925
- -webkit-border-radius: 4px;
2926
- }
2927
-
2928
- .wpallexport-plugin .options .wpallexport-submit-buttons{
2929
- position: relative;
2930
- text-align: center;
2931
- top: 10px;
2932
  }
2933
  .wpallexport-plugin form.options{
2934
- position: relative;
2935
- margin-top: 0 !important;
2936
- overflow: hidden;
2937
  }
2938
  .wpallexport-plugin form.edit{
2939
- /*overflow: hidden;*/
2940
  }
2941
  .wpallexport-plugin .switcher-target-is_keep_former_posts{
2942
- padding-left: 25px;
2943
  }
2944
  .wpallexport-plugin .wpallexport-change-custom-type{
2945
- margin-left: 6px;
2946
  }
2947
 
2948
  /*--------------------------------------------------------------------------
2949
  *
2950
  * Step 5 - Confirm Import Settings
2951
- *
2952
  *-------------------------------------------------------------------------*/
2953
 
2954
  /*.wpallexport-plugin .wpallexport-step-5 .wpallexport-section .wpallexport-content-section{
@@ -2963,596 +3006,596 @@ a.wpallexport-import-to-format span.wpallexport-import-to-title {
2963
  padding: 0 10%;
2964
  }*/
2965
  .wpallexport-plugin .wpallexport-step-5 .wpallexport-section .wpallexport-collapsed-content{
2966
- border-top: 1px solid #ebebeb;
2967
- margin-top: 10px;
2968
- padding-top: 10px;
2969
- }
2970
- .wpallexport-plugin .wpallexport-step-5 .wpallexport-section .wpallexport-collapsed-content p{
2971
- color: #777;
2972
- background: url('../img/ui_4.0/logo_small.png') no-repeat;
2973
- padding-left: 35px;
2974
- min-height: 26px;
2975
- line-height: 28px;
2976
- }
2977
-
2978
- .wpallexport-plugin form.confirm{
2979
- margin-bottom: 20px;
2980
- margin-top: 20px;
2981
- text-align: center;
2982
- }
2983
- .wpallexport-plugin form.confirm input[type="submit"]{
2984
- background: #46ba69;
2985
- padding: 20px 30px 20px 30px;
2986
- color: #fff;
2987
- border: none;
2988
- font-weight: bold;
2989
- cursor: pointer;
2990
- }
2991
- .wpallexport-plugin form.confirm a{
2992
- text-decoration: none;
2993
- color: #777;
2994
- }
2995
- .wpallexport-plugin table.confirm ul {
2996
- list-style: disc inside none;
2997
- }
2998
- .wpallexport-plugin table.confirm ul li ul{
2999
- margin-left: 20px;
3000
- margin-top: 5px;
3001
- list-style: circle inside none;
3002
- }
3003
- /*.wpallexport-plugin #download_log_separator,
3004
  .wpallexport-plugin #download_log{
3005
  display: none;
3006
  }*/
3007
 
3008
  .wpallexport-plugin .wpallexport-ready-to-go{
3009
- /*background: url("../img/elements.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;*/
3010
- /*float: left;*/
3011
- /*margin-left: 40px;*/
3012
- /*margin-top: 25px;*/
3013
- /*padding-left: 80px;*/
3014
- /*text-align: left;*/
3015
-
3016
- background: rgba(0, 0, 0, 0) url("../img/elements.png") no-repeat scroll 0 0 !important;
3017
- height: 63px;
3018
- margin-bottom: 20px;
3019
- margin-left: 40px;
3020
- margin-top: 25px;
3021
- padding-left: 80px;
3022
- position: relative;
3023
-
3024
- }
3025
- .wpallexport-plugin .wpallexport-ready-to-go h3{
3026
- color: #425f9a;
3027
- margin-bottom: 0;
3028
- margin-top: 3px;
3029
- font-size: 22px;
3030
- line-height: 28px;
3031
- }
3032
- .wpallexport-plugin .wpallexport-ready-to-go h4{
3033
- color: #777;
3034
- margin-top: 5px;
3035
- font-size:18px;
3036
- }
3037
- .wpallexport-plugin .nothing_to_export{
3038
- background: url("../img/exclamation.png") no-repeat scroll 5px 5px rgba(0, 0, 0, 0) !important;
3039
- }
3040
  .wpallexport-plugin .wpallexport-is-continue{
3041
- text-align: left;
3042
- float: left;
3043
- margin: 12px 40px 12px 0px;
3044
  }
3045
  /*--------------------------------------------------------------------------
3046
  *
3047
  * Step 6 - Processing
3048
- *
3049
  *-------------------------------------------------------------------------*/
3050
 
3051
  .wpallexport-plugin .pmxi_error_msg{
3052
- color: #FF0000;
3053
- display: block;
3054
- font-size: 12px;
3055
- line-height: 18px;
3056
- padding: 2px;
3057
  }
3058
  .wpallexport-plugin .wpallexport-upload-process{
3059
- border: none;
3060
- padding: 1px;
3061
  }
3062
  .wpallexport-plugin .wpallexport_process_parent_wrapper
3063
  {
3064
- margin-bottom: 20px;
3065
- }
3066
- .wpallexport-plugin .wpallexport_processbar{
3067
- text-align: center;
3068
- visibility: hidden;
3069
- height: 30px;
3070
- margin-top: 18px;
3071
- margin-bottom: 20px;
3072
- background: #fff;
3073
- color: #222222;
3074
- position: relative;
3075
- }
3076
- .wpallexport-plugin .wpallexport_processbar div
3077
- {
3078
- background: #76d771;
3079
- height: 30px;
3080
- width: 0%;
3081
- position: absolute;
3082
- top:0;
3083
- }
3084
- .wpallexport-plugin .wpallexport_process_child_wrapper
3085
- {
3086
- height: 55px;
3087
- overflow: hidden;
3088
- }
3089
- .wpallexport-plugin .wpallexport_process_child_wrapper .wpallexport_processbar
3090
- {
3091
- height: 10px;
3092
- margin: 10px 0px 10px;
3093
- }
3094
- .wpallexport-plugin .wpallexport_process_child_wrapper .wpallexport_processbar div
3095
- {
3096
- width: 0%;
3097
- height: 10px;
3098
- }
3099
  .wpallexport-plugin .export_progress{
3100
- color: #000000;
3101
- font-size: 21px;
3102
- /*font-weight: bold;*/
3103
- display: block;
3104
- width: 100%;
3105
- text-align: center;
3106
- opacity: 1;
3107
- position: relative;
3108
- padding-top: 10px;
3109
- }
3110
- .wpallexport-plugin .export_progress .center_progress{
3111
- color:#46ba69;
3112
- font-size: 60px;
3113
- }
3114
- .wpallexport-plugin .right_progress{
3115
- position: absolute;
3116
- right: 0;
3117
- color:#777;
3118
- }
3119
- .wpallexport-plugin .right_progress span{
3120
- color:#000;
3121
- }
3122
- .wpallexport-plugin .left_progress{
3123
- position: absolute;
3124
- left: 0;
3125
- color: #777;
 
 
 
3126
  }
3127
- .wpallexport-plugin .left_progress #then{
3128
- color:#000;
3129
- }
3130
  .wpallexport-plugin .wpallexport_process_child_wrapper .export_progress
3131
  {
3132
- font-size: 16px;
3133
- padding: 0px;
3134
  }
3135
  .wpallexport-plugin .wpallexport_process_child_wrapper .center_progress
3136
  {
3137
- font-size: 20px;
3138
  }
3139
  .wpallexport-plugin #existing_meta_keys{
3140
- margin-bottom: 10px;
3141
- padding: 2px;
3142
- width: 580px;
3143
  }
3144
  .wpallexport-plugin #export_finished{
3145
- display: none;
3146
- text-align: center;
3147
- padding-top: 30px;
3148
- }
3149
- .wpallexport-plugin #export_finished .normal-tab p{
3150
- color: #777;
3151
- font-size: 16px;
3152
- }
3153
- .wpallexport-plugin #export_finished .wp_all_export_download div.input{
3154
- display: inline-block;
3155
- vertical-align: top;
3156
- }
3157
- .wpallexport-plugin #export_finished .wp_all_export_download div.input .button-primary{
3158
- width: 193px;
3159
- background-image: none;
3160
- }
3161
- .wpallexport-plugin #export_finished .wp_all_export_download div.input span{
3162
- color: #777;
3163
- display: block;
3164
- font-size: 10px;
3165
- }
3166
-
3167
- .wpallexport-plugin #export_finished .wpallexport-log-details{
3168
- display: none;
3169
- }
3170
-
3171
- .wpallexport-plugin #export_finished .export_finished_icon{
3172
- /*background: url('../img/ui_4.0/export_finished.png') no-repeat center center;*/
3173
- width: 100%;
3174
- height: 255px;
3175
- margin: 40px 0;
3176
- }
3177
- .wpallexport-plugin #export_finished .normal-tab h1{
3178
- font-size: 48px;
3179
- color: #46ba69;
3180
- font-weight: normal;
3181
- }
3182
- .wpallexport-plugin #export_finished .normal-tab h3{
3183
- font-size: 21px;
3184
- color: #777;
3185
- font-weight: normal;
3186
- line-height: 30px;
3187
- }
3188
- .wpallexport-plugin #export_finished .normal-tab h3 span{
3189
- color: #000;
3190
- }
3191
- .wpallexport-plugin #export_finished hr{
3192
- margin: 20px 15%;
3193
- }
3194
- .wpallexport-plugin #export_finished .normal-tab a{
3195
- color: #40acad;
3196
- text-decoration: none;
3197
- margin: 5px 10px;
3198
- display: inline-block;
3199
- height: 25px;
3200
- }
3201
  .wpallexport-plugin #process{ display:none; }
3202
  .wpallexport-plugin .ui-widget-header{
3203
- -moz-border-radius: 4px;
3204
- -khtml-border-radius: 4px;
3205
- -webkit-border-radius: 4px;
3206
- border-radius: 4px;
3207
  }
3208
  .wpallexport-plugin .ui-progressbar-value {
3209
- background: #76d771 !important;
3210
- border: none !important;
3211
- -moz-border-radius: 8px;
3212
- -khtml-border-radius: 8px;
3213
- -webkit-border-radius: 8px;
3214
- border-radius: 8px;
3215
  }
3216
  .wpallexport-plugin .wpallexport-modal-message{
3217
- background: none repeat scroll 0 0 yellow;
3218
- color: red;
3219
- padding: 4px;
3220
- margin-top: 10px;
3221
- display: none;
3222
  }
3223
- .wpallexport-plugin #logwrapper{
3224
- border: 1px solid #aaa;
3225
- margin: 10px auto;
3226
  }
3227
  .wpallexport-plugin #loglist{
3228
- border: 1px solid #AAAAAA;
3229
- height: 380px;
3230
- overflow: auto;
3231
  }
3232
  .wpallexport-plugin #loglist > p{
3233
- margin: 0;
3234
- padding: 3px 5px;
3235
  }
3236
  .wpallexport-plugin #loglist > p.odd{
3237
- background: #dfdfdf;
3238
  }
3239
  /*--------------------------------------------------------------------------
3240
  *
3241
  * Reimport
3242
- *
3243
  *-------------------------------------------------------------------------*/
3244
 
3245
  .wpallexport-plugin .info_ico{
3246
- background: url('../img/ui_4.0/info.png') 0 50% no-repeat;
3247
- padding: 10px 10px 10px 40px;
3248
- color: #777;
3249
  }
3250
  .wpallexport-plugin .drag_an_element_ico{
3251
- background: url('../img/ui_4.0/drag.png') 0 50% no-repeat;
3252
- padding: 10px 10px 10px 40px;
3253
- color: #777;
3254
  }
3255
 
3256
  /*--------------------------------------------------------------------------
3257
  *
3258
- * XML & CSV
3259
- *
3260
  *-------------------------------------------------------------------------*/
3261
 
3262
  /*@+ XML representation */
3263
- .wpallexport-plugin .tag {
3264
- position: fixed;
3265
- max-width: 450px;
3266
- top: 127px;
3267
- padding-bottom: 20px;
3268
- margin-right: 15px;
3269
- width: 22%;
3270
  }
3271
  .wpallexport-plugin #wp-content-editor-tools{
3272
- background: #fff !important;
3273
  }
3274
  .wpallexport-plugin .tag .title {
3275
- font-weight: bold;
3276
- padding: 6px 8px;
3277
- color: #464646;
3278
- background: #fff;
3279
- font-size: 12px;
3280
- text-align: center;
3281
- border: 1px solid #ddd;
3282
- border-bottom: 1px solid #ddd;
3283
- -moz-border-radius-topleft: 4px;
3284
- -webkit-border-top-left-radius: 4px;
3285
- border-top-left-radius: 4px;
3286
- -moz-border-radius-topright: 4px;
3287
- -webkit-border-top-right-radius: 4px;
3288
- border-top-right-radius: 4px;
3289
  }
3290
  .wpallexport-plugin .tag .wpallexport-xml {
3291
- /*max-height: 525px;*/
3292
- max-width: 450px;
3293
- overflow: auto;
3294
- border: 1px solid #ddd;
3295
- border-top:none;
3296
- -moz-border-radius-bottomright: 4px;
3297
- -webkit-border-bottom-right-radius: 4px;
3298
- border-bottom-right-radius: 4px;
3299
- -moz-border-radius-bottomleft: 4px;
3300
- -webkit-border-bottom-left-radius: 4px;
3301
- border-bottom-left-radius: 4px;
3302
- background: #fafafa;
3303
  }
3304
  .wpallexport-plugin .tag .navigation {
3305
- /*float: right;*/
3306
- /*margin: 2px -12px 0 0;*/
3307
- margin-bottom: 3px;
3308
- margin-top: 3px;
3309
- }
3310
- .wpallexport-plugin .tag .navigation a,
3311
- .wpallexport-plugin .tag .navigation span,
3312
- #post-preview .navigation a,
3313
- #post-preview .navigation span {
3314
- font-weight: bold;
3315
- padding: 0 12px;
3316
- text-decoration: none;
3317
- height: 25px;
3318
- }
3319
- .wpallexport-plugin .tag .navigation span.out_of{
3320
- color:#777;
3321
- margin-left: 0;
3322
- }
3323
- .wpallexport-plugin .tag .navigation .previous_element,
3324
- #post-preview .navigation .previous_element{
3325
- float: left;
3326
- background: url('../img/left_btn.png') 5% 0 no-repeat;
3327
- margin-top: 10px;
3328
- }
3329
- .wpallexport-plugin .tag .navigation .next_element,
3330
- #post-preview .navigation .next_element{
3331
- float: right;
3332
- background: url('../img/right_btn.png') 95% 0 no-repeat;
3333
- margin-top: 10px;
3334
- }
3335
-
3336
- @media screen and (max-height: 900px) {
3337
- .wpallexport-plugin .tag {
3338
- padding-bottom: 0px;
3339
- }
3340
- .wpallexport-plugin .tag .wpallexport-xml {
3341
- /*max-height: 400px;*/
3342
- }
3343
  }
3344
 
3345
  .wpallexport-plugin .wpallexport-xml {
3346
- /*padding-left: 15px;*/
3347
- overflow: auto;
3348
- /*height: 92%;*/
3349
  }
3350
  .wpallexport-plugin .wpallexport-xml .wpallexport-hasmenu{
3351
- -webkit-user-select: none;
3352
- -khtml-user-select: none;
3353
- -moz-user-select: none;
3354
- -ms-user-select: none;
3355
- user-select: none;
3356
  }
3357
  .wpallexport-plugin .wpallexport-xml .xml-element-xpaths{
3358
- /*display: none;*/
3359
  }
3360
  .wpallexport-plugin .xml-element {
3361
- border: 1px solid transparent;
3362
- margin: 1px 1px 1px 0;
 
 
 
3363
  }
3364
- .wpallexport-plugin .xml-element .xml-element-xpaths{
3365
- /*display: none;*/
3366
- }
3367
  .wpallexport-plugin .xml-element.selected > .xml-tag.opening .xml-tag-name {
3368
- background-color: #B5E61D;
3369
  }
3370
  .wpallexport-plugin .xml-content {
3371
- padding-left: 14px;
3372
- max-width: 500px;
3373
- overflow: hidden;
3374
  }
3375
  .wpallexport-plugin .xml-content.collapsed {
3376
- display: none;
3377
  }
3378
  .wpallexport-plugin .xml-content.textonly.short {
3379
- padding-left: 0px;
3380
- display: inline;
3381
  }
3382
  .wpallexport-plugin .xml-content.textonly.cdata{
3383
- color: #a50;
3384
  }
3385
  .wpallexport-plugin .xml-tag {
3386
- display: inline;
3387
  }
3388
- .wpallexport-plugin .xml-tag-name,
3389
  .wpallexport-plugin .csv-tag-name {
3390
- color: #40acad;
3391
- font-weight: bold;
3392
  }
3393
  .wpallexport-plugin .xml-tag.opening .xml-tag-name {
3394
- cursor: pointer;
3395
  }
3396
  .wpallexport-plugin .wpallexport-xml .xml-tag.opening .xml-tag-name{
3397
- cursor: default;
3398
  }
3399
  .wpallexport-plugin .xml-attr-name {
3400
- font-weight: bold;
3401
- cursor: pointer;
3402
  }
3403
  .wpallexport-plugin .xml-attr-value {
3404
- color: blue;
3405
  }
3406
  .wpallexport-plugin .xml-expander {
3407
- display: inline-block;
3408
- width: 12px;
3409
- margin-left: -12px;
3410
- -moz-user-select: none;
3411
- -khtml-user-select: none;
3412
- -webkit-user-select: none;
3413
- user-select: none;
3414
- cursor: pointer;
3415
- font-family: monospace;
3416
- line-height: 100%;
3417
- text-align: left;
3418
- color: red;
3419
  }
3420
  .wpallexport-plugin .xml-more {
3421
- color: red;
3422
- font-size: 80%;
3423
  }
3424
  .wpallexport-plugin .xml.resetable .xml-element.lvl-mod4-3 > .xml-content {
3425
- margin-left: -59px;
3426
- margin-right: -8px;
3427
- background-color: #fff;
3428
- border: 1px dashed #906;
3429
- border-left: 1px solid #906;
3430
- border-right: none;
3431
  }
3432
  .wpallexport-plugin .xml.resetable .xml-element.lvl-mod4-3 > .xml-content.short {
3433
- margin-left: 0;
3434
- margin-right: 0;
3435
- border: none;
3436
- background-color: inherit;
3437
  }
3438
  .wpallexport-plugin .wpallexport-xml .xml-element.lvl-0 .xml-tag .xml-tag-name{
3439
- color: #46ba69;
3440
  }
3441
  .wpallexport-plugin .wpallexport-xml .xml-element.lvl-1 .xml-tag .xml-tag-name{
3442
- color: #40acad;
3443
  }
3444
  /*.wpallexport-plugin .csv_element .is_numeric{
3445
  text-align: right;
3446
  }*/
3447
  .wpallexport-plugin .csv-content{
3448
- overflow: hidden;
3449
- margin-bottom: 15px;
3450
- margin-top: 15px;
3451
- padding-right: 15px;
3452
  }
3453
- .wpallexport-plugin .csv_element .csv-tag,
3454
  .wpallexport-plugin .csv_element .xml-content{
3455
- width: 46%;
3456
- /*border: 1px solid #ccc;*/
3457
- padding: 3px !important;
3458
- display: block;
3459
- float: left;
3460
  }
3461
  .wpallexport-plugin .wpallexport-choose-elements .csv_element .csv-tag{
3462
- width: 25%;
3463
  }
3464
  .wpallexport-plugin .wpallexport-choose-elements .csv_element .xml-content{
3465
- width: 70%;
3466
  }
3467
  .wpallexport-plugin .csv_element .csv-tag{
3468
- border-right: 1px solid #CCCCCC;
3469
- margin-right: -1px;
3470
  }
3471
  .wpallexport-plugin .csv_element .xml-content{
3472
- border-left: 1px solid #ccc;
3473
- width: 48%;
3474
  }
3475
  .wpallexport-plugin .csv_element{
3476
- border: 1px solid #ccc;
3477
- overflow: hidden;
3478
- width: 100%;
3479
- background: #fff;
3480
  }
3481
  .wpallexport-plugin .csv_element.lvl-0{
3482
- border: none;
3483
  }
3484
  /* xml table representation */
3485
  .wpallexport-plugin tr.xml-element.selected .xml-tag.opening .xml-tag-name {
3486
- background-color: #B5E61D;
3487
  }
3488
  .wpallexport-plugin table.wpallexport-xml td {
3489
- padding-left: 20px;
3490
  }
3491
  .wpallexport-plugin table.wpallexport-xml td:first-child {
3492
- width: 1px;
3493
- padding-left: 0px;
3494
  }
3495
 
3496
  .wpallexport-plugin table.wpallexport-xml,
3497
  .wpallexport-plugin table.wpallexport-xml table {
3498
- width: 100%;
3499
- border-collapse:collapse;
3500
- border-spacing:0;
3501
  }
3502
  .product_variations {
3503
- display: block;
3504
  }
3505
 
3506
  .wpallexport-plugin .product_variations input {
3507
- margin-bottom: 0;
3508
  }
3509
 
3510
  .wpallexport-plugin .wpallexport-custom-xml-template .cdata label {
3511
- vertical-align: 0px;
3512
  }
3513
 
3514
  .wpallexport-plugin .wpallexport-custom-xml-template .cdata input {
3515
- vertical-align: -2px;
3516
  }
3517
  /*@*/
3518
 
3519
  /*--------------------------------------------------------------------------
3520
  *
3521
  * Manage Imports
3522
- *
3523
  *-------------------------------------------------------------------------*/
3524
 
3525
  /*@+ table list */
3526
  .wpallexport-plugin table.widefat th {
3527
- white-space: nowrap;
3528
  }
3529
  .wpallexport-plugin table.widefat th.ASC a {
3530
- background-image: url("../img/screen-options-right-up.gif");
3531
- background-repeat: no-repeat;
3532
- background-position: right center;
3533
- padding-right: 19px;
3534
  }
3535
  .wpallexport-plugin table.widefat th.DESC a {
3536
- background-image: url("../img/screen-options-right.gif");
3537
- background-repeat: no-repeat;
3538
- background-position: right center;
3539
- padding-right: 19px;
3540
  }
3541
 
3542
  .wpallexport-plugin table.widefat.pmxi-admin-imports th.column-id {
3543
- width: 35px;
3544
  }
3545
  .wpallexport-plugin table.widefat.pmxi-admin-imports th.column-scheduled {
3546
- width: 85px;
3547
  }
3548
  .wpallexport-plugin table.widefat.pmxi-admin-imports th.column-registered_on {
3549
- width: 130px;
3550
  }
3551
  .wpallexport-plugin table.widefat.pmxi-admin-imports th.column-post_count {
3552
- width: 105px;
3553
  }
3554
  .wpallexport-plugin .wpallexport-disabled{
3555
- color: #888 !important;
3556
  }
3557
  /*@*/
3558
  /*.wpallexport-plugin .pmxi-admin-imports a.delete{
@@ -3568,116 +3611,116 @@ a.wpallexport-import-to-format span.wpallexport-import-to-title {
3568
 
3569
  .wpallexport-plugin .manage-column.check-column,
3570
  .wpallexport-plugin #the-pmxi-admin-import-list .check-column{
3571
- padding: 10px;
3572
  }
3573
 
3574
  /*--------------------------------------------------------------------------
3575
  *
3576
  * Setting Page
3577
- *
3578
  *-------------------------------------------------------------------------*/
3579
 
3580
  /*@+ Setting Form */
3581
- .wpallexport-plugin form.settings {
3582
- /*padding: 1px 12px;*/
3583
  }
3584
  /*@*/
3585
  .wpallexport-plugin form.settings p{
3586
- /*font-size: 14px !important;*/
3587
  }
3588
  .wpallexport-plugin form.settings .wpallexport-header{
3589
- overflow: hidden;
3590
- height: 70px;
3591
- padding-top: 10px;
3592
  }
3593
 
3594
  .wpallexport-plugin .wpallexport-setting-wrapper{
3595
- clear: both;
3596
- overflow: hidden;
3597
- margin: 15px 0;
3598
  }
3599
  .wpallexport-plugin .wpallexport-setting-label{
3600
- width: 250px;
3601
- float: left;
3602
- padding-top: 10px;
3603
- font-weight: bold;
3604
  }
3605
  .wpallexport-plugin .wpallexport-setting{
3606
- float: left;
3607
- width: 600px;
3608
  }
3609
  .wpallexport-plugin .wpallexport-setting-note{
3610
- color: #777;
3611
- margin-top: 2px;
3612
  }
3613
 
3614
- .wpallexport-plugin .save_action,
3615
  .wpallexport-plugin .delete_action,
3616
  .wpallexport-plugin .preview_action,
3617
  .wpallexport-plugin .close_action{
3618
- -moz-border-radius: 4px;
3619
- -khtml-border-radius: 4px;
3620
- -webkit-border-radius: 4px;
3621
- border-radius: 4px;
3622
- position: absolute;
3623
- background: #40acad;
3624
- padding: 9px 15px;
3625
- color:#fff !important;
3626
- cursor: pointer;
3627
- width: 80px;
3628
  }
3629
 
3630
  .wpallexport-plugin .save_action{
3631
- bottom: 14px;
3632
- right: 15px;
3633
- background: #425f9a;
3634
- float: right;
3635
  }
3636
 
3637
  .wpallexport-plugin .preview_action{
3638
- bottom: 14px;
3639
- background: #40acad;
3640
- margin-left: 5px;
3641
  }
3642
 
3643
  .wpallexport-plugin .delete_action{
3644
- left: 113px;
3645
- bottom: 14px;
3646
- background: #e14d43;
3647
- margin-left: 5px;
3648
  }
3649
 
3650
  .wpallexport-plugin .close_action{
3651
- width: 85px;
3652
- left: 20px;
3653
- bottom: 14px;
3654
- background: url("../img/remove.png") no-repeat scroll 10px 10px #e4e6e6;
3655
- color: #777 !important;
3656
- padding: 9px 25px 9px 30px;
3657
  }
3658
 
3659
  .wpallexport-plugin .save_action.disabled,
3660
  .wpallexport-plugin .delete_action.disabled,
3661
  .wpallexport-plugin .preview_action.disabled,
3662
  .wpallexport-plugin .close_action.disabled{
3663
- background: #e4e6e6;
3664
- cursor: default !important;
3665
- color: #B3B3B3 !important
3666
  }
3667
 
3668
  .wpallexport-plugin .save_action.disabled:focus,
3669
  .wpallexport-plugin .preview_action.disabled:focus
3670
  {
3671
- outline: none;
3672
  }
3673
 
3674
  .wpallexport-plugin .wpae-custom-field ul li{
3675
- margin-left: 15px;
3676
  }
3677
 
3678
  .wpallexport-plugin .function-editor,
3679
  .wpallexport-plugin .client-mode-settings {
3680
- margin-top: 2em;
3681
  }
3682
 
3683
  .wpallexport-plugin .settings .submit-buttons {
@@ -3687,587 +3730,608 @@ a.wpallexport-import-to-format span.wpallexport-import-to-title {
3687
  /*--------------------------------------------------------------------------
3688
  *
3689
  * Media Queries
3690
- *
3691
  *-------------------------------------------------------------------------*/
3692
 
3693
- @media screen and (min-width: 1630px) and (max-width: 1730px) {
3694
-
3695
- .wpallexport-plugin .change_file a.wpallexport-import-from{
3696
- width: 320px;
3697
- }
3698
- .wpallexport-plugin .wpallexport-export-template tbody tr td.left{
3699
- width: 78%;
3700
- }
3701
- }
3702
-
3703
- @media screen and (min-width: 1530px) and (max-width: 1629px) {
3704
-
3705
- .wpallexport-plugin .change_file a.wpallexport-import-from{
3706
- width: 295px;
3707
- }
3708
-
3709
- .wpallexport-plugin .wpallexport-export-template tbody tr td.left{
3710
- width: 78%;
3711
- }
3712
- }
3713
-
3714
- @media screen and (min-width: 1416px) and (max-width: 1529px) {
3715
-
3716
- .wpallexport-plugin .change_file a.wpallexport-import-from{
3717
- width: 270px;
3718
- }
3719
-
3720
- .wpallexport-plugin .pmxi-admin-imports tr td em{
3721
- display: block;
3722
- max-width: 585px;
3723
- }
3724
-
3725
- .wpallexport-plugin .wpallexport-export-template tbody tr td.left{
3726
- width: 78%;
3727
- }
3728
- }
3729
-
3730
- @media screen and (min-width: 1350px) and (max-width: 1415px) {
3731
- .wpallexport-plugin .wpallexport-wrapper{
3732
- width: 1120px;
3733
- }
3734
- /*.wpallexport-plugin a.wpallexport-import-from{
3735
- width: 340px;
3736
- }*/
3737
- .wpallexport-plugin .change_file a.wpallexport-import-from{
3738
- width: 220px;
3739
- font-size: 15px;
3740
- }
3741
- .wpallexport-plugin .wpallexport-custom-fields textarea{
3742
- width: 60% !important;
3743
- }
3744
- .wpallexport-plugin .pmxi-admin-imports tr td em{
3745
- display: block;
3746
- max-width: 525px;
3747
- }
3748
- .wpallexport-plugin .wpallexport-extra-text-left{
3749
- width: 36%;
3750
- }
3751
- .wpallexport-plugin .wpallexport-extra-text-right{
3752
- width: 37%;
3753
- }
3754
- .wpallexport-plugin .wpallexport-is-continue{
3755
- margin: 12px 10px 12px 0;
3756
- }
3757
- .wpallexport-plugin .wpallexport-choose-import-direction[rel="new"]{
3758
- margin-left: -14%;
3759
- }
3760
- .wpallexport-plugin .wpallexport-choose-import-direction[rel="matching"]{
3761
- margin-left: -13%;
3762
- }
3763
- .wpallexport-plugin .wpallexport-export-template tbody tr td.left{
3764
- width: 76%;
3765
- }
3766
- }
3767
-
3768
- @media screen and (min-width: 1250px) and (max-width: 1349px) {
3769
- .wpallexport-plugin .wpallexport-wrapper{
3770
- width: 1020px;
3771
- }
3772
- .wpallexport-plugin .change_file .wpallexport-import-types h3{
3773
- font-size: 22px;
3774
- }
3775
- .wpallexport-plugin .change_file a.wpallexport-import-from{
3776
- width: 220px;
3777
- font-size: 15px;
3778
- }
3779
- .wpallexport-plugin .wpallexport-custom-fields textarea{
3780
- width: 55% !important;
3781
- }
3782
- .wpallexport-plugin .pmxi-admin-imports tr td em{
3783
- display: block;
3784
- max-width: 425px;
3785
- }
3786
- .wpallexport-plugin .wpallexport-extra-text-left{
3787
- width: 35%;
3788
- }
3789
- .wpallexport-plugin .wpallexport-extra-text-right{
3790
- width: 35%;
3791
- }
3792
- .wpallexport-plugin .wpallexport-is-continue{
3793
- margin: 12px 10px 12px 0;
3794
- }
3795
- .wpallexport-plugin .wpallexport-choose-import-direction[rel="new"]{
3796
- margin-left: -17%;
3797
- }
3798
- .wpallexport-plugin .wpallexport-choose-import-direction[rel="matching"]{
3799
- margin-left: -16%;
3800
- }
3801
- /*.wpallexport-plugin form.wpallexport-step-3{
3802
- width: 60%;
3803
- }*/
3804
- .wpallexport-plugin .wpallexport-export-template tbody tr td.left{
3805
- width: 74%;
3806
- }
3807
- }
3808
-
3809
- @media screen and (min-width: 1150px) and (max-width: 1249px) {
3810
- .wpallexport-plugin .wpallexport-wrapper{
3811
- width: 920px;
3812
- }
3813
- /*.wpallexport-plugin a.wpallexport-import-from{
3814
- width: 260px;
3815
- }*/
3816
- .wpallexport-plugin .wpallexport-upload-type-container{
3817
- padding: 0 40px;
3818
- }
3819
- /* .wpallexport-plugin .wpallexport-ready-to-go h4,
3820
- .wpallexport-plugin .ajax-console .founded_records h4{
3821
- font-size: 18px;
3822
- }
3823
- */ .wpallexport-plugin #pmxi_add_rule{
3824
- padding: 13px 25px 10px 50px;
3825
- }
3826
- .wpallexport-plugin #process_notice,
3827
- .wpallexport-plugin #export_finished h3{
3828
- font-size: 16px;
3829
- }
3830
- .wpallexport-plugin .change_file .wpallexport-import-types{
3831
- margin-top: 15px;
3832
- }
3833
- .wpallexport-plugin .change_file .wpallexport-import-types h3{
3834
- font-size: 18px;
3835
- }
3836
- .wpallexport-plugin .change_file a.wpallexport-import-from{
3837
- width: 190px;
3838
- font-size: 12px;
3839
- }
3840
- .wpallexport-plugin .wpallexport-custom-fields textarea{
3841
- width: 50% !important;
3842
- }
3843
- .wpallexport-plugin .pmxi-admin-imports tr td em{
3844
- display: block;
3845
- max-width: 325px;
3846
- }
3847
- .wpallexport-plugin .wpallexport-extra-text-left{
3848
- width: 33%;
3849
- }
3850
- .wpallexport-plugin .wpallexport-extra-text-right{
3851
- width: 34%;
3852
- }
3853
- .wpallexport-plugin .wpallexport-new-records,
3854
- .wpallexport-plugin .wpallexport-existing-records{
3855
- font-size: 16px;
3856
- }
3857
- .wpallexport-plugin .wpallexport-is-continue{
3858
- margin: 12px 10px 12px 0;
3859
- }
3860
- .wpallexport-plugin .wpallexport-choose-import-direction[rel="new"]{
3861
- margin-left: -17%;
3862
- }
3863
- .wpallexport-plugin .wpallexport-choose-import-direction[rel="matching"]{
3864
- margin-left: -16%;
3865
- }
3866
- /*.wpallexport-plugin form.wpallexport-step-3{
3867
- width: 55%;
3868
- }*/
3869
- .wpallexport-plugin .wpallexport-export-template tbody tr td.left{
3870
- width: 71%;
3871
- }
3872
- }
3873
- @media screen and (min-width: 1050px) and (max-width: 1149px) {
3874
- /*.wpallexport-plugin form.wpallexport-step-3{
3875
- width: 55%;
3876
- }*/
3877
- .wpallexport-plugin .wpallexport-wrapper{
3878
- width: 800px;
3879
- }
3880
- /*.wpallexport-plugin a.wpallexport-import-from{
3881
- width: 230px;
3882
- font-size: 15px;
3883
- }*/
3884
- .wpallexport-plugin .wpallexport-upload-type-container{
3885
- padding: 0 40px;
3886
- }
3887
- /* .wpallexport-plugin .wpallexport-ready-to-go h4,
3888
- .wpallexport-plugin .ajax-console .founded_records h4{
3889
- font-size: 14px;
3890
- }*/
3891
- .wpallexport-plugin form.confirm input[type="submit"]{
3892
- padding: 20px 10px 20px 10px;
3893
- }
3894
- .wpallexport-plugin #process_notice,
3895
- .wpallexport-plugin #export_finished h3{
3896
- font-size: 14px;
3897
- }
3898
- .wpallexport-plugin .export_progress{
3899
- font-size: 16px;
3900
- }
3901
- .wpallexport-plugin .change_file .wpallexport-import-types{
3902
- margin-top: 15px;
3903
- }
3904
- .wpallexport-plugin .change_file .wpallexport-import-types h3{
3905
- font-size: 18px;
3906
- }
3907
- .wpallexport-plugin .change_file a.wpallexport-import-from{
3908
- width: 150px;
3909
- font-size: 0px;
3910
- }
3911
- .wpallexport-plugin .change_file a.wpallexport-import-from .wpallexport-icon{
3912
- left: 0 !important;
3913
- }
3914
- .wpallexport-plugin .wpallexport-custom-fields textarea{
3915
- width: 45% !important;
3916
- }
3917
- .wpallexport-plugin .pmxi-admin-imports tr td em{
3918
- display: block;
3919
- max-width: 235px;
3920
- }
3921
- .wpallexport-plugin .wpallexport-extra-text-left{
3922
- width: 30%;
3923
- }
3924
- .wpallexport-plugin .wpallexport-extra-text-right{
3925
- width: 31%;
3926
- }
3927
- .wpallexport-plugin .wpallexport-new-records,
3928
- .wpallexport-plugin .wpallexport-existing-records{
3929
- font-size: 12px;
3930
- }
3931
- .wpallexport-plugin .wpallexport-is-continue{
3932
- margin: 12px 10px 12px 0;
3933
- }
3934
- /* .wpallexport-plugin .wpallexport-ready-to-go h3{
3935
- line-height: 20px;
3936
- margin-top: 10px;
3937
- }*/
3938
- .wpallexport-plugin .wpallexport-choose-import-direction[rel="new"]{
3939
- margin-left: -17%;
3940
- }
3941
- .wpallexport-plugin .wpallexport-choose-import-direction[rel="matching"]{
3942
- margin-left: -16%;
3943
- }
3944
- .wpallexport-plugin .wpallexport-export-template tbody tr td.left{
3945
- width: 67%;
3946
- }
3947
- }
3948
- @media screen and (max-width: 1049px) {
3949
- .wpallexport-plugin .wpallexport-wrapper{
3950
- width: 760px;
3951
- }
3952
- /*.wpallexport-plugin a.wpallexport-import-from{
3953
- width: 220px;
3954
- font-size: 15px;
3955
- }*/
3956
- .wpallexport-plugin .wpallexport-upload-type-container{
3957
- padding: 0 40px;
3958
- }
3959
- .wpallexport-plugin .wpallexport-import-to{
3960
- width: 330px;
3961
- }
3962
- /* .wpallexport-plugin .wpallexport-ready-to-go h4,
3963
- .wpallexport-plugin .ajax-console .founded_records h4{
3964
- font-size: 13px;
3965
- }*/
3966
- .wpallexport-plugin form.confirm input[type="submit"]{
3967
- padding: 20px 10px 20px 10px;
3968
- }
3969
- .wpallexport-plugin #process_notice,
3970
- .wpallexport-plugin #export_finished h3{
3971
- font-size: 13px;
3972
- }
3973
- .wpallexport-plugin .export_progress{
3974
- font-size: 16px;
3975
- }
3976
-
3977
- .wpallexport-plugin .change_file .wpallexport-import-types{
3978
- margin-top: 15px;
3979
- }
3980
- .wpallexport-plugin .change_file .wpallexport-import-types h3{
3981
- font-size: 14px;
3982
- }
3983
- .wpallexport-plugin .change_file a.wpallexport-import-from{
3984
- width: 130px;
3985
- font-size: 0px;
3986
- }
3987
- .wpallexport-plugin .change_file a.wpallexport-import-from .wpallexport-icon{
3988
- left: 0 !important;
3989
- }
3990
- .wpallexport-plugin .change_file #select-files{
3991
- font-size: 14px;
3992
- }
3993
- .wpallexport-plugin .wpallexport-import-to.wpallexport-to-new-items span.wpallexport-import-to-title:before{
3994
- left: 25%;
3995
- }
3996
- .wpallexport-plugin .wpallexport-import-to.wpallexport-to-existing-items span.wpallexport-import-to-title:before{
3997
- left: 20%;
3998
- }
3999
- .wpallexport-plugin .wpallexport-custom-fields textarea{
4000
- width: 45% !important;
4001
- }
4002
- .wpallexport-plugin .pmxi-admin-imports tr td em{
4003
- display: block;
4004
- max-width: 225px;
4005
- }
4006
- .wpallexport-plugin .wpallexport-extra-text-left{
4007
- width: 29%;
4008
- }
4009
- .wpallexport-plugin .wpallexport-extra-text-right{
4010
- width: 30%;
4011
- }
4012
- .wpallexport-plugin .wpallexport-new-records,
4013
- .wpallexport-plugin .wpallexport-existing-records{
4014
- font-size: 11px;
4015
- }
4016
- /* .wpallexport-plugin .wpallexport-ready-to-go{
4017
- padding-left: 70px;
4018
- }*/
4019
- .wpallexport-plugin .wpallexport-is-continue{
4020
- margin: 12px 10px 12px 0;
4021
- }
4022
- /* .wpallexport-plugin .wpallexport-ready-to-go h3{
4023
- line-height: 20px;
4024
- margin-top: 10px;
4025
- }*/
4026
- .wpallexport-plugin .wpallexport-choose-import-direction[rel="new"]{
4027
- margin-left: -17%;
4028
- }
4029
- .wpallexport-plugin .wpallexport-choose-import-direction[rel="matching"]{
4030
- margin-left: -16%;
4031
- }
4032
- /*.wpallexport-plugin form.wpallexport-step-3{
4033
- width: 55%;
4034
- }*/
4035
- .wpallexport-plugin .wpallexport-export-template tbody tr td.left{
4036
- width: 65%;
4037
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4038
  }
4039
 
4040
  .wpallexport-plugin .wpallimport-notify-wrapper .found_records.terminated, .wpallexport-plugin .found_records.terminated {
4041
- background: url(../img/ui_4.0/exclamation.png) no-repeat !important;
4042
  }
4043
 
4044
  .wpallexport-plugin .wpallexport-notify-wrapper .found_records {
4045
- padding-left: 80px;
4046
- margin-bottom: 0;
4047
- margin-left: 40px;
4048
- margin-top: 35px;
4049
- margin-bottom: 20px;
4050
- position: relative;
4051
  }
4052
 
4053
  .wpallexport-plugin .wpallexport-notify-wrapper .found_records h3 {
4054
- color: #425f9a;
4055
- margin-bottom: 0;
4056
- margin-top: 3px;
4057
- font-size: 22px;
4058
- line-height: 28px;
4059
  }
4060
 
4061
  .wpallexport-plugin .wpallexport-notify-wrapper .found_records h4 {
4062
- color: #777;
4063
- margin-top: 5px;
4064
- font-size: 20px;
4065
  }
4066
 
4067
  /** GENERAL EXPORT SUCCESS PAGE **/
4068
  #export_finished ul.success-tabs {
4069
- margin-bottom: 0;
4070
  }
4071
 
4072
  #export_finished .success-tabs li.tab {
4073
- display: inline-block;
4074
- width: 140px;
4075
- height: 20px;
4076
- padding: 14px;
4077
- border: 1px solid #ddd;
4078
- border-bottom: 0;
4079
- color:#777;
4080
- font-weight: bold;
4081
- font-size: 14px;;
4082
- margin-left: 0;
4083
- margin-bottom: 0;
4084
- margin-right: 2px;
4085
- border-top-right-radius: 3px;
4086
- border-top-left-radius: 3px;
4087
- cursor: pointer;
4088
- user-select: none;
4089
  }
4090
 
4091
  #export_finished .success-tabs li.tab:hover, #export_finished .success-tabs li.tab.selected {
4092
- background-color: #425f9a;
4093
- color: #fff;
4094
  }
4095
 
4096
  #export_finished .tab-content {
4097
- min-height:300px;
4098
- width: 870px;
4099
- display:none;
4100
- margin-left: auto;
4101
- margin-right: auto;
4102
- padding: 0 20px 20px;
4103
- transition: 1.2s ease-out;
4104
  }
4105
 
4106
  #export_finished .tab-content.selected {
4107
- display: block;
4108
  }
4109
 
4110
 
4111
 
4112
  #export_finished #tab1-content button, #export_finished #tab4-content button {
4113
- text-shadow: none;
4114
  }
4115
 
4116
  .subscribe-button-text {
4117
- text-shadow: none!important;
4118
  }
4119
 
4120
  #export_finished #tab2-content .wrap {
4121
- margin-left: 0;
4122
- margin-right: 0;
4123
  }
4124
 
4125
  #export_finished button {
4126
- background-image: none;
4127
- width:170px;
4128
- margin-top:-20px;
4129
  }
4130
 
4131
  #export_finished #tab4-content button {
4132
- margin-top: 0;
4133
  }
4134
 
4135
  #export_finished #tab4-content button {
4136
- width: 236px;
4137
  }
4138
 
4139
  #export_finished #download-details {
4140
- margin-top: 21px;
4141
- font-size: 14px;
4142
  }
4143
  /** ENG GENERAL EXPORT SUCCESS PAGE **/
4144
 
4145
  /** GOOGLE MERCHANTS EXPORT SUCCESS PAGE **/
4146
  ol li {
4147
- margin-bottom: 5px;
4148
  }
4149
  .google-merchants-success ol,
4150
  .google-merchants-success li,
4151
  .google-merchants-success h3,
4152
  .google-merchants-success p,
4153
  .google-merchants-success a {
4154
- padding-top:0;
4155
- padding-bottom:0;
4156
- margin-top: 0;
4157
- margin-bottom: 0;
4158
  }
4159
 
4160
  .google-merchants-success h3 {
4161
- margin-top: 21px;
4162
- margin-bottom: 21px;
4163
  }
4164
 
4165
  .google-merchants-success ol li {
4166
- font-size: 16px;
4167
- margin-top: 16px;
4168
 
4169
  }
4170
 
4171
  .google-merchants-success ol {
4172
- margin-left: 70px;
4173
- text-align: left;
4174
  }
4175
 
4176
  .google-merchants-success p {
4177
- margin-top: 21px;
4178
- margin-bottom: 21px;
4179
  }
4180
 
4181
  .google-merchants-success h3 {
4182
- color:#425f9a !important;
4183
- margin-top:0;
4184
  }
4185
 
4186
  .google-merchants-success .wpae-container {
4187
- width:500px;
4188
- background-color: #fff;
4189
- text-align: center;
4190
- margin-left: auto;
4191
- margin-right: auto;
4192
- padding: 20px 20px 41px;
4193
- border-radius: 3px;
4194
- border: 1px solid #ccc;
4195
  }
4196
 
4197
  .google-merchants-success a.merchants-dashboard-url {
4198
- padding: 0 !important;
4199
- margin: 0 !important;
4200
- height: auto !important;
4201
  }
4202
 
4203
  .google-merchants-success p.feed-url-title {
4204
- font-size: 21px;
4205
- margin-bottom: 14px;
4206
  }
4207
 
4208
  .google-merchats-success p a.feed-url {
4209
- font-size: 16px;
4210
- margin-top: 0 !important;
4211
- padding-top: 0 !important;
4212
  }
4213
 
4214
  .google-merchants-success p.feed-url {
4215
- padding-top:0 !important;
4216
- margin-top:0 !important;
4217
  }
4218
  /** END GOOGLE MERCHANTS SUCCESS PAGE **/
4219
 
4220
 
4221
  .scheduling_interval_type {
4222
- width:90px;
4223
- padding: 10px !important;
4224
- border: 1px solid #ddd;
4225
- border-radius: 4px;
4226
- -moz-border-radius: 4px;
4227
- -khtml-border-radius: 4px;
4228
- -webkit-border-radius: 4px;
4229
- color: #777;
4230
- position: relative;
4231
- top: 0;
4232
- height: auto !important;
4233
  }
4234
 
4235
  .scheduling_interval_duration {
4236
- border: 1px solid #ddd;
4237
- border-radius: 4px;
4238
- -moz-border-radius: 4px;
4239
- -khtml-border-radius: 4px;
4240
- -webkit-border-radius: 4px;
4241
- color: #777;
4242
- width: 56px;
4243
- padding: 10px;
4244
- height: auto !important;
4245
  }
4246
 
4247
 
4248
  /** COMBINE MULTIPLE ELEMENTS INTO ONE **/
4249
  #combine_multiple_fields_data .default_column {
4250
- display: none;
4251
  }
4252
 
4253
  #combine_multiple_fields_data ul {
4254
- margin-top: 0;
4255
  }
4256
 
4257
  input label {
4258
- font-size: 12px;
4259
  }
4260
  .wp-all-export-field-options {
4261
- margin-left: 20px;
4262
  }
4263
  .wp-all-export-field-options .chosen-container {
4264
- width: 100% !important;
4265
  }
4266
  .wpallexport-pointer-data.available-data {
4267
- max-height: 450px;
4268
  }
4269
  .wpallexport-pointer-data .fieldset{
4270
- width: 170px;
4271
  }
4272
 
4273
  .ui-state-active,
@@ -4284,138 +4348,138 @@ input label {
4284
  .ui-menu .ui-menu-item a.ui-state-active,
4285
  .ui-menu .ui-menu-item a
4286
  { background: #ffffff none no-repeat;
4287
- padding:0;
4288
- margin:0;
4289
- display:block;
4290
- border:0;border-collapse:collapse;
4291
  }
4292
 
4293
  .ui-menu .ui-menu-item a.ui-corner-all:hover, .ui-menu .ui-menu-item a.ui-corner-all:focus, .ui-menu .ui-menu-item a.ui-corner-all:active {
4294
- background:#ff8a00!important;
4295
- color:#000;
4296
- border-radius:0;
4297
- padding: 15px;
4298
  }
4299
  .ui-autocomplete {
4300
- position: absolute;
4301
- z-index: 1000;
4302
- cursor: default;
4303
- padding: 0;
4304
- margin-top: 2px;
4305
- list-style: none;
4306
- background-color: #ffffff;
4307
- border: 1px solid #ccc;
4308
- -webkit-border-radius: 5px;
4309
- -moz-border-radius: 5px;
4310
- border-radius: 5px;
4311
- -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
4312
- -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
4313
- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
4314
  }
4315
 
4316
  .ui-autocomplete:hover {
4317
- padding: 0;
4318
- margin-top: 2px;
4319
- border: 1px solid #ccc;
4320
- -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
4321
- -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
4322
- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
4323
  }
4324
 
4325
  .ui-autocomplete {
4326
- border-radius: 0 !important;
4327
- overflow-x: hidden !important;
4328
  }
4329
 
4330
  .ui-autocomplete > li {
4331
- padding-top: 5px !important;
4332
- padding-bottom: 5px !important;
4333
- padding-left: 5px !important;
4334
- border: none !important;
4335
 
4336
- border-radius: 0 !important;
4337
- overflow: hidden !important;;
4338
  }
4339
  .ui-autocomplete > li.ui-state-focus {
4340
- color: #464646;
4341
- background-color: #f7f7f7;
4342
  }
4343
  .ui-helper-hidden-accessible {
4344
- display: none;
4345
  }
4346
 
4347
  .wpallexport-plugin #wp_all_export_xml_element_chosen,
4348
  .wpallexport-plugin #wp_all_export_rule_chosen {
4349
- background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 50%;
4350
  background-size: auto;
4351
- background-size: 16px 16px;
4352
  }
4353
 
4354
  .wpallexport-plugin .chosen-container-single .chosen-single {
4355
- height: 41px;
4356
- line-height: 38px;
4357
- font-size: 14px;
4358
- background: none;
4359
- box-shadow: none;
4360
- color: #555 !important;
4361
- padding: 0 0 0 12px;
4362
  }
4363
 
4364
  .wpallexport-plugin .chosen-container-single .chosen-single div {
4365
- top: 9px;
4366
  }
4367
 
4368
  .wpallexport-plugin .chosen-results li.no-results {
4369
- padding: 10px;
4370
- font-size: 15px;
4371
  }
4372
  /** END COMBINE MULTIPLE ELEMENTS INTO ONE **/
4373
 
4374
  .wpallexport-plugin .pmxe_date_format{
4375
- width: 100%;
4376
- padding: 18px;
4377
- height: 25px;
4378
- border: 1px solid #ddd;
4379
- box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
4380
- border-radius: 5px;
4381
- background-color: #fff;
4382
- margin-bottom: 10px;
4383
 
4384
  }
4385
 
4386
  .wpallexport-plugin .wp_all_export_saving_status {
4387
- padding: 10px;
4388
- display: block;
4389
  }
4390
 
4391
  .wpallexport-plugin .wp_all_export_saving_status.error,
4392
  .wpallexport-plugin .wp_all_export_saving_status.updated {
4393
- background: white !important;
4394
  }
4395
 
4396
  .category-mapper .mask {
4397
- display: none;
4398
  }
4399
 
4400
  .wpallexport-plugin .wpallexport-xml-advanced-options .simple_xml_template_options {
4401
- margin-top: 30px;
4402
  }
4403
 
4404
  .wpallexport-plugin .switcher-target-simple_custom_xml_cdata_logic_never {
4405
- padding-left: 26px;
4406
  }
4407
 
4408
  .wpallexport-plugin .switcher-target-simple_custom_xml_cdata_logic_never p {
4409
- font-style: normal;
4410
  }
4411
  .wpallexport-xml-advanced-options .product_variations input[type="radio"] {
4412
- margin-bottom: -3px;
4413
  }
4414
 
4415
  .wpallexport-xml-advanced-options #custom_xml_cdata_logic_auto,
4416
  .wpallexport-xml-advanced-options #custom_custom_xml_cdata_logic_all,
4417
  .wpallexport-xml-advanced-options #custom_custom_xml_cdata_logic_never {
4418
- margin-bottom: -4px;
4419
  }
4420
 
4421
  /*
@@ -4423,9 +4487,9 @@ input label {
4423
  */
4424
 
4425
  .wpallexport-plugin .download-import-templates p {
4426
- font-size: 14px;
4427
  }
4428
 
4429
  .wpallexport-plugin .download-import-templates h2 {
4430
- margin-bottom: 10px;
4431
  }
1
  .wpallexport-plugin .help_custom_xml,
2
+ .wpallexport-plugin .preview_a_custom_xml_row,
3
+ .wpallexport-plugin .preview_a_row,
4
  .wpallexport-plugin .add_column,
5
  .wpallexport-plugin .wp_all_export_auto_generate_data,
6
  .wpallexport-plugin .wp_all_export_clear_all_data{
7
+ background: #40acad;
8
+ -moz-border-radius: 4px;
9
+ -khtml-border-radius: 4px;
10
+ -webkit-border-radius: 4px;
11
+ border-radius: 4px;
12
+ clear: both;
13
+ color: #fff !important;
14
+ float: right;
15
+ font-size: 14px;
16
+ /*margin: 10px 0;*/
17
+ padding: 10px 20px 10px 20px;
18
+ border: none;
19
+ cursor: pointer;
20
  }
21
  .wpallexport-plugin .custom_xml_upgrade_notice,
22
  .wpallexport-plugin .disabled_fields_upgrade_notice{
23
+ display: none;
24
  }
25
  .wpallexport-plugin .wp_all_export_disabled_button{
26
+ background: #e4e6e6 !important;
27
+ color: #777 !important;
28
+ cursor: default !important;
29
  }
30
  .wpallexport-plugin .wp_all_export_custom_xml_help,
31
  .wpallexport-plugin .wp_all_export_scheduling_help
66
 
67
  .wpallexport-plugin .code-block {
68
  border-radius: 2px 2px 2px 2px;
69
+ -moz-border-radius: 2px 2px 2px 2px;
70
+ -webkit-border-radius: 2px 2px 2px 2px;
71
+ border: 0px solid #000000;
72
+ background-color: #F1F1F1;
73
+ padding-top: 10px;
74
+ padding-bottom: 10px;
75
  }
76
 
77
  .wpallexport-plugin .wp_all_export_code{
78
  font-family: monospace;
79
  font-size: 12px;
80
  }
81
+ .wpallexport-plugin .wp_all_export_code .wp_all_export_code_comment{
82
+ color:#a50;
83
+ }
84
+ .wpallexport-plugin .wp_all_export_code .wp_all_export_code_tag{
85
+ color:#170;
86
+ }
87
+ .wpallexport-plugin .wp_all_export_code p.wp_all_export_code_comment,
88
+ .wpallexport-plugin .wp_all_export_code p.wp_all_export_code_tag{
89
+ margin: 0;
90
+ }
91
+ .wpallexport-plugin .wp_all_export_code .wp_all_export_code_tag.lv1,
92
+ .wpallexport-plugin .wp_all_export_code .wp_all_export_code_comment.lv1{
93
+ padding-left: 15px;
94
+ }
95
+ .wpallexport-plugin .wp_all_export_code .wp_all_export_code_tag.lv2,
96
+ .wpallexport-plugin .wp_all_export_code .wp_all_export_code_comment.lv2{
97
+ padding-left: 30px;
98
+ }
99
+ .wpallexport-plugin .wp_all_export_code .wp_all_export_code_tag.lv3,
100
+ .wpallexport-plugin .wp_all_export_code .wp_all_export_code_comment.lv3{
101
+ padding-left: 45px;
102
+ }
103
+ .wpallexport-plugin .wp_all_export_code .wp_all_export_code_tag .wp_all_export_code_text{
104
+ color:#000;
105
+ font-weight: bold;
106
+ }
107
+ .wpallexport-plugin .wp_all_export_code .wp_all_export_code_text{
108
+ color:#000;
109
+ font-weight: bold;
110
+ }
111
  .wpallexport-plugin .wp_all_export_help_tab{
112
  display: none;
113
  padding-bottom: 15px;
114
  }
115
  .wpallexport-plugin .wp_all_export_auto_generate_data,
116
  .wpallexport-plugin .wp_all_export_clear_all_data{
117
+ clear: none;
118
+ margin-left: 20px;
119
+ float: left;
120
  }
121
  .wpallexport-plugin fieldset.column{
122
+ display: none;
123
  }
124
  .wpallexport-plugin fieldset.optionsset .template{
125
+ display: none;
126
  }
127
  .wpallexport-plugin .custom_column, .wpallexport-plugin .default_column{
128
+ background: none repeat scroll 0 0 #FFFFFF;
129
+ border: 1px solid #CCCCCC;
130
+ cursor: move;
131
+ /*float: left;*/
132
+ margin: 0 5px 5px 5px;
133
+ padding: 10px;
134
+ position: relative;
135
  }
136
 
137
  .wpallexport-plugin .custom_column label {
138
+ cursor: move;
139
  }
140
 
141
  .wpallexport-plugin #wp_all_export_auto_generate_data{
142
+ background: #38a659 none repeat scroll 0 0;
143
+ color: #fff;
144
+ display: block;
145
+ margin: 10px 5px;
146
+ padding: 10px;
147
+ text-align: center;
148
+ text-decoration: none;
149
  }
150
  .wpallexport-plugin .wpallexport-free-edition-notice{
151
+ display: block;
152
+ margin: 5px;
153
+ padding: 20px;
154
+ text-align: center;
155
+ background-color: #FFB8B8;
156
+ border: 1px solid #FF8383;
157
+ color: #000;
158
  }
159
  .wpallexport-plugin .wpallexport-free-edition-notice p{
160
+ color: #000 !important;
161
+ font-size: 1.3em !important;
162
+ margin-bottom: 0;
163
  }
164
 
165
  .wpallexport-plugin .wpallexport-free-edition-notice.wpallexport-user-export-notice p,
172
  .wpallexport-plugin .wpallexport-free-edition-notice.wpallexport-product-export-notice p
173
 
174
  {
175
+ margin-bottom: 1em;
176
+ margin-top: 0;
177
  }
178
 
179
 
180
  .wpallexport-plugin .upgrade_link{
181
+ color: #000 !important;
182
+ font-size: 1.3em;
183
+ text-decoration: underline !important;
184
  }
185
  .wpallexport-plugin .wpallexport-user-export-notice,
186
  .wpallexport-plugin .wpallexport-shop_customer-export-notice,
192
  .wpallexport-plugin .wpallexport-taxonomies-export-notice,
193
  .wpallexport-plugin .wpallexport-product-export-notice,
194
  .wpallexport-plugin .wpallexport-custom-product-export-notice{
195
+ padding: 20px;
196
+ display: none;
197
+ width: 558px;
198
+ margin: 0 auto;
199
  }
200
  .wpallexport-plugin li.wpallexport_disabled div{
201
+ background: #dfdfdf;
202
  }
203
  .wpallexport-plugin .custom_column.active, .wpallexport-plugin .default_column.active{
204
+ background: #ccc;
205
  }
206
  .wpallexport-plugin fieldset.column .error{
207
+ background: pink;
208
+ }
209
+ .wpallexport-plugin #columns_to_export {
210
+ list-style-type: none;
211
+ margin: 0;
212
+ padding: 0;
213
+ /*height: 250px; */
214
+ /*width: 450px; */
215
+ }
216
+ .wpallexport-plugin #columns_to_export li {
217
+ margin: 5px 3px 3px 0;
218
+ padding: 1px;
219
+ float: left;
220
+ min-width: 115px;
221
+ /*height: 90px; */
222
+ text-align: center;
223
  }
224
  .wpallexport-plugin .wpallexport-edit-row-title{
225
+ display: none;
226
  }
227
  .wpallexport-plugin .wpallexport-xml-element{
228
+ color: green;
229
  }
230
+ .wpallexport-plugin .columns-to-export-content ol,
231
  .wpallexport-plugin .pmxe-state-hover,
232
+ .wpallexport-plugin .pmxe-state-default{
233
+ width: 100%;
234
+ height: 235px;
235
+ border: 4px dashed #bbb;
236
+ margin-left: 0;
237
+ overflow: auto;
238
  }
239
  .wpallexport-plugin .CodeMirror-line.pmxe-state-hover,
240
+ .wpallexport-plugin .CodeMirror-line.pmxe-state-default{
241
+ width: 100%;
242
+ height: 18px;
243
+ margin-left: 0;
244
+ overflow: auto;
245
+ max-width: 900px;
246
  }
247
  .wpallexport-plugin .av-state-default{
248
+ overflow: hidden;
249
+ height: 100%;
250
+ width: 100%;
251
+ border: 4px dashed #bbb;
252
  }
253
  .wpallexport-plugin .columns-to-export-content ol li.placeholder{
254
+ font-size: 20px;
255
+ line-height: 26px;
256
+ margin-bottom: 0;
257
+ margin-left: 25% !important;
258
+ margin-right: auto;
259
+ margin-top: 7% !important;
260
+ text-align: center;
261
+ width: 450px;
262
  }
263
  .wpallexport-plugin li.ui-draggable{
264
+ list-style: none !important;
265
  }
266
  .wpallexport-plugin #available_data{
267
+ padding: 0;
268
+ background: #fafafa;
269
+ border: 1px solid #ddd;
270
+ overflow: hidden;
271
+ }
272
+ .wpallexport-plugin #available_data .title,
273
+ .wpallexport-plugin .wp-all-export-edit-column .title,
274
+ .wpallexport-plugin .wp-all-export-custom-xml-help .title,
275
+ .wpallexport-plugin .wp-all-export-scheduling-help .title
276
+ {
277
+ font-weight: bold;
278
+ padding: 12px 8px;
279
+ color: #464646;
280
+ background: #fff;
281
+ font-size: 12px;
282
+ text-align: center;
283
+ border-bottom: 1px solid #ddd;
284
+ -moz-border-radius-topleft: 4px;
285
+ -webkit-border-top-left-radius: 4px;
286
+ border-top-left-radius: 4px;
287
+ -moz-border-radius-topright: 4px;
288
+ -webkit-border-top-right-radius: 4px;
289
+ border-top-right-radius: 4px;
290
+ }
291
+ .wpallexport-plugin .wp-all-export-custom-xml-help,
292
+ .wpallexport-plugin .wp-all-export-scheduling-help
293
+ {
294
+ position: fixed;
295
+ top: 8%;
296
+ width: 515px;
297
+ z-index: 999999;
298
+ border: 1px solid #ccc;
299
+ display: none;
300
+ margin-bottom: 20px;
301
+ padding: 0 !important;
302
+ }
303
+
304
+ .wpallexport-plugin .wp-all-export-edit-column{
305
+
306
+ position: fixed;
307
+ top: 8%;
308
+ width: 850px;
309
+ z-index: 999999;
310
+ border: 1px solid #ccc;
311
+ display: none;
312
+ margin-bottom: 20px;
313
+ padding: 0 !important;
314
+ }
315
+ .wpallexport-plugin .wp-all-export-edit-column form,
316
+ .wpallexport-plugin .wp-all-export-custom-xml-help form{
317
+ /*padding: 10px;*/
318
+ background: #fff;
319
+ }
320
+ .wpallexport-plugin #available_data ul li .pmxe_remove_column{
321
+ display: none;
322
+ }
323
 
324
  .wpallexport-plugin span.wpai-license-text {
325
+ margin-left: 8px;
326
  }
327
 
328
  .wpallexport-plugin .wpai-license,
329
  .wpallexport-plugin .wpai-no-license {
330
+ display: flex;
331
  }
332
 
333
  .wpallexport-plugin .wpae-available-fields-group{
334
+ background: none repeat scroll 0 0 white;
335
+ border: 1px dotted #ccc;
336
+ font-weight: bold;
337
+ margin: 5px;
338
+ padding: 10px;
339
+ cursor: pointer;
340
  }
341
  .wpallexport-plugin .wp-all-export-warning,
342
  .wpallexport-plugin .wp-all-export-product-bundle-warning,
343
  .wpallexport-plugin .wp-all-export-sku-warning,
344
  .wpallexport-plugin .wp-all-export-advanced-query-warning,
345
  .wpallexport-plugin .wp-all-export-product-type-warning{
346
+ position: relative;
347
+ clear: both;
348
+ background: none repeat scroll 0 0 #fff;
349
+ border-left: 4px solid #ffa500;
350
+ box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.1);
351
+ margin: 0;
352
+ padding: 1px 12px;
353
  }
354
  .wpallexport-plugin .wp-all-export-product-bundle-warning,
355
  .wpallexport-plugin .wp-all-export-warning{
356
+ margin-top: 20px;
357
  }
358
  .wpallexport-plugin .wp-all-export-warning .notice-dismiss{
359
+ margin-top: 5px;
360
  }
361
  .wpallexport-plugin .wpallexport-csv-delimiter{
362
+ float: right;
363
+ position: relative;
364
+ right: 30px;
365
+ top: -16px;
366
  }
367
  .wpallexport-plugin .wpallexport-csv-delimiter input[type="text"]{
368
+ vertical-align:middle;
369
+ font-size:11px;
370
+ background:#fff !important;
371
+ width: 40px !important;
372
+ text-align: center;
373
  }
374
  .wpallexport-plugin .wp-all-export-warning h3,
375
  .wpallexport-plugin .wp-all-export-sku-warning h3,
376
  .wpallexport-plugin .wp-all-export-advanced-query-warning h3,
377
  .wpallexport-plugin .wp-all-export-product-type-warning h3{
378
+ font-size: 14px;
379
  }
380
  .wpallexport-plugin .wpae-available-fields-group .wpae-expander{
381
+ float: right;
382
  }
383
  .wpallexport-plugin .wpae-taxonomy-fields,
384
  .wpallexport-plugin .wpae-custom-field,
385
  .wpallexport-plugin .wpae-other-fields{
386
+ display: none;
387
  }
388
 
389
  .wpae-custom-field .wpallexport-free-edition-notice {
390
+ margin-left: 20px;
391
  }
392
 
393
  .wpallexport-plugin .pmxe_remove_column{
394
+ color: red;
395
+ cursor: pointer;
396
+ font-weight: bold;
397
+ position: absolute;
398
+ right: -4px;
399
+ text-decoration: none;
400
+ top: -8px;
401
  }
402
  .wpallexport-plugin .pmxe_field_type{
403
+ /*width: 240px;*/
404
+ /*height: 30px;*/
405
  }
406
  .wpallexport-plugin .pmxe_preview{
407
+ width: 100%;
408
  }
409
  .wpallexport-plugin .pmxe_preview tr td{
410
+ border: 1px solid #ccc;
411
+ padding: 3px;
412
+ vertical-align: top;
413
  }
414
  .wpallexport-plugin .pmxe_date_format_wrapper{
415
+ display: none;
416
  }
417
  .wpallexport-plugin span.auto-generate-template{
418
+ color: #888;
419
+ display: block;
420
+ font-size: 12px;
421
+ /*margin-right: 190px;*/
422
+ opacity: 0.7;
423
  }
424
  .wpallexport-plugin .wpallexport-filtering-wrapper{
425
+ overflow: hidden;
426
+ background: #fff none repeat scroll 0 0;
427
+ border-color: #ddd;
428
+ border-style: solid;
429
+ border-width: 1px;
430
+ padding: 0 20px 0;
431
+ margin-top: 20px;
432
+ display: none;
433
  }
434
  .wpallexport-plugin .last_condition{
435
+ display: none !important;
436
  }
437
 
438
  .wpallexport-plugin #date_field_notice{
439
+ display: none;
440
  }
441
  .wpallexport-plugin .wp_all_export_btn_with_note{
442
+ display: inline-block;
443
  }
444
 
445
+ .wpallexport-plugin .wpallexport-import-to-format{
446
+ background: #f6f5f1 none repeat scroll 0 0;
447
+ border: 1px solid #cfceca;
448
+ color: #888 !important;
449
+ display: inline-block;
450
+ font-size: 18px;
451
+ height: 50px;
452
+ line-height: 10px;
453
+ padding-top: 25px;
454
+ text-align: center;
455
+ text-decoration: none;
456
+ max-width: 295px;
457
+ width:40%;
458
+ margin-right: 10px;
459
+ position: relative;
460
+
461
+ }
462
+ .wpallexport-plugin .wpallexport-import-to-format.selected{
463
+ background: #38a659 none repeat scroll 0 0;
464
+ border: 1px solid #3da55c;
465
+ color: #fff !important;
466
+ }
467
+
468
+ .wpallexport-plugin .wpallexport-import-to-format span.wpallexport-import-to-arrow{
469
+ display: none;
470
+ }
471
+ .wpallexport-plugin .wpallexport-import-to-format.selected span.wpallexport-import-to-arrow{
472
+ background: url('../img/bottom_arrow.png') no-repeat;
473
+ position: absolute;
474
+ bottom: -12px;
475
+ left: 48%;
476
+ display: block;
477
+ height: 14px;
478
+ width: 24px;
479
+ }
480
+
481
+
482
+ .wpallexport-plugin .wpallexport-import-to-format.wpallexport-csv-type span.wpallexport-import-to-title:before{
483
+ color: #888;
484
+ content: "\f495";
485
+ font-family: "dashicons";
486
+ font-size: 30px;
487
+ padding-right: 5px;
488
+ position: relative;
489
+ top: 7px;
490
+ }
491
+ .wpallexport-plugin .wpallexport-import-to-format.wpallexport-xml-type span.wpallexport-import-to-title:before{
492
+ color: #888;
493
+ content: "\f499";
494
+ font-family: "dashicons";
495
+ font-size: 30px;
496
+ padding-right: 5px;
497
+ position: relative;
498
+ top: 7px;
499
+ }
500
+ .wpallexport-plugin .wpallexport-import-to-format.wpallexport-csv-type.selected span.wpallexport-import-to-title:before,
501
+ .wpallexport-plugin .wpallexport-import-to-format.wpallexport-xml-type.selected span.wpallexport-import-to-title:before{
502
+ color: #a3ddb4;
503
+ }
504
 
505
  .wpallexport-plugin .wpallexport-all-options .wpallexport-file-format-options{
506
+ margin: 10px auto;
507
+ text-align: center;
508
+ }
509
+ .wpallexport-plugin .wpallexport-all-options .wpallexport-file-format-options .wpallexport-csv-options,
510
+ .wpallexport-plugin .wpallexport-all-options .wpallexport-file-format-options .wpallexport-xml-options{
511
+ margin: 0 auto;
512
+ min-height: 30px;
513
+ width: 83%;
514
+ max-width:605px;
515
  }
 
 
 
 
 
 
 
516
 
517
  .wpallexport-plugin #available_data div.wpae-custom-field{
518
+ overflow: auto;
519
+ height: auto;
520
+ /*max-height: 500px; */
521
  }
522
 
523
  .wp-all-export-custom-xml-drag-over{
524
+ border: none !important;
525
+ margin: 0;
526
+ padding: 0;
527
+ width: auto !important;
528
+ min-width: 350px;
529
+ text-align: left;
530
+ background: none !important;
531
  }
532
 
533
  .wp-all-export-custom-xml-drag-over .wpallexport-xml-element span{
534
+ color: #000;
535
+ font-weight: bold;
536
  }
537
  .wpallexport-plugin .taxonomy_to_export_wrapper{
538
+ display: none;
539
  }
540
+
541
+ .wpallexport-plugin .sub_post_type_to_export_wrapper{
542
+ display: none;
543
+ }
544
+
545
  .wpallexport-plugin .wp-all-export-advanced-field-options-content{
546
+ padding: 14px 0;
547
  }
548
  .wpallexport-plugin .wp-all-export-additional-csv-options{
549
+ margin-left: 20px;
550
  }
551
  /*--------------------------------------------------------------------------
552
  *
555
  *-------------------------------------------------------------------------*/
556
 
557
  .wpallexport-plugin hr {
558
+ height: 1px;
559
+ border-width: 0px;
560
+ color: #ddd;
561
+ background-color: #ddd;
562
+ margin-bottom: 15px;
563
  }
564
+ .wpallexport-plugin a:focus,
565
  .wpallexport-plugin input:focus{ box-shadow: none; }
566
 
567
  .wpallexport-plugin a.wpallexport-help {
568
+ overflow: hidden;
569
+ text-indent: -99999px;
570
+ display: inline-block;
571
+ width: 16px;
572
+ height: 16px;
573
+ background-repeat: no-repeat;
574
+ background-image: url("../img/help.png");
575
+ vertical-align: middle;
576
+ margin-left: 5px;
577
+ position: relative;
578
+ top: 4px;
579
+ background-size: cover;
580
  }
581
  .wpallexport-plugin input.datepicker {
582
+ width: 8em;
583
  }
584
  .wpallexport-plugin button.ui-datepicker-trigger {
585
+ background-image: url("../img/date-picker.gif");
586
+ background-repeat: no-repeat;
587
+ cursor: pointer;
588
+ border: none;
589
+ margin: 1px;
590
+ width: 21px;
591
+ height: 18px;
592
+ vertical-align: middle;
593
  }
594
  .wpallexport-plugin .progress-msg {
595
+ font-style: italic;
596
+ display: none;
597
  }
598
  .wpallexport-plugin .loading {
599
+ cursor: progress;
600
+ background-repeat: no-repeat;
601
+ background-position: center;
602
  }
603
  .wpallexport-plugin .preload {
604
+ background-repeat: no-repeat;
605
+ background-position: 50% 10px;
606
+ min-height: 35px;
607
  }
608
  .wpallexport-plugin .wpallexport-preview-preload {
609
+ background-repeat: no-repeat;
610
+ background-position: 50% 20px;
611
+ height: 80px;
612
  }
613
  .wpallexport-plugin .back{
614
+ background: url("../img/back.png") no-repeat scroll 8% 50% #e4e6e6;
615
+ color: #777;
616
+ display: inline-block;
617
+ font-size: 14px;
618
+ font-weight: bold;
619
+ height: 46px;
620
+ line-height: 46px;
621
+ padding: 0 30px 0 40px;
622
+ position: relative;
623
+ text-decoration: none;
624
  }
625
  .wpallexport-plugin .wpallexport-large-button{
626
+ box-shadow: none !important;
627
+ vertical-align:bottom !important;
628
+ height: 40px;
629
+ line-height: 39px;
630
+ /*margin-left: 10px;*/
631
+ background: url('../img/continue.png') no-repeat 93% 50% #425f9a;
632
+ border: none;
633
  }
634
  .wpallexport-plugin .wpallexport-large-button:hover,
635
  .wpallexport-plugin .wpallexport-large-button:active,
636
  .wpallexport-plugin .wpallexport-large-button:focus{
637
+ background: url('../img/continue.png') no-repeat 93% 50% #425f9a;
638
+ border: none;
639
+ box-shadow: none;
640
  }
641
 
642
  /*@+ header */
643
  .wpallexport-plugin .wpallexport-logo{
644
+ background: url(../img/logo.svg) no-repeat;
645
+ background-size: 55px 55px;
646
+ width: 55px;
647
+ height: 55px;
648
+ margin-top: 8px;
649
+ margin-bottom: 8px;
650
+ float: left;
651
+ margin-right: 8px;
652
  }
653
  .wpallexport-plugin .wpallexport-title{
654
+ float: left;
655
+ }
656
+ .wpallexport-plugin .wpallexport-title p{
657
+ font-size: 18px !important;
658
+ line-height: 16px;
659
+ color: #777;
660
+ margin-top: 0;
661
+ margin-bottom: 0;
662
+ }
663
+ .wpallexport-plugin .wpallexport-title h2,
664
+ .wpallexport-plugin .wpallexport-title h3{
665
+ font-size: 33px;
666
+ color: #425f9a;
667
+ font-weight: bold;
668
+ padding-top: 5px;
669
+ padding-right: 0;
670
+ margin-left: 2px;
671
+ }
672
+ .wpallexport-plugin .wpallexport-title h2,
673
+ .wpallexport-plugin .wpallexport-title h3{
674
+ margin: 8px 0 !important;
675
+ }
676
  .wpallexport-plugin .wpallexport-title > h2:before,
677
  .wpallexport-plugin .wpallexport-title > h3:before {
678
+ content: '';
679
+ background: url(../img/wpallexport.svg) no-repeat;
680
+ background-size: 134px 14px;
681
+ width: 134px;
682
+ height: 25px;
683
+ display: block;
684
  }
685
  .wpallexport-plugin .wpallexport-links{
686
+ float: right;
687
+ margin-right: 3px;
688
+ margin-top: 33px;
689
  }
690
  .wpallexport-plugin .wpallexport-links a{
691
+ font-size: 12px;
692
+ text-decoration: none;
693
  }
694
  /*.wpallexport-plugin .wpallexport-support{
695
  color: #777;
710
  padding-left: 38px;
711
  font-size: 14px;
712
  }*/
713
+ .wpallexport-plugin .pmxi_progress{
714
+ border-bottom: 1px solid #ddd;
715
+ -moz-border-radius-topleft: 4px;
716
+ -webkit-border-top-left-radius: 4px;
717
+ border-top-left-radius: 4px;
718
+ -moz-border-radius-topright: 4px;
719
+ -webkit-border-top-right-radius: 4px;
720
+ border-top-right-radius: 4px;
721
+ height: 76px;
722
  }
723
  .wpallexport-plugin .wpallexport-step-1 .pmxi_progress{
724
+ background: url("../img/ui_4.0/step_1_bar.png") no-repeat scroll center center / contain #f1f2f2;
725
  }
726
  .wpallexport-plugin .wpallexport-step-2 .pmxi_progress{
727
+ background: url("../img/ui_4.0/step_2_bar.png") no-repeat scroll center center / contain #f1f2f2;
728
  }
729
  .wpallexport-plugin .wpallexport-step-3 .pmxi_progress{
730
+ background: url("../img/ui_4.0/step_3_bar.png") no-repeat scroll center center / contain #f1f2f2;
731
  }
732
  .wpallexport-plugin .wpallexport-step-4 .pmxi_progress{
733
+ background: url("../img/ui_4.0/step_4_bar.png") no-repeat scroll center center / contain #f1f2f2;
734
  }
735
  .wpallexport-plugin .wpallexport-step-5 .pmxi_progress{
736
+ background: url("../img/ui_4.0/step_5_bar.png") no-repeat scroll center center / contain #f1f2f2;
737
  }
738
  .wpallexport-plugin .wpallexport-step-6 .pmxi_progress{
739
+ background: url("../img/ui_4.0/step_6_bar.png") no-repeat scroll center center / contain #f1f2f2;
740
  }
741
 
742
  .wpallexport-plugin .wpallexport-file-upload-result{
743
+ padding: 35px;
744
  }
745
+ .wpallexport-plugin .wpallexport-step-2 .wpallexport-file-upload-result,
746
+ .wpallexport-plugin .wpallexport-step-3 .wpallexport-file-upload-result,
747
+ .wpallexport-plugin .wpallexport-step-4 .wpallexport-file-upload-result,
748
  .wpallexport-plugin .wpallexport-step-5 .wpallexport-file-upload-result,
749
  .wpallexport-plugin .wpallexport-step-6 .wpallexport-file-upload-result {
750
+ display: block;
751
+ }
752
+ .wpallexport-plugin .wpallexport-file-upload-result h2{
753
+ float: left;
754
+ padding: 0;
755
+ margin-top: 7px !important;
756
+ height: 31px;
757
+ }
758
+ .wpallexport-plugin .wpallexport-file-upload-result[rel=upload_type] h2{
759
+ background: url('../img/ui_4.0/cloud.png') no-repeat;
760
+ padding-left: 45px !important;
761
+ }
762
+ .wpallexport-plugin .wpallexport-file-upload-result[rel=url_type] h2{
763
+ background: url('../img/ui_4.0/cloud_url.png') no-repeat;
764
+ padding-left: 45px !important;
765
+ font-size: 14px;
766
+ line-height: 35px;
767
+ height: 35px;
768
+ }
769
+ .wpallexport-plugin .wpallexport-file-upload-result[rel=file_type] h2{
770
+ background: url('../img/ui_4.0/use_existing_green.png') no-repeat;
771
+ padding-left: 45px !important;
772
+ height: 35px;
773
+ }
774
+ .wpallexport-plugin .wpallexport-file-upload-result h2 .wpallexport-uploaded-file-size{
775
+ color: #777;
776
+ }
777
+ .wpallexport-plugin .wpallexport-file-upload-result a{
778
+ text-decoration: none;
779
+ font-size: 18px;
780
+ margin-top: 12px;
781
+ float: right;
782
+ margin-left: 20px;
783
+ padding-left: 25px;
784
+ }
785
+ .wpallexport-plugin .wpallexport-file-upload-result a:last-child{
786
+ margin-left: 0 !important;
787
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
788
  .wpallexport-plugin .wpallexport-download-from-url{
789
+ background: none repeat scroll 0 0 #46ba69;
790
+ color: #fff;
791
+ display: inline-block;
792
+ font-size: 14px;
793
+ height: 19px;
794
+ padding: 15px;
795
+ position: relative;
796
+ text-decoration: none;
797
+ vertical-align: bottom;
798
  }
799
  .wpallexport-plugin .wpallexport-file-upload-result .wpallexport-change-uploaded-file{
800
+ color:#40acad;
801
+ }
802
+ .wpallexport-plugin .wpallexport-file-upload-result .wpallexport-change-uploaded-file:before{
803
+ color: #ddd;
804
+ content: "\f463";
805
+ float: left;
806
+ font-family: "dashicons";
807
+ font-size: 30px;
808
+ padding-right: 5px;
809
+ }
810
  .wpallexport-plugin .wpallexport-file-upload-result .wpallexport-remove-uploaded-file{
811
+ color:#dd4a58;
812
+ }
813
+ .wpallexport-plugin .wpallexport-file-upload-result .wpallexport-remove-uploaded-file:before{
814
+ color: #ddd;
815
+ content: "\f335";
816
+ display: inline-block;
817
+ float: left;
818
+ font-family: "dashicons";
819
+ font-size: 32px;
820
+ }
821
  /*@+*/
822
 
823
+ .wpallexport-plugin .wpallexport-collapsed .wpallexport-collapsed-header{
824
+ background: url('../img/collapser.png') no-repeat 98% 0;
825
+ height: 30px;
826
+ padding-left: 30px;
827
+ cursor: pointer;
828
+ }
829
+ .wpallexport-plugin .wpallexport-collapsed .wpallexport-collapsed-header h3{
830
+ font-size: 17px;
831
+ line-height: 30px;
832
+ color:#425e99;
833
+ -webkit-touch-callout: none;
834
+ -webkit-user-select: none;
835
+ -khtml-user-select: none;
836
+ -moz-user-select: none;
837
+ -ms-user-select: none;
838
+ user-select: none;
839
+ }
840
  .wpallexport-plugin .wpallexport-collapsed.closed .wpallexport-collapsed-header{
841
+ background: url('../img/collapser.png') no-repeat 98% -30px;
842
+ }
843
+ .wpallexport-plugin .wpallexport-collapsed.closed .wpallexport-collapsed-header h3{
844
+ color:#777;
845
  }
 
 
 
846
  .wpallexport-plugin .wpallexport-collapsed .wpallexport-collapsed-content{
847
+ display: none;
848
+ padding: 15px 25px 25px 25px;
849
+ position: relative;
850
  }
851
  .wpallexport-plugin .wpallexport-collapsed-content-inner{
852
+ padding: 15px 25px 25px 25px;
853
  }
854
 
855
  .wpallexport-plugin .step_description{
856
+ text-align: center;
857
+ overflow: hidden;
858
+ position: relative;
859
+ /*width: 1200px;*/
860
+ }
861
+ .wpallexport-plugin .step_description h2{
862
+ color: #425f9a;
863
+ font-size: 23px;
864
+ font-weight: normal;
865
+ }
866
+ .wpallexport-plugin .step_description h3{
867
+ color: #777;
868
+ }
869
 
870
  .wpallexport-plugin div.input > label{
871
+ color: #000;
872
  }
873
  .wpallexport-plugin div.input.pmxi_checked > label{
874
+ color: #000;
875
  }
876
 
877
  .wpallexport-plugin .ajax-console div.updated{
878
+ background: none;
879
+ border: none;
880
+ box-shadow: none;
881
  }
882
 
883
  a.wpallexport-import-to-format span.wpallexport-import-to-title {
884
+ font-size: 18px;
885
  }
886
 
887
+ .wpallexport-plugin .wpallexport-collapsed-content a,
888
  .wpallexport-plugin .wp-pointer-content a,
889
+ .wpallexport-plugin .wpallexport-pointer-content a,
890
  .wpallexport-plugin .wpallexport-collapsed-content h4{
891
+ font-size: 14px;
892
+ margin-bottom: 5px;
893
+ color: #40acad;
894
+ text-decoration: none;
895
  }
896
  .wpallexport-plugin div.error,
897
  .wpallexport-plugin div.updated {
898
+ margin-top: 15px;
899
  }
900
  .wpallexport-plugin div.error.license-status,
901
  .wpallexport-plugin div.updated.license-status {
902
+ margin: 0 0 0 2px;
903
+ display: inline-block;
904
+ text-transform: capitalize;
905
+ padding: 2px 10px;
906
+ height: 18px;
907
+ vertical-align: 1px;
908
+ line-height: 17px;
909
  }
910
  .wpallexport-plugin .wp-pointer-content ul,
911
  .wpallexport-plugin .wpallexport-pointer-content ul{
912
+ list-style: disc inside none;
913
+ margin: 20px;
914
  }
915
 
916
  .wpallexport-plugin a.add-new {
917
+ font-size: 18px;
918
+ background-color: #eee;
919
+ cursor: pointer;
920
+ padding: 6px 10px 6px 10px;
921
+ line-height: normal;
922
+ font-style: normal;
923
+ color: #464646;
924
+ border-color: #bbb;
925
+ -moz-border-radius: 4px 4px 4px 4px;
926
+ border-radius: 4px;
927
  border-style: solid;
928
+ border-width: 1px;
929
+ text-decoration: none;
930
  }
931
  .wpallexport-plugin a.add-new:hover {
932
+ border-color: #666666;
933
+ color: #000;
934
+ }
935
+ .wpallexport-plugin div.input {
936
+ /*min-height: 21px;*/
937
+ font-size: 12px !important;
938
  }
939
+ .wpallexport-plugin div.input > * {
940
+ vertical-align: middle;
 
941
  }
 
 
 
942
  .wpallexport-plugin .wpallexport-template select,
943
  .wpallexport-plugin .options select{
944
+ border: 1px solid #ddd;
945
+ font-size: 12px;
946
+ /*height: 25px;*/
947
+ width: auto;
948
+ padding: 4px 25px 4px 12px;
949
+ color: #000;
950
  }
951
  .wpallexport-plugin .wpallexport-template input[type="text"],
952
  .wpallexport-plugin .options input[type="text"]{
953
+ height: auto;
954
+ color: #000;
955
+ font-size: 14px;
956
  }
957
  .wpallexport-plugin .wpallexport-template .wpallexport-section select,
958
  .wpallexport-plugin .options .wpallexport-section select{
959
+ font-size: 16px;
960
+ height: 40px;
961
+ /*padding: 10px;*/
962
+ border: 1px solid #ddd;
963
+ border-radius: 4px;
964
+ -moz-border-radius: 4px;
965
+ -khtml-border-radius: 4px;
966
+ -webkit-border-radius: 4px;
967
+ color: #777;
968
+ font-size: 15px;
969
+ width: 100%;
970
+ position: relative;
971
+ top: 0;
972
+ }
973
+ .wpallexport-plugin .wpallexport-template .wpallexport-section input[type="text"],
974
  .wpallexport-plugin .options .wpallexport-section input[type="text"],
975
  .wpallexport-plugin .wp-pointer-content input[type="text"]
976
  {
977
+ font-size: 14px;
978
+ height: 40px;
979
+ border: 1px solid #ddd;
980
+ border-radius: 4px;
981
+ -moz-border-radius: 4px;
982
+ -khtml-border-radius: 4px;
983
+ -webkit-border-radius: 4px;
984
+ color: #000;
985
+ font-size: 15px;
986
+ position: relative;
987
+ top: 0;
988
+ }
989
+ .wpallexport-plugin .wpallexport-template select[multiple=multiple]{
990
+ height: auto !important;
991
+ }
992
  .wpallexport-plugin .wpallexport-note {
993
+ color: #777;
994
+ font-size: 9px;
995
  }
996
  .wpallexport-plugin div.sub {
997
+ padding-left: 20px;
998
+ font-size: 12px;
999
  }
1000
 
1001
+ .wpallexport-plugin .icon-item,
1002
+ .wpallexport-plugin .add-new-custom,
1003
  .wpallexport-plugin .add-new-key{
1004
+ display: inline-block;
1005
+ width: 16px;
1006
+ height: 16px;
1007
+ margin: 0px 3px;
1008
  }
1009
  .wpallexport-plugin .add-new-ico,
1010
+ .wpallexport-plugin .add-new-cat,
1011
+ .wpallexport-plugin .add-new-custom,
1012
+ .wpallexport-plugin .add-new-key{
1013
+ background: url("../img/ui_4.0/add.png") no-repeat 0px 5px;
1014
+ font-size: 12px;
1015
+ width:100px;
1016
+ height:25px;
1017
+ padding-left: 20px;
1018
+ color:#21759B;
1019
+ /*font-family: "Open Sans",​sans-serif;*/
1020
+ padding-top: 2px;
1021
+ text-decoration: underline;
1022
+ display: block;
1023
+ /*margin: 0 auto; */
1024
  }
1025
 
1026
  .wpallexport-plugin .remove-ico{
1027
+ background: url("../img/trash.png") no-repeat;
1028
+ top: 5px;
1029
+ right: 0;
1030
+ position: absolute;
1031
+ width: 19px;
1032
+ height: 22px;
1033
  }
1034
  .wpallexport-plugin #columns .remove-field{
1035
+ background: url("../img/remove.png") no-repeat;
1036
+ top: -5px;
1037
+ right: -11px;
1038
+ position: absolute;
1039
+ width: 16px;
1040
+ height: 16px;
1041
  }
1042
  .wpallexport-plugin .widefat{
1043
+ background-color: #fff;
1044
  }
1045
  .wpallexport-plugin .postbox{
1046
+ margin: 0;
1047
  }
1048
  .wpallexport-plugin .action.remove{
1049
+ display: block;
1050
+ position: relative;
1051
+ }
1052
+ .wpallexport-plugin .action.remove a{
1053
+ background: url("../img/trash.png") no-repeat scroll 0 0 transparent;
1054
+ height: 22px;
1055
+ position: absolute;
1056
+ right: 20px;
1057
+ top:0;
1058
+ width: 19px;
1059
+ }
1060
  .wpallexport-plugin .drag-element{
1061
+ background: url("../img/drag.png") top right no-repeat;
1062
+ cursor: pointer;
1063
+ padding-left: 25px;
1064
+ background-position: 0px 1px;
1065
  }
1066
  .wpallexport-plugin .sortable li{ position: relative; }
1067
  .wpallexport-plugin ol{ margin-top: 6px; list-style: none; }
1068
  .wpallexport-plugin h2.wpallexport-wp-notices{ margin-top: 0px; padding: 0px; }
1069
  .wpallexport-plugin #footer-upgrade{
1070
+ /*float: left !important;*/
1071
  }
1072
  .wpallexport-plugin .wpallexport-overlay, .wpallexport-plugin .wpallexport-super-overlay {
1073
+ display:none;
1074
+ position:fixed;
1075
+ z-index:99999;
1076
+ opacity:0.7;
1077
+ filter:alpha(opacity=70);
1078
+ top:0;
1079
+ right:0;
1080
+ left:0;
1081
+ bottom:0;
1082
+ background:#777;
1083
  }
1084
  .wpallexport-plugin .wp-pointer{
1085
+ z-index: 999999 !important;
1086
  }
1087
  .wpallexport-plugin .tipsy{
1088
+ font-size: 14px !important;
1089
  }
1090
  .wpallexport-plugin .assign_term{
1091
+ left: -20px;
1092
+ position: absolute;
1093
+ top: 15px;
1094
  }
1095
  .wpallexport-plugin .CodeMirror {
1096
+ border: 1px solid #c7c7c7;
1097
+ margin-top: 10px;
1098
  }
1099
  /*--------------------------------------------------------------------------
1100
  *
1103
  *-------------------------------------------------------------------------*/
1104
 
1105
  .wpallexport-plugin .rad0{
1106
+ border-radius: 0px !important;
1107
+ -moz-border-radius: 0px !important;
1108
+ -khtml-border-radius: 0px !important;
1109
+ -webkit-border-radius: 0px !important;
1110
  }
1111
  .wpallexport-plugin .rad3{
1112
+ border-radius: 3px;
1113
+ -moz-border-radius: 3px;
1114
+ -khtml-border-radius: 3px;
1115
+ -webkit-border-radius: 3px;
1116
  }
1117
  .wpallexport-plugin .rad4{
1118
+ border-radius: 4px;
1119
+ -moz-border-radius: 4px;
1120
+ -khtml-border-radius: 4px;
1121
+ -webkit-border-radius: 4px;
1122
  }
1123
  .wpallexport-plugin .rad5{
1124
+ border-radius: 5px;
1125
+ -moz-border-radius: 5px;
1126
+ -khtml-border-radius: 5px;
1127
+ -webkit-border-radius: 5px;
1128
  }
1129
  .wpallexport-plugin .rad10{
1130
+ border-radius: 10px;
1131
+ -moz-border-radius: 10px;
1132
+ -khtml-border-radius: 10px;
1133
+ -webkit-border-radius: 10px;
1134
  }
1135
  .wpallexport-plugin .rad14{
1136
+ border-radius: 14px;
1137
+ -moz-border-radius: 14px;
1138
+ -khtml-border-radius: 14px;
1139
+ -webkit-border-radius: 14px;
1140
  }
1141
+ .wpallexport-plugin .pl17{ padding-left: 17px; }
1142
  .wpallexport-plugin .no-margin{ margin: 0px; }
1143
  .wpallexport-plugin .hidden{ display: none; }
1144
  .wpallexport-plugin .fs11 { font-size: 11px; }
1145
  .wpallexport-plugin .rel { position: relative; }
1146
  .wpallexport-plugin .txt_center{ text-align: center; }
1147
  .wpallexport-plugin .wpallexport-clear{
1148
+ display: block;
1149
+ clear: both;
1150
  }
1151
  .wpallexport-plugin .ui-autocomplete{
1152
+ max-height: 450px;
1153
+ overflow: auto;
1154
+ z-index: 999999;
1155
  }
1156
  .wpallexport-plugin .wp-all-export-edit-column-buttons{
1157
+ background: none repeat scroll 0 0 #f7f8f8;
1158
+ border-top: 1px solid #ebebeb;
1159
+ padding: 15px;
1160
+ position: relative;
1161
+ height: 38px;
1162
  }
1163
  .wpallexport-plugin .wp-all-export-field-options{
1164
+ padding: 10px;
1165
+ overflow-y: auto;
1166
+ min-height: 240px;
1167
  }
1168
  .wpallexport-plugin .wp-all-export-field-options .chosen-container .chosen-results{
1169
+ max-height: 140px;
1170
  }
1171
  .wpallexport-plugin .wp-all-export-advanced-field-options{
1172
+ display: block;
1173
+ padding: 10px 0;
1174
+ width: 100px;
1175
  }
1176
  /*.wpallexport-plugin .wp-all-export-advanced-field-options-content{
1177
  display: none;
1184
 
1185
  /*@+ fixes */
1186
  .wpallexport-plugin input[type="file"] {
1187
+ padding: 0; /* FIX height or <input type="file" /> for Safari & Chrome */
1188
  }
1189
  .wpallexport-plugin .ui-widget-overlay {
1190
+ position: fixed !important; /* FIX: modal dialog overlay in IE 8 */
1191
+ background-color: #777 !important; /* FIX: overlay color */
1192
  }
1193
  .wpallexport-plugin .ui-dialog {
1194
+ position: absolute !important; /* FIX: for wordpress 3.1 not to add empty space */
1195
+ z-index: 999999;
1196
  }
1197
  /*@*/
1198
 
1199
  /*@+ other stuff */
1200
  .wpallexport-plugin fieldset{
1201
+ padding: 20px;
1202
+ width:auto;
1203
  }
1204
  .wpallexport-plugin .right fieldset{
1205
+ padding: 15px;
1206
  }
1207
  .wpallexport-plugin .right fieldset input{
1208
+ max-width:none;
1209
+ padding:6px;
1210
+ margin:0px
1211
  }
1212
  .wpallexport-plugin .right a{
1213
+ text-decoration: underline;
1214
  }
1215
  .wpallexport-plugin fieldset legend{
1216
+ padding: 0px 5px;
1217
+ font-weight: bold;
1218
  }
1219
  .wpallexport-plugin .options fieldset legend{
1220
+ font-size: 1.17em;
1221
  }
1222
  .wpallexport-plugin .matches_count{
1223
+ font-weight: bold;
1224
+ color:#33AA28;
1225
  }
1226
  .wpallexport-plugin input.small{
1227
+ width:50px !important;
1228
+ /*height: 30px !important;*/
1229
+ text-align: center;
1230
  }
1231
  .wpallexport-plugin .ui-state-default a{
1232
+ font-size: 13px !important;
1233
  }
1234
  .wpallexport-plugin #wp-content-media-buttons{
1235
+ display: none;
1236
  }
1237
  .wpallexport-plugin .ui-tabs-hide{
1238
+ display: none !important;
1239
  }
1240
  .wpallexport-plugin .button-primary:hover{
1241
+ font-weight: normal;
1242
  }
1243
  .wpallexport-plugin .hndle{
1244
+ padding: 7px;
1245
+ margin-bottom: 0px;
1246
+ cursor: default !important;
1247
  }
1248
  .wpallexport-plugin .inside{
1249
+ margin: 0;
1250
+ line-height: 20px;
1251
  }
1252
  .wpallexport-plugin .inside input[type="text"]{
1253
+ background: #fff;
1254
  }
1255
  /*@*/
1256
  .wpallexport-plugin .wpallexport-created-by{
1257
+ color: #888;
1258
+ display: block;
1259
+ line-height: 31px;
1260
+ margin: 0 auto;
1261
+ opacity: 0.7;
1262
+ overflow: hidden;
1263
+ text-decoration: none;
1264
+ vertical-align: inherit;
1265
+ width: 139px;
1266
+ margin-top: 20px;
1267
+ font-size: 12px;
1268
  }
1269
  .wpallexport-plugin .wpallexport-created-by span{
1270
+ background: url('../img/soflyy-logo.svg') no-repeat;
1271
+ display: block;
1272
+ float: right;
1273
+ width: 72px;
1274
+ height: 32px;
1275
  }
1276
  .wpallexport-plugin .wpallexport-created-by:hover{
1277
+ opacity: 1.0;
1278
  }
1279
  .wpallexport-plugin .wpallexport-preload-image{
1280
+ display: none;
1281
  }
1282
  .wpallexport-plugin .wpallexport-cdata{
1283
+ color: green;
1284
+ font-weight: bold;
1285
+ display: block;
1286
+ clear: both;
1287
  }
1288
  .wpallexport-plugin .wpallexport-expired{
1289
+ font-weight: bold;
1290
+ font-size: 14px;
1291
  }
1292
  .wpallexport-plugin .wp_all_export_sub_input{
1293
+ vertical-align:middle;
1294
+ font-size: 11px !important;
1295
+ background:#fff !important;
1296
+ text-align:center;
1297
  }
1298
  /*--------------------------------------------------------------------------
1299
  *
1303
 
1304
  /* 2 column wpallexport-layout */
1305
  .wpallexport-plugin table.wpallexport-layout {
1306
+ clear: both;
1307
+ border-collapse: collapse;
1308
+ min-width: 770px;
1309
  }
1310
 
1311
+ .wpallexport-plugin .wpallexport-step-3 table.wpallexport-layout,
1312
  .wpallexport-plugin .wpallexport-step-4 table.wpallexport-layout{
1313
+ width: 100%;
1314
  }
1315
 
1316
+ .wpallexport-plugin table.wpallexport-layout.wpallexport-step-1,
1317
  .wpallexport-plugin .wpallexport-step-2,
1318
  .wpallexport-plugin .wpallexport-step-3,
1319
  .wpallexport-plugin .wpallexport-step-4,
1320
  .wpallexport-plugin .wpallexport-step-5,
1321
  .wpallexport-plugin .wpallexport-step-6{
1322
+ margin: 20px 0 0 0px;
1323
+ }
1324
+ .wpallexport-plugin table.wpallexport-layout td {
1325
+ vertical-align: top;
1326
+ border: none;
1327
+ font-size: 12px !important;
1328
+ border: none;
1329
+ }
1330
+ .wpallexport-plugin table.wpallexport-layout td.left {
1331
+ /*min-width: 490px;*/
1332
+ width: 61%;
1333
+ }
1334
+ .wpallexport-plugin table.wpallexport-layout td.right {
1335
+ padding: 10px 0 16px 20px;
1336
+ width: 22%;
1337
+ min-width: 260px;
1338
+ position: relative;
1339
+ }
1340
+ .wpallexport-plugin table.wpallexport-layout td.left > h2:first-child {
1341
+ margin-top: -22px;
1342
+ padding: 14px 0 3px 0;
1343
+ }
1344
+ .wpallexport-plugin table.wpallexport-layout td.left hr {
1345
+ clear: both;
1346
+ }
1347
+ .wpallexport-plugin.no-js table.wpallexport-layout td.left > h2:first-child {
1348
+ margin-top: 0px;
1349
+ }
1350
  .wpallexport-plugin table.wpallexport-layout div.left {
1351
+ min-width: 490px;
1352
+ width: 70%;
1353
+ float: left;
1354
  }
1355
  .wpallexport-plugin table.wpallexport-layout div.right {
1356
+ padding: 0px 0 16px 20px;
1357
+ width: 25%;
1358
+ /*min-width: 260px; */
1359
+ position: relative;
1360
+ float: right;
1361
  }
1362
  /*@*/
1363
 
1364
  .wpallexport-plugin table.wpallexport-layout.wpallexport-step-1 tr td.left{
1365
+ width: 100%;
1366
  }
1367
+ .wpallexport-plugin form.options table.wpallexport-layout td.right{
1368
+ width: 25%;
1369
  }
1370
 
1371
  .wpallexport-plugin .wpallexport-content-section{
1372
+ background: #fff;
1373
+ border: 1px solid #ddd;
1374
+ border-radius: 4px;
1375
+ -moz-border-radius: 4px;
1376
+ -khtml-border-radius: 4px;
1377
+ -webkit-border-radius: 4px;
1378
+ margin-top: 20px;
1379
+ margin-bottom: 20px;
1380
+ padding-bottom: 15px;
1381
  }
1382
 
1383
  .wpallexport-plugin table.form-table {
1384
+ clear: none;
1385
+ margin-top: 0px;
1386
  }
1387
  .wpallexport-plugin table.form-table.custom-params {
1388
+ max-width: 700px;
1389
+ }
1390
+ .wpallexport-plugin table.form-table td,
1391
+ .wpallexport-plugin table.form-table th {
1392
+ vertical-align: top;
1393
+ }
1394
+ .wpallexport-plugin table.form-table thead td {
1395
+ font-weight: bold;
1396
+ }
1397
+ .wpallexport-plugin table.form-table.custom-params input {
1398
+ margin-left: 0;
1399
+ }
1400
+ .wpallexport-plugin table.form-table tr.template,
1401
+ .wpallexport-plugin table.form-table ol li.template,
1402
+ .wpallexport-plugin table.form-table ul li.template,
1403
+ .wpallexport-plugin table.cf-form-table tr.template,
1404
+ .wpallexport-plugin table.tax-form-table tr.template {
1405
+ display: none;
1406
+ }
1407
+
1408
+ .wpallexport-plugin .form-table td{
1409
+ padding: 0px;
1410
+ line-height: inherit !important;
1411
+ }
1412
+ .wpallexport-plugin form.settings .form-table td{
1413
+ padding: 15px 10px;
1414
+ }
1415
+ .wpallexport-plugin .form-table td label,
1416
+ .wpallexport-plugin .form-table td li,
1417
+ .wpallexport-plugin .form-table td p{
1418
+ line-height: 1.4em;
1419
+ }
1420
+ .wpallexport-plugin .form-table td label{
1421
+ display: inline-block;
1422
+ margin: 0.25em 0 0.5em !important;
1423
+ }
1424
+
1425
+
1426
+ .dashicon-custom_wpae-gf-addon::before {
1427
+ height: 22px;
1428
+ width: 22px;
1429
+ background-repeat: no-repeat;
1430
+ content: ' ';
1431
+ background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='-15 77 581 640' enable-background='new -15 77 581 640' xml:space='preserve'%3E%3Cg id='Layer_2'%3E%3Cpath fill='%23555' d='M489.5,227L489.5,227L315.9,126.8c-22.1-12.8-58.4-12.8-80.5,0L61.8,227c-22.1,12.8-40.3,44.2-40.3,69.7v200.5c0,25.6,18.1,56.9,40.3,69.7l173.6,100.2c22.1,12.8,58.4,12.8,80.5,0L489.5,567c22.2-12.8,40.3-44.2,40.3-69.7V296.8C529.8,271.2,511.7,239.8,489.5,227z M401,300.4v59.3H241v-59.3H401z M163.3,490.9c-16.4,0-29.6-13.3-29.6-29.6c0-16.4,13.3-29.6,29.6-29.6s29.6,13.3,29.6,29.6C192.9,477.6,179.6,490.9,163.3,490.9z M163.3,359.7c-16.4,0-29.6-13.3-29.6-29.6s13.3-29.6,29.6-29.6s29.6,13.3,29.6,29.6S179.6,359.7,163.3,359.7z M241,490.9v-59.3h160v59.3H241z'/%3E%3C/g%3E%3C/svg%3E");
1432
+ }
1433
+
1434
+ .dd-selected-text.dashicon-custom_wpae-gf-addon::before {
1435
+ background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='-15 77 581 640' enable-background='new -15 77 581 640' xml:space='preserve'%3E%3Cg id='Layer_2'%3E%3Cpath fill='%2346ba69' d='M489.5,227L489.5,227L315.9,126.8c-22.1-12.8-58.4-12.8-80.5,0L61.8,227c-22.1,12.8-40.3,44.2-40.3,69.7v200.5c0,25.6,18.1,56.9,40.3,69.7l173.6,100.2c22.1,12.8,58.4,12.8,80.5,0L489.5,567c22.2-12.8,40.3-44.2,40.3-69.7V296.8C529.8,271.2,511.7,239.8,489.5,227z M401,300.4v59.3H241v-59.3H401z M163.3,490.9c-16.4,0-29.6-13.3-29.6-29.6c0-16.4,13.3-29.6,29.6-29.6s29.6,13.3,29.6,29.6C192.9,477.6,179.6,490.9,163.3,490.9z M163.3,359.7c-16.4,0-29.6-13.3-29.6-29.6s13.3-29.6,29.6-29.6s29.6,13.3,29.6,29.6S179.6,359.7,163.3,359.7z M241,490.9v-59.3h160v59.3H241z'/%3E%3C/g%3E%3C/svg%3E");
1436
+ }
1437
+
1438
+
1439
+ .wpallexport-plugin div.input label,
1440
  .wpallexport-plugin .form-field{
1441
+ font-size: 12px !important;
1442
  }
1443
  .wpallexport-plugin input[type="radio"]{
1444
+ margin-left: 4px;
1445
  }
1446
 
1447
  .wpallexport-plugin .wpallexport-wrapper{
1448
+ width: 100%;
1449
+ }
1450
+
1451
+ .wpallexport-plugin .wpallexport-step-1 .wpallexport-wrapper, .wpallexport-plugin .wpallexport-step-6.wpallexport-wrapper{
1452
+ width: 1200px;
1453
  }
1454
 
1455
+
1456
  .wpallexport-plugin form.wpallexport-choose-file .chosen-search input[type="text"] {
1457
+ font-size: 15px;
1458
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1459
+ background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0xNS44NTMgMTYuNTZjLTEuNjgzIDEuNTE3LTMuOTExIDIuNDQtNi4zNTMgMi40NC01LjI0MyAwLTkuNS00LjI1Ny05LjUtOS41czQuMjU3LTkuNSA5LjUtOS41IDkuNSA0LjI1NyA5LjUgOS41YzAgMi40NDItLjkyMyA0LjY3LTIuNDQgNi4zNTNsNy40NCA3LjQ0LS43MDcuNzA3LTcuNDQtNy40NHptLTYuMzUzLTE1LjU2YzQuNjkxIDAgOC41IDMuODA5IDguNSA4LjVzLTMuODA5IDguNS04LjUgOC41LTguNS0zLjgwOS04LjUtOC41IDMuODA5LTguNSA4LjUtOC41eiIvPjwvc3ZnPg==') no-repeat right 5px top 50%;
1460
+ background-size: auto;
1461
+ background-size: 12px;
1462
  }
1463
 
1464
  .wpallexport-plugin .chosen-results .group-result,
1465
  .wpallexport-plugin .chosen-results .active-result {
1466
+ font-size: 15px;
1467
+ line-height: 28px;
1468
  }
1469
 
1470
  .wpallexport-plugin .chosen-results .active-result.highlighted {
1471
+ background: #eee;
1472
+ color: #555;
1473
  }
1474
 
1475
  /*--------------------------------------------------------------------------
1476
  *
1477
  * Step 1 - choose file
1478
+ *
1479
  *-------------------------------------------------------------------------*/
1480
 
1481
  /*@+ Choose File forms */
1482
  .wpallexport-plugin form.wpallexport-choose-file {
1483
+ margin-top: 15px;
1484
+ position: relative;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1485
  }
1486
+ .wpallexport-plugin form.wpallexport-choose-file h3 {
1487
+ margin-bottom: 5px;
1488
+ }
1489
+ .wpallexport-plugin form.wpallexport-choose-file .label {
1490
+ font-size: 15px;
1491
+ }
1492
+ .wpallexport-plugin form.wpallexport-choose-file input[type="text"],
1493
+ .wpallexport-plugin form.wpallexport-choose-file input[type="password"] {
1494
+ width: 80px;
1495
+ font-size: 12px;
1496
+ }
1497
+ .wpallexport-plugin form.wpallexport-choose-file input.regular-text,
1498
+ .wpallexport-plugin form.wpallexport-choose-file select.regular-text {
1499
+ width: 100%;
1500
+ }
1501
+ .wpallexport-plugin #wpcontent form.wpallexport-choose-file select[name="file"],
1502
+ .wpallexport-plugin #wpcontent form.wpallexport-choose-file select[name="reimport"] {
1503
+ font-size: 12px;
1504
+ }
1505
+ .wpallexport-plugin form.wpallexport-choose-file input[type="submit"].button {
1506
+ /*width: 150px;*/
 
 
1507
  }
1508
+ .wpallexport-plugin form.wpallexport-choose-file div.input {
1509
+ margin-top: 20px;
1510
+ }
1511
+ .wpallexport-plugin form.wpallexport-choose-file .wpallexport-submit-buttons{
1512
+ clear: both;
1513
+ text-align: center;
1514
+ display: none;
1515
+ }
1516
+ /*@*/
1517
+
1518
+ .wpallexport-plugin #select-files{
1519
+ height:35px;
1520
+ line-height: 35px;
1521
+ font-size: 18px;
1522
+ margin-top: 30px;
1523
+ display: inline-block;
1524
+ position: relative;
1525
+ z-index: 0;
1526
+ text-decoration: none;
1527
+ color: #888;
1528
+ background: url('../img/ui_4.0/select_files.png') no-repeat 0 2px;
1529
+ padding-left: 45px;
1530
+ }
1531
+ .wpallexport-plugin .wpallexport-progress{
1532
+ position: relative;
1533
+ display: none;
1534
+ color: #009039;
1535
+ font-size: 13px;
1536
+ font-weight: bold;
1537
+ margin-top: 10px;
1538
+ width: 100%;
1539
+ text-align: center;
1540
+ /*border:1px solid #4297D7;*/
1541
+ -moz-border-radius: 8px;
1542
+ -khtml-border-radius: 8px;
1543
+ -webkit-border-radius: 8px;
1544
+ border-radius: 8px;
1545
+ }
1546
+ .wpallexport-plugin #progressbar{
1547
+ border: medium none;
1548
+ text-align: center;
1549
+ width: 100%;
1550
+ font-size: 20px;
1551
+ color:#000;
1552
+ line-height: 35px;
1553
+ margin: 20px 0;
1554
+ }
1555
+ .wpallexport-plugin #progressbar span{ color:#777; }
1556
 
1557
  .wpallexport-plugin #file_name{
1558
+ font-size: 16px;
1559
+ font-weight: bold;
1560
+ margin-left: 10px;
1561
+ float: right;
1562
  }
1563
 
1564
 
1565
+ .wpallexport-plugin .wpallexport-import-types{
1566
+ margin: 37px 0 10px;
1567
+ text-align: center;
1568
+ }
1569
+ .wpallexport-plugin .wpallexport-import-types h2,
1570
+ .wpallexport-plugin .wpallexport-import-types h3,
1571
+ .wpallexport-plugin .wpallexport-choose-data-type h3{
1572
+ color:#40ad6e;
1573
+ font-size: 24px;
1574
+ margin-bottom: 25px;
1575
+ font-weight: normal;
1576
  }
 
 
 
 
 
 
 
 
1577
  .wpallexport-plugin .wpallexport-upload-type-container {
1578
+ display: none;
1579
+ text-align: center;
1580
+ padding: 0 55px;
1581
  }
1582
  .wpallexport-plugin a.wpallexport-import-from{
1583
+ color:#888;
1584
+ background: #f6f5f1;
1585
+ border: 1px solid #ddd;
1586
+ border-radius: 4px;
1587
+ -moz-border-radius: 4px;
1588
+ -khtml-border-radius: 4px;
1589
+ -webkit-border-radius: 4px;
1590
+ font-size: 20px;
1591
+ display: inline-block;
1592
+ height: 65px;
1593
+ width: 292px;
1594
+ text-decoration: none;
1595
+ margin: 5px;
1596
+ vertical-align: top;
1597
+ padding-top: 10px;
1598
+ }
1599
+ .wpallexport-plugin a.wpallexport-import-from.bind{
1600
+ color: #888;
1601
+ border-color: #cfceca;
1602
+ }
1603
+ .wpallexport-plugin a.wpallexport-import-from.selected{
1604
+ color:#fff;
1605
+ background: #46ba69;
1606
+ border: 1px solid #3da55c;
1607
+ }
1608
+ .wpallexport-plugin a.wpallexport-import-from span{
1609
+ display: inline-block;
1610
+ position: relative;
1611
+ }
1612
+ .wpallexport-plugin a.wpallexport-import-from.wpallexport-upload-type{
1613
+ padding-top: 15px;
1614
+ height: 60px;
1615
+ }
1616
+ .wpallexport-plugin a.wpallexport-import-from.wpallexport-upload-type span.wpallexport-icon{
1617
+ background: url('../img/ui_4.0/upload_sprite.png') 0 -30px no-repeat;
1618
+ width: 40px;
1619
+ height: 30px;
1620
+ top: 6px;
1621
+ left: -10px;
1622
+ }
1623
+ .wpallexport-plugin a.wpallexport-import-from.wpallexport-upload-type.selected span.wpallexport-icon{
1624
+ background: url('../img/ui_4.0/upload_sprite.png') 0 0 no-repeat;
1625
+ width: 40px;
1626
+ height: 30px;
1627
+ top: 6px;
1628
+ left: -10px;
1629
+ }
1630
+ .wpallexport-plugin a.wpallexport-import-from.wpallexport-url-type span.wpallexport-icon:before{
1631
+ content: "\f109";
1632
+ font-family: "dashicons";
1633
+ font-size: 33px;
1634
+ left: 23%;
1635
+ line-height: 10px;
1636
+ position: absolute;
1637
+ top: 12px;
1638
+ }
1639
+ .wpallexport-plugin a.wpallexport-import-from.wpallexport-url-type span.wpallexport-icon{
1640
+ width: 40px;
1641
+ height: 34px;
1642
+ top:10px;
1643
+ left: -10px;
1644
+ }
1645
+ .wpallexport-plugin a.wpallexport-import-from.wpallexport-url-type.selected span.wpallexport-icon{
1646
+ width: 40px;
1647
+ height: 34px;
1648
+ top:10px;
1649
+ left: -10px;
1650
+ }
1651
+ .wpallexport-plugin a.wpallexport-import-from.wpallexport-file-type span.wpallexport-icon:before{
1652
+ content: "\f107";
1653
+ font-family: "dashicons";
1654
+ font-size: 33px;
1655
+ left: 23%;
1656
+ line-height: 10px;
1657
+ position: absolute;
1658
+ top: 12px;
1659
+ }
1660
+ .wpallexport-plugin a.wpallexport-import-from.wpallexport-file-type span.wpallexport-icon{
1661
+ width: 32px;
1662
+ height: 34px;
1663
+ top:10px;
1664
+ left: -10px;
1665
+ }
1666
+ .wpallexport-plugin a.wpallexport-import-from.wpallexport-file-type.selected span.wpallexport-icon{
1667
+ width: 32px;
1668
+ height: 34px;
1669
+ top:10px;
1670
+ left: -10px;
1671
+ }
1672
+ .wpallexport-plugin a.wpallexport-import-from.wpallexport-url-type.selected span.wpallexport-icon:before,
1673
+ .wpallexport-plugin a.wpallexport-import-from.wpallexport-file-type.selected span.wpallexport-icon:before{
1674
+ color: #a3ddb4;
1675
+ }
1676
 
1677
  .wpallexport-plugin .wpallexport-upload-resource-step-one,
1678
  .wpallexport-plugin .wpallexport-file-upload-result{
1679
+ background: #fff;
1680
+ border-top: 1px solid #ddd;
1681
+ border-right: 1px solid #ddd;
1682
+ border-left: 1px solid #ddd;
1683
+ border-bottom: 1px solid #ddd;
1684
+ /*margin-bottom: 20px;*/
1685
+ padding: 20px;
1686
+ padding-top: 0;
1687
  }
1688
  .wpallexport-plugin .wpallexport-choose-post-type{
1689
+ background: #fff;
1690
+ /*border-bottom: 1px solid #ddd;
1691
+ border-right: 1px solid #ddd;
1692
+ border-left: 1px solid #ddd;
1693
+ padding: 20px;
1694
+ padding-top: 0;
1695
+ -moz-border-radius-bottomright: 4px;
1696
+ -webkit-border-bottom-right-radius: 4px;
1697
+ border-bottom-right-radius: 4px;
1698
+ -moz-border-radius-bottomleft: 4px;
1699
+ -webkit-border-bottom-left-radius: 4px;
1700
+ border-bottom-left-radius: 4px;*/
1701
  }
1702
  /*.wpallexport-plugin .wpallexport-upload-resource-step-one,
1703
  .wpallexport-plugin .wpallexport-upload-resource-step-two{
1705
  border-top-right-radius: 4px;
1706
  border-bottom-right-radius: 4px;
1707
  -moz-border-radius-topleft: 4px;
1708
+ -webkit-border-top-left-radius: 4px;
1709
  -moz-border-radius-topright: 4px;
1710
+ -webkit-border-top-right-radius: 4px;
1711
  -moz-border-radius-bottomleft: 4px;
1712
  -webkit-border-bottom-left-radius: 4px;
1713
  }*/
1714
  .wpallexport-plugin .wpallexport-choose-post-type{ padding-top: 40px; }
1715
  .wpallexport-plugin .wpallexport-file-upload-result{ padding-top: 30px; overflow: hidden; }
1716
  .wpallexport-plugin .wpallexport-upload-resource-step-one{ padding-bottom: 40px; }
1717
+ .wpallexport-plugin .wpallexport-upload-resource-step-two{
1718
+ display: none;
1719
  }
1720
  .wpallexport-plugin .wpallexport-upload-resource-step-two h2{
1721
+ text-align: center;
1722
+ color: #4db278;
1723
+ padding: 0;
1724
+ margin: 20px 0;
1725
  }
1726
  .wpallexport-plugin .dd-select{
1727
+ border: 1px solid #ddd;
1728
  }
1729
+ .wpallexport-plugin #custom_type_selector,
1730
  .wpallexport-plugin #file_selector,
1731
  .wpallexport-plugin #wp_query_selector,
1732
+ .wpallexport-plugin #taxonomy_to_export,
1733
+ .wpallexport-plugin #sub_post_to_export{
1734
+
1735
+ margin: 0 auto;
1736
+ margin-bottom: 20px;
1737
+ text-align: left;
1738
  }
1739
  .wpallexport-plugin .wpallexport-change-custom-type #custom_type_selector{
1740
+ margin: 0;
1741
  }
1742
  .wpallexport-plugin .wpallexport-change-custom-type #custom_type_selector .dd-option{
1743
+ padding: 10px 0 0 10px;
1744
  }
1745
  .wpallexport-plugin .wpallexport-change-custom-type #custom_type_selector .dd-select{
1746
+ padding: 5px 0 0;
1747
  }
1748
  .wpallexport-plugin #file_selector{
1749
+ margin-top: 30px;
1750
  }
1751
  .wpallexport-plugin #custom_type_selector .dd-options li,
1752
  .wpallexport-plugin #file_selector .dd-options li,
1753
  .wpallexport-plugin #wp_query_selector .dd-options li,
1754
+ .wpallexport-plugin #taxonomy_to_export .dd-options li,
1755
+ .wpallexport-plugin #sub_post_to_export .dd-options li{
1756
+
1757
+ margin-bottom: 0;
1758
  }
1759
  .wpallexport-plugin #custom_type_selector .dd-options li .dd-option,
1760
  .wpallexport-plugin #file_selector .dd-options li .dd-option,
1761
  .wpallexport-plugin #wp_query_selector .dd-options li .dd-option,
1762
+ .wpallexport-plugin #taxonomy_to_export .dd-options li .dd-option,
1763
+ .wpallexport-plugin #sub_post_to_export .dd-options li .dd-option
1764
+ {
1765
+ font-size: 18px;
1766
+ color: #555;
1767
+ border: none;
1768
  }
1769
  /*.wpallexport-plugin #file_selector .dd-options li .dd-option{
1770
  font-size: 18px;
1771
  color: #ccc;
1772
  border: none;
1773
  }*/
1774
+ .wpallexport-plugin #custom_type_selector .dd-options li .dd-option:hover,
1775
+ .wpallexport-plugin #custom_type_selector .dd-options li .dd-option-selected,
1776
+ .wpallexport-plugin #file_selector .dd-options li .dd-option:hover,
1777
+ .wpallexport-plugin #file_selector .dd-options li .dd-option-selected,
1778
+ .wpallexport-plugin #wp_query_selector .dd-options li .dd-option:hover,
1779
+ .wpallexport-plugin #wp_query_selector .dd-options li .dd-option-selected,
1780
+ .wpallexport-plugin #taxonomy_to_export .dd-options li .dd-option:hover,
1781
+ .wpallexport-plugin #taxonomy_to_export .dd-options li .dd-option-selected,
1782
+ .wpallexport-plugin #sub_post_to_export .dd-options li .dd-option:hover,
1783
+ .wpallexport-plugin #sub_post_to_export .dd-options li .dd-option-selected
1784
+ {
1785
+ background: #eee;
1786
+ color: #555;
1787
+ }
1788
+ /*.wpallexport-plugin #file_selector .dd-options li .dd-option:hover,
1789
+ .wpallexport-plugin #file_selector .dd-options li .dd-option-selected{
1790
+ background: #40acad;
1791
+ color: #fff;
1792
+ }*/
1793
  .wpallexport-plugin #custom_type_selector .dd-select,
1794
  .wpallexport-plugin #file_selector .dd-select,
1795
  .wpallexport-plugin #wp_query_selector .dd-select,
1796
+ .wpallexport-plugin #taxonomy_to_export .dd-select,
1797
+ .wpallexport-plugin #sub_post_to_export .dd-select
1798
+
1799
+ {
1800
+ background: #fff !important;
1801
+ padding: 10px 0;
1802
+ /*margin-left: -5px;*/
1803
  }
1804
  .wpallexport-plugin #custom_type_selector .dd-selected,
1805
  .wpallexport-plugin #file_selector .dd-selected,
1806
  .wpallexport-plugin #wp_query_selector .dd-selected,
1807
+ .wpallexport-plugin #taxonomy_to_export .dd-selected,
1808
+ .wpallexport-plugin #sub_post_to_export .dd-selected
1809
+
1810
+ {
1811
+ color: #000;
1812
+ font-weight: normal;
1813
+ font-size: 18px;
1814
+ padding: 0;
1815
+ padding: 0 12px;
1816
+ line-height: 24px;
1817
  }
1818
  .wpallexport-plugin .change_file #file_selector .dd-select,
1819
  .wpallexport-plugin .change_file #wp_query_selector .dd-select,
1820
+ .wpallexport-plugin .change_file #taxonomy_to_export .dd-select
1821
+ .wpallexport-plugin .change_file #sub_post_to_export .dd-select
1822
+ {
1823
+ padding: 5px 0 0;
1824
+ }
1825
+ .wpallexport-plugin .change_file #file_selector .dd-options .dd-option,
1826
+ .wpallexport-plugin .change_file #wp_query_selector .dd-options .dd-option,
1827
+ .wpallexport-plugin .change_file #taxonomy_to_export .dd-options .dd-option,
1828
+ .wpallexport-plugin .change_file #sub_post_to_export .dd-options .dd-option
1829
+ {
1830
+ padding: 0 10px;
1831
+ }
1832
  .wpallexport-plugin .dd-options{
1833
+ /*left: -5px;*/
1834
  }
1835
  .wpallexport-plugin #file_selector .dd-selected .dd-selected-image{
1836
+ margin-left: 10px;
1837
  }
1838
  .wpallexport-plugin #file_selector .dd-options .dd-option .dd-option-text{
1839
+ position: relative;
1840
+ top: -2px;
1841
  }
1842
  .wpallexport-plugin #file_selector .dd-option .dashicon:before,
1843
  .wpallexport-plugin #file_selector .dd-selected .dashicon:before {
1844
+ font-size: 24px;
1845
+ float: left;
1846
+ margin: 2px 5px 2px 2px;
1847
  }
1848
  .wpallexport-plugin #file_selector .dd-option .dashicon-post:before,
1849
  .wpallexport-plugin #file_selector .dd-selected .dashicon-post:before{
1850
+ font-family: "dashicons";
1851
+ content: "\f109";
1852
+ color: #555;
1853
  }
1854
  .wpallexport-plugin #file_selector .dd-option .dashicon-page:before,
1855
  .wpallexport-plugin #file_selector .dd-selected .dashicon-page:before{
1856
+ font-family: "dashicons";
1857
+ content: "\f105";
1858
+ color: #555;
1859
  }
1860
  .wpallexport-plugin #file_selector .dd-option .dashicon-product:before,
1861
  .wpallexport-plugin #file_selector .dd-selected .dashicon-product:before{
1862
+ font-family: "WooCommerce";
1863
+ content: "\e006";
1864
+ color: #555;
1865
+ margin-top: 0;
1866
  }
1867
  .wpallexport-plugin #file_selector .dd-option .dashicon-shop_order:before,
1868
  .wpallexport-plugin #file_selector .dd-selected .dashicon-shop_order:before,
1872
  .wpallexport-plugin #file_selector .dd-selected .dashicon-shop_coupon:before,
1873
  .wpallexport-plugin #file_selector .dd-option .dashicon-shop_customer:before,
1874
  .wpallexport-plugin #file_selector .dd-selected .dashicon-shop_customer:before{
1875
+ font-family: "WooCommerce";
1876
+ content: "\e03d";
1877
+ color: #555;
1878
+ margin-top: 2px;
1879
  }
1880
  .wpallexport-plugin #file_selector .dd-option .dashicon-cpt:before,
1881
  .wpallexport-plugin #file_selector .dd-selected .dashicon-cpt:before{
1882
+ font-family: "dashicons";
1883
+ content: "\f111";
1884
+ color: #555;
1885
+ margin-top: -2px;
1886
  }
1887
  .wpallexport-plugin #file_selector .dd-option .dashicon-users:before,
1888
  .wpallexport-plugin #file_selector .dd-selected .dashicon-users:before{
1889
+ font-family: "dashicons";
1890
+ content: "\f110";
1891
+ color: #555;
1892
  }
1893
  .wpallexport-plugin #file_selector .dd-option .dashicon-comments:before,
1894
  .wpallexport-plugin #file_selector .dd-selected .dashicon-comments:before{
1895
+ font-family: "dashicons";
1896
+ content: "\f101";
1897
+ color: #555;
1898
  }
1899
  .wpallexport-plugin #file_selector .dd-option .dashicon-taxonomies:before,
1900
  .wpallexport-plugin #file_selector .dd-selected .dashicon-taxonomies:before{
1901
+ font-family: "dashicons";
1902
+ content: "\f318";
1903
+ color: #555;
1904
  }
1905
  .wpallexport-plugin #file_selector .dd-option:hover .dashicon:before,
1906
  .wpallexport-plugin #file_selector .dd-option-selected .dashicon:before{
1907
+ color: #555;
1908
  }
1909
  .wpallexport-plugin #file_selector .dd-selected .dashicon:before{
1910
+ color:#46ba69;
1911
+ line-height: 24px;
1912
  }
1913
 
1914
  .wpallexport-plugin #file_selector .dd-option .dashicon-review:before,
1915
  .wpallexport-plugin #file_selector .dd-selected .dashicon-review:before{
1916
+ content: '';
1917
+ background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' standalone='no'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 20010904//EN' 'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'%3E%3Csvg version='1.0' xmlns='http://www.w3.org/2000/svg' width='1280.000000pt' height='1222.000000pt' viewBox='0 0 1280.000000 1222.000000' preserveAspectRatio='xMidYMid meet'%3E%3Cmetadata%3E%0ACreated by potrace 1.15, written by Peter Selinger 2001-2017%0A%3C/metadata%3E%3Cg transform='translate(0.000000,1222.000000) scale(0.100000,-0.100000)'%0Afill='%23555' stroke='none'%3E%3Cpath d='M6273 12205 c-115 -32 -205 -96 -266 -187 -19 -29 -304 -602 -635%0A-1273 -330 -671 -719 -1461 -864 -1755 l-264 -535 -220 -32 c-3672 -539 -3667%0A-538 -3722 -557 -100 -35 -199 -123 -248 -219 -76 -148 -69 -309 18 -454 23%0A-37 448 -457 1450 -1430 1270 -1233 1418 -1380 1413 -1403 -2 -14 -39 -223%0A-80 -465 -42 -242 -111 -645 -155 -895 -43 -250 -124 -718 -180 -1040 -56%0A-322 -135 -778 -176 -1015 -90 -512 -92 -552 -30 -680 102 -216 358 -320 574%0A-233 31 13 836 432 1788 931 l1731 906 804 -420 c442 -231 1223 -640 1734%0A-907 512 -268 953 -495 980 -504 63 -22 202 -23 268 -3 111 33 228 129 277%0A225 29 57 50 146 50 212 0 32 -41 292 -90 578 -138 795 -261 1506 -371 2145%0A-56 319 -124 716 -153 882 l-52 303 1422 1392 c965 944 1432 1408 1453 1442%0A43 71 62 130 68 211 16 208 -126 413 -324 468 -32 9 -379 61 -770 117 -392 55%0A-1034 145 -1425 200 -392 56 -868 123 -1058 150 -190 26 -419 58 -510 71 -91%0A12 -170 27 -177 33 -6 6 -399 799 -873 1761 -473 963 -877 1774 -898 1804 -44%0A65 -131 131 -210 161 -74 29 -207 36 -279 15z'/%3E%3C/g%3E%3C/svg%3E");
1918
+ background-size: 22px 22px;
1919
+ background-repeat: no-repeat;
1920
+ margin-top: -2px;
1921
+ width: 22px;
1922
+ height: 22px;
1923
  }
1924
  .wpallexport-plugin #file_selector .dd-selected .dashicon-review:before {
1925
+ background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' standalone='no'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 20010904//EN' 'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'%3E%3Csvg version='1.0' xmlns='http://www.w3.org/2000/svg' width='1280.000000pt' height='1222.000000pt' viewBox='0 0 1280.000000 1222.000000' preserveAspectRatio='xMidYMid meet'%3E%3Cmetadata%3E%0ACreated by potrace 1.15, written by Peter Selinger 2001-2017%0A%3C/metadata%3E%3Cg transform='translate(0.000000,1222.000000) scale(0.100000,-0.100000)'%0Afill='%2346ba69' stroke='none'%3E%3Cpath d='M6273 12205 c-115 -32 -205 -96 -266 -187 -19 -29 -304 -602 -635%0A-1273 -330 -671 -719 -1461 -864 -1755 l-264 -535 -220 -32 c-3672 -539 -3667%0A-538 -3722 -557 -100 -35 -199 -123 -248 -219 -76 -148 -69 -309 18 -454 23%0A-37 448 -457 1450 -1430 1270 -1233 1418 -1380 1413 -1403 -2 -14 -39 -223%0A-80 -465 -42 -242 -111 -645 -155 -895 -43 -250 -124 -718 -180 -1040 -56%0A-322 -135 -778 -176 -1015 -90 -512 -92 -552 -30 -680 102 -216 358 -320 574%0A-233 31 13 836 432 1788 931 l1731 906 804 -420 c442 -231 1223 -640 1734%0A-907 512 -268 953 -495 980 -504 63 -22 202 -23 268 -3 111 33 228 129 277%0A225 29 57 50 146 50 212 0 32 -41 292 -90 578 -138 795 -261 1506 -371 2145%0A-56 319 -124 716 -153 882 l-52 303 1422 1392 c965 944 1432 1408 1453 1442%0A43 71 62 130 68 211 16 208 -126 413 -324 468 -32 9 -379 61 -770 117 -392 55%0A-1034 145 -1425 200 -392 56 -868 123 -1058 150 -190 26 -419 58 -510 71 -91%0A12 -170 27 -177 33 -6 6 -399 799 -873 1761 -473 963 -877 1774 -898 1804 -44%0A65 -131 131 -210 161 -74 29 -207 36 -279 15z'/%3E%3C/g%3E%3C/svg%3E");
1926
+ margin-top: 2px;
1927
  }
1928
 
1929
  .wpallexport-plugin input[name=url]{
1930
+ font-size: 18px !important;
1931
+ height: 49px;
1932
+ margin-top: 20px;
1933
+ padding: 5px;
1934
+ width: 75% !important;
1935
+ /*background: url('../img/ui_4.0/url.png') 10px -42px no-repeat;*/
1936
+ padding-left: 60px;
1937
+ border: 1px solid #ddd;
1938
+ border-radius: 4px;
1939
+ -moz-border-radius: 4px;
1940
+ -khtml-border-radius: 4px;
1941
+ -webkit-border-radius: 4px;
1942
+ color: #cfceca;
1943
+ margin-bottom: 0;
1944
  }
1945
  .wpallexport-plugin .wpallexport-url-icon:before{
1946
+ color: #cfceca;
1947
+ content: "\f103";
1948
+ font-family: "dashicons";
1949
+ font-size: 30px;
1950
+ left: 45px;
1951
+ position: relative;
1952
+ top: -14px;
1953
+ vertical-align: bottom;
1954
  }
1955
  .wpallexport-plugin .wpallexport-url-icon.focus:before{
1956
+ color: #333;
1957
  }
1958
  .wpallexport-plugin input[name=url].focus{
1959
+ background-position: 10px 8px;
1960
+ color:#333;
1961
+ font-size: 11px !important;
1962
  }
1963
  .wpallexport-plugin #plupload-ui h3{
1964
+ float: left;
1965
+ font-size: 13px;
1966
+ font-weight: normal;
1967
+ margin-bottom: 0;
1968
+ margin-top: 8px;
1969
  }
1970
  .wpallexport-plugin .wpallexport-reimported-notify{
1971
+ border: 1px solid #AFAFAF;
1972
+ margin-bottom: 20px;
1973
+ padding: 10px 20px;
1974
  }
1975
  .wpallexport-plugin .wpallexport-reimported-notify p span{
1976
+ color: #ccc;
1977
  }
1978
  .wpallexport-plugin .wpallexport-choose-data-type{
1979
+ text-align: center;
1980
+ margin-bottom: 30px;
1981
  }
1982
  .wpallexport-plugin #wpallexport-url-upload-status{
1983
+ margin: 10px;
1984
  }
1985
  .wpallexport-plugin .wpallexport-uploaded-file-name{
1986
+ color: #333;
1987
  }
1988
  .wpallexport-plugin .wpallexport-choose-import-direction[rel="new"]{
1989
+ margin-left: -13%;
1990
  }
1991
  .wpallexport-plugin .wpallexport-choose-import-direction[rel="matching"]{
1992
+ margin-left: -12%;
1993
  }
1994
  .wpallexport-plugin .wpallexport-extra-text-left{
1995
+ float: left;
1996
+ text-align: right;
1997
+ width: 37%;
1998
  }
1999
  .wpallexport-plugin .wpallexport-extra-text-right{
2000
+ float: right;
2001
+ text-align: left;
2002
+ width: 38%;
2003
  }
2004
+ .wpallexport-plugin .wpallexport-new-records,
2005
  .wpallexport-plugin .wpallexport-existing-records{
2006
+ display: none;
2007
+ color: #777;
2008
+ font-size: 18px;
2009
+ line-height: 50px;
2010
  }
2011
  .wpallexport-plugin .wpallexport-extra-text-below{
2012
+ max-width: 565px;
2013
+ margin: 0 auto;
2014
  }
2015
  .wpallexport-plugin .chosen-container-single .chosen-single{
2016
+ background: none;
2017
+ box-shadow: none;
2018
+ color: #555 !important;
2019
+ border: 1px solid #ddd;
2020
  }
2021
  .wpallexport-plugin .chosen-container-active.chosen-with-drop .chosen-single{
2022
+ background: none;
2023
  }
2024
  .wpallexport-plugin .wp_all_export_product_matching_mode{
2025
+ margin-top: 25px;
2026
+ margin-left: 10px;
2027
  }
2028
  /*--------------------------------------------------------------------------
2029
  *
2030
  * Step 2 - XPath filtering
2031
+ *
2032
  *-------------------------------------------------------------------------*/
2033
 
2034
  .wpallexport-plugin .wpallexport-filtering-section{
2035
+ padding-bottom: 15px !important;
2036
+ margin-bottom: 0px;
2037
+ margin-top: 10px;
2038
+ overflow: visible;
2039
  }
2040
  .wpallexport-plugin .wpallexport-console{
2041
+ position:relative;
2042
+ padding:0;
2043
+ display:none;
2044
+ height: 110px;
2045
  }
2046
  .wpallexport-plugin .action_buttons{
2047
+ overflow: hidden;
2048
+ clear: both;
2049
+ padding: 10px;
2050
+ border-bottom: 1px solid #ddd;
2051
+ }
2052
+ .wpallexport-plugin .action_buttons .wpallexport-go-to{
2053
+ display: block;
2054
+ height: 21px;
2055
+ margin-top: 25px;
2056
+ text-decoration: none;
2057
+ width: 13px;
2058
+ }
2059
+ .wpallexport-plugin .action_buttons #prev_element{
2060
+ background: url('../img/ui_4.0/left_btn.png') no-repeat;
2061
+ margin-left: 15px;
2062
+ float: left;
2063
+ }
2064
+ .wpallexport-plugin .action_buttons #next_element{
2065
+ background: url('../img/ui_4.0/right_btn.png') no-repeat;
2066
+ margin-right: 15px;
2067
+ float: right;
2068
+ }
2069
+ .wpallexport-plugin .action_buttons .wpallexport-root-element{
2070
+ color: #46ba69;
2071
+ font-weight: bold;
2072
+ margin-top: 0;
2073
+ }
2074
  .wpallexport-plugin #wp_all_export_value{
2075
+ display: inline-block;
2076
+ height: 28px;
2077
+ margin: 0;
2078
+ padding: 3px;
2079
+ position: relative;
2080
+ top: 2px;
2081
+ width: 50px;
2082
+ }
2083
+ .wpallexport-plugin #wp_all_export_add_rule{
2084
+ background: url("../img/rule.png") no-repeat scroll 10px 10px #40acad;
2085
+ border: 1px solid #3a9c9d;
2086
+ border-radius: 5px;
2087
+ -moz-border-radius: 5px;
2088
+ -khtml-border-radius: 5px;
2089
+ -webkit-border-radius: 5px;
2090
+ color: #fff;
2091
+ display: inline-block;
2092
+ font-size: 14px;
2093
+ height: 21px;
2094
+ margin: 0;
2095
+ float: right;
2096
+ padding: 13px 40px 10px 50px;
2097
+ text-decoration: none;
2098
+ font-weight: bold;
2099
+ min-width: 60px;
2100
  }
2101
+ .wpallexport-plugin #wp_all_export_apply_filters{
2102
+ background: url("../img/rule.png") no-repeat scroll 10px 10px #40acad;
2103
+ border: 1px solid #3a9c9d;
2104
+ border-radius: 5px;
2105
+ -moz-border-radius: 5px;
2106
+ -khtml-border-radius: 5px;
2107
+ -webkit-border-radius: 5px;
2108
+ color: #fff;
2109
+ display: inline-block;
2110
+ font-size: 14px;
2111
+ height: 21px;
2112
+ margin: 0;
2113
+ float: right;
2114
+ padding: 13px 40px 10px 50px;
2115
+ text-decoration: none;
2116
+ font-weight: bold;
2117
  }
2118
  .wpallexport-plugin #wp_all_export_apply_filters{
2119
+ float: right;
2120
+ margin-top: 35px;
2121
  }
2122
  .wpallexport-plugin .wp_all_export_rule_inputs .chosen-container-single input[type="text"]{
2123
+ width: 100% !important;
2124
  }
2125
  .wpallexport-plugin .wp_all_export_rule_inputs .chosen-container-single .chosen-single{
2126
+ height: 48px;
2127
+ line-height: 38px;
2128
+ font-size: 15px;
2129
  }
2130
 
2131
  .wpallexport-plugin .chosen-container-single .chosen-single span {
2132
+ margin-top: 5px;
2133
+ color: #777;
2134
  }
2135
 
2136
  .wpallexport-plugin .googleMerchants .chosen-container-single .chosen-single span,
2137
  .wpallexport-plugin .export-single .chosen-container-single .chosen-single span {
2138
+ margin-top: 0;
2139
  }
2140
  .wpallexport-plugin .timezone-select .chosen-container-single .chosen-single span {
2141
+ margin-top: 0;
2142
  }
2143
  .wpallexport-plugin .chosen-container-single .chosen-search input[type="text"] {
2144
+ background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0xNS44NTMgMTYuNTZjLTEuNjgzIDEuNTE3LTMuOTExIDIuNDQtNi4zNTMgMi40NC01LjI0MyAwLTkuNS00LjI1Ny05LjUtOS41czQuMjU3LTkuNSA5LjUtOS41IDkuNSA0LjI1NyA5LjUgOS41YzAgMi40NDItLjkyMyA0LjY3LTIuNDQgNi4zNTNsNy40NCA3LjQ0LS43MDcuNzA3LTcuNDQtNy40NHptLTYuMzUzLTE1LjU2YzQuNjkxIDAgOC41IDMuODA5IDguNSA4LjVzLTMuODA5IDguNS04LjUgOC41LTguNS0zLjgwOS04LjUtOC41IDMuODA5LTguNSA4LjUtOC41eiIvPjwvc3ZnPg==') no-repeat right 5px top 50%;
2145
+ background-size: 12px;
2146
  }
2147
  .wpallexport-plugin .wp_all_export_rule_inputs .chosen-container-single .chosen-single div{
2148
+ top: 9px;
2149
+ display: none;
2150
  }
2151
 
2152
  .wpallexport-plugin #wp_all_export_value{
2153
+ font-size: 16px;
2154
+ height: 48px;
2155
+ padding: 10px;
2156
+ border: 1px solid #ddd;
2157
+ border-radius: 5px;
2158
+ -moz-border-radius: 5px;
2159
+ -khtml-border-radius: 5px;
2160
+ -webkit-border-radius: 5px;
2161
+ color: #777;
2162
+ font-size: 15px !important;
2163
+ width: 100%;
2164
+ position: relative;
2165
+ top: 0;
2166
+ }
2167
+ .wpallexport-plugin #wp_all_export_filtering_rules{
2168
+ position: relative;
2169
+ padding: 0;
2170
  }
2171
  .wpallexport-plugin .wp_all_export_filtering_rules{
2172
+ margin: 0;
2173
  }
2174
  .wpallexport-plugin .wp_all_export_filtering_rules .drag-element{
2175
+ background: url('../img/list.png') no-repeat 0 3px;
2176
+ padding-left: 30px;
2177
+ height: 25px;
2178
+ line-height: 21px;
2179
  }
2180
  .wpallexport-plugin .wp_all_export_filtering_rules .drag-element .rule_element{
2181
+ display: inline-block;
2182
+ width: 30%;
2183
+ color:#46ba69;
2184
+ font-size: 14px;
2185
  }
2186
  .wpallexport-plugin .wp_all_export_filtering_rules .drag-element .rule_as_is{
2187
+ display: inline-block;
2188
+ width: 20%;
2189
+ color:#40acad;
2190
+ font-size: 14px;
2191
  }
2192
  .wpallexport-plugin .wp_all_export_filtering_rules .drag-element .rule_condition_value{
2193
+ display: inline-block;
2194
+ width: 20%;
2195
+ color:#000;
2196
+ font-size: 14px;
2197
  }
2198
  .wpallexport-plugin .wp_all_export_filtering_rules .drag-element .condition{
2199
+ display: inline-block;
2200
+ width: 25%;
2201
+ color: #000;
2202
+ font-size: 14px;
2203
+ word-wrap: break-word;
2204
  }
2205
  .wpallexport-plugin .wp_all_export_filtering_rules li{
2206
+ position: relative;
2207
+ padding: 10px 10px 10px 20px;
2208
+ margin: 5px;
2209
+ border: 1px solid #ddd;
2210
+ border-radius: 4px;
2211
+ -moz-border-radius: 4px;
2212
+ -khtml-border-radius: 4px;
2213
+ -webkit-border-radius: 4px;
2214
+ }
2215
+ .wpallexport-plugin .wp_all_export_filtering_rules li ol{
2216
+ margin-top: 10px;
2217
+ }
2218
+ .wpallexport-plugin .wp_all_export_filtering_rules li ol li{
2219
+ border: 1px dotted #ddd;
2220
+ }
2221
+ .wpallexport-plugin .wp_all_export_filtering_rules li .remove-ico{
2222
+ right: 4%;
2223
+ top:10px;
2224
+ }
2225
+ .wpallexport-plugin .wp_all_export_filtering_rules li .condition{
2226
+ padding: 2px;
2227
+ }
2228
+ .wpallexport-plugin .wp_all_export_filtering_rules li .condition label{
2229
+ margin: 0px 3px;
2230
+ }
2231
+ .wpallexport-plugin .wp_all_export_filtering_rules li strong{
2232
+ text-transform: uppercase;
2233
+ }
2234
  .wpallexport-plugin .pmxi_group_rule{
2235
+ margin-left: -55px;
2236
  }
2237
  .wpallexport-plugin .wp_all_export_rule_inputs{
2238
+ /*float: left;*/
2239
+ }
2240
+ .wpallexport-plugin .wp_all_export_rule_inputs table{
2241
+ width: 100%;
2242
+ }
2243
+ .wpallexport-plugin .wp_all_export_rule_inputs table tr th{
2244
+ color: #000;
2245
+ font-weight: 16px;
2246
+ text-align: left;
2247
+ }
2248
+ .wpallexport-plugin .ajax-console .founded_records{
2249
+ background: url('../img/elements.png') no-repeat;
2250
+ padding-left: 80px;
2251
+ margin-bottom: 0;
2252
+ margin-left: 40px;
2253
+ margin-top: 25px;
2254
+ margin-bottom: 20px;
2255
+ position: relative;
2256
+ height: 63px;
2257
+ }
2258
+ .wpallexport-plugin .ajax-console .founded_records h3{
2259
+ color: #425f9a;
2260
+ margin-bottom: 0;
2261
+ margin-top: 3px;
2262
+ font-size: 22px;
2263
+ line-height: 28px;
2264
+ }
2265
+ .wpallexport-plugin .ajax-console .founded_records h4{
2266
+ color: #777;
2267
+ margin-top: 5px;
2268
+ font-size:20px;
2269
+ }
2270
+ .wpallexport-plugin .ajax-console .founded_records .wp_all_export_preloader{
2271
+ margin: 20px 0;
2272
+ position: relative;
2273
+ top:10px;
2274
+ }
2275
+ .wpallexport-plugin #filtering_result .wp_all_export_preloader{
2276
+ margin: 20px 0;
2277
+ position: relative;
2278
+ top:-10px;
2279
+ }
2280
  .wpallexport-plugin .wpallexport-change-root-element{
2281
+ display: block;
2282
+ background: #f6f5f1;
2283
+ border: 1px solid #ecebe7;
2284
+ border-radius: 5px;
2285
+ -moz-border-radius: 5px;
2286
+ -khtml-border-radius: 5px;
2287
+ -webkit-border-radius: 5px;
2288
+ color: #777;
2289
+ font-size: 16px;
2290
+ text-decoration: none;
2291
+ margin: 5px 10px;
2292
+ padding: 10px;
2293
+ }
2294
+ .wpallexport-plugin .wpallexport-change-root-element:hover{
2295
+ color: #000;
2296
+ }
2297
+ .wpallexport-plugin .wpallexport-change-root-element.selected{
2298
+ background: #46ba69;
2299
+ border: 1px solid #3da55c;
2300
+ color: #fff;
2301
+ cursor: default;
2302
+ }
2303
+ .wpallexport-plugin .wpallexport-change-root-element .tag_name{
2304
+ display: inline-block;
2305
+ max-width: 87%;
2306
+ overflow: hidden;
2307
+ text-overflow: ellipsis;
2308
+ }
2309
+ .wpallexport-plugin .wpallexport-change-root-element .tag_count{
2310
+ float: right;
2311
+ background: url('../img/ui_4.0/element_arrow.png') no-repeat;
2312
+ display: inline-block;
2313
+ height: 15px;
2314
+ padding-left: 20px;
2315
+ position: relative;
2316
+ top: 2px;
2317
+ line-height: 15px;
2318
+ }
2319
+ .wpallexport-plugin .wpallexport-change-root-element.selected .tag_count{
2320
+ background: url('../img/ui_4.0/element_arrow.png') no-repeat 0px -15px;
2321
+ }
2322
  .wpallexport-plugin .import_information{
2323
+ border-top: 1px solid #ddd;
2324
+ text-align: center;
2325
+ padding: 20px;
2326
+ }
2327
+ .wpallexport-plugin .import_information h3{
2328
+ text-align: center;
2329
+ color:#777;
2330
+ background: url('../img/ui_4.0/elements_notify.png') no-repeat;
2331
+ padding-left: 60px;
2332
+ height: 50px;
2333
+ display: inline-block;
2334
+ margin: 0 auto;
2335
+ line-height: 45px;
2336
+ }
2337
+ .wpallexport-plugin .import_information h3 span{
2338
+ color:#46ba69;
2339
+ }
2340
  .wpallexport-plugin .wpallexport-set-csv-delimiter{
2341
+ padding-top: 5px;
2342
+ text-align: center;
2343
+ display: none;
2344
  }
2345
  .wpallexport-plugin #current_element{
2346
+ color:green;
2347
  }
2348
  .wpallexport-plugin #current_xml{ display: none;}
2349
+ .wpallexport-plugin #goto_element{
2350
+ font-size: 16px;
2351
+ height: 35px;
2352
+ margin-right: 10px;
2353
+ min-width: 50px;
2354
+ padding-top: 5px;
2355
+ text-align: center;
2356
+ width: 50px !important;
2357
  }
2358
  .wpallexport-plugin .wpallexport-choose-elements{
2359
+ /*width: 1200px;*/
2360
+ }
2361
+ .wpallexport-plugin .wpallexport-choose-elements table tbody tr td{
2362
+ overflow: hidden;
2363
  }
 
 
 
2364
  .wpallexport-plugin .wpallexport-elements-information{
2365
+ font-size: 20px;
2366
+ padding-top: 17px;
2367
+ margin-right: 10px;
2368
  }
2369
  /*--------------------------------------------------------------------------
2370
  *
2371
  * Step 3 - Template Builder
2372
+ *
2373
  *-------------------------------------------------------------------------*/
2374
 
2375
  /*@+ Template form */
2376
  .wpallexport-plugin .wpallexport-export-template tbody tr td.left{
2377
+ width: 81%;
2378
  }
2379
  .wpallexport-plugin form.wpallexport-step-3 {
2380
+ /*width: 700px;*/
2381
+ position: relative;
2382
+ width: 100%;
2383
+ margin-top: 0 !important;
2384
+ }
2385
+ .wpallexport-plugin form.wpallexport-template .load-template {
2386
+ display: block;
2387
+ font-size: 12px;
2388
+ }
2389
+
2390
+ .wpallexport-plugin .load-template-container {
2391
+ display: flex;
2392
+ align-items: center;
2393
+ }
2394
+
2395
+ .wpallexport-plugin form.wpallexport-template .load-template select {
2396
+ width: auto;
2397
+ padding: 4px 25px 4px 12px;
2398
+ font-size: 12px;
2399
+ height: 34px;
2400
+ background-size: 14px 14px;
2401
+ }
2402
+
2403
+ .wpallexport-plugin form.wpallexport-step-3 .wpallexport-section .wpallexport-content-section{
2404
+ /*overflow: hidden; */
2405
+ padding-bottom: 0;
2406
+ margin-top: 0;
2407
+ }
2408
+
2409
+ .wpallexport-plugin form.wpallexport-step-3 .wpallexport-section .wpallexport-content-section .wpallexport-collapsed-content{
2410
+ padding: 0;
2411
+ }
2412
 
2413
  .wpallexport-plugin #poststuff{
2414
+ min-width: 200px;
2415
  }
2416
  .wpallexport-plugin #poststuff form.wpallexport-template h3 {
2417
+ margin: 1em 0 5px 2px;
2418
+ font-size: 1.17em;
2419
+ padding: 0px;
2420
  }
2421
  .wpallexport-plugin #post-preview {
2422
+ font-size: 12px;
2423
+ }
2424
+ .wpallexport-plugin #post-preview .error {
2425
+ margin: 5px 0;
2426
  }
 
 
 
2427
  .wpallexport-plugin h3 .header-option {
2428
+ display: block;
2429
+ float: right;
2430
+ font-size: 12px;
2431
+ font-weight: normal;
2432
  }
2433
  .wpallexport-plugin .builder_header{
2434
+ padding: 0 10px;
2435
+ width: 1200px;
2436
+ overflow: hidden;
2437
+ }
2438
+ .wpallexport-plugin .builder_header .left{
2439
+ float: left;
2440
+ }
2441
+ .wpallexport-plugin .builder_header .right{
2442
+ float:right;
2443
+ }
2444
+ .wpallexport-plugin .builder_header h3{
2445
+ color: #425F9A;
2446
+ margin-top: 0;
2447
+ font-size: 22px;
2448
+ margin-bottom: 0;
2449
+ }
2450
+ .wpallexport-plugin .builder_header h4{
2451
+ color: #777;
2452
+ margin-top: 10px;
2453
+ margin-bottom: 0;
2454
+ font-size: 18px;
2455
+ }
2456
+ .wpallexport-plugin .pmxi_option{
2457
+ padding: 3px 0;
2458
+ }
2459
+ .wpallexport-plugin .pmxi_option a.wpallexport-help{
2460
+ /*float: right;*/
2461
+ }
2462
  .wpallexport-plugin .parse{
2463
+ text-decoration: none !important;
2464
  }
2465
  .wpallexport-plugin .nested_xml{
2466
+ display: none;
2467
  }
2468
  .wpallexport-plugin .nested_xml_tree{
2469
+ width: 70%;
2470
+ float: left;
2471
+ padding: 5px 15px;
2472
  }
2473
  .wpallexport-plugin .nested_actions{
2474
+ width:25%;
2475
+ float: right;
2476
+ }
2477
+ .wpallexport-plugin .nested_actions input[type="text"]{
2478
+ width:100%;
2479
+ padding: 7px;
2480
  }
 
 
 
 
2481
  .wpallexport-plugin .nested_xml_tree .green{
2482
+ color: green;
2483
+ padding-bottom: 10px;
2484
  }
2485
+ .wpallexport-plugin .nested_xml_tree .red,
2486
  .wpallexport-plugin .nested_msgs{
2487
+ color: red;
2488
+ padding-bottom: 10px;
2489
  }
2490
  .wpallexport-plugin .nested_files ul{
2491
+ list-style: decimal outside none;
2492
+ padding-left: 15px;
2493
  }
2494
  .wpallexport-plugin .template_input{
2495
+ margin-top: 20px;
2496
  }
2497
  .wpallexport-plugin .wp_all_export_preloader{
2498
+ background: url("../img/preloader.png");
2499
+ width: 80px;
2500
+ height: 10px;
2501
+ margin: 20px auto;
2502
+ display: none;
2503
  }
2504
  .wpallexport-plugin #filtering_result{
2505
+ float: left;
2506
  }
2507
  .wpallexport-plugin .wp_all_export_filter_preloader{
2508
+ background: url("../img/preloader.gif") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
2509
+ margin-top: 50px;
2510
+ height: 16px;
2511
+ line-height: 16px;
2512
+ padding-left: 20px;
2513
+ display: none;
2514
+ position: relative;
2515
+ float: right;
2516
  }
2517
  .wpallexport-plugin .wp_all_export_functions_preloader{
2518
+ background: url("../img/preloader.gif") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
2519
+ margin-top: 6px;
2520
+ margin-left: 6px;
2521
+ height: 16px;
2522
+ line-height: 16px;
2523
+ padding-left: 20px;
2524
+ display: none;
2525
+ position: relative;
2526
+ float: right;
2527
  }
2528
  .wpallexport-plugin .sub_input{
2529
+ padding-left:17px;
2530
+ margin: 5px;
2531
  }
2532
  .wpallexport-plugin .main_choise{
2533
+ float: left;
2534
+ margin-right: 5px;
2535
+ }
2536
+ .wpallexport-plugin .specify_cf{
2537
+ left: 25%;
2538
+ top: 8px;
2539
+ background: #40acad;
2540
+ padding: 10px;
2541
+ position: relative;
2542
+ border-radius: 4px;
2543
+ -moz-border-radius: 4px;
2544
+ -khtml-border-radius: 4px;
2545
+ -webkit-border-radius: 4px;
2546
+ color: #fff !important;
2547
+ }
2548
+ .wpallexport-plugin .set_serialize.active,
2549
  .wpallexport-plugin .set_mapping.active{
2550
+ font-weight: bold;
2551
  }
2552
+ .wpallexport-plugin .custom_type{
2553
+ /*margin: 0 auto; */
2554
  }
2555
  .wpallexport-plugin .wpallexport-custom-fields textarea{
2556
+ border: 1px solid #ddd;
2557
+ border-radius: 4px;
2558
+ -moz-border-radius: 4px;
2559
+ -khtml-border-radius: 4px;
2560
+ -webkit-border-radius: 4px;
2561
+ padding: 6px 5px;
2562
+ font-size: 15px !important;
2563
+ height: 40px;
2564
+ float: left;
2565
+ margin-right: 5px;
2566
+ line-height: 25px;
2567
+ width: 68% !important;
2568
  }
2569
  .wpallexport-plugin .wpallexport-custom-fields .wpallexport-custom-fields-actions,
2570
  .wpallexport-plugin .wpallexport-real-estate .wpallexport-custom-fields-actions{
2571
+ float: right;
2572
+ right: 30px;
2573
+ position: relative;
2574
+ /*padding: 0 10px;*/
2575
+ border: 1px solid #ddd;
2576
+ margin-bottom: 10px;
2577
  }
2578
  .wpallexport-plugin .wpallexport-step-3 div.custom_type{
2579
+ /*width: 80%;
2580
+ min-height: 65px;*/
2581
  }
2582
  .wpallexport-plugin span.remove{
2583
+ position: static !important;
2584
  }
2585
 
2586
  .wpallexport-plugin input[type="text"][name="tagno"]{
2587
+ margin-left: 5px;
2588
+ padding: 3px;
2589
+ width: 40px;
2590
+ border: 1px solid #BBBBBB;
2591
+ -moz-border-radius: 3px;
2592
+ -khtml-border-radius: 3px;
2593
+ -webkit-border-radius: 3px;
2594
+ border-radius: 3px;
2595
+ text-align: center;
2596
  }
2597
  .wpallexport-pointer-content {
2598
+ padding: 0 0 10px;
2599
+ position: relative;
2600
+ font-size: 13px;
2601
+ background: #fff;
2602
+ border: 1px solid #dfdfdf;
2603
+ -webkit-box-shadow: 0 3px 6px rgba(0,0,0,0.075);
2604
+ box-shadow: 0 3px 6px rgba(0,0,0,0.075);
2605
  }
2606
  #post-preview div.title{
2607
+ text-align:right;
2608
+ border-bottom: 1px solid #ccc;
2609
+ padding: 10px;
2610
+ /*font-style:italic;*/
2611
  }
2612
  #post-preview .wpallexport-preview-title{
2613
+ border-bottom: 1px solid #ccc;
2614
+ margin-bottom: 0;
2615
+ padding-bottom: 10px;
2616
+ text-align: center;
2617
  }
2618
  #post-preview .wpallexport-preview-content{
2619
+ padding: 15px;
2620
+ overflow: auto;
2621
+ max-height: 350px;
2622
  }
2623
  #post-preview .wpallexport-preview-content .test_progress{
2624
+ clear: both;
2625
  }
2626
+ .wpallexport-plugin .preview,
2627
  .wpallexport-plugin .preview_images,
2628
+ .wpallexport-plugin .preview_prices,
2629
+ .wpallexport-plugin .preview_taxonomies,
2630
  .wpallexport-plugin .parse,
2631
+ .wpallexport-plugin .test_images{
2632
+ background: #40acad;
2633
+ -moz-border-radius: 4px;
2634
+ -khtml-border-radius: 4px;
2635
+ -webkit-border-radius: 4px;
2636
+ border-radius: 4px;
2637
+ clear: both;
2638
+ color: #fff !important;
2639
+ float: right;
2640
+ font-size: 14px;
2641
+ margin: 10px 0;
2642
+ padding: 10px 20px 10px 20px;
2643
  }
2644
  .wpallexport-plugin .test_images{
2645
+ display: block;
2646
+ float: left;
2647
+ margin-bottom: 15px;
2648
+ margin-left: 0;
2649
+ margin-top: 0;
2650
  }
2651
  .wpallexport-plugin .save_popup{
2652
+ -moz-border-radius: 4px;
2653
+ -khtml-border-radius: 4px;
2654
+ -webkit-border-radius: 4px;
2655
+ border-radius: 4px;
2656
+ position: absolute;
2657
+ top: 41px;
2658
+ right: 60px;
2659
+ background: #40acad;
2660
+ padding: 10px 15px 10px 15px;
2661
+ color:#fff !important;
2662
+ }
2663
+ .wpallexport-plugin .autodetect_cf,
2664
  .wpallexport-plugin .wpallexport-auto-detect-unique-key,
2665
  .wpallexport-plugin .wpallexport-change-unique-key{
2666
+ -moz-border-radius: 4px;
2667
+ -khtml-border-radius: 4px;
2668
+ -webkit-border-radius: 4px;
2669
+ border-radius: 4px;
2670
+ background: #40acad;
2671
+ padding: 10px 15px 10px 15px;
2672
+ color:#fff !important;
2673
+ font-size: 14px;
2674
+ position: relative;
2675
+ top:-1px;
2676
  }
2677
  .wpallexport-plugin .wpallexport-change-unique-key{
2678
+ background-position: 10px 12px;
2679
+ padding: 10px 15px 10px 15px;
2680
  }
2681
  .wpallexport-plugin .autodetect_cf{
2682
+ display: inline-block;
2683
+ margin-bottom: 5px;
2684
  }
2685
  .wpallexport-plugin .preview_taxonomies{
2686
+ float: none;
2687
+ /*padding: 5px 20px 5px 45px;*/
2688
+ margin-left: 10px;
2689
  }
2690
  .wpallexport-plugin .set_xpath{
2691
+ left: 0;
2692
+ padding-left: 15px;
2693
+ position: absolute;
2694
+ top: 0;
2695
  }
2696
  .wpallexport-plugin #woocommerce-product-data{
2697
+ margin-bottom: 20px;
2698
  }
2699
+ .wpallexport-plugin input[name^="attribute_name"],
2700
  .wpallexport-plugin input[name^="variable_attribute_name"]{
2701
+ width: 95% !important;
2702
  }
2703
  .wpallexport-plugin .fix_checkbox{
2704
+ position: relative;
2705
+ /*margin: 0px !important;*/
2706
  }
2707
  .wpallexport-plugin .newline{
2708
+ line-height: 16px;
2709
  }
2710
  .wpallexport-plugin #add_encoding{
2711
+ display: none;
2712
  }
2713
  .wpallexport-plugin #new_encoding{
2714
+ border: 1px solid #BBBBBB;
2715
+ -moz-border-radius: 3px;
2716
+ -khtml-border-radius: 3px;
2717
+ -webkit-border-radius: 3px;
2718
+ border-radius: 3px;
2719
  }
2720
  .wpallexport-plugin .load_options{
2721
+ height: 0;
2722
+ line-height: 0;
2723
+ margin: 0;
2724
+ padding: 0;
2725
+ position: relative;
2726
+ right: 10px;
2727
+ text-align: right;
2728
+ top: -35px;
2729
+ width: 100%;
2730
  }
2731
  .wpallexport-plugin .custom-params tr td{
2732
+ /*width: 50%;*/
2733
  }
2734
  .wpallexport-plugin .custom-params tr td.action{
2735
+ width: 100% !important;
2736
+ position: relative;
2737
+ display: block;
2738
  }
2739
  .wpallexport-plugin .form-field textarea{
2740
+ width:80%;
2741
  }
2742
  .wpallexport-plugin .drag-element .assign_post{
2743
+ float: left;
2744
+ margin-top: 2px;
2745
+ }
2746
+ .wpallexport-plugin .post_taxonomy{
2747
+ /*margin-bottom: 15px;*/
2748
+ overflow: hidden;
2749
+ padding-left: 5px;
2750
+ /*padding-bottom: 15px;*/
2751
+ }
2752
+ .wpallexport-plugin .post_taxonomy .delim{
2753
+ padding-left: 25px;
2754
+ }
2755
+ .wpallexport-plugin .post_taxonomy .delim .add-new-ico{
2756
+ float: left;
2757
+ margin-right: 10%;
2758
+ margin-top: 5px;
2759
+ }
2760
+ .wpallexport-plugin .post_taxonomy ol.ui-sortable{
2761
+ padding-right: 0px;
2762
+ }
2763
+ .wpallexport-plugin .post_taxonomy ol.ui-sortable .drag-element{
2764
+ background-position: 0 10px;
2765
+ }
2766
+ .wpallexport-plugin .post_taxonomy ol.ui-sortable .remove-ico{
2767
+ top: 8px;
2768
+ }
2769
 
2770
  .wpallexport-plugin .separated_by{
2771
+ float: right;
2772
+ font-size: 12px;
2773
+ color: #999999;
2774
+ margin-right: 20px;
2775
  }
2776
  .wpallexport-plugin .delim > label{
2777
+ color: #999999;
2778
+ font-size: 11px;
2779
  }
2780
+ .wpallexport-plugin .template-sidebar .tag{
2781
+ /*max-height: 550px;*/
2782
  }
2783
  .wpallexport-plugin .wp-pointer-content .action.remove a{
2784
+ top: 8px;
2785
  }
2786
  .wpallexport-plugin .wpallexport-drag-icon{
2787
+ position: relative;
2788
+ top: 5px;
2789
  }
2790
  .wpallexport-plugin .wpallexport-featured-images textarea{
2791
+ width: 70%;
2792
+ height: 70px;
2793
+ margin: 5px 0;
2794
+ padding-top: 5px;
2795
  }
2796
  .wpallexport-plugin .wpallexport-placeholder{
2797
+ color: #888 !important;
2798
  }
2799
  .wpallexport-plugin .ui-widget-overlay{
2800
+ background: #777 !important;
2801
+ z-index: 99999;
2802
  }
2803
  .wpallexport-plugin .auto_detect_sf{
2804
+ width: 80px;
2805
+ left: 0;
2806
  }
2807
  .wpallexport-plugin .ui-menu-item a{
2808
+ text-decoration: none;
2809
+ color: #777;
2810
+ }
2811
+ .wpallexport-plugin .ui-menu-item a.ui-state-focus,
2812
+ .wpallexport-plugin .ui-menu-item a.ui-state-active{
2813
+ margin: 0;
2814
  }
 
 
 
 
2815
  .wpallexport-plugin .ui-menu-item{
2816
+ border-bottom: 1px solid #777;
2817
  }
2818
  .wpallexport-plugin .ui-menu-item:last-child{
2819
+ border-bottom: none;
2820
  }
2821
  .wpallexport-plugin .cf_welcome,
2822
  .wpallexport-plugin .cf_detect_result{
2823
+ position: relative;
2824
+ text-align: center;
2825
+ padding-bottom: 15px;
2826
+ padding-top: 10px;
2827
+ border-bottom: 1px solid #ddd;
2828
+ border-top: 1px solid #ddd;
2829
  }
2830
  .wpallexport-plugin .wpallexport-dismiss-cf-welcome{
2831
+ display: block;
2832
+ width: 100px;
2833
+ /*height: 16px;
2834
+ position: absolute;
2835
+ right: 10px;
2836
+ top: 30%;*/
2837
+ /*background: url('../img/ico-remove.png') no-repeat;*/
2838
+ margin: 0 auto;
2839
  }
2840
  .wpallexport-plugin .wpallexport-cf-options{
2841
+ display: block;
2842
+ padding: 10px 12px;
2843
  }
2844
  .wpallexport-plugin .wpallexport-cf-menu{
2845
+ display: none;
2846
+ border: none;
2847
+ -webkit-border-radius: 0px;
2848
+ -moz-border-radius: 0px;
2849
+ -o-border-radius: 0px;
2850
+ border-radius: 0px;
2851
+ border: 0px;
2852
+ padding: 0;
2853
+ /*padding-left: 12px;*/
2854
+ margin-bottom: 0;
2855
+ margin-top: 0;
2856
  }
2857
  .wpallexport-plugin .wpallexport-cf-menu li{
2858
+ border-bottom: none;
2859
+ padding: 5px 0;
2860
+ padding-left: 16px;
2861
+ margin-bottom: 0;
2862
+ cursor: pointer;
2863
+ width: auto;
2864
  }
2865
  .wpallexport-plugin .wpallexport-cf-menu li:hover{
2866
+ background: #fafafa;
2867
  }
2868
  .wpallexport-plugin .wpallexport-cf-menu li.active{
2869
+ list-style: disc inside none;
2870
+ padding-left: 5px;
2871
  }
2872
  .wpallexport-plugin .wpallexport-cf-menu li a{
2873
+ padding: 0;
2874
+ /*font-family: "Open Sans",​sans-serif;*/
2875
+ font-size: 12px;
2876
+ display: inline;
2877
+ color: #777;
2878
  }
2879
  .wpallexport-plugin .ui-autocomplete li a:hover{
2880
+ border: none;
2881
+ -webkit-border-radius: 0px;
2882
+ -moz-border-radius: 0px;
2883
+ -o-border-radius: 0px;
2884
+ border-radius: 0px;
2885
+ border: 0px;
2886
  }
2887
  .wpallexport-plugin .wpallexport-not-empty{
2888
+ /*display: block;
2889
+ padding: 5px;*/
2890
  }
2891
+ .wpallexport-plugin .wp-all-export-format{
2892
+ /*margin-top: 15px; */
2893
  }
2894
 
2895
  .wpallexport-plugin .product_variations .sub-options {
2896
+ margin-left: 20px;
2897
+ margin-top: 8px;
2898
+ margin-bottom: 8px;
2899
  }
2900
 
2901
  .sub-options {
2902
+ display: none;
2903
  }
2904
  /*--------------------------------------------------------------------------
2905
  *
2906
  * Step 4 - Import Options
2907
+ *
2908
  *-------------------------------------------------------------------------*/
2909
 
2910
  .wpallexport-plugin .options .tag{
2911
+ margin-top: 0px;
2912
  }
2913
  .wpallexport-plugin .show_hints{
2914
+ color: #fff;
2915
+ padding: 10px;
2916
+ -moz-border-radius-topleft: 5px;
2917
+ -webkit-border-top-left-radius: 5px;
2918
+ border-top-left-radius: 5px;
2919
+ -moz-border-radius-bottomleft: 5px;
2920
+ -webkit-border-bottom-left-radius: 5px;
2921
+ border-bottom-left-radius: 5px;
2922
+ position: absolute;
2923
+ top: 18px;
2924
+ right: -1px;
2925
+ background: url('../img/ui_4.0/right_btn.png') no-repeat 95% 8px #40acad;
2926
+ padding-right: 30px;
2927
+ cursor: pointer;
2928
+ border: none;
2929
+ }
2930
+ .wpallexport-plugin .show_hints:hover{
2931
+ color: #dfdfdf;
2932
  }
 
 
 
2933
 
2934
  .wpallexport-plugin .wp-pointer-arrow{
2935
+ display: none;
2936
  }
2937
  .wpallexport-plugin .wp-pointer-content,
2938
  .wpallexport-plugin .wpallexport-pointer-content{
2939
+ border: 1px solid #ecebe7;
2940
+ border-radius: 4px;
2941
+ -moz-border-radius: 4px;
2942
+ -khtml-border-radius: 4px;
2943
+ -webkit-border-radius: 4px;
2944
+ margin: 20px 10px 20px 20px;
2945
+ padding: 0;
2946
+ }
2947
+ .wpallexport-plugin .wp-pointer-content fieldset{
2948
+ margin-top: 15px;
2949
+ }
2950
+ .wpallexport-plugin .wp-pointer-content .wp-pointer-buttons,
2951
+ .wpallexport-plugin .wpallexport-pointer-content .wp-pointer-buttons{
2952
+ padding: 15px;
2953
+ background: #f7f8f8;
2954
+ border-top: 1px solid #ebebeb;
2955
+ }
2956
+ .wpallexport-plugin .wp-pointer-content .wp-pointer-buttons a.close:before,
2957
+ .wpallexport-plugin .wpallexport-pointer-content .wp-pointer-buttons a.close:before{
2958
+ content:none;
2959
+ }
2960
+ .wpallexport-plugin .wp-pointer-content .wp-pointer-buttons a.close,
2961
+ .wpallexport-plugin .wpallexport-pointer-content .wp-pointer-buttons a.close{
2962
+ background: url('../img/remove.png') no-repeat 10px 10px #e4e6e6;
2963
+ padding: 10px 15px 10px 30px;
2964
+ color: #777;
2965
+ border-radius: 4px;
2966
+ -moz-border-radius: 4px;
2967
+ -khtml-border-radius: 4px;
2968
+ -webkit-border-radius: 4px;
2969
+ }
2970
+
2971
+ .wpallexport-plugin .options .wpallexport-submit-buttons{
2972
+ position: relative;
2973
+ text-align: center;
2974
+ top: 10px;
2975
  }
2976
  .wpallexport-plugin form.options{
2977
+ position: relative;
2978
+ margin-top: 0 !important;
2979
+ overflow: hidden;
2980
  }
2981
  .wpallexport-plugin form.edit{
2982
+ /*overflow: hidden;*/
2983
  }
2984
  .wpallexport-plugin .switcher-target-is_keep_former_posts{
2985
+ padding-left: 25px;
2986
  }
2987
  .wpallexport-plugin .wpallexport-change-custom-type{
2988
+ margin-left: 6px;
2989
  }
2990
 
2991
  /*--------------------------------------------------------------------------
2992
  *
2993
  * Step 5 - Confirm Import Settings
2994
+ *
2995
  *-------------------------------------------------------------------------*/
2996
 
2997
  /*.wpallexport-plugin .wpallexport-step-5 .wpallexport-section .wpallexport-content-section{
3006
  padding: 0 10%;
3007
  }*/
3008
  .wpallexport-plugin .wpallexport-step-5 .wpallexport-section .wpallexport-collapsed-content{
3009
+ border-top: 1px solid #ebebeb;
3010
+ margin-top: 10px;
3011
+ padding-top: 10px;
3012
+ }
3013
+ .wpallexport-plugin .wpallexport-step-5 .wpallexport-section .wpallexport-collapsed-content p{
3014
+ color: #777;
3015
+ background: url('../img/ui_4.0/logo_small.png') no-repeat;
3016
+ padding-left: 35px;
3017
+ min-height: 26px;
3018
+ line-height: 28px;
3019
+ }
3020
+
3021
+ .wpallexport-plugin form.confirm{
3022
+ margin-bottom: 20px;
3023
+ margin-top: 20px;
3024
+ text-align: center;
3025
+ }
3026
+ .wpallexport-plugin form.confirm input[type="submit"]{
3027
+ background: #46ba69;
3028
+ padding: 20px 30px 20px 30px;
3029
+ color: #fff;
3030
+ border: none;
3031
+ font-weight: bold;
3032
+ cursor: pointer;
3033
+ }
3034
+ .wpallexport-plugin form.confirm a{
3035
+ text-decoration: none;
3036
+ color: #777;
3037
+ }
3038
+ .wpallexport-plugin table.confirm ul {
3039
+ list-style: disc inside none;
3040
+ }
3041
+ .wpallexport-plugin table.confirm ul li ul{
3042
+ margin-left: 20px;
3043
+ margin-top: 5px;
3044
+ list-style: circle inside none;
3045
+ }
3046
+ /*.wpallexport-plugin #download_log_separator,
3047
  .wpallexport-plugin #download_log{
3048
  display: none;
3049
  }*/
3050
 
3051
  .wpallexport-plugin .wpallexport-ready-to-go{
3052
+ /*background: url("../img/elements.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;*/
3053
+ /*float: left;*/
3054
+ /*margin-left: 40px;*/
3055
+ /*margin-top: 25px;*/
3056
+ /*padding-left: 80px;*/
3057
+ /*text-align: left;*/
3058
+
3059
+ background: rgba(0, 0, 0, 0) url("../img/elements.png") no-repeat scroll 0 0 !important;
3060
+ height: 63px;
3061
+ margin-bottom: 20px;
3062
+ margin-left: 40px;
3063
+ margin-top: 25px;
3064
+ padding-left: 80px;
3065
+ position: relative;
3066
+
3067
+ }
3068
+ .wpallexport-plugin .wpallexport-ready-to-go h3{
3069
+ color: #425f9a;
3070
+ margin-bottom: 0;
3071
+ margin-top: 3px;
3072
+ font-size: 22px;
3073
+ line-height: 28px;
3074
+ }
3075
+ .wpallexport-plugin .wpallexport-ready-to-go h4{
3076
+ color: #777;
3077
+ margin-top: 5px;
3078
+ font-size:18px;
3079
+ }
3080
+ .wpallexport-plugin .nothing_to_export{
3081
+ background: url("../img/exclamation.png") no-repeat scroll 5px 5px rgba(0, 0, 0, 0) !important;
3082
+ }
3083
  .wpallexport-plugin .wpallexport-is-continue{
3084
+ text-align: left;
3085
+ float: left;
3086
+ margin: 12px 40px 12px 0px;
3087
  }
3088
  /*--------------------------------------------------------------------------
3089
  *
3090
  * Step 6 - Processing
3091
+ *
3092
  *-------------------------------------------------------------------------*/
3093
 
3094
  .wpallexport-plugin .pmxi_error_msg{
3095
+ color: #FF0000;
3096
+ display: block;
3097
+ font-size: 12px;
3098
+ line-height: 18px;
3099
+ padding: 2px;
3100
  }
3101
  .wpallexport-plugin .wpallexport-upload-process{
3102
+ border: none;
3103
+ padding: 1px;
3104
  }
3105
  .wpallexport-plugin .wpallexport_process_parent_wrapper
3106
  {
3107
+ margin-bottom: 20px;
3108
+ }
3109
+ .wpallexport-plugin .wpallexport_processbar{
3110
+ text-align: center;
3111
+ visibility: hidden;
3112
+ height: 30px;
3113
+ margin-top: 18px;
3114
+ margin-bottom: 20px;
3115
+ background: #fff;
3116
+ color: #222222;
3117
+ position: relative;
3118
+ }
3119
+ .wpallexport-plugin .wpallexport_processbar div
3120
+ {
3121
+ background: #76d771;
3122
+ height: 30px;
3123
+ width: 0%;
3124
+ position: absolute;
3125
+ top:0;
3126
+ }
3127
+ .wpallexport-plugin .wpallexport_process_child_wrapper
3128
+ {
3129
+ height: 55px;
3130
+ overflow: hidden;
3131
+ }
3132
+ .wpallexport-plugin .wpallexport_process_child_wrapper .wpallexport_processbar
3133
+ {
3134
+ height: 10px;
3135
+ margin: 10px 0px 10px;
3136
+ }
3137
+ .wpallexport-plugin .wpallexport_process_child_wrapper .wpallexport_processbar div
3138
+ {
3139
+ width: 0%;
3140
+ height: 10px;
3141
+ }
3142
  .wpallexport-plugin .export_progress{
3143
+ color: #000000;
3144
+ font-size: 21px;
3145
+ /*font-weight: bold;*/
3146
+ display: block;
3147
+ width: 100%;
3148
+ text-align: center;
3149
+ opacity: 1;
3150
+ position: relative;
3151
+ padding-top: 10px;
3152
+ }
3153
+ .wpallexport-plugin .export_progress .center_progress{
3154
+ color:#46ba69;
3155
+ font-size: 60px;
3156
+ }
3157
+ .wpallexport-plugin .right_progress{
3158
+ position: absolute;
3159
+ right: 0;
3160
+ color:#777;
3161
+ }
3162
+ .wpallexport-plugin .right_progress span{
3163
+ color:#000;
3164
+ }
3165
+ .wpallexport-plugin .left_progress{
3166
+ position: absolute;
3167
+ left: 0;
3168
+ color: #777;
3169
+ }
3170
+ .wpallexport-plugin .left_progress #then{
3171
+ color:#000;
3172
  }
 
 
 
3173
  .wpallexport-plugin .wpallexport_process_child_wrapper .export_progress
3174
  {
3175
+ font-size: 16px;
3176
+ padding: 0px;
3177
  }
3178
  .wpallexport-plugin .wpallexport_process_child_wrapper .center_progress
3179
  {
3180
+ font-size: 20px;
3181
  }
3182
  .wpallexport-plugin #existing_meta_keys{
3183
+ margin-bottom: 10px;
3184
+ padding: 2px;
3185
+ width: 580px;
3186
  }
3187
  .wpallexport-plugin #export_finished{
3188
+ display: none;
3189
+ text-align: center;
3190
+ padding-top: 30px;
3191
+ }
3192
+ .wpallexport-plugin #export_finished .normal-tab p{
3193
+ color: #777;
3194
+ font-size: 16px;
3195
+ }
3196
+ .wpallexport-plugin #export_finished .wp_all_export_download div.input{
3197
+ display: inline-block;
3198
+ vertical-align: top;
3199
+ }
3200
+ .wpallexport-plugin #export_finished .wp_all_export_download div.input .button-primary{
3201
+ width: 193px;
3202
+ background-image: none;
3203
+ }
3204
+ .wpallexport-plugin #export_finished .wp_all_export_download div.input span{
3205
+ color: #777;
3206
+ display: block;
3207
+ font-size: 10px;
3208
+ }
3209
+
3210
+ .wpallexport-plugin #export_finished .wpallexport-log-details{
3211
+ display: none;
3212
+ }
3213
+
3214
+ .wpallexport-plugin #export_finished .export_finished_icon{
3215
+ /*background: url('../img/ui_4.0/export_finished.png') no-repeat center center;*/
3216
+ width: 100%;
3217
+ height: 255px;
3218
+ margin: 40px 0;
3219
+ }
3220
+ .wpallexport-plugin #export_finished .normal-tab h1{
3221
+ font-size: 48px;
3222
+ color: #46ba69;
3223
+ font-weight: normal;
3224
+ }
3225
+ .wpallexport-plugin #export_finished .normal-tab h3{
3226
+ font-size: 21px;
3227
+ color: #777;
3228
+ font-weight: normal;
3229
+ line-height: 30px;
3230
+ }
3231
+ .wpallexport-plugin #export_finished .normal-tab h3 span{
3232
+ color: #000;
3233
+ }
3234
+ .wpallexport-plugin #export_finished hr{
3235
+ margin: 20px 15%;
3236
+ }
3237
+ .wpallexport-plugin #export_finished .normal-tab a{
3238
+ color: #40acad;
3239
+ text-decoration: none;
3240
+ margin: 5px 10px;
3241
+ display: inline-block;
3242
+ height: 25px;
3243
+ }
3244
  .wpallexport-plugin #process{ display:none; }
3245
  .wpallexport-plugin .ui-widget-header{
3246
+ -moz-border-radius: 4px;
3247
+ -khtml-border-radius: 4px;
3248
+ -webkit-border-radius: 4px;
3249
+ border-radius: 4px;
3250
  }
3251
  .wpallexport-plugin .ui-progressbar-value {
3252
+ background: #76d771 !important;
3253
+ border: none !important;
3254
+ -moz-border-radius: 8px;
3255
+ -khtml-border-radius: 8px;
3256
+ -webkit-border-radius: 8px;
3257
+ border-radius: 8px;
3258
  }
3259
  .wpallexport-plugin .wpallexport-modal-message{
3260
+ background: none repeat scroll 0 0 yellow;
3261
+ color: red;
3262
+ padding: 4px;
3263
+ margin-top: 10px;
3264
+ display: none;
3265
  }
3266
+ .wpallexport-plugin #logwrapper{
3267
+ border: 1px solid #aaa;
3268
+ margin: 10px auto;
3269
  }
3270
  .wpallexport-plugin #loglist{
3271
+ border: 1px solid #AAAAAA;
3272
+ height: 380px;
3273
+ overflow: auto;
3274
  }
3275
  .wpallexport-plugin #loglist > p{
3276
+ margin: 0;
3277
+ padding: 3px 5px;
3278
  }
3279
  .wpallexport-plugin #loglist > p.odd{
3280
+ background: #dfdfdf;
3281
  }
3282
  /*--------------------------------------------------------------------------
3283
  *
3284
  * Reimport
3285
+ *
3286
  *-------------------------------------------------------------------------*/
3287
 
3288
  .wpallexport-plugin .info_ico{
3289
+ background: url('../img/ui_4.0/info.png') 0 50% no-repeat;
3290
+ padding: 10px 10px 10px 40px;
3291
+ color: #777;
3292
  }
3293
  .wpallexport-plugin .drag_an_element_ico{
3294
+ background: url('../img/ui_4.0/drag.png') 0 50% no-repeat;
3295
+ padding: 10px 10px 10px 40px;
3296
+ color: #777;
3297
  }
3298
 
3299
  /*--------------------------------------------------------------------------
3300
  *
3301
+ * XML & CSV
3302
+ *
3303
  *-------------------------------------------------------------------------*/
3304
 
3305
  /*@+ XML representation */
3306
+ .wpallexport-plugin .tag {
3307
+ position: fixed;
3308
+ max-width: 450px;
3309
+ top: 127px;
3310
+ padding-bottom: 20px;
3311
+ margin-right: 15px;
3312
+ width: 22%;
3313
  }
3314
  .wpallexport-plugin #wp-content-editor-tools{
3315
+ background: #fff !important;
3316
  }
3317
  .wpallexport-plugin .tag .title {
3318
+ font-weight: bold;
3319
+ padding: 6px 8px;
3320
+ color: #464646;
3321
+ background: #fff;
3322
+ font-size: 12px;
3323
+ text-align: center;
3324
+ border: 1px solid #ddd;
3325
+ border-bottom: 1px solid #ddd;
3326
+ -moz-border-radius-topleft: 4px;
3327
+ -webkit-border-top-left-radius: 4px;
3328
+ border-top-left-radius: 4px;
3329
+ -moz-border-radius-topright: 4px;
3330
+ -webkit-border-top-right-radius: 4px;
3331
+ border-top-right-radius: 4px;
3332
  }
3333
  .wpallexport-plugin .tag .wpallexport-xml {
3334
+ /*max-height: 525px;*/
3335
+ max-width: 450px;
3336
+ overflow: auto;
3337
+ border: 1px solid #ddd;
3338
+ border-top:none;
3339
+ -moz-border-radius-bottomright: 4px;
3340
+ -webkit-border-bottom-right-radius: 4px;
3341
+ border-bottom-right-radius: 4px;
3342
+ -moz-border-radius-bottomleft: 4px;
3343
+ -webkit-border-bottom-left-radius: 4px;
3344
+ border-bottom-left-radius: 4px;
3345
+ background: #fafafa;
3346
  }
3347
  .wpallexport-plugin .tag .navigation {
3348
+ /*float: right;*/
3349
+ /*margin: 2px -12px 0 0;*/
3350
+ margin-bottom: 3px;
3351
+ margin-top: 3px;
3352
+ }
3353
+ .wpallexport-plugin .tag .navigation a,
3354
+ .wpallexport-plugin .tag .navigation span,
3355
+ #post-preview .navigation a,
3356
+ #post-preview .navigation span {
3357
+ font-weight: bold;
3358
+ padding: 0 12px;
3359
+ text-decoration: none;
3360
+ height: 25px;
3361
+ }
3362
+ .wpallexport-plugin .tag .navigation span.out_of{
3363
+ color:#777;
3364
+ margin-left: 0;
3365
+ }
3366
+ .wpallexport-plugin .tag .navigation .previous_element,
3367
+ #post-preview .navigation .previous_element{
3368
+ float: left;
3369
+ background: url('../img/left_btn.png') 5% 0 no-repeat;
3370
+ margin-top: 10px;
3371
+ }
3372
+ .wpallexport-plugin .tag .navigation .next_element,
3373
+ #post-preview .navigation .next_element{
3374
+ float: right;
3375
+ background: url('../img/right_btn.png') 95% 0 no-repeat;
3376
+ margin-top: 10px;
3377
+ }
3378
+
3379
+ @media screen and (max-height: 900px) {
3380
+ .wpallexport-plugin .tag {
3381
+ padding-bottom: 0px;
3382
+ }
3383
+ .wpallexport-plugin .tag .wpallexport-xml {
3384
+ /*max-height: 400px;*/
3385
+ }
3386
  }
3387
 
3388
  .wpallexport-plugin .wpallexport-xml {
3389
+ /*padding-left: 15px;*/
3390
+ overflow: auto;
3391
+ /*height: 92%;*/
3392
  }
3393
  .wpallexport-plugin .wpallexport-xml .wpallexport-hasmenu{
3394
+ -webkit-user-select: none;
3395
+ -khtml-user-select: none;
3396
+ -moz-user-select: none;
3397
+ -ms-user-select: none;
3398
+ user-select: none;
3399
  }
3400
  .wpallexport-plugin .wpallexport-xml .xml-element-xpaths{
3401
+ /*display: none;*/
3402
  }
3403
  .wpallexport-plugin .xml-element {
3404
+ border: 1px solid transparent;
3405
+ margin: 1px 1px 1px 0;
3406
+ }
3407
+ .wpallexport-plugin .xml-element .xml-element-xpaths{
3408
+ /*display: none;*/
3409
  }
 
 
 
3410
  .wpallexport-plugin .xml-element.selected > .xml-tag.opening .xml-tag-name {
3411
+ background-color: #B5E61D;
3412
  }
3413
  .wpallexport-plugin .xml-content {
3414
+ padding-left: 14px;
3415
+ max-width: 500px;
3416
+ overflow: hidden;
3417
  }
3418
  .wpallexport-plugin .xml-content.collapsed {
3419
+ display: none;
3420
  }
3421
  .wpallexport-plugin .xml-content.textonly.short {
3422
+ padding-left: 0px;
3423
+ display: inline;
3424
  }
3425
  .wpallexport-plugin .xml-content.textonly.cdata{
3426
+ color: #a50;
3427
  }
3428
  .wpallexport-plugin .xml-tag {
3429
+ display: inline;
3430
  }
3431
+ .wpallexport-plugin .xml-tag-name,
3432
  .wpallexport-plugin .csv-tag-name {
3433
+ color: #40acad;
3434
+ font-weight: bold;
3435
  }
3436
  .wpallexport-plugin .xml-tag.opening .xml-tag-name {
3437
+ cursor: pointer;
3438
  }
3439
  .wpallexport-plugin .wpallexport-xml .xml-tag.opening .xml-tag-name{
3440
+ cursor: default;
3441
  }
3442
  .wpallexport-plugin .xml-attr-name {
3443
+ font-weight: bold;
3444
+ cursor: pointer;
3445
  }
3446
  .wpallexport-plugin .xml-attr-value {
3447
+ color: blue;
3448
  }
3449
  .wpallexport-plugin .xml-expander {
3450
+ display: inline-block;
3451
+ width: 12px;
3452
+ margin-left: -12px;
3453
+ -moz-user-select: none;
3454
+ -khtml-user-select: none;
3455
+ -webkit-user-select: none;
3456
+ user-select: none;
3457
+ cursor: pointer;
3458
+ font-family: monospace;
3459
+ line-height: 100%;
3460
+ text-align: left;
3461
+ color: red;
3462
  }
3463
  .wpallexport-plugin .xml-more {
3464
+ color: red;
3465
+ font-size: 80%;
3466
  }
3467
  .wpallexport-plugin .xml.resetable .xml-element.lvl-mod4-3 > .xml-content {
3468
+ margin-left: -59px;
3469
+ margin-right: -8px;
3470
+ background-color: #fff;
3471
+ border: 1px dashed #906;
3472
+ border-left: 1px solid #906;
3473
+ border-right: none;
3474
  }
3475
  .wpallexport-plugin .xml.resetable .xml-element.lvl-mod4-3 > .xml-content.short {
3476
+ margin-left: 0;
3477
+ margin-right: 0;
3478
+ border: none;
3479
+ background-color: inherit;
3480
  }
3481
  .wpallexport-plugin .wpallexport-xml .xml-element.lvl-0 .xml-tag .xml-tag-name{
3482
+ color: #46ba69;
3483
  }
3484
  .wpallexport-plugin .wpallexport-xml .xml-element.lvl-1 .xml-tag .xml-tag-name{
3485
+ color: #40acad;
3486
  }
3487
  /*.wpallexport-plugin .csv_element .is_numeric{
3488
  text-align: right;
3489
  }*/
3490
  .wpallexport-plugin .csv-content{
3491
+ overflow: hidden;
3492
+ margin-bottom: 15px;
3493
+ margin-top: 15px;
3494
+ padding-right: 15px;
3495
  }
3496
+ .wpallexport-plugin .csv_element .csv-tag,
3497
  .wpallexport-plugin .csv_element .xml-content{
3498
+ width: 46%;
3499
+ /*border: 1px solid #ccc;*/
3500
+ padding: 3px !important;
3501
+ display: block;
3502
+ float: left;
3503
  }
3504
  .wpallexport-plugin .wpallexport-choose-elements .csv_element .csv-tag{
3505
+ width: 25%;
3506
  }
3507
  .wpallexport-plugin .wpallexport-choose-elements .csv_element .xml-content{
3508
+ width: 70%;
3509
  }
3510
  .wpallexport-plugin .csv_element .csv-tag{
3511
+ border-right: 1px solid #CCCCCC;
3512
+ margin-right: -1px;
3513
  }
3514
  .wpallexport-plugin .csv_element .xml-content{
3515
+ border-left: 1px solid #ccc;
3516
+ width: 48%;
3517
  }
3518
  .wpallexport-plugin .csv_element{
3519
+ border: 1px solid #ccc;
3520
+ overflow: hidden;
3521
+ width: 100%;
3522
+ background: #fff;
3523
  }
3524
  .wpallexport-plugin .csv_element.lvl-0{
3525
+ border: none;
3526
  }
3527
  /* xml table representation */
3528
  .wpallexport-plugin tr.xml-element.selected .xml-tag.opening .xml-tag-name {
3529
+ background-color: #B5E61D;
3530
  }
3531
  .wpallexport-plugin table.wpallexport-xml td {
3532
+ padding-left: 20px;
3533
  }
3534
  .wpallexport-plugin table.wpallexport-xml td:first-child {
3535
+ width: 1px;
3536
+ padding-left: 0px;
3537
  }
3538
 
3539
  .wpallexport-plugin table.wpallexport-xml,
3540
  .wpallexport-plugin table.wpallexport-xml table {
3541
+ width: 100%;
3542
+ border-collapse:collapse;
3543
+ border-spacing:0;
3544
  }
3545
  .product_variations {
3546
+ display: block;
3547
  }
3548
 
3549
  .wpallexport-plugin .product_variations input {
3550
+ margin-bottom: 0;
3551
  }
3552
 
3553
  .wpallexport-plugin .wpallexport-custom-xml-template .cdata label {
3554
+ vertical-align: 0px;
3555
  }
3556
 
3557
  .wpallexport-plugin .wpallexport-custom-xml-template .cdata input {
3558
+ vertical-align: -2px;
3559
  }
3560
  /*@*/
3561
 
3562
  /*--------------------------------------------------------------------------
3563
  *
3564
  * Manage Imports
3565
+ *
3566
  *-------------------------------------------------------------------------*/
3567
 
3568
  /*@+ table list */
3569
  .wpallexport-plugin table.widefat th {
3570
+ white-space: nowrap;
3571
  }
3572
  .wpallexport-plugin table.widefat th.ASC a {
3573
+ background-image: url("../img/screen-options-right-up.gif");
3574
+ background-repeat: no-repeat;
3575
+ background-position: right center;
3576
+ padding-right: 19px;
3577
  }
3578
  .wpallexport-plugin table.widefat th.DESC a {
3579
+ background-image: url("../img/screen-options-right.gif");
3580
+ background-repeat: no-repeat;
3581
+ background-position: right center;
3582
+ padding-right: 19px;
3583
  }
3584
 
3585
  .wpallexport-plugin table.widefat.pmxi-admin-imports th.column-id {
3586
+ width: 35px;
3587
  }
3588
  .wpallexport-plugin table.widefat.pmxi-admin-imports th.column-scheduled {
3589
+ width: 85px;
3590
  }
3591
  .wpallexport-plugin table.widefat.pmxi-admin-imports th.column-registered_on {
3592
+ width: 130px;
3593
  }
3594
  .wpallexport-plugin table.widefat.pmxi-admin-imports th.column-post_count {
3595
+ width: 105px;
3596
  }
3597
  .wpallexport-plugin .wpallexport-disabled{
3598
+ color: #888 !important;
3599
  }
3600
  /*@*/
3601
  /*.wpallexport-plugin .pmxi-admin-imports a.delete{
3611
 
3612
  .wpallexport-plugin .manage-column.check-column,
3613
  .wpallexport-plugin #the-pmxi-admin-import-list .check-column{
3614
+ padding: 10px;
3615
  }
3616
 
3617
  /*--------------------------------------------------------------------------
3618
  *
3619
  * Setting Page
3620
+ *
3621
  *-------------------------------------------------------------------------*/
3622
 
3623
  /*@+ Setting Form */
3624
+ .wpallexport-plugin form.settings {
3625
+ /*padding: 1px 12px;*/
3626
  }
3627
  /*@*/
3628
  .wpallexport-plugin form.settings p{
3629
+ /*font-size: 14px !important;*/
3630
  }
3631
  .wpallexport-plugin form.settings .wpallexport-header{
3632
+ overflow: hidden;
3633
+ height: 70px;
3634
+ padding-top: 10px;
3635
  }
3636
 
3637
  .wpallexport-plugin .wpallexport-setting-wrapper{
3638
+ clear: both;
3639
+ overflow: hidden;
3640
+ margin: 15px 0;
3641
  }
3642
  .wpallexport-plugin .wpallexport-setting-label{
3643
+ width: 250px;
3644
+ float: left;
3645
+ padding-top: 10px;
3646
+ font-weight: bold;
3647
  }
3648
  .wpallexport-plugin .wpallexport-setting{
3649
+ float: left;
3650
+ width: 600px;
3651
  }
3652
  .wpallexport-plugin .wpallexport-setting-note{
3653
+ color: #777;
3654
+ margin-top: 2px;
3655
  }
3656
 
3657
+ .wpallexport-plugin .save_action,
3658
  .wpallexport-plugin .delete_action,
3659
  .wpallexport-plugin .preview_action,
3660
  .wpallexport-plugin .close_action{
3661
+ -moz-border-radius: 4px;
3662
+ -khtml-border-radius: 4px;
3663
+ -webkit-border-radius: 4px;
3664
+ border-radius: 4px;
3665
+ position: absolute;
3666
+ background: #40acad;
3667
+ padding: 9px 15px;
3668
+ color:#fff !important;
3669
+ cursor: pointer;
3670
+ width: 80px;
3671
  }
3672
 
3673
  .wpallexport-plugin .save_action{
3674
+ bottom: 14px;
3675
+ right: 15px;
3676
+ background: #425f9a;
3677
+ float: right;
3678
  }
3679
 
3680
  .wpallexport-plugin .preview_action{
3681
+ bottom: 14px;
3682
+ background: #40acad;
3683
+ margin-left: 5px;
3684
  }
3685
 
3686
  .wpallexport-plugin .delete_action{
3687
+ left: 113px;
3688
+ bottom: 14px;
3689
+ background: #e14d43;
3690
+ margin-left: 5px;
3691
  }
3692
 
3693
  .wpallexport-plugin .close_action{
3694
+ width: 85px;
3695
+ left: 20px;
3696
+ bottom: 14px;
3697
+ background: url("../img/remove.png") no-repeat scroll 10px 10px #e4e6e6;
3698
+ color: #777 !important;
3699
+ padding: 9px 25px 9px 30px;
3700
  }
3701
 
3702
  .wpallexport-plugin .save_action.disabled,
3703
  .wpallexport-plugin .delete_action.disabled,
3704
  .wpallexport-plugin .preview_action.disabled,
3705
  .wpallexport-plugin .close_action.disabled{
3706
+ background: #e4e6e6;
3707
+ cursor: default !important;
3708
+ color: #B3B3B3 !important
3709
  }
3710
 
3711
  .wpallexport-plugin .save_action.disabled:focus,
3712
  .wpallexport-plugin .preview_action.disabled:focus
3713
  {
3714
+ outline: none;
3715
  }
3716
 
3717
  .wpallexport-plugin .wpae-custom-field ul li{
3718
+ margin-left: 15px;
3719
  }
3720
 
3721
  .wpallexport-plugin .function-editor,
3722
  .wpallexport-plugin .client-mode-settings {
3723
+ margin-top: 2em;
3724
  }
3725
 
3726
  .wpallexport-plugin .settings .submit-buttons {
3730
  /*--------------------------------------------------------------------------
3731
  *
3732
  * Media Queries
3733
+ *
3734
  *-------------------------------------------------------------------------*/
3735
 
3736
+ @media screen and (min-width: 1630px) and (max-width: 1730px) {
3737
+
3738
+ .wpallexport-plugin .change_file a.wpallexport-import-from{
3739
+ width: 320px;
3740
+ }
3741
+ .wpallexport-plugin .wpallexport-export-template tbody tr td.left{
3742
+ width: 78%;
3743
+ }
3744
+ }
3745
+
3746
+ @media screen and (min-width: 1530px) and (max-width: 1629px) {
3747
+
3748
+ .wpallexport-plugin .change_file a.wpallexport-import-from{
3749
+ width: 295px;
3750
+ }
3751
+
3752
+ .wpallexport-plugin .wpallexport-export-template tbody tr td.left{
3753
+ width: 78%;
3754
+ }
3755
+ }
3756
+
3757
+ @media screen and (min-width: 1416px) and (max-width: 1529px) {
3758
+
3759
+ .wpallexport-plugin .change_file a.wpallexport-import-from{
3760
+ width: 270px;
3761
+ }
3762
+
3763
+ .wpallexport-plugin .pmxi-admin-imports tr td em{
3764
+ display: block;
3765
+ max-width: 585px;
3766
+ }
3767
+
3768
+ .wpallexport-plugin .wpallexport-export-template tbody tr td.left{
3769
+ width: 78%;
3770
+ }
3771
+ }
3772
+
3773
+ @media screen and (min-width: 1350px) and (max-width: 1415px) {
3774
+
3775
+ .wpallexport-plugin .wpallexport-wrapper{
3776
+ width: 100%;
3777
+ }
3778
+
3779
+ .wpallexport-plugin .wpallexport-step-1 .wpallexport-wrapper, .wpallexport-plugin .wpallexport-step-6.wpallexport-wrapper{
3780
+ width: 1120px;
3781
+ }
3782
+ /*.wpallexport-plugin a.wpallexport-import-from{
3783
+ width: 340px;
3784
+ }*/
3785
+ .wpallexport-plugin .change_file a.wpallexport-import-from{
3786
+ width: 220px;
3787
+ font-size: 15px;
3788
+ }
3789
+ .wpallexport-plugin .wpallexport-custom-fields textarea{
3790
+ width: 60% !important;
3791
+ }
3792
+ .wpallexport-plugin .pmxi-admin-imports tr td em{
3793
+ display: block;
3794
+ max-width: 525px;
3795
+ }
3796
+ .wpallexport-plugin .wpallexport-extra-text-left{
3797
+ width: 36%;
3798
+ }
3799
+ .wpallexport-plugin .wpallexport-extra-text-right{
3800
+ width: 37%;
3801
+ }
3802
+ .wpallexport-plugin .wpallexport-is-continue{
3803
+ margin: 12px 10px 12px 0;
3804
+ }
3805
+ .wpallexport-plugin .wpallexport-choose-import-direction[rel="new"]{
3806
+ margin-left: -14%;
3807
+ }
3808
+ .wpallexport-plugin .wpallexport-choose-import-direction[rel="matching"]{
3809
+ margin-left: -13%;
3810
+ }
3811
+ .wpallexport-plugin .wpallexport-export-template tbody tr td.left{
3812
+ width: 76%;
3813
+ }
3814
+ }
3815
+
3816
+ @media screen and (min-width: 1250px) and (max-width: 1349px) {
3817
+ .wpallexport-plugin .wpallexport-wrapper{
3818
+ width: 100%;
3819
+ }
3820
+
3821
+ .wpallexport-plugin .wpallexport-step-1 .wpallexport-wrapper, .wpallexport-plugin .wpallexport-step-6.wpallexport-wrapper{
3822
+ width: 1020px;
3823
+ }
3824
+ .wpallexport-plugin .change_file .wpallexport-import-types h3{
3825
+ font-size: 22px;
3826
+ }
3827
+ .wpallexport-plugin .change_file a.wpallexport-import-from{
3828
+ width: 220px;
3829
+ font-size: 15px;
3830
+ }
3831
+ .wpallexport-plugin .wpallexport-custom-fields textarea{
3832
+ width: 55% !important;
3833
+ }
3834
+ .wpallexport-plugin .pmxi-admin-imports tr td em{
3835
+ display: block;
3836
+ max-width: 425px;
3837
+ }
3838
+ .wpallexport-plugin .wpallexport-extra-text-left{
3839
+ width: 35%;
3840
+ }
3841
+ .wpallexport-plugin .wpallexport-extra-text-right{
3842
+ width: 35%;
3843
+ }
3844
+ .wpallexport-plugin .wpallexport-is-continue{
3845
+ margin: 12px 10px 12px 0;
3846
+ }
3847
+ .wpallexport-plugin .wpallexport-choose-import-direction[rel="new"]{
3848
+ margin-left: -17%;
3849
+ }
3850
+ .wpallexport-plugin .wpallexport-choose-import-direction[rel="matching"]{
3851
+ margin-left: -16%;
3852
+ }
3853
+ /*.wpallexport-plugin form.wpallexport-step-3{
3854
+ width: 60%;
3855
+ }*/
3856
+ .wpallexport-plugin .wpallexport-export-template tbody tr td.left{
3857
+ width: 74%;
3858
+ }
3859
+ }
3860
+
3861
+ @media screen and (min-width: 1150px) and (max-width: 1249px) {
3862
+ .wpallexport-plugin .wpallexport-wrapper{
3863
+ width: 100%;
3864
+ }
3865
+
3866
+ .wpallexport-plugin .wpallexport-step-1 .wpallexport-wrapper, .wpallexport-plugin .wpallexport-step-6.wpallexport-wrapper{
3867
+ width: 920px;
3868
+ }
3869
+ /*.wpallexport-plugin a.wpallexport-import-from{
3870
+ width: 260px;
3871
+ }*/
3872
+ .wpallexport-plugin .wpallexport-upload-type-container{
3873
+ padding: 0 40px;
3874
+ }
3875
+ /* .wpallexport-plugin .wpallexport-ready-to-go h4,
3876
+ .wpallexport-plugin .ajax-console .founded_records h4{
3877
+ font-size: 18px;
3878
+ }
3879
+ */ .wpallexport-plugin #pmxi_add_rule{
3880
+ padding: 13px 25px 10px 50px;
3881
+ }
3882
+ .wpallexport-plugin #process_notice,
3883
+ .wpallexport-plugin #export_finished h3{
3884
+ font-size: 16px;
3885
+ }
3886
+ .wpallexport-plugin .change_file .wpallexport-import-types{
3887
+ margin-top: 15px;
3888
+ }
3889
+ .wpallexport-plugin .change_file .wpallexport-import-types h3{
3890
+ font-size: 18px;
3891
+ }
3892
+ .wpallexport-plugin .change_file a.wpallexport-import-from{
3893
+ width: 190px;
3894
+ font-size: 12px;
3895
+ }
3896
+ .wpallexport-plugin .wpallexport-custom-fields textarea{
3897
+ width: 50% !important;
3898
+ }
3899
+ .wpallexport-plugin .pmxi-admin-imports tr td em{
3900
+ display: block;
3901
+ max-width: 325px;
3902
+ }
3903
+ .wpallexport-plugin .wpallexport-extra-text-left{
3904
+ width: 33%;
3905
+ }
3906
+ .wpallexport-plugin .wpallexport-extra-text-right{
3907
+ width: 34%;
3908
+ }
3909
+ .wpallexport-plugin .wpallexport-new-records,
3910
+ .wpallexport-plugin .wpallexport-existing-records{
3911
+ font-size: 16px;
3912
+ }
3913
+ .wpallexport-plugin .wpallexport-is-continue{
3914
+ margin: 12px 10px 12px 0;
3915
+ }
3916
+ .wpallexport-plugin .wpallexport-choose-import-direction[rel="new"]{
3917
+ margin-left: -17%;
3918
+ }
3919
+ .wpallexport-plugin .wpallexport-choose-import-direction[rel="matching"]{
3920
+ margin-left: -16%;
3921
+ }
3922
+ /*.wpallexport-plugin form.wpallexport-step-3{
3923
+ width: 55%;
3924
+ }*/
3925
+ .wpallexport-plugin .wpallexport-export-template tbody tr td.left{
3926
+ width: 71%;
3927
+ }
3928
+ }
3929
+ @media screen and (min-width: 1050px) and (max-width: 1149px) {
3930
+ /*.wpallexport-plugin form.wpallexport-step-3{
3931
+ width: 55%;
3932
+ }*/
3933
+ .wpallexport-plugin .wpallexport-wrapper{
3934
+ width: 100%;
3935
+ }
3936
+
3937
+ .wpallexport-plugin .wpallexport-step-1 .wpallexport-wrapper, .wpallexport-plugin .wpallexport-step-6.wpallexport-wrapper{
3938
+ width: 800px;
3939
+ }
3940
+ /*.wpallexport-plugin a.wpallexport-import-from{
3941
+ width: 230px;
3942
+ font-size: 15px;
3943
+ }*/
3944
+ .wpallexport-plugin .wpallexport-upload-type-container{
3945
+ padding: 0 40px;
3946
+ }
3947
+ /* .wpallexport-plugin .wpallexport-ready-to-go h4,
3948
+ .wpallexport-plugin .ajax-console .founded_records h4{
3949
+ font-size: 14px;
3950
+ }*/
3951
+ .wpallexport-plugin form.confirm input[type="submit"]{
3952
+ padding: 20px 10px 20px 10px;
3953
+ }
3954
+ .wpallexport-plugin #process_notice,
3955
+ .wpallexport-plugin #export_finished h3{
3956
+ font-size: 14px;
3957
+ }
3958
+ .wpallexport-plugin .export_progress{
3959
+ font-size: 16px;
3960
+ }
3961
+ .wpallexport-plugin .change_file .wpallexport-import-types{
3962
+ margin-top: 15px;
3963
+ }
3964
+ .wpallexport-plugin .change_file .wpallexport-import-types h3{
3965
+ font-size: 18px;
3966
+ }
3967
+ .wpallexport-plugin .change_file a.wpallexport-import-from{
3968
+ width: 150px;
3969
+ font-size: 0px;
3970
+ }
3971
+ .wpallexport-plugin .change_file a.wpallexport-import-from .wpallexport-icon{
3972
+ left: 0 !important;
3973
+ }
3974
+ .wpallexport-plugin .wpallexport-custom-fields textarea{
3975
+ width: 45% !important;
3976
+ }
3977
+ .wpallexport-plugin .pmxi-admin-imports tr td em{
3978
+ display: block;
3979
+ max-width: 235px;
3980
+ }
3981
+ .wpallexport-plugin .wpallexport-extra-text-left{
3982
+ width: 30%;
3983
+ }
3984
+ .wpallexport-plugin .wpallexport-extra-text-right{
3985
+ width: 31%;
3986
+ }
3987
+ .wpallexport-plugin .wpallexport-new-records,
3988
+ .wpallexport-plugin .wpallexport-existing-records{
3989
+ font-size: 12px;
3990
+ }
3991
+ .wpallexport-plugin .wpallexport-is-continue{
3992
+ margin: 12px 10px 12px 0;
3993
+ }
3994
+ /* .wpallexport-plugin .wpallexport-ready-to-go h3{
3995
+ line-height: 20px;
3996
+ margin-top: 10px;
3997
+ }*/
3998
+ .wpallexport-plugin .wpallexport-choose-import-direction[rel="new"]{
3999
+ margin-left: -17%;
4000
+ }
4001
+ .wpallexport-plugin .wpallexport-choose-import-direction[rel="matching"]{
4002
+ margin-left: -16%;
4003
+ }
4004
+ .wpallexport-plugin .wpallexport-export-template tbody tr td.left{
4005
+ width: 67%;
4006
+ }
4007
+ }
4008
+ @media screen and (max-width: 1049px) {
4009
+ .wpallexport-plugin .wpallexport-wrapper{
4010
+ width: 100%;
4011
+ }
4012
+
4013
+ .wpallexport-plugin .wpallexport-step-1 .wpallexport-wrapper, .wpallexport-plugin .wpallexport-step-6.wpallexport-wrapper{
4014
+ width: 760px;
4015
+ }
4016
+ /*.wpallexport-plugin a.wpallexport-import-from{
4017
+ width: 220px;
4018
+ font-size: 15px;
4019
+ }*/
4020
+ .wpallexport-plugin .wpallexport-upload-type-container{
4021
+ padding: 0 40px;
4022
+ }
4023
+ .wpallexport-plugin .wpallexport-import-to{
4024
+ width: 330px;
4025
+ }
4026
+ /* .wpallexport-plugin .wpallexport-ready-to-go h4,
4027
+ .wpallexport-plugin .ajax-console .founded_records h4{
4028
+ font-size: 13px;
4029
+ }*/
4030
+ .wpallexport-plugin form.confirm input[type="submit"]{
4031
+ padding: 20px 10px 20px 10px;
4032
+ }
4033
+ .wpallexport-plugin #process_notice,
4034
+ .wpallexport-plugin #export_finished h3{
4035
+ font-size: 13px;
4036
+ }
4037
+ .wpallexport-plugin .export_progress{
4038
+ font-size: 16px;
4039
+ }
4040
+
4041
+ .wpallexport-plugin .change_file .wpallexport-import-types{
4042
+ margin-top: 15px;
4043
+ }
4044
+ .wpallexport-plugin .change_file .wpallexport-import-types h3{
4045
+ font-size: 14px;
4046
+ }
4047
+ .wpallexport-plugin .change_file a.wpallexport-import-from{
4048
+ width: 130px;
4049
+ font-size: 0px;
4050
+ }
4051
+ .wpallexport-plugin .change_file a.wpallexport-import-from .wpallexport-icon{
4052
+ left: 0 !important;
4053
+ }
4054
+ .wpallexport-plugin .change_file #select-files{
4055
+ font-size: 14px;
4056
+ }
4057
+ .wpallexport-plugin .wpallexport-import-to.wpallexport-to-new-items span.wpallexport-import-to-title:before{
4058
+ left: 25%;
4059
+ }
4060
+ .wpallexport-plugin .wpallexport-import-to.wpallexport-to-existing-items span.wpallexport-import-to-title:before{
4061
+ left: 20%;
4062
+ }
4063
+ .wpallexport-plugin .wpallexport-custom-fields textarea{
4064
+ width: 45% !important;
4065
+ }
4066
+ .wpallexport-plugin .pmxi-admin-imports tr td em{
4067
+ display: block;
4068
+ max-width: 225px;
4069
+ }
4070
+ .wpallexport-plugin .wpallexport-extra-text-left{
4071
+ width: 29%;
4072
+ }
4073
+ .wpallexport-plugin .wpallexport-extra-text-right{
4074
+ width: 30%;
4075
+ }
4076
+ .wpallexport-plugin .wpallexport-new-records,
4077
+ .wpallexport-plugin .wpallexport-existing-records{
4078
+ font-size: 11px;
4079
+ }
4080
+ /* .wpallexport-plugin .wpallexport-ready-to-go{
4081
+ padding-left: 70px;
4082
+ }*/
4083
+ .wpallexport-plugin .wpallexport-is-continue{
4084
+ margin: 12px 10px 12px 0;
4085
+ }
4086
+ /* .wpallexport-plugin .wpallexport-ready-to-go h3{
4087
+ line-height: 20px;
4088
+ margin-top: 10px;
4089
+ }*/
4090
+ .wpallexport-plugin .wpallexport-choose-import-direction[rel="new"]{
4091
+ margin-left: -17%;
4092
+ }
4093
+ .wpallexport-plugin .wpallexport-choose-import-direction[rel="matching"]{
4094
+ margin-left: -16%;
4095
+ }
4096
+ /*.wpallexport-plugin form.wpallexport-step-3{
4097
+ width: 55%;
4098
+ }*/
4099
+ .wpallexport-plugin .wpallexport-export-template tbody tr td.left{
4100
+ width: 65%;
4101
+ }
4102
  }
4103
 
4104
  .wpallexport-plugin .wpallimport-notify-wrapper .found_records.terminated, .wpallexport-plugin .found_records.terminated {
4105
+ background: url(../img/ui_4.0/exclamation.png) no-repeat !important;
4106
  }
4107
 
4108
  .wpallexport-plugin .wpallexport-notify-wrapper .found_records {
4109
+ padding-left: 80px;
4110
+ margin-bottom: 0;
4111
+ margin-left: 40px;
4112
+ margin-top: 35px;
4113
+ margin-bottom: 20px;
4114
+ position: relative;
4115
  }
4116
 
4117
  .wpallexport-plugin .wpallexport-notify-wrapper .found_records h3 {
4118
+ color: #425f9a;
4119
+ margin-bottom: 0;
4120
+ margin-top: 3px;
4121
+ font-size: 22px;
4122
+ line-height: 28px;
4123
  }
4124
 
4125
  .wpallexport-plugin .wpallexport-notify-wrapper .found_records h4 {
4126
+ color: #777;
4127
+ margin-top: 5px;
4128
+ font-size: 20px;
4129
  }
4130
 
4131
  /** GENERAL EXPORT SUCCESS PAGE **/
4132
  #export_finished ul.success-tabs {
4133
+ margin-bottom: 0;
4134
  }
4135
 
4136
  #export_finished .success-tabs li.tab {
4137
+ display: inline-block;
4138
+ width: 140px;
4139
+ height: 20px;
4140
+ padding: 14px;
4141
+ border: 1px solid #ddd;
4142
+ border-bottom: 0;
4143
+ color:#777;
4144
+ font-weight: bold;
4145
+ font-size: 14px;;
4146
+ margin-left: 0;
4147
+ margin-bottom: 0;
4148
+ margin-right: 2px;
4149
+ border-top-right-radius: 3px;
4150
+ border-top-left-radius: 3px;
4151
+ cursor: pointer;
4152
+ user-select: none;
4153
  }
4154
 
4155
  #export_finished .success-tabs li.tab:hover, #export_finished .success-tabs li.tab.selected {
4156
+ background-color: #425f9a;
4157
+ color: #fff;
4158
  }
4159
 
4160
  #export_finished .tab-content {
4161
+ min-height:300px;
4162
+ width: 870px;
4163
+ display:none;
4164
+ margin-left: auto;
4165
+ margin-right: auto;
4166
+ padding: 0 20px 20px;
4167
+ transition: 1.2s ease-out;
4168
  }
4169
 
4170
  #export_finished .tab-content.selected {
4171
+ display: block;
4172
  }
4173
 
4174
 
4175
 
4176
  #export_finished #tab1-content button, #export_finished #tab4-content button {
4177
+ text-shadow: none;
4178
  }
4179
 
4180
  .subscribe-button-text {
4181
+ text-shadow: none!important;
4182
  }
4183
 
4184
  #export_finished #tab2-content .wrap {
4185
+ margin-left: 0;
4186
+ margin-right: 0;
4187
  }
4188
 
4189
  #export_finished button {
4190
+ background-image: none;
4191
+ width:170px;
4192
+ margin-top:-20px;
4193
  }
4194
 
4195
  #export_finished #tab4-content button {
4196
+ margin-top: 0;
4197
  }
4198
 
4199
  #export_finished #tab4-content button {
4200
+ width: 236px;
4201
  }
4202
 
4203
  #export_finished #download-details {
4204
+ margin-top: 21px;
4205
+ font-size: 14px;
4206
  }
4207
  /** ENG GENERAL EXPORT SUCCESS PAGE **/
4208
 
4209
  /** GOOGLE MERCHANTS EXPORT SUCCESS PAGE **/
4210
  ol li {
4211
+ margin-bottom: 5px;
4212
  }
4213
  .google-merchants-success ol,
4214
  .google-merchants-success li,
4215
  .google-merchants-success h3,
4216
  .google-merchants-success p,
4217
  .google-merchants-success a {
4218
+ padding-top:0;
4219
+ padding-bottom:0;
4220
+ margin-top: 0;
4221
+ margin-bottom: 0;
4222
  }
4223
 
4224
  .google-merchants-success h3 {
4225
+ margin-top: 21px;
4226
+ margin-bottom: 21px;
4227
  }
4228
 
4229
  .google-merchants-success ol li {
4230
+ font-size: 16px;
4231
+ margin-top: 16px;
4232
 
4233
  }
4234
 
4235
  .google-merchants-success ol {
4236
+ margin-left: 70px;
4237
+ text-align: left;
4238
  }
4239
 
4240
  .google-merchants-success p {
4241
+ margin-top: 21px;
4242
+ margin-bottom: 21px;
4243
  }
4244
 
4245
  .google-merchants-success h3 {
4246
+ color:#425f9a !important;
4247
+ margin-top:0;
4248
  }
4249
 
4250
  .google-merchants-success .wpae-container {
4251
+ width:500px;
4252
+ background-color: #fff;
4253
+ text-align: center;
4254
+ margin-left: auto;
4255
+ margin-right: auto;
4256
+ padding: 20px 20px 41px;
4257
+ border-radius: 3px;
4258
+ border: 1px solid #ccc;
4259
  }
4260
 
4261
  .google-merchants-success a.merchants-dashboard-url {
4262
+ padding: 0 !important;
4263
+ margin: 0 !important;
4264
+ height: auto !important;
4265
  }
4266
 
4267
  .google-merchants-success p.feed-url-title {
4268
+ font-size: 21px;
4269
+ margin-bottom: 14px;
4270
  }
4271
 
4272
  .google-merchats-success p a.feed-url {
4273
+ font-size: 16px;
4274
+ margin-top: 0 !important;
4275
+ padding-top: 0 !important;
4276
  }
4277
 
4278
  .google-merchants-success p.feed-url {
4279
+ padding-top:0 !important;
4280
+ margin-top:0 !important;
4281
  }
4282
  /** END GOOGLE MERCHANTS SUCCESS PAGE **/
4283
 
4284
 
4285
  .scheduling_interval_type {
4286
+ width:90px;
4287
+ padding: 10px !important;
4288
+ border: 1px solid #ddd;
4289
+ border-radius: 4px;
4290
+ -moz-border-radius: 4px;
4291
+ -khtml-border-radius: 4px;
4292
+ -webkit-border-radius: 4px;
4293
+ color: #777;
4294
+ position: relative;
4295
+ top: 0;
4296
+ height: auto !important;
4297
  }
4298
 
4299
  .scheduling_interval_duration {
4300
+ border: 1px solid #ddd;
4301
+ border-radius: 4px;
4302
+ -moz-border-radius: 4px;
4303
+ -khtml-border-radius: 4px;
4304
+ -webkit-border-radius: 4px;
4305
+ color: #777;
4306
+ width: 56px;
4307
+ padding: 10px;
4308
+ height: auto !important;
4309
  }
4310
 
4311
 
4312
  /** COMBINE MULTIPLE ELEMENTS INTO ONE **/
4313
  #combine_multiple_fields_data .default_column {
4314
+ display: none;
4315
  }
4316
 
4317
  #combine_multiple_fields_data ul {
4318
+ margin-top: 0;
4319
  }
4320
 
4321
  input label {
4322
+ font-size: 12px;
4323
  }
4324
  .wp-all-export-field-options {
4325
+ margin-left: 20px;
4326
  }
4327
  .wp-all-export-field-options .chosen-container {
4328
+ width: 100% !important;
4329
  }
4330
  .wpallexport-pointer-data.available-data {
4331
+ max-height: 450px;
4332
  }
4333
  .wpallexport-pointer-data .fieldset{
4334
+ width: 170px;
4335
  }
4336
 
4337
  .ui-state-active,
4348
  .ui-menu .ui-menu-item a.ui-state-active,
4349
  .ui-menu .ui-menu-item a
4350
  { background: #ffffff none no-repeat;
4351
+ padding:0;
4352
+ margin:0;
4353
+ display:block;
4354
+ border:0;border-collapse:collapse;
4355
  }
4356
 
4357
  .ui-menu .ui-menu-item a.ui-corner-all:hover, .ui-menu .ui-menu-item a.ui-corner-all:focus, .ui-menu .ui-menu-item a.ui-corner-all:active {
4358
+ background:#ff8a00!important;
4359
+ color:#000;
4360
+ border-radius:0;
4361
+ padding: 15px;
4362
  }
4363
  .ui-autocomplete {
4364
+ position: absolute;
4365
+ z-index: 1000;
4366
+ cursor: default;
4367
+ padding: 0;
4368
+ margin-top: 2px;
4369
+ list-style: none;
4370
+ background-color: #ffffff;
4371
+ border: 1px solid #ccc;
4372
+ -webkit-border-radius: 5px;
4373
+ -moz-border-radius: 5px;
4374
+ border-radius: 5px;
4375
+ -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
4376
+ -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
4377
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
4378
  }
4379
 
4380
  .ui-autocomplete:hover {
4381
+ padding: 0;
4382
+ margin-top: 2px;
4383
+ border: 1px solid #ccc;
4384
+ -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
4385
+ -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
4386
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
4387
  }
4388
 
4389
  .ui-autocomplete {
4390
+ border-radius: 0 !important;
4391
+ overflow-x: hidden !important;
4392
  }
4393
 
4394
  .ui-autocomplete > li {
4395
+ padding-top: 5px !important;
4396
+ padding-bottom: 5px !important;
4397
+ padding-left: 5px !important;
4398
+ border: none !important;
4399
 
4400
+ border-radius: 0 !important;
4401
+ overflow: hidden !important;;
4402
  }
4403
  .ui-autocomplete > li.ui-state-focus {
4404
+ color: #464646;
4405
+ background-color: #f7f7f7;
4406
  }
4407
  .ui-helper-hidden-accessible {
4408
+ display: none;
4409
  }
4410
 
4411
  .wpallexport-plugin #wp_all_export_xml_element_chosen,
4412
  .wpallexport-plugin #wp_all_export_rule_chosen {
4413
+ background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 50%;
4414
  background-size: auto;
4415
+ background-size: 16px 16px;
4416
  }
4417
 
4418
  .wpallexport-plugin .chosen-container-single .chosen-single {
4419
+ height: 41px;
4420
+ line-height: 38px;
4421
+ font-size: 14px;
4422
+ background: none;
4423
+ box-shadow: none;
4424
+ color: #555 !important;
4425
+ padding: 0 0 0 12px;
4426
  }
4427
 
4428
  .wpallexport-plugin .chosen-container-single .chosen-single div {
4429
+ top: 9px;
4430
  }
4431
 
4432
  .wpallexport-plugin .chosen-results li.no-results {
4433
+ padding: 10px;
4434
+ font-size: 15px;
4435
  }
4436
  /** END COMBINE MULTIPLE ELEMENTS INTO ONE **/
4437
 
4438
  .wpallexport-plugin .pmxe_date_format{
4439
+ width: 100%;
4440
+ padding: 18px;
4441
+ height: 25px;
4442
+ border: 1px solid #ddd;
4443
+ box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
4444
+ border-radius: 5px;
4445
+ background-color: #fff;
4446
+ margin-bottom: 10px;
4447
 
4448
  }
4449
 
4450
  .wpallexport-plugin .wp_all_export_saving_status {
4451
+ padding: 10px;
4452
+ display: block;
4453
  }
4454
 
4455
  .wpallexport-plugin .wp_all_export_saving_status.error,
4456
  .wpallexport-plugin .wp_all_export_saving_status.updated {
4457
+ background: white !important;
4458
  }
4459
 
4460
  .category-mapper .mask {
4461
+ display: none;
4462
  }
4463
 
4464
  .wpallexport-plugin .wpallexport-xml-advanced-options .simple_xml_template_options {
4465
+ margin-top: 30px;
4466
  }
4467
 
4468
  .wpallexport-plugin .switcher-target-simple_custom_xml_cdata_logic_never {
4469
+ padding-left: 26px;
4470
  }
4471
 
4472
  .wpallexport-plugin .switcher-target-simple_custom_xml_cdata_logic_never p {
4473
+ font-style: normal;
4474
  }
4475
  .wpallexport-xml-advanced-options .product_variations input[type="radio"] {
4476
+ margin-bottom: -3px;
4477
  }
4478
 
4479
  .wpallexport-xml-advanced-options #custom_xml_cdata_logic_auto,
4480
  .wpallexport-xml-advanced-options #custom_custom_xml_cdata_logic_all,
4481
  .wpallexport-xml-advanced-options #custom_custom_xml_cdata_logic_never {
4482
+ margin-bottom: -4px;
4483
  }
4484
 
4485
  /*
4487
  */
4488
 
4489
  .wpallexport-plugin .download-import-templates p {
4490
+ font-size: 14px;
4491
  }
4492
 
4493
  .wpallexport-plugin .download-import-templates h2 {
4494
+ margin-bottom: 10px;
4495
  }
static/img/date-picker.gif CHANGED
File without changes
static/img/down.gif CHANGED
File without changes
static/img/drag.png CHANGED
File without changes
static/img/ico-add-new.png CHANGED
File without changes
static/img/ico-remove.png CHANGED
File without changes
static/img/loading.png CHANGED
File without changes
static/img/progress_animated.gif CHANGED
File without changes
static/img/screen-options-right-up.gif CHANGED
File without changes
static/img/screen-options-right.gif CHANGED
File without changes
static/img/stars.png CHANGED
File without changes
static/js/admin.js CHANGED
@@ -61,7 +61,9 @@
61
 
62
  $('input[name=export_to]').val('csv');
63
 
64
- if ($('#export_to_sheet').val() !== 'csv') {
 
 
65
  if (isWooCommerceOrder || vm.isProductVariationsExport()) {
66
  $('.csv_delimiter').hide();
67
  $('.export_to_csv').show();
@@ -577,14 +579,19 @@
577
 
578
  var filtering = function(postType){
579
 
580
- var is_preload = $('.wpallexport-preload-post-data').val();
 
 
 
 
 
581
  var filter_rules_hierarhy = parseInt(is_preload) ? $('input[name=filter_rules_hierarhy]').val() : '';
582
 
583
  $('.wpallexport-preload-post-data').val(0);
584
 
585
  var request = {
586
  action: 'wpae_filtering',
587
- data: {'cpt' : postType, 'export_type' : 'specific', 'filter_rules_hierarhy' : filter_rules_hierarhy, 'product_matching_mode' : 'strict', 'taxonomy_to_export' : $('input[name=taxonomy_to_export]').val()},
588
  security: wp_all_export_security
589
  };
590
 
@@ -637,6 +644,8 @@
637
 
638
  };
639
 
 
 
640
  var liveFiltering = function(first_load, after_filtering){
641
 
642
  // serialize filters
@@ -672,7 +681,8 @@
672
  'export_only_modified_stuff' : $export_only_modified_stuff,
673
  'export_type' : $('input[name=export_type]').val(),
674
  'taxonomy_to_export' : $('input[name=taxonomy_to_export]').val(),
675
- 'wpml_lang' : $('input[name=wpml_lang]').val(),
 
676
  'export_variations' : $('#export_variations').val()
677
  },
678
  security: wp_all_export_security
@@ -890,7 +900,18 @@
890
 
891
  $('.wpallexport-import-from.selected').click();
892
 
893
- $('#file_selector').ddslick({
 
 
 
 
 
 
 
 
 
 
 
894
  width: 600,
895
  onSelected: function(selectedData){
896
 
@@ -912,8 +933,9 @@
912
  });
913
 
914
  $('.wpallexport-choose-file').find('input[name=cpt]').val(postType);
 
915
 
916
- if (postType == 'taxonomies'){
917
  $('.taxonomy_to_export_wrapper').slideDown();
918
  if ($('input[name=taxonomy_to_export]').val() != ''){
919
  filtering(postType);
@@ -2197,13 +2219,16 @@
2197
  $('.wpallexport-csv-advanced-options').css('display', 'none');
2198
  $('.wpallexport-xml-advanced-options').css('display', 'block');
2199
  var $xml_export_format = $('.xml_template_type').val();
 
2200
  if ( $xml_export_format == 'custom' || $xml_export_format == 'XmlGoogleMerchants'){
2201
  $('.wpallexport-submit-template').attr('disabled', 'disabled');
2202
 
2203
  if ( $xml_export_format == 'custom') {
2204
  $('.custom_xml_upgrade_notice.wpallexport-custom-xml-template').show();
2205
  } else if ($xml_export_format == 'XmlGoogleMerchants') {
2206
- $('.custom_xml_upgrade_notice.wpallexport-google-merchants-template').show();
 
 
2207
  }
2208
 
2209
  $('.wpallexport-submit-buttons').hide();
@@ -2697,30 +2722,6 @@
2697
 
2698
  });
2699
 
2700
- var $el = $('#available_data');
2701
- if($el) {
2702
- if($el.offset()) {
2703
-
2704
-
2705
- var originalOffset = $el.offset().top - 50;
2706
- var elementWidth = $el.width();
2707
-
2708
- $el.css('width', elementWidth);
2709
-
2710
- $(window).scroll(function (e) {
2711
-
2712
- var isPositionFixed = ($el.css('position') == 'fixed');
2713
- if ($(this).scrollTop() > originalOffset && !isPositionFixed) {
2714
- $('#available_data').css({'position': 'fixed', 'top': '50px'});
2715
- }
2716
- if ($(this).scrollTop() < originalOffset && isPositionFixed) {
2717
- $('#available_data').css({'position': 'static', 'top': '50px'});
2718
- }
2719
- });
2720
- }
2721
- }
2722
-
2723
-
2724
  window.openSchedulingDialog = function(itemId, element, preloaderSrc) {
2725
  $('.wpallexport-overlay').show();
2726
  $('.wpallexport-loader').show();
61
 
62
  $('input[name=export_to]').val('csv');
63
 
64
+ var isWooCommerceOrder = vm.isWoocommerceOrderExport();
65
+
66
+ if ($('#export_to_sheet').val() !== 'csv') {
67
  if (isWooCommerceOrder || vm.isProductVariationsExport()) {
68
  $('.csv_delimiter').hide();
69
  $('.export_to_csv').show();
579
 
580
  var filtering = function(postType){
581
 
582
+ // Allow add-ons to disable filters
583
+ if(window.wpaeFiltersDisabled) {
584
+ return false;
585
+ }
586
+
587
+ var is_preload = $('.wpallexport-preload-post-data').val();
588
  var filter_rules_hierarhy = parseInt(is_preload) ? $('input[name=filter_rules_hierarhy]').val() : '';
589
 
590
  $('.wpallexport-preload-post-data').val(0);
591
 
592
  var request = {
593
  action: 'wpae_filtering',
594
+ data: {'cpt' : postType, 'export_type' : 'specific', 'filter_rules_hierarhy' : filter_rules_hierarhy, 'product_matching_mode' : 'strict', 'taxonomy_to_export' : $('input[name=taxonomy_to_export]').val(), 'sub_post_type_to_export' : $('input[name=sub_post_type_to_export]').val()},
595
  security: wp_all_export_security
596
  };
597
 
644
 
645
  };
646
 
647
+ window.wpae_filtering = filtering;
648
+
649
  var liveFiltering = function(first_load, after_filtering){
650
 
651
  // serialize filters
681
  'export_only_modified_stuff' : $export_only_modified_stuff,
682
  'export_type' : $('input[name=export_type]').val(),
683
  'taxonomy_to_export' : $('input[name=taxonomy_to_export]').val(),
684
+ 'sub_post_type_to_export' : $('input[name=sub_post_type_to_export]').val(),
685
+ 'wpml_lang' : $('input[name=wpml_lang]').val(),
686
  'export_variations' : $('#export_variations').val()
687
  },
688
  security: wp_all_export_security
900
 
901
  $('.wpallexport-import-from.selected').click();
902
 
903
+ window.wpaeFiltersDisabled = false;
904
+
905
+ window.wpaeDisableFiltering = function() {
906
+ window.wpaeFiltersDisabled = true;
907
+ };
908
+
909
+ window.wpaeEnableFiltering = function() {
910
+ window.wpaeFiltersDisabled = false;
911
+ };
912
+
913
+
914
+ $('#file_selector').ddslick({
915
  width: 600,
916
  onSelected: function(selectedData){
917
 
933
  });
934
 
935
  $('.wpallexport-choose-file').find('input[name=cpt]').val(postType);
936
+ $('.wpallexport-choose-file').find('input[name=cpt]').trigger("change");
937
 
938
+ if (postType == 'taxonomies'){
939
  $('.taxonomy_to_export_wrapper').slideDown();
940
  if ($('input[name=taxonomy_to_export]').val() != ''){
941
  filtering(postType);
2219
  $('.wpallexport-csv-advanced-options').css('display', 'none');
2220
  $('.wpallexport-xml-advanced-options').css('display', 'block');
2221
  var $xml_export_format = $('.xml_template_type').val();
2222
+
2223
  if ( $xml_export_format == 'custom' || $xml_export_format == 'XmlGoogleMerchants'){
2224
  $('.wpallexport-submit-template').attr('disabled', 'disabled');
2225
 
2226
  if ( $xml_export_format == 'custom') {
2227
  $('.custom_xml_upgrade_notice.wpallexport-custom-xml-template').show();
2228
  } else if ($xml_export_format == 'XmlGoogleMerchants') {
2229
+ setTimeout(function(){
2230
+ $('.custom_xml_upgrade_notice.wpallexport-google-merchants-template').show();
2231
+ });
2232
  }
2233
 
2234
  $('.wpallexport-submit-buttons').hide();
2722
 
2723
  });
2724
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2725
  window.openSchedulingDialog = function(itemId, element, preloaderSrc) {
2726
  $('.wpallexport-overlay').show();
2727
  $('.wpallexport-loader').show();
static/js/jquery/css/redmond/images/animated-overlay.gif CHANGED
File without changes
static/js/jquery/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png CHANGED
File without changes
static/js/jquery/css/redmond/images/ui-bg_flat_0_aaaaaa_40x100_1.png CHANGED
File without changes
static/js/jquery/css/redmond/images/ui-bg_flat_55_fbec88_40x100.png CHANGED
File without changes
static/js/jquery/css/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png CHANGED
File without changes
static/js/jquery/css/redmond/images/ui-bg_glass_85_dfeffc_1x400.png CHANGED
File without changes
static/js/jquery/css/redmond/images/ui-bg_glass_95_fef1ec_1x400.png CHANGED
File without changes
static/js/jquery/css/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png CHANGED
File without changes
static/js/jquery/css/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png CHANGED
File without changes
static/js/jquery/css/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png CHANGED
File without changes
static/js/jquery/css/redmond/images/ui-icons_217bc0_256x240.png CHANGED
File without changes
static/js/jquery/css/redmond/images/ui-icons_2e83ff_256x240.png CHANGED
File without changes
static/js/jquery/css/redmond/images/ui-icons_469bdd_256x240.png CHANGED
File without changes
static/js/jquery/css/redmond/images/ui-icons_6da8d5_256x240.png CHANGED
File without changes
static/js/jquery/css/redmond/images/ui-icons_cd0a0a_256x240.png CHANGED
File without changes
static/js/jquery/css/redmond/images/ui-icons_d8e7f3_256x240.png CHANGED
File without changes
static/js/jquery/css/redmond/images/ui-icons_f9bd01_256x240.png CHANGED
File without changes
static/js/jquery/css/redmond/jquery-ui.css CHANGED
File without changes
static/js/jquery/css/select2/select2-bootstrap.css CHANGED
File without changes
static/js/jquery/css/select2/select2-spinner.gif CHANGED
File without changes
static/js/jquery/css/select2/select2.css CHANGED
File without changes
static/js/jquery/css/select2/select2.png CHANGED
File without changes
static/js/jquery/css/smoothness/images/tipsy.gif CHANGED
File without changes
static/js/jquery/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png CHANGED
File without changes
static/js/jquery/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png CHANGED
File without changes
static/js/jquery/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png CHANGED
File without changes
static/js/jquery/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png CHANGED
File without changes
static/js/jquery/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png CHANGED
File without changes
static/js/jquery/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png CHANGED
File without changes
static/js/jquery/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png CHANGED
File without changes
static/js/jquery/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png CHANGED
File without changes
static/js/jquery/css/smoothness/images/ui-icons_222222_256x240.png CHANGED
File without changes
static/js/jquery/css/smoothness/images/ui-icons_2e83ff_256x240.png CHANGED
File without changes
static/js/jquery/css/smoothness/images/ui-icons_454545_256x240.png CHANGED
File without changes
static/js/jquery/css/smoothness/images/ui-icons_888888_256x240.png CHANGED
File without changes
static/js/jquery/css/smoothness/images/ui-icons_cd0a0a_256x240.png CHANGED
File without changes
static/js/jquery/css/smoothness/jquery-ui.css CHANGED
File without changes
static/js/jquery/css/smoothness/jquery.tipsy.css CHANGED
File without changes
static/js/jquery/jquery.tipsy.js CHANGED
File without changes
static/js/jquery/select2.min.js CHANGED
File without changes
static/js/jquery/ui.autocomplete.js CHANGED
File without changes
static/js/jquery/ui.datepicker.js CHANGED
File without changes
static/js/pmxe.js CHANGED
File without changes
views/admin/export/blocks/filters.php CHANGED
@@ -1,32 +1,40 @@
 
 
 
 
 
1
  <div class="wpallexport-free-edition-notice" style="padding: 20px; margin-bottom: 10px;">
2
- <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=filters"><?php _e('Upgrade to the Pro edition of WP All Export to Add Filters','wp_all_export_plugin');?></a>
3
- <p><?php _e('If you already own it, remove the free edition and install the Pro edition.','wp_all_export_plugin');?></p>
4
  </div>
5
  <div class="wp_all_export_rule_inputs">
6
  <table>
7
  <tr>
8
- <th><?php _e('Element', 'wp_all_export_plugin'); ?></th>
9
- <th><?php _e('Rule', 'wp_all_export_plugin'); ?></th>
10
- <th><?php _e('Value', 'wp_all_export_plugin'); ?></th>
11
  <th>&nbsp;</th>
12
  </tr>
13
  <tr>
14
  <td style="width: 25%;">
15
  <select id="wp_all_export_xml_element">
16
- <option value=""><?php _e('Select Element', 'wp_all_export_plugin'); ?></option>
17
- <?php echo $engine->render_filters(); ?>
 
 
 
18
  </select>
19
  </td>
20
  <td style="width: 25%;" id="wp_all_export_available_rules">
21
  <select id="wp_all_export_rule">
22
- <option value=""><?php _e('Select Rule', 'wp_all_export_plugin'); ?></option>
23
  </select>
24
  </td>
25
  <td style="width: 25%;">
26
  <input id="wp_all_export_value" type="text" placeholder="value" value=""/>
27
  </td>
28
  <td style="width: 15%;">
29
- <a id="wp_all_export_add_rule" href="javascript:void(0);"><?php _e('Add Rule', 'wp_all_export_plugin');?></a>
30
  </td>
31
  </tr>
32
  </table>
@@ -38,8 +46,8 @@
38
  $filter_rules = $post['filter_rules_hierarhy'];
39
  $filter_rules_hierarhy = json_decode($filter_rules);
40
  ?>
41
- <p id="date_field_notice" style="margin: 5px 0px 20px; text-align: center;"><?php _e('Date filters use natural language.<br>For example, to return records created in the last week: <i>date ▸ newer than ▸ last week</i>.<br>For all records created in 2016: <i>date ▸ older than ▸ 1/1/2017</i> AND <i>date ▸ newer than ▸ 12/31/2015</i>', 'wp_all_export_plugin');?>.</p>
42
- <p id="no_options_notice" style="margin:20px 0 5px; text-align:center; <?php if ( ! empty($filter_rules_hierarhy) and is_array($filter_rules_hierarhy) ) echo 'display:none;';?>"><?php _e('No filtering options. Add filtering options to only export records matching some specified criteria.', 'wp_all_export_plugin');?></p>
43
  <ol class="wp_all_export_filtering_rules">
44
  <?php
45
 
@@ -86,20 +94,20 @@
86
 
87
  $rulenumber++;
88
  ?>
89
- <li id="item_<?php echo $rulenumber;?>" class="dragging">
90
  <div class="drag-element">
91
- <input type="hidden" value="<?php echo $rule->element; ?>" class="wp_all_export_xml_element" name="wp_all_export_xml_element[<?php echo $rulenumber; ?>]"/>
92
- <input type="hidden" value="<?php echo $rule->title; ?>" class="wp_all_export_xml_element_title" name="wp_all_export_xml_element_title[<?php echo $rulenumber; ?>]"/>
93
- <input type="hidden" value="<?php echo $rule->condition; ?>" class="wp_all_export_rule" name="wp_all_export_rule[<?php echo $rulenumber; ?>]"/>
94
- <input type="hidden" value="<?php echo $rule->value; ?>" class="wp_all_export_value" name="wp_all_export_value[<?php echo $rulenumber; ?>]"/>
95
- <span class="rule_element"><?php echo $rule->title; ?></span>
96
- <span class="rule_as_is"><?php echo $condition_label; ?></span>
97
- <span class="rule_condition_value"><?php echo $rule->value; ?></span>
98
  <span class="condition <?php if ($rulenumber == count($filter_rules_hierarhy)) :?>last_condition<?php endif; ?>">
99
- <label for="rule_and_<?php echo $rulenumber; ?>">AND</label>
100
- <input id="rule_and_<?php echo $rulenumber; ?>" type="radio" value="and" name="rule[<?php echo $rulenumber; ?>]" <?php if ($rule->clause == 'AND'): ?>checked="checked"<?php endif; ?> class="rule_condition"/>
101
- <label for="rule_or_<?php echo $rulenumber; ?>">OR</label>
102
- <input id="rule_or_<?php echo $rulenumber; ?>" type="radio" value="or" name="rule[<?php echo $rulenumber; ?>]" <?php if ($rule->clause == 'OR'): ?>checked="checked"<?php endif; ?> class="rule_condition"/>
103
  </span>
104
  </div>
105
  <a href="javascript:void(0);" class="icon-item remove-ico"></a>
1
+ <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
+ ?>
6
  <div class="wpallexport-free-edition-notice" style="padding: 20px; margin-bottom: 10px;">
7
+ <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=filters"><?php esc_html_e('Upgrade to the Pro edition of WP All Export to Add Filters','wp_all_export_plugin');?></a>
8
+ <p><?php esc_html_e('If you already own it, remove the free edition and install the Pro edition.','wp_all_export_plugin');?></p>
9
  </div>
10
  <div class="wp_all_export_rule_inputs">
11
  <table>
12
  <tr>
13
+ <th><?php esc_html_e('Element', 'wp_all_export_plugin'); ?></th>
14
+ <th><?php esc_html_e('Rule', 'wp_all_export_plugin'); ?></th>
15
+ <th><?php esc_html_e('Value', 'wp_all_export_plugin'); ?></th>
16
  <th>&nbsp;</th>
17
  </tr>
18
  <tr>
19
  <td style="width: 25%;">
20
  <select id="wp_all_export_xml_element">
21
+ <option value=""><?php esc_html_e('Select Element', 'wp_all_export_plugin'); ?></option>
22
+ <?php
23
+ // Content is sanitized
24
+ echo $engine->render_filters();
25
+ ?>
26
  </select>
27
  </td>
28
  <td style="width: 25%;" id="wp_all_export_available_rules">
29
  <select id="wp_all_export_rule">
30
+ <option value=""><?php esc_html_e('Select Rule', 'wp_all_export_plugin'); ?></option>
31
  </select>
32
  </td>
33
  <td style="width: 25%;">
34
  <input id="wp_all_export_value" type="text" placeholder="value" value=""/>
35
  </td>
36
  <td style="width: 15%;">
37
+ <a id="wp_all_export_add_rule" href="javascript:void(0);"><?php esc_html_e('Add Rule', 'wp_all_export_plugin');?></a>
38
  </td>
39
  </tr>
40
  </table>
46
  $filter_rules = $post['filter_rules_hierarhy'];
47
  $filter_rules_hierarhy = json_decode($filter_rules);
48
  ?>
49
+ <p id="date_field_notice" style="margin: 5px 0px 20px; text-align: center;"><?php esc_html_e('Date filters use natural language.<br>For example, to return records created in the last week: <i>date ▸ newer than ▸ last week</i>.<br>For all records created in 2016: <i>date ▸ older than ▸ 1/1/2017</i> AND <i>date ▸ newer than ▸ 12/31/2015</i>', 'wp_all_export_plugin');?>.</p>
50
+ <p id="no_options_notice" style="margin:20px 0 5px; text-align:center; <?php if ( ! empty($filter_rules_hierarhy) and is_array($filter_rules_hierarhy) ) echo 'display:none;';?>"><?php esc_html_e('No filtering options. Add filtering options to only export records matching some specified criteria.', 'wp_all_export_plugin');?></p>
51
  <ol class="wp_all_export_filtering_rules">
52
  <?php
53
 
94
 
95
  $rulenumber++;
96
  ?>
97
+ <li id="<?php echo esc_attr("item_" . $rulenumber);?>" class="dragging">
98
  <div class="drag-element">
99
+ <input type="hidden" value="<?php echo esc_attr($rule->element); ?>" class="wp_all_export_xml_element" name="wp_all_export_xml_element[<?php echo intval($rulenumber); ?>]"/>
100
+ <input type="hidden" value="<?php echo esc_attr($rule->title); ?>" class="wp_all_export_xml_element_title" name="wp_all_export_xml_element_title[<?php echo intval($rulenumber); ?>]"/>
101
+ <input type="hidden" value="<?php echo esc_attr($rule->condition); ?>" class="wp_all_export_rule" name="wp_all_export_rule[<?php echo intval($rulenumber); ?>]"/>
102
+ <input type="hidden" value="<?php echo esc_attr($rule->value); ?>" class="wp_all_export_value" name="wp_all_export_value[<?php echo intval($rulenumber); ?>]"/>
103
+ <span class="rule_element"><?php echo esc_attr($rule->title); ?></span>
104
+ <span class="rule_as_is"><?php echo esc_attr($condition_label); ?></span>
105
+ <span class="rule_condition_value"><?php echo esc_attr($rule->value); ?></span>
106
  <span class="condition <?php if ($rulenumber == count($filter_rules_hierarhy)) :?>last_condition<?php endif; ?>">
107
+ <label for="rule_and_<?php echo intval($rulenumber); ?>">AND</label>
108
+ <input id="rule_and_<?php echo intval($rulenumber); ?>" type="radio" value="and" name="rule[<?php echo intval($rulenumber); ?>]" <?php if ($rule->clause == 'AND'): ?>checked="checked"<?php endif; ?> class="rule_condition"/>
109
+ <label for="rule_or_<?php echo intval($rulenumber); ?>">OR</label>
110
+ <input id="rule_or_<?php echo intval($rulenumber); ?>" type="radio" value="or" name="rule[<?php echo intval($rulenumber); ?>]" <?php if ($rule->clause == 'OR'): ?>checked="checked"<?php endif; ?> class="rule_condition"/>
111
  </span>
112
  </div>
113
  <a href="javascript:void(0);" class="icon-item remove-ico"></a>
views/admin/export/google.php CHANGED
@@ -1,4 +1,7 @@
1
  <?php
 
 
 
2
  wp_enqueue_script('pmxe-angular-app', PMXE_ROOT_URL . '/dist/app.min.js', array('jquery'), PMXE_VERSION);
3
  wp_enqueue_style('pmxe-angular-scss', PMXE_ROOT_URL . '/dist/styles.css', array(), PMXE_VERSION);
4
 
@@ -14,9 +17,9 @@ if(getenv('WPAE_DEV')) {
14
 
15
  <div ng-app="GoogleMerchants"
16
  ng-controller="mainController"
17
- ng-init="init('<?php if (class_exists("WooCommerce")) echo get_woocommerce_currency_symbol(); ?>',
18
- '<?php if (class_exists("WooCommerce")) echo get_woocommerce_currency();?>',
19
- <?php $is_template_loaded = PMXE_Plugin::$session->get('is_loaded_template'); if(!empty($is_template_loaded)) { echo PMXE_Plugin::$session->get('is_loaded_template'); } else { echo "false"; } ?>)"
20
  class="googleMerchants" id="googleMerchants">
21
  <?php
22
  if ($post['xml_template_type'] == XmlExportEngine::EXPORT_TYPE_GOOLE_MERCHANTS && $post['export_to'] == XmlExportEngine::EXPORT_TYPE_XML) {
1
  <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
  wp_enqueue_script('pmxe-angular-app', PMXE_ROOT_URL . '/dist/app.min.js', array('jquery'), PMXE_VERSION);
6
  wp_enqueue_style('pmxe-angular-scss', PMXE_ROOT_URL . '/dist/styles.css', array(), PMXE_VERSION);
7
 
17
 
18
  <div ng-app="GoogleMerchants"
19
  ng-controller="mainController"
20
+ ng-init="init('<?php if (class_exists("WooCommerce")) echo esc_attr(get_woocommerce_currency_symbol()); ?>',
21
+ '<?php if (class_exists("WooCommerce")) echo esc_attr(get_woocommerce_currency());?>',
22
+ <?php $is_template_loaded = esc_js(PMXE_Plugin::$session->get('is_loaded_template')); if(!empty($is_template_loaded)) { echo esc_attr(PMXE_Plugin::$session->get('is_loaded_template')); } else { echo "false"; } ?>)"
23
  class="googleMerchants" id="googleMerchants">
24
  <?php
25
  if ($post['xml_template_type'] == XmlExportEngine::EXPORT_TYPE_GOOLE_MERCHANTS && $post['export_to'] == XmlExportEngine::EXPORT_TYPE_XML) {
views/admin/export/index.php CHANGED
@@ -1,4 +1,7 @@
1
  <?php
 
 
 
2
  do_action('pmxe_addons_html');
3
  ?>
4
  <table class="wpallexport-layout wpallexport-step-1">
@@ -9,10 +12,10 @@ do_action('pmxe_addons_html');
9
  <div class="wpallexport-header">
10
  <div class="wpallexport-logo"></div>
11
  <div class="wpallexport-title">
12
- <h2><?php _e('New Export', 'wp_all_export_plugin'); ?></h2>
13
  </div>
14
  <div class="wpallexport-links">
15
- <a href="http://www.wpallimport.com/support/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=premium-support" target="_blank"><?php _e('Support', 'wp_all_export_plugin'); ?></a> | <a href="http://www.wpallimport.com/documentation/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=docs" target="_blank"><?php _e('Documentation', 'wp_all_export_plugin'); ?></a>
16
  </div>
17
  </div>
18
 
@@ -29,18 +32,18 @@ do_action('pmxe_addons_html');
29
  <div class="clear"></div>
30
 
31
  <div class="wpallexport-import-types">
32
- <h2><?php _e('First, choose what to export.', 'wp_all_export_plugin'); ?></h2>
33
  <a class="wpallexport-import-from wpallexport-url-type <?php echo 'advanced' != $post['export_type'] ? 'selected' : '' ?>" rel="specific_type" href="javascript:void(0);">
34
  <span class="wpallexport-icon"></span>
35
- <span class="wpallexport-icon-label"><?php _e('Specific Post Type', 'wp_all_export_plugin'); ?></span>
36
  </a>
37
  <a class="wpallexport-import-from wpallexport-file-type <?php echo 'advanced' == $post['export_type'] ? 'selected' : '' ?>" rel="advanced_type" href="javascript:void(0);">
38
  <span class="wpallexport-icon"></span>
39
- <span class="wpallexport-icon-label"><?php _e('WP_Query Results', 'wp_all_export_plugin'); ?></span>
40
  </a>
41
  </div>
42
 
43
- <input type="hidden" value="<?php echo $post['export_type']; ?>" name="export_type"/>
44
 
45
  <?php if (\class_exists('WooCommerce')): ?>
46
  <input type="hidden" value="1" id="WooCommerce_Installed">
@@ -104,7 +107,7 @@ do_action('pmxe_addons_html');
104
  ?>
105
 
106
  <select id="file_selector">
107
- <option value=""><?php _e('Choose a post type...', 'wp_all_export_plugin'); ?></option>
108
  <?php if (count($sorted_cpt)): $unknown_cpt = array(); ?>
109
  <?php foreach ($sorted_cpt as $key => $ct):?>
110
  <?php
@@ -115,7 +118,7 @@ do_action('pmxe_addons_html');
115
  $image_src = 'dashicon-cpt';
116
  $cpt_label = $ct->labels->name;
117
 
118
- if ( in_array($key, array('post', 'page', 'product', 'import_users', 'shop_order', 'shop_coupon', 'shop_customer', 'users', 'comments', 'taxonomies') ) )
119
  {
120
  $image_src = 'dashicon-' . $key;
121
  }
@@ -129,7 +132,7 @@ do_action('pmxe_addons_html');
129
  }
130
 
131
  ?>
132
- <option value="<?php echo $key;?>" data-imagesrc="dashicon <?php echo $image_src; ?>" <?php if ($key == $post['cpt']) echo 'selected="selected"'; ?>><?php echo $cpt_label; ?></option>
133
  <?php endforeach ?>
134
  <?php endif ?>
135
  <?php if ( ! empty($unknown_cpt)): ?>
@@ -138,52 +141,58 @@ do_action('pmxe_addons_html');
138
  $image_src = 'dashicon-cpt';
139
  $cpt_label = $ct->labels->name;
140
  ?>
141
- <option value="<?php echo $key;?>" data-imagesrc="dashicon <?php echo $image_src; ?>" <?php if ($key == $post['cpt']) echo 'selected="selected"'; ?>><?php echo $cpt_label; ?></option>
142
  <?php endforeach ?>
143
  <?php endif;?>
144
  </select>
145
- <input type="hidden" name="cpt" value="<?php echo $post['cpt']; ?>"/>
146
  <div class="taxonomy_to_export_wrapper">
147
- <input type="hidden" name="taxonomy_to_export" value="<?php echo $post['taxonomy_to_export'];?>">
148
  <select id="taxonomy_to_export">
149
- <option value=""><?php _e('Select taxonomy', 'wp_all_export_plugin'); ?></option>
150
  <?php $options = wp_all_export_get_taxonomies(); ?>
151
  <?php foreach ($options as $slug => $name):?>
152
- <option value="<?php echo $slug;?>" <?php if ($post['taxonomy_to_export'] == $slug):?>selected="selected"<?php endif;?>><?php echo $name;?></option>
153
  <?php endforeach;?>
154
  </select>
155
  </div>
156
 
 
 
 
 
 
 
157
  <div class="wpallexport-free-edition-notice wpallexport-user-export-notice">
158
- <p><?php _e('The User Export Package is Required to Export Users.', 'wp_all_export_plugin'); ?></p>
159
  <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206903&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-users"><?php
160
  _e('Purchase the User Export Package','wp_all_export_plugin');?></a>
161
  </div>
162
 
163
  <div class="wpallexport-free-edition-notice wpallexport-shop_customer-export-notice">
164
- <p><?php _e('The User Export Package is Required to Export Customers.', 'wp_all_export_plugin'); ?></p>
165
 
166
  <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206903&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-customers"><?php
167
- _e('Purchase the User Export Package','wp_all_export_plugin');?></a>
168
  </div>
169
 
170
 
171
  <div class="wpallexport-free-edition-notice wpallexport-shop_order-export-notice">
172
- <p><?php _e('The WooCommerce Export Package is Required to Export Orders.', 'wp_all_export_plugin'); ?></p>
173
  <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206899&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-orders"><?php
174
  _e('Purchase the WooCommerce Export Package','wp_all_export_plugin');?></a>
175
  </div>
176
 
177
  <div class="wpallexport-free-edition-notice wpallexport-shop_coupon-export-notice">
178
- <p><?php _e('The WooCommerce Export Package is Required to Export Coupons.', 'wp_all_export_plugin'); ?></p>
179
  <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206899&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-coupons"><?php
180
- _e('Purchase the WooCommerce Export Package','wp_all_export_plugin');?></a>
181
 
182
  </div>
183
 
184
  <div class="wpallexport-free-edition-notice wpallexport-shop_review-export-notice">
185
 
186
- <p><?php _e('WP All Export Pro and the WooCommerce Export Add-On are Required to Export WooCommerce Reviews.', 'wp_all_export_plugin'); ?></p>
187
 
188
  <a class="upgrade_link" target="_blank"
189
  href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206899&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-reviews"><?php
@@ -193,30 +202,30 @@ do_action('pmxe_addons_html');
193
  </div>
194
 
195
  <div class="wpallexport-free-edition-notice wpallexport-product-export-notice">
196
- <p><?php _e('The WooCommerce Export Package is Required to Export WooCommerce Products.', 'wp_all_export_plugin'); ?></p>
197
  <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206899&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-products"><?php
198
- _e('Purchase the WooCommerce Export Package','wp_all_export_plugin');?></a>
199
 
200
  </div>
201
 
202
  <div class="wpallexport-free-edition-notice wpallexport-comments-export-notice">
203
 
204
- <p><?php _e('WP All Export Pro is Required to Export Comments.', 'wp_all_export_plugin'); ?></p>
205
 
206
  <a class="upgrade_link" target="_blank"
207
  href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-comments"><?php
208
- _e('Purchase WP All Export Pro','wp_all_export_plugin');?></a>
209
 
210
  </div>
211
 
212
 
213
  <div class="wpallexport-free-edition-notice wpallexport-taxonomies-export-notice">
214
 
215
- <p><?php _e('WP All Export Pro is Required to Export Taxonomies.', 'wp_all_export_plugin'); ?></p>
216
 
217
  <a class="upgrade_link" target="_blank"
218
  href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-taxonomies"><?php
219
- _e('Purchase WP All Export Pro','wp_all_export_plugin');?></a>
220
 
221
  </div>
222
 
@@ -228,13 +237,13 @@ do_action('pmxe_addons_html');
228
  <div class="wpallexport-file-type-options">
229
 
230
  <select id="wp_query_selector">
231
- <option value="wp_query" <?php if ('wp_query' == $post['wp_query_selector']) echo 'selected="selected"'; ?>><?php _e('Post Type Query', 'wp_all_export_plugin'); ?></option>
232
- <option value="wp_user_query" <?php if ('wp_user_query' == $post['wp_query_selector']) echo 'selected="selected"'; ?>><?php _e('User Query', 'wp_all_export_plugin'); ?></option>
233
  <?php
234
  global $wp_version;
235
  if ( version_compare($wp_version, '4.2.0', '>=') ):
236
  ?>
237
- <option value="wp_comment_query" <?php if ('wp_comment_query' == $post['wp_query_selector']) echo 'selected="selected"'; ?>><?php _e('Comment Query', 'wp_all_export_plugin'); ?></option>
238
  <?php
239
  endif;
240
  ?>
@@ -242,25 +251,25 @@ do_action('pmxe_addons_html');
242
 
243
  <div class="wpallexport-free-edition-notice wpallexport-user-export-notice" style="margin-bottom: 20px;">
244
  <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206903&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-users">
245
- <?php _e('The User Export Package is required to Export Users','wp_all_export_plugin');?></a><br/>
246
- <p><?php _e('If you already own it, remove the WP All Export free edition and install the User Export Package\'s plugins.', 'wp_all_export_plugin'); ?></p>
247
  </div>
248
 
249
  <div class="wpallexport-free-edition-notice wpallexport-comments-export-notice" style="margin-bottom: 20px;">
250
  <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-comments">
251
- <?php _e('Upgrade to the Pro edition of WP All Export to Export Comments','wp_all_export_plugin');?></a><br/>
252
- <p><?php _e('If you already own it, remove the free edition and install the Pro edition.', 'wp_all_export_plugin'); ?></p>
253
  </div>
254
 
255
  <div class="wpallexport-free-edition-notice wpallexport-custom-product-export-notice" style="margin-bottom: 20px;">
256
- <p><?php _e('The WooCommerce Export Package is Required to Export WooCommerce Products.', 'wp_all_export_plugin'); ?></p>
257
  <br/>
258
  <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206899&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-products"><?php
259
- _e('Purchase the WooCommerce Export Package','wp_all_export_plugin');?></a>
260
 
261
  </div>
262
 
263
- <input type="hidden" name="wp_query_selector" value="<?php echo $post['wp_query_selector'];?>">
264
  <textarea class="wp_query" rows="10" cols="80" name="wp_query" placeholder="'post_type' => 'post', 'post_status' => array( 'pending', 'draft', 'future' )" style="width: 600px;"><?php echo esc_html($post['wp_query']); ?></textarea>
265
 
266
  </div>
@@ -270,7 +279,7 @@ do_action('pmxe_addons_html');
270
  <div class="wp_all_export_preloader"></div>
271
 
272
  <input type="hidden" class="hierarhy-output" name="filter_rules_hierarhy" value="<?php echo esc_html($post['filter_rules_hierarhy']);?>"/>
273
- <input type="hidden" class="wpallexport-preload-post-data" value="<?php echo $preload;?>">
274
  </div>
275
 
276
  <div class="wpallexport-filtering-wrapper rad4">
@@ -297,7 +306,7 @@ do_action('pmxe_addons_html');
297
  <table><tr><td class="wpallexport-note"></td></tr></table>
298
  </form>
299
 
300
- <a href="http://soflyy.com/" target="_blank" class="wpallexport-created-by"><?php _e('Created by', 'wp_all_export_plugin'); ?> <span></span></a>
301
 
302
  </div>
303
  </td>
1
  <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
  do_action('pmxe_addons_html');
6
  ?>
7
  <table class="wpallexport-layout wpallexport-step-1">
12
  <div class="wpallexport-header">
13
  <div class="wpallexport-logo"></div>
14
  <div class="wpallexport-title">
15
+ <h2><?php esc_html_e('New Export', 'wp_all_export_plugin'); ?></h2>
16
  </div>
17
  <div class="wpallexport-links">
18
+ <a href="http://www.wpallimport.com/support/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=premium-support" target="_blank"><?php esc_html_e('Support', 'wp_all_export_plugin'); ?></a> | <a href="http://www.wpallimport.com/documentation/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=docs" target="_blank"><?php esc_html_e('Documentation', 'wp_all_export_plugin'); ?></a>
19
  </div>
20
  </div>
21
 
32
  <div class="clear"></div>
33
 
34
  <div class="wpallexport-import-types">
35
+ <h2><?php esc_html_e('First, choose what to export.', 'wp_all_export_plugin'); ?></h2>
36
  <a class="wpallexport-import-from wpallexport-url-type <?php echo 'advanced' != $post['export_type'] ? 'selected' : '' ?>" rel="specific_type" href="javascript:void(0);">
37
  <span class="wpallexport-icon"></span>
38
+ <span class="wpallexport-icon-label"><?php esc_html_e('Specific Post Type', 'wp_all_export_plugin'); ?></span>
39
  </a>
40
  <a class="wpallexport-import-from wpallexport-file-type <?php echo 'advanced' == $post['export_type'] ? 'selected' : '' ?>" rel="advanced_type" href="javascript:void(0);">
41
  <span class="wpallexport-icon"></span>
42
+ <span class="wpallexport-icon-label"><?php esc_html_e('WP_Query Results', 'wp_all_export_plugin'); ?></span>
43
  </a>
44
  </div>
45
 
46
+ <input type="hidden" value="<?php echo esc_attr($post['export_type']); ?>" name="export_type"/>
47
 
48
  <?php if (\class_exists('WooCommerce')): ?>
49
  <input type="hidden" value="1" id="WooCommerce_Installed">
107
  ?>
108
 
109
  <select id="file_selector">
110
+ <option value=""><?php esc_html_e('Choose a post type...', 'wp_all_export_plugin'); ?></option>
111
  <?php if (count($sorted_cpt)): $unknown_cpt = array(); ?>
112
  <?php foreach ($sorted_cpt as $key => $ct):?>
113
  <?php
118
  $image_src = 'dashicon-cpt';
119
  $cpt_label = $ct->labels->name;
120
 
121
+ if ( in_array($key, array('post', 'page', 'product', 'import_users', 'shop_order', 'shop_coupon', 'shop_customer', 'users', 'comments', 'taxonomies', 'custom_wpae-gf-addon') ) )
122
  {
123
  $image_src = 'dashicon-' . $key;
124
  }
132
  }
133
 
134
  ?>
135
+ <option value="<?php echo esc_attr($key);?>" data-imagesrc="dashicon <?php echo esc_attr($image_src); ?>" <?php if ($key == $post['cpt']) echo 'selected="selected"'; ?>><?php echo esc_html($cpt_label); ?></option>
136
  <?php endforeach ?>
137
  <?php endif ?>
138
  <?php if ( ! empty($unknown_cpt)): ?>
141
  $image_src = 'dashicon-cpt';
142
  $cpt_label = $ct->labels->name;
143
  ?>
144
+ <option value="<?php echo $key;?>" data-imagesrc="dashicon <?php echo esc_attr($image_src); ?>" <?php if ($key == $post['cpt']) echo 'selected="selected"'; ?>><?php echo esc_html($cpt_label); ?></option>
145
  <?php endforeach ?>
146
  <?php endif;?>
147
  </select>
148
+ <input type="hidden" name="cpt" value="<?php echo esc_attr($post['cpt']); ?>"/>
149
  <div class="taxonomy_to_export_wrapper">
150
+ <input type="hidden" name="taxonomy_to_export" value="<?php echo esc_attr($post['taxonomy_to_export']);?>">
151
  <select id="taxonomy_to_export">
152
+ <option value=""><?php esc_html_e('Select taxonomy', 'wp_all_export_plugin'); ?></option>
153
  <?php $options = wp_all_export_get_taxonomies(); ?>
154
  <?php foreach ($options as $slug => $name):?>
155
+ <option value="<?php echo esc_attr($slug);?>" <?php if ($post['taxonomy_to_export'] == $slug):?>selected="selected"<?php endif;?>><?php echo esc_html($name);?></option>
156
  <?php endforeach;?>
157
  </select>
158
  </div>
159
 
160
+ <div class="sub_post_type_to_export_wrapper">
161
+ <input type="hidden" name="sub_post_type_to_export" value="<?php echo $post['taxonomy_to_export'];?>">
162
+ <select id="sub_post_to_export">
163
+ </select>
164
+ </div>
165
+
166
  <div class="wpallexport-free-edition-notice wpallexport-user-export-notice">
167
+ <p><?php esc_html_e('The User Export Package is Required to Export Users.', 'wp_all_export_plugin'); ?></p>
168
  <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206903&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-users"><?php
169
  _e('Purchase the User Export Package','wp_all_export_plugin');?></a>
170
  </div>
171
 
172
  <div class="wpallexport-free-edition-notice wpallexport-shop_customer-export-notice">
173
+ <p><?php esc_html_e('The User Export Package is Required to Export Customers.', 'wp_all_export_plugin'); ?></p>
174
 
175
  <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206903&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-customers"><?php
176
+ esc_html_e('Purchase the User Export Package','wp_all_export_plugin');?></a>
177
  </div>
178
 
179
 
180
  <div class="wpallexport-free-edition-notice wpallexport-shop_order-export-notice">
181
+ <p><?php esc_html_e('The WooCommerce Export Package is Required to Export Orders.', 'wp_all_export_plugin'); ?></p>
182
  <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206899&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-orders"><?php
183
  _e('Purchase the WooCommerce Export Package','wp_all_export_plugin');?></a>
184
  </div>
185
 
186
  <div class="wpallexport-free-edition-notice wpallexport-shop_coupon-export-notice">
187
+ <p><?php esc_html_e('The WooCommerce Export Package is Required to Export Coupons.', 'wp_all_export_plugin'); ?></p>
188
  <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206899&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-coupons"><?php
189
+ esc_html_e('Purchase the WooCommerce Export Package','wp_all_export_plugin');?></a>
190
 
191
  </div>
192
 
193
  <div class="wpallexport-free-edition-notice wpallexport-shop_review-export-notice">
194
 
195
+ <p><?php esc_html_e('WP All Export Pro and the WooCommerce Export Add-On are Required to Export WooCommerce Reviews.', 'wp_all_export_plugin'); ?></p>
196
 
197
  <a class="upgrade_link" target="_blank"
198
  href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206899&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-reviews"><?php
202
  </div>
203
 
204
  <div class="wpallexport-free-edition-notice wpallexport-product-export-notice">
205
+ <p><?php esc_html_e('The WooCommerce Export Package is Required to Export WooCommerce Products.', 'wp_all_export_plugin'); ?></p>
206
  <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206899&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-products"><?php
207
+ esc_html_e('Purchase the WooCommerce Export Package','wp_all_export_plugin');?></a>
208
 
209
  </div>
210
 
211
  <div class="wpallexport-free-edition-notice wpallexport-comments-export-notice">
212
 
213
+ <p><?php esc_html_e('WP All Export Pro is Required to Export Comments.', 'wp_all_export_plugin'); ?></p>
214
 
215
  <a class="upgrade_link" target="_blank"
216
  href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-comments"><?php
217
+ esc_html_e('Purchase WP All Export Pro','wp_all_export_plugin');?></a>
218
 
219
  </div>
220
 
221
 
222
  <div class="wpallexport-free-edition-notice wpallexport-taxonomies-export-notice">
223
 
224
+ <p><?php esc_html_e('WP All Export Pro is Required to Export Taxonomies.', 'wp_all_export_plugin'); ?></p>
225
 
226
  <a class="upgrade_link" target="_blank"
227
  href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-taxonomies"><?php
228
+ esc_html_e('Purchase WP All Export Pro','wp_all_export_plugin');?></a>
229
 
230
  </div>
231
 
237
  <div class="wpallexport-file-type-options">
238
 
239
  <select id="wp_query_selector">
240
+ <option value="wp_query" <?php if ('wp_query' == $post['wp_query_selector']) echo 'selected="selected"'; ?>><?php esc_html_e('Post Type Query', 'wp_all_export_plugin'); ?></option>
241
+ <option value="wp_user_query" <?php if ('wp_user_query' == $post['wp_query_selector']) echo 'selected="selected"'; ?>><?php esc_html_e('User Query', 'wp_all_export_plugin'); ?></option>
242
  <?php
243
  global $wp_version;
244
  if ( version_compare($wp_version, '4.2.0', '>=') ):
245
  ?>
246
+ <option value="wp_comment_query" <?php if ('wp_comment_query' == $post['wp_query_selector']) echo 'selected="selected"'; ?>><?php esc_html_e('Comment Query', 'wp_all_export_plugin'); ?></option>
247
  <?php
248
  endif;
249
  ?>
251
 
252
  <div class="wpallexport-free-edition-notice wpallexport-user-export-notice" style="margin-bottom: 20px;">
253
  <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206903&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-users">
254
+ <?php esc_html_e('The User Export Package is required to Export Users','wp_all_export_plugin');?></a><br/>
255
+ <p><?php esc_html_e('If you already own it, remove the WP All Export free edition and install the User Export Package\'s plugins.', 'wp_all_export_plugin'); ?></p>
256
  </div>
257
 
258
  <div class="wpallexport-free-edition-notice wpallexport-comments-export-notice" style="margin-bottom: 20px;">
259
  <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-comments">
260
+ <?php esc_html_e('Upgrade to the Pro edition of WP All Export to Export Comments','wp_all_export_plugin');?></a><br/>
261
+ <p><?php esc_html_e('If you already own it, remove the free edition and install the Pro edition.', 'wp_all_export_plugin'); ?></p>
262
  </div>
263
 
264
  <div class="wpallexport-free-edition-notice wpallexport-custom-product-export-notice" style="margin-bottom: 20px;">
265
+ <p><?php esc_html_e('The WooCommerce Export Package is Required to Export WooCommerce Products.', 'wp_all_export_plugin'); ?></p>
266
  <br/>
267
  <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=4206899&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-products"><?php
268
+ esc_html_e('Purchase the WooCommerce Export Package','wp_all_export_plugin');?></a>
269
 
270
  </div>
271
 
272
+ <input type="hidden" name="wp_query_selector" value="<?php echo esc_attr($post['wp_query_selector']);?>">
273
  <textarea class="wp_query" rows="10" cols="80" name="wp_query" placeholder="'post_type' => 'post', 'post_status' => array( 'pending', 'draft', 'future' )" style="width: 600px;"><?php echo esc_html($post['wp_query']); ?></textarea>
274
 
275
  </div>
279
  <div class="wp_all_export_preloader"></div>
280
 
281
  <input type="hidden" class="hierarhy-output" name="filter_rules_hierarhy" value="<?php echo esc_html($post['filter_rules_hierarhy']);?>"/>
282
+ <input type="hidden" class="wpallexport-preload-post-data" value="<?php echo esc_attr($preload);?>">
283
  </div>
284
 
285
  <div class="wpallexport-filtering-wrapper rad4">
306
  <table><tr><td class="wpallexport-note"></td></tr></table>
307
  </form>
308
 
309
+ <a href="http://soflyy.com/" target="_blank" class="wpallexport-created-by"><?php esc_html_e('Created by', 'wp_all_export_plugin'); ?> <span></span></a>
310
 
311
  </div>
312
  </td>
views/admin/export/options.php CHANGED
@@ -1,5 +1,7 @@
1
  <?php
2
-
 
 
3
  $l10n = array(
4
  'confirm_and_run' => __('Confirm & Run Export', 'wp_all_export_plugin'),
5
  'save_configuration' => __('Save Export Configuration', 'wp_all_export_plugin')
@@ -18,10 +20,10 @@ $l10n = array(
18
  <div class="wpallexport-header">
19
  <div class="wpallexport-logo"></div>
20
  <div class="wpallexport-title">
21
- <h2><?php _e('Export Settings', 'wp_all_export_plugin'); ?></h2>
22
  </div>
23
  <div class="wpallexport-links">
24
- <a href="http://www.wpallimport.com/support/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=premium-support" target="_blank"><?php _e('Support', 'wp_all_export_plugin'); ?></a> | <a href="http://www.wpallimport.com/documentation/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=docs" target="_blank"><?php _e('Documentation', 'wp_all_export_plugin'); ?></a>
25
  </div>
26
  </div>
27
  <div class="clear"></div>
@@ -66,7 +68,7 @@ $l10n = array(
66
  <input type="hidden" name="is_submitted" value="1" />
67
  <input type="hidden" name="record-count" class="wpae-record-count" value="0" />
68
 
69
- <input style="padding:20px 50px 20px 50px;" type="submit" class="rad10 wp_all_export_confirm_and_run" value="<?php _e('Confirm & Run Export', 'wp_all_export_plugin') ?>" />
70
  </form>
71
  <?php endif; ?>
72
  </div>
@@ -75,7 +77,7 @@ $l10n = array(
75
 
76
  <form class="<?php echo ! $this->isWizard ? 'edit' : 'options' ?> choose-export-options" method="post" enctype="multipart/form-data" autocomplete="off" <?php echo ! $this->isWizard ? 'style="overflow:visible;"' : '' ?> id="wpae-options-form">
77
 
78
- <input type="hidden" class="hierarhy-output" name="filter_rules_hierarhy" value="<?php echo esc_html($post['filter_rules_hierarhy']);?>"/>
79
 
80
  <?php
81
  $addons = new \Wpae\App\Service\Addons\AddonService();
@@ -92,11 +94,12 @@ $l10n = array(
92
  }
93
  ?>
94
 
95
- <input type="hidden" name="selected_post_type" value="<?php echo $selected_post_type; ?>"/>
96
- <input type="hidden" name="export_type" value="<?php echo $post['export_type']; ?>"/>
97
- <input type="hidden" name="taxonomy_to_export" value="<?php echo $post['taxonomy_to_export'];?>">
98
- <input type="hidden" name="wpml_lang" value="<?php echo empty(PMXE_Plugin::$session->wpml_lang) ? $post['wpml_lang'] : PMXE_Plugin::$session->wpml_lang;?>" />
99
- <input type="hidden" id="export_variations" name="export_variations" value="<?php echo XmlExportEngine::getProductVariationMode();?>" />
 
100
  <input type="hidden" name="record-count" class="wpae-record-count" value="0" />
101
 
102
  <?php //\Wpae\Pro\Filtering\FilteringFactory::render_filtering_block( $engine, $this->isWizard, $post ); ?>
@@ -110,17 +113,17 @@ $l10n = array(
110
  <input type="hidden" name="is_submitted" value="1" />
111
  <div style="color: #425F9A; font-size: 14px; font-weight: bold; margin: 0 0 15px; line-height: 25px; text-align: center;">
112
  <div id="no-subscription" style="display: none;">
113
- <?php echo _e("Looks like you're trying out Automatic Scheduling!");?><br/>
114
- <?php echo _e("Your Automatic Scheduling settings won't be saved without a subscription.");?>
115
  </div>
116
  </div>
117
  <div class="wpallexport-submit-buttons" style="text-align: center; <?php if ($this->isWizard) { ?> height: 60px; <?php } ?> ">
118
 
119
  <?php if ($this->isWizard): ?>
120
- <a href="<?php echo apply_filters('pmxi_options_back_link', add_query_arg('action', 'template', $this->baseUrl), $this->isWizard); ?>" class="back rad3"><?php _e('Back', 'wp_all_export_plugin') ?></a>
121
  <?php include(__DIR__ . "/../../../src/Scheduling/views/SaveSchedulingButton.php"); ?>
122
  <?php else: ?>
123
- <a href="<?php echo apply_filters('pmxi_options_back_link', remove_query_arg('id', remove_query_arg('action', $this->baseUrl)), $this->isWizard); ?>" class="back rad3"><?php _e('Back to Manage Exports', 'wp_all_export_plugin') ?></a>
124
  <?php include(__DIR__ . "/../../../src/Scheduling/views/SaveSchedulingButton.php"); ?>
125
  <?php endif ?>
126
  </div>
@@ -128,7 +131,7 @@ $l10n = array(
128
 
129
  </form>
130
 
131
- <a href="http://soflyy.com/" target="_blank" class="wpallexport-created-by"><?php _e('Created by', 'wp_all_export_plugin'); ?> <span></span></a>
132
 
133
  </td>
134
  </tr>
1
  <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
  $l10n = array(
6
  'confirm_and_run' => __('Confirm & Run Export', 'wp_all_export_plugin'),
7
  'save_configuration' => __('Save Export Configuration', 'wp_all_export_plugin')
20
  <div class="wpallexport-header">
21
  <div class="wpallexport-logo"></div>
22
  <div class="wpallexport-title">
23
+ <h2><?php esc_html_e('Export Settings', 'wp_all_export_plugin'); ?></h2>
24
  </div>
25
  <div class="wpallexport-links">
26
+ <a href="http://www.wpallimport.com/support/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=premium-support" target="_blank"><?php esc_html_e('Support', 'wp_all_export_plugin'); ?></a> | <a href="http://www.wpallimport.com/documentation/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=docs" target="_blank"><?php esc_html_e('Documentation', 'wp_all_export_plugin'); ?></a>
27
  </div>
28
  </div>
29
  <div class="clear"></div>
68
  <input type="hidden" name="is_submitted" value="1" />
69
  <input type="hidden" name="record-count" class="wpae-record-count" value="0" />
70
 
71
+ <input style="padding:20px 50px 20px 50px;" type="submit" class="rad10 wp_all_export_confirm_and_run" value="<?php esc_html_e('Confirm & Run Export', 'wp_all_export_plugin') ?>" />
72
  </form>
73
  <?php endif; ?>
74
  </div>
77
 
78
  <form class="<?php echo ! $this->isWizard ? 'edit' : 'options' ?> choose-export-options" method="post" enctype="multipart/form-data" autocomplete="off" <?php echo ! $this->isWizard ? 'style="overflow:visible;"' : '' ?> id="wpae-options-form">
79
 
80
+ <input type="hidden" class="hierarhy-output" name="filter_rules_hierarhy" value="<?php echo esc_attr($post['filter_rules_hierarhy']);?>"/>
81
 
82
  <?php
83
  $addons = new \Wpae\App\Service\Addons\AddonService();
94
  }
95
  ?>
96
 
97
+ <input type="hidden" name="selected_post_type" value="<?php echo esc_attr($selected_post_type); ?>"/>
98
+ <input type="hidden" name="export_type" value="<?php echo esc_attr($post['export_type']); ?>"/>
99
+ <input type="hidden" name="taxonomy_to_export" value="<?php echo esc_attr($post['taxonomy_to_export']);?>">
100
+ <input type="hidden" name="wpml_lang" value="<?php echo empty(PMXE_Plugin::$session->wpml_lang) ? esc_attr($post['wpml_lang']) : esc_attr(PMXE_Plugin::$session->wpml_lang);?>" />
101
+ <input type="hidden" id="export_variations" name="export_variations" value="<?php echo esc_attr(XmlExportEngine::getProductVariationMode());?>" />
102
+
103
  <input type="hidden" name="record-count" class="wpae-record-count" value="0" />
104
 
105
  <?php //\Wpae\Pro\Filtering\FilteringFactory::render_filtering_block( $engine, $this->isWizard, $post ); ?>
113
  <input type="hidden" name="is_submitted" value="1" />
114
  <div style="color: #425F9A; font-size: 14px; font-weight: bold; margin: 0 0 15px; line-height: 25px; text-align: center;">
115
  <div id="no-subscription" style="display: none;">
116
+ <?php esc_html_e("Looks like you're trying out Automatic Scheduling!");?><br/>
117
+ <?php esc_html_e("Your Automatic Scheduling settings won't be saved without a subscription.");?>
118
  </div>
119
  </div>
120
  <div class="wpallexport-submit-buttons" style="text-align: center; <?php if ($this->isWizard) { ?> height: 60px; <?php } ?> ">
121
 
122
  <?php if ($this->isWizard): ?>
123
+ <a href="<?php echo esc_url(apply_filters('pmxi_options_back_link', add_query_arg('action', 'template', $this->baseUrl), $this->isWizard)); ?>" class="back rad3"><?php esc_html_e('Back', 'wp_all_export_plugin') ?></a>
124
  <?php include(__DIR__ . "/../../../src/Scheduling/views/SaveSchedulingButton.php"); ?>
125
  <?php else: ?>
126
+ <a href="<?php echo esc_url(apply_filters('pmxi_options_back_link', remove_query_arg('id', remove_query_arg('action', $this->baseUrl)), $this->isWizard)); ?>" class="back rad3"><?php esc_html_e('Back to Manage Exports', 'wp_all_export_plugin') ?></a>
127
  <?php include(__DIR__ . "/../../../src/Scheduling/views/SaveSchedulingButton.php"); ?>
128
  <?php endif ?>
129
  </div>
131
 
132
  </form>
133
 
134
+ <a href="http://soflyy.com/" target="_blank" class="wpallexport-created-by"><?php esc_html_e('Created by', 'wp_all_export_plugin'); ?> <span></span></a>
135
 
136
  </td>
137
  </tr>
views/admin/export/options/settings.php CHANGED
@@ -1,7 +1,12 @@
 
 
 
 
 
1
  <div class="wpallexport-collapsed wpallexport-section">
2
  <div class="wpallexport-content-section" style="margin-top:10px;">
3
  <div class="wpallexport-collapsed-header" style="padding-left: 25px;">
4
- <h3><?php _e('Configure Advanced Settings','wp_all_export_plugin');?></h3>
5
  </div>
6
  <div class="wpallexport-collapsed-content" style="padding: 0;">
7
  <div class="wpallexport-collapsed-content-inner">
@@ -9,40 +14,40 @@
9
  <tr>
10
  <td colspan="3">
11
  <div class="input" style="margin:5px 0px;">
12
- <label for="records_per_request"><?php _e('In each iteration, process', 'wp_all_export_plugin');?> <input type="text" name="records_per_iteration" class="wp_all_export_sub_input" style="width: 40px;" value="<?php echo esc_attr($post['records_per_iteration']) ?>" /> <?php _e('records', 'wp_all_export_plugin'); ?></label>
13
- <a href="#help" class="wpallexport-help" style="position: relative; top: -2px;" title="<?php _e('WP All Export must be able to process this many records in less than your server\'s timeout settings. If your export fails before completion, to troubleshoot you should lower this number.', 'wp_all_export_plugin'); ?>">?</a>
14
  </div>
15
  <div class="input" style="margin:5px 0px;">
16
  <input type="hidden" name="export_only_new_stuff" value="0" />
17
  <input type="checkbox" id="export_only_new_stuff" name="export_only_new_stuff" value="1" <?php echo $post['export_only_new_stuff'] ? 'checked="checked"': '' ?> disabled="disabled"/>
18
- <label for="export_only_new_stuff" disabled="disabled"><?php printf(__('Only export %s once', 'wp_all_export_plugin'), empty($post['cpt']) ? __('records', 'wp_all_export_plugin') : wp_all_export_get_cpt_name($post['cpt'])); ?></label>
19
- <a href="#help" class="wpallexport-help" style="position: relative; top: -2px;" title="<?php _e('If re-run, this export will only include records that have not been previously exported.<br><br><strong>Upgrade to the Pro edition of WP All Export to use this option.</strong>', 'wp_all_export_plugin'); ?>">?</a>
20
  </div>
21
  <div class="input" style="margin:5px 0px;">
22
  <input type="hidden" name="export_only_modified_stuff" value="0" />
23
  <input type="checkbox" id="export_only_modified_stuff" name="export_only_modified_stuff" value="1" <?php echo $post['export_only_modified_stuff'] ? 'checked="checked"': '' ?> disabled="disabled"/>
24
- <label for="export_only_modified_stuff" disabled="disabled"><?php printf(__('Only export %s that have been modified since last export', 'wp_all_export_plugin'), empty($post['cpt']) ? __('records', 'wp_all_export_plugin') : wp_all_export_get_cpt_name($post['cpt'], 2, $post)); ?></label>
25
- <a href="#help" class="wpallexport-help" style="position: relative; top: -2px;" title="<?php _e('If re-run, this export will only include records that have been modified since last export run.<br><br><strong>Upgrade to the Pro edition of WP All Export to use this option.</strong>', 'wp_all_export_plugin'); ?>">?</a>
26
  </div>
27
  <div class="input" style="margin:5px 0px;">
28
  <input type="hidden" name="include_bom" value="0" />
29
  <input type="checkbox" id="include_bom" name="include_bom" value="1" <?php echo $post['include_bom'] ? 'checked="checked"': '' ?> />
30
- <label for="include_bom"><?php _e('Include BOM in export file', 'wp_all_export_plugin') ?></label>
31
- <a href="#help" class="wpallexport-help" style="position: relative; top: -2px;" title="<?php _e('The BOM will help some programs like Microsoft Excel read your export file if it includes non-English characters.', 'wp_all_export_plugin'); ?>">?</a>
32
  </div>
33
  <div class="input" style="margin:5px 0px;">
34
  <input type="hidden" name="creata_a_new_export_file" value="0" />
35
  <input type="checkbox" id="creata_a_new_export_file" name="creata_a_new_export_file" value="1" <?php echo $post['creata_a_new_export_file'] ? 'checked="checked"': '' ?> />
36
- <label for="creata_a_new_export_file"><?php _e('Create a new file each time export is run', 'wp_all_export_plugin') ?></label>
37
- <a href="#help" class="wpallexport-help" style="position: relative; top: -2px;" title="<?php _e('If disabled, the export file will be overwritten every time this export run.', 'wp_all_export_plugin'); ?>">?</a>
38
  </div>
39
  <div class="input" style="margin:5px 0px;">
40
  <input type="hidden" name="split_large_exports" value="0" />
41
  <input type="checkbox" id="split_large_exports" name="split_large_exports" class="switcher" value="1" <?php echo $post['split_large_exports'] ? 'checked="checked"': '' ?> />
42
- <label for="split_large_exports"><?php _e('Split large exports into multiple files', 'wp_all_export_plugin') ?></label>
43
  <span class="switcher-target-split_large_exports pl17" style="display:block; clear: both; width: 100%;">
44
  <div class="input pl17" style="margin:5px 0px;">
45
- <label for="records_per_request"><?php _e('Limit export to', 'wp_all_export_plugin');?></label> <input type="text" name="split_large_exports_count" class="wp_all_export_sub_input" style="width: 50px;" value="<?php echo esc_attr($post['split_large_exports_count']) ?>" /> <?php _e('records per file', 'wp_all_export_plugin'); ?>
46
  </div>
47
  </span>
48
  </div>
@@ -50,17 +55,17 @@
50
  <input type="hidden" name="allow_client_mode" value="0"/>
51
  <input type="checkbox" disabled="disabled" id="allow_client_mode" name="allow_client_mode"
52
  value="1" <?php echo (isset($post['allow_client_mode']) && $post['allow_client_mode']) ? 'checked="checked"' : '' ?> />
53
- <label for="allow_client_mode"><?php _e('Allow non-admins to run this export in Client Mode', 'wp_all_export_plugin') ?></label>
54
  <span>
55
- <a href="#help" class="wpallexport-help" style="position: relative; top: 0;" title="<?php _e('When enabled, users with access to Client Mode will be able to run this export and download the export file. Go to All Export > Settings to give users access to Client Mode. <br><br><strong>Upgrade to the Pro edition of WP All Export to use this option.</strong>'); ?>">?</a>
56
  </span>
57
  </div>
58
  <br>
59
  <hr>
60
  <p style="text-align:right;">
61
  <div class="input">
62
- <label for="save_import_as" style="width: 103px;"><?php _e('Friendly Name:','wp_all_export_plugin');?></label>
63
- <input type="text" name="friendly_name" title="<?php _e('Save friendly name...', 'pmxi_plugin') ?>" style="vertical-align:middle; background:#fff !important;" value="<?php echo wp_all_export_clear_xss(esc_attr($post['friendly_name'])); ?>" />
64
  </div>
65
  </p>
66
  </td>
1
+ <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
+ ?>
6
  <div class="wpallexport-collapsed wpallexport-section">
7
  <div class="wpallexport-content-section" style="margin-top:10px;">
8
  <div class="wpallexport-collapsed-header" style="padding-left: 25px;">
9
+ <h3><?php esc_html_e('Configure Advanced Settings','wp_all_export_plugin');?></h3>
10
  </div>
11
  <div class="wpallexport-collapsed-content" style="padding: 0;">
12
  <div class="wpallexport-collapsed-content-inner">
14
  <tr>
15
  <td colspan="3">
16
  <div class="input" style="margin:5px 0px;">
17
+ <label for="records_per_request"><?php esc_html_e('In each iteration, process', 'wp_all_export_plugin');?> <input type="text" name="records_per_iteration" class="wp_all_export_sub_input" style="width: 40px;" value="<?php echo esc_attr($post['records_per_iteration']) ?>" /> <?php esc_html_e('records', 'wp_all_export_plugin'); ?></label>
18
+ <a href="#help" class="wpallexport-help" style="position: relative; top: -2px;" title="<?php esc_html_e('WP All Export must be able to process this many records in less than your server\'s timeout settings. If your export fails before completion, to troubleshoot you should lower this number.', 'wp_all_export_plugin'); ?>">?</a>
19
  </div>
20
  <div class="input" style="margin:5px 0px;">
21
  <input type="hidden" name="export_only_new_stuff" value="0" />
22
  <input type="checkbox" id="export_only_new_stuff" name="export_only_new_stuff" value="1" <?php echo $post['export_only_new_stuff'] ? 'checked="checked"': '' ?> disabled="disabled"/>
23
+ <label for="export_only_new_stuff" disabled="disabled"><?php printf(esc_html__('Only export %s once', 'wp_all_export_plugin'), empty($post['cpt']) ? __('records', 'wp_all_export_plugin') : esc_html(wp_all_export_get_cpt_name($post['cpt']))); ?></label>
24
+ <a href="#help" class="wpallexport-help" style="position: relative; top: -2px;" title="<?php esc_html_e('If re-run, this export will only include records that have not been previously exported.<br><br><strong>Upgrade to the Pro edition of WP All Export to use this option.</strong>', 'wp_all_export_plugin'); ?>">?</a>
25
  </div>
26
  <div class="input" style="margin:5px 0px;">
27
  <input type="hidden" name="export_only_modified_stuff" value="0" />
28
  <input type="checkbox" id="export_only_modified_stuff" name="export_only_modified_stuff" value="1" <?php echo $post['export_only_modified_stuff'] ? 'checked="checked"': '' ?> disabled="disabled"/>
29
+ <label for="export_only_modified_stuff" disabled="disabled"><?php printf(esc_html__('Only export %s that have been modified since last export', 'wp_all_export_plugin'), empty($post['cpt']) ? __('records', 'wp_all_export_plugin') : esc_html(wp_all_export_get_cpt_name($post['cpt'], 2, $post))); ?></label>
30
+ <a href="#help" class="wpallexport-help" style="position: relative; top: -2px;" title="<?php esc_html_e('If re-run, this export will only include records that have been modified since last export run.<br><br><strong>Upgrade to the Pro edition of WP All Export to use this option.</strong>', 'wp_all_export_plugin'); ?>">?</a>
31
  </div>
32
  <div class="input" style="margin:5px 0px;">
33
  <input type="hidden" name="include_bom" value="0" />
34
  <input type="checkbox" id="include_bom" name="include_bom" value="1" <?php echo $post['include_bom'] ? 'checked="checked"': '' ?> />
35
+ <label for="include_bom"><?php esc_html_e('Include BOM in export file', 'wp_all_export_plugin') ?></label>
36
+ <a href="#help" class="wpallexport-help" style="position: relative; top: -2px;" title="<?php esc_html_e('The BOM will help some programs like Microsoft Excel read your export file if it includes non-English characters.', 'wp_all_export_plugin'); ?>">?</a>
37
  </div>
38
  <div class="input" style="margin:5px 0px;">
39
  <input type="hidden" name="creata_a_new_export_file" value="0" />
40
  <input type="checkbox" id="creata_a_new_export_file" name="creata_a_new_export_file" value="1" <?php echo $post['creata_a_new_export_file'] ? 'checked="checked"': '' ?> />
41
+ <label for="creata_a_new_export_file"><?php esc_html_e('Create a new file each time export is run', 'wp_all_export_plugin') ?></label>
42
+ <a href="#help" class="wpallexport-help" style="position: relative; top: -2px;" title="<?php esc_html_e('If disabled, the export file will be overwritten every time this export run.', 'wp_all_export_plugin'); ?>">?</a>
43
  </div>
44
  <div class="input" style="margin:5px 0px;">
45
  <input type="hidden" name="split_large_exports" value="0" />
46
  <input type="checkbox" id="split_large_exports" name="split_large_exports" class="switcher" value="1" <?php echo $post['split_large_exports'] ? 'checked="checked"': '' ?> />
47
+ <label for="split_large_exports"><?php esc_html_e('Split large exports into multiple files', 'wp_all_export_plugin') ?></label>
48
  <span class="switcher-target-split_large_exports pl17" style="display:block; clear: both; width: 100%;">
49
  <div class="input pl17" style="margin:5px 0px;">
50
+ <label for="records_per_request"><?php esc_html_e('Limit export to', 'wp_all_export_plugin');?></label> <input type="text" name="split_large_exports_count" class="wp_all_export_sub_input" style="width: 50px;" value="<?php echo esc_attr($post['split_large_exports_count']) ?>" /> <?php esc_html_e('records per file', 'wp_all_export_plugin'); ?>
51
  </div>
52
  </span>
53
  </div>
55
  <input type="hidden" name="allow_client_mode" value="0"/>
56
  <input type="checkbox" disabled="disabled" id="allow_client_mode" name="allow_client_mode"
57
  value="1" <?php echo (isset($post['allow_client_mode']) && $post['allow_client_mode']) ? 'checked="checked"' : '' ?> />
58
+ <label for="allow_client_mode"><?php esc_html_e('Allow non-admins to run this export in Client Mode', 'wp_all_export_plugin') ?></label>
59
  <span>
60
+ <a href="#help" class="wpallexport-help" style="position: relative; top: 0;" title="<?php esc_html_e('When enabled, users with access to Client Mode will be able to run this export and download the export file. Go to All Export > Settings to give users access to Client Mode. <br><br><strong>Upgrade to the Pro edition of WP All Export to use this option.</strong>'); ?>">?</a>
61
  </span>
62
  </div>
63
  <br>
64
  <hr>
65
  <p style="text-align:right;">
66
  <div class="input">
67
+ <label for="save_import_as" style="width: 103px;"><?php esc_html_e('Friendly Name:','wp_all_export_plugin');?></label>
68
+ <input type="text" name="friendly_name" title="<?php esc_html_e('Save friendly name...', 'pmxi_plugin') ?>" style="vertical-align:middle; background:#fff !important;" value="<?php echo wp_all_export_clear_xss(esc_attr($post['friendly_name'])); ?>" />
69
  </div>
70
  </p>
71
  </td>
views/admin/export/process.php CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  <h2 class="wpallexport-wp-notices"></h2>
2
 
3
  <div class="inner-content wpallexport-step-6 wpallexport-wrapper">
@@ -5,13 +10,13 @@
5
  <div class="wpallexport-header">
6
  <div class="wpallexport-logo"></div>
7
  <div class="wpallexport-title">
8
- <h2><?php _e('Confirm & Run', 'wp_all_export_plugin'); ?></h2>
9
  </div>
10
  <div class="wpallexport-links">
11
  <a href="http://www.wpallimport.com/support/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=premium-support"
12
- target="_blank"><?php _e('Support', 'wp_all_export_plugin'); ?></a> | <a
13
  href="http://www.wpallimport.com/documentation/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=docs"
14
- target="_blank"><?php _e('Documentation', 'wp_all_export_plugin'); ?></a>
15
  </div>
16
 
17
  <div class="clear"></div>
@@ -20,19 +25,19 @@
20
  <div class="clear"></div>
21
 
22
  <div class="step_description">
23
- <h2><?php _e('Export <span id="status">in Progress...</span>', 'wp_all_export_plugin') ?></h2>
24
- <h3 id="process_notice"><?php _e('Exporting may take some time. Please do not close your browser or refresh the page until the process is complete.', 'wp_all_export_plugin'); ?></h3>
25
  </div>
26
  <div
27
- class="wpallexport_process_wrapper_<?php echo $update_previous->id; ?> wpallexport_process_parent_wrapper">
28
  <div class="wpallexport_processbar rad14">
29
  <div class="rad14"></div>
30
  </div>
31
  <div class="export_progress">
32
- <span class="left_progress"><?php _e('Time Elapsed', 'wp_all_export_plugin'); ?> <span id="then">00:00:00</span></span>
33
  <span class="center_progress"><span class="percents_count">0</span>%</span>
34
- <span class="right_progress"><?php _e('Exported', 'wp_all_export_plugin'); ?> <span
35
- class="created_count"><?php echo $update_previous->exported; ?></span></span>
36
  </div>
37
  </div>
38
  <?php
@@ -57,7 +62,7 @@
57
  ?>
58
  <div class="clear"></div>
59
  <div
60
- class="wpallexport_process_wrapper_<?php echo $child_export->id; ?> wpallexport_process_child_wrapper">
61
  <div class="wpallexport_processbar rad14">
62
  <div class="rad14"></div>
63
  </div>
@@ -65,8 +70,8 @@
65
  <span class="left_progress">
66
  <span class="center_progress">
67
  <span
68
- class="percents_count">0</span>%</span> <?php printf(__("Export %ss", "wp_all_export_plugin"), ucwords(str_replace("_", " ", str_replace("shop", "", $child_export->export_post_type)))); ?></span>
69
- <span class="right_progress"><?php _e('Exported', 'wp_all_export_plugin'); ?> <span
70
  class="created_count">0</span></span>
71
  </div>
72
  </div>
@@ -80,8 +85,8 @@
80
  <div class="wpallexport-content-section" style="display:block; position: relative;">
81
  <div class="wpallexport-notify-wrapper">
82
  <div class="found_records terminated" style="background-position: 0 50% !important;">
83
- <h3><?php _e('Your server terminated the export process', 'wp_all_export_plugin'); ?></h3>
84
- <h4 style="width: 78%; line-height: 25px;"><?php _e("Ask your host to check your server's error log. They will be able to determine why your server is terminating the export process.", "wp_all_export_plugin"); ?></h4>
85
  </div>
86
  </div>
87
  </div>
@@ -92,7 +97,7 @@
92
  </div>
93
 
94
  <a href="http://soflyy.com/" target="_blank"
95
- class="wpallexport-created-by"><?php _e('Created by', 'wp_all_export_plugin'); ?> <span></span></a>
96
 
97
  </div>
98
 
@@ -227,7 +232,7 @@
227
  });
228
  };
229
 
230
- wp_all_export_process(<?php echo $update_previous->id; ?>);
231
 
232
  window.onbeforeunload = function () {
233
  return 'WARNING:\nExport process in under way, leaving the page will interrupt\nthe operation and most likely to cause leftovers in posts.';
1
+ <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
+ ?>
6
  <h2 class="wpallexport-wp-notices"></h2>
7
 
8
  <div class="inner-content wpallexport-step-6 wpallexport-wrapper">
10
  <div class="wpallexport-header">
11
  <div class="wpallexport-logo"></div>
12
  <div class="wpallexport-title">
13
+ <h2><?php esc_html_e('Confirm & Run', 'wp_all_export_plugin'); ?></h2>
14
  </div>
15
  <div class="wpallexport-links">
16
  <a href="http://www.wpallimport.com/support/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=premium-support"
17
+ target="_blank"><?php esc_html_e('Support', 'wp_all_export_plugin'); ?></a> | <a
18
  href="http://www.wpallimport.com/documentation/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=docs"
19
+ target="_blank"><?php esc_html_e('Documentation', 'wp_all_export_plugin'); ?></a>
20
  </div>
21
 
22
  <div class="clear"></div>
25
  <div class="clear"></div>
26
 
27
  <div class="step_description">
28
+ <h2><?php echo wp_kses_post('Export <span id="status">in Progress...</span>', 'wp_all_export_plugin') ?></h2>
29
+ <h3 id="process_notice"><?php esc_html_e('Exporting may take some time. Please do not close your browser or refresh the page until the process is complete.', 'wp_all_export_plugin'); ?></h3>
30
  </div>
31
  <div
32
+ class="wpallexport_process_wrapper_<?php echo intval($update_previous->id); ?> wpallexport_process_parent_wrapper">
33
  <div class="wpallexport_processbar rad14">
34
  <div class="rad14"></div>
35
  </div>
36
  <div class="export_progress">
37
+ <span class="left_progress"><?php esc_html_e('Time Elapsed', 'wp_all_export_plugin'); ?> <span id="then">00:00:00</span></span>
38
  <span class="center_progress"><span class="percents_count">0</span>%</span>
39
+ <span class="right_progress"><?php esc_html_e('Exported', 'wp_all_export_plugin'); ?> <span
40
+ class="created_count"><?php echo intval($update_previous->exported); ?></span></span>
41
  </div>
42
  </div>
43
  <?php
62
  ?>
63
  <div class="clear"></div>
64
  <div
65
+ class="wpallexport_process_wrapper_<?php echo intval($child_export->id); ?> wpallexport_process_child_wrapper">
66
  <div class="wpallexport_processbar rad14">
67
  <div class="rad14"></div>
68
  </div>
70
  <span class="left_progress">
71
  <span class="center_progress">
72
  <span
73
+ class="percents_count">0</span>%</span> <?php printf(esc_html__("Export %ss", "wp_all_export_plugin"), ucwords(str_replace("_", " ", str_replace("shop", "", esc_html($child_export->export_post_type))))); ?></span>
74
+ <span class="right_progress"><?php esc_html_e('Exported', 'wp_all_export_plugin'); ?> <span
75
  class="created_count">0</span></span>
76
  </div>
77
  </div>
85
  <div class="wpallexport-content-section" style="display:block; position: relative;">
86
  <div class="wpallexport-notify-wrapper">
87
  <div class="found_records terminated" style="background-position: 0 50% !important;">
88
+ <h3><?php esc_html_e('Your server terminated the export process', 'wp_all_export_plugin'); ?></h3>
89
+ <h4 style="width: 78%; line-height: 25px;"><?php esc_html_e("Ask your host to check your server's error log. They will be able to determine why your server is terminating the export process.", "wp_all_export_plugin"); ?></h4>
90
  </div>
91
  </div>
92
  </div>
97
  </div>
98
 
99
  <a href="http://soflyy.com/" target="_blank"
100
+ class="wpallexport-created-by"><?php esc_html_e('Created by', 'wp_all_export_plugin'); ?> <span></span></a>
101
 
102
  </div>
103
 
232
  });
233
  };
234
 
235
+ wp_all_export_process(<?php echo intval($update_previous->id); ?>);
236
 
237
  window.onbeforeunload = function () {
238
  return 'WARNING:\nExport process in under way, leaving the page will interrupt\nthe operation and most likely to cause leftovers in posts.';
views/admin/export/success_page.php CHANGED
@@ -1,4 +1,7 @@
1
  <?php
 
 
 
2
  $cron_job_key = PMXE_Plugin::getInstance()->getOption('cron_job_key');
3
  $urlToExport = site_url() . '/wp-load.php?security_token=' . substr(md5($cron_job_key . $update_previous->id), 0, 16) . '&export_id=' . $update_previous->id . '&action=get_data';
4
  $uploads = wp_upload_dir();
@@ -16,7 +19,7 @@ $isGoogleFeed = false;
16
  <?php
17
  if ($isGoogleFeed) {
18
  ?>
19
- <h3><?php _e('WP All Export successfully exported your data!', 'wp_all_export_plugin'); ?></h3>
20
  <?php
21
  $cronJobKey = PMXE_Plugin::getInstance()->getOption('cron_job_key');
22
  include_once('google_merchants_success.php');
@@ -36,20 +39,20 @@ $isGoogleFeed = false;
36
  });
37
  </script>
38
  <ul class="success-tabs">
39
- <li rel="tab1-content" class="tab selected"><?php _e("Download", 'wp_all_export_plugin'); ?></li>
40
- <li rel="tab2-content" class="tab"><?php _e("Scheduling", 'wp_all_export_plugin'); ?></li>
41
- <li rel="tab3-content" class="tab"><?php _e("External Apps", 'wp_all_export_plugin'); ?></li>
42
  <?php if ($isImportAllowedSpecification->isSatisfied($update_previous)): ?>
43
- <li rel="tab4-content" class="tab"><?php _e("Export, Edit, Import", 'wp_all_export_plugin'); ?></li>
44
  <?php endif; ?>
45
  </ul>
46
  <hr style="margin-top:0;"/>
47
  <div class="tab-content-container">
48
  <div class="tab-content selected normal-tab" id="tab1-content">
49
- <h3 style="margin-top: 30px; margin-bottom: 30px;"><?php _e("Click to Download", 'wp_all_export_plugin'); ?></h3>
50
  <div class="wpallexport-free-edition-notice" id="migrate-orders-notice" style="padding: 20px; margin-bottom: 35px; display: none;">
51
- <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=migrate-orders"><?php _e('Upgrade to the Pro edition of WP All Export to Migrate Orders', PMXE_Plugin::LANGUAGE_DOMAIN);?></a>
52
- <p><?php _e('If you already own it, remove the free edition and install the Pro edition.', PMXE_Plugin::LANGUAGE_DOMAIN);?></p>
53
  </div>
54
 
55
  <div class="input">
@@ -57,19 +60,19 @@ $isGoogleFeed = false;
57
  rel="<?php echo add_query_arg(array('action' => 'download', 'id' => $update_previous->id, '_wpnonce' => wp_create_nonce('_wpnonce-download_feed')), $this->baseUrl); ?>"><?php echo strtoupper(wp_all_export_get_export_format($update_previous->options)); ?></button>
58
  <?php if (!empty($update_previous->options['split_large_exports'])): ?>
59
  <button class="button button-primary button-hero wpallexport-large-button download_data"
60
- rel="<?php echo add_query_arg(array('page' => 'pmxe-admin-manage', 'id' => $update_previous->id, 'action' => 'split_bundle', '_wpnonce' => wp_create_nonce('_wpnonce-download_split_bundle')), $this->baseUrl); ?>"><?php printf(__('Split %ss', 'wp_all_export_plugin'), strtoupper(wp_all_export_get_export_format($update_previous->options))); ?></button>
61
  <?php endif; ?>
62
  <?php if (PMXE_Export_Record::is_bundle_supported($update_previous->options)): ?>
63
  <button class="button button-primary button-hero wpallexport-large-button download_data"
64
- id="download-bundle" rel="<?php echo add_query_arg(array('page' => 'pmxe-admin-manage', 'id' => $update_previous->id, 'action' => 'bundle', '_wpnonce' => wp_create_nonce('_wpnonce-download_bundle')), $this->baseUrl); ?>"><?php _e('Bundle', 'wp_all_export_plugin'); ?></button>
65
  <?php endif; ?>
66
  </div>
67
 
68
  <?php if (PMXE_Export_Record::is_bundle_supported($update_previous->options)): ?>
69
  <div id="download-details">
70
  <p style="margin-top:30px;">
71
- <?php _e("The bundle contains your exported data and a settings file for WP All Import.", 'wp_all_export_plugin'); ?><br/>
72
- <?php _e("Upload the Bundle to WP All Import on another site to quickly import this data.", 'wp_all_export_plugin');?>
73
  </p>
74
  </div>
75
  <?php endif; ?>
@@ -78,7 +81,7 @@ $isGoogleFeed = false;
78
  <a href="<?php echo $urlToExport; ?>" <?php if (php_sapi_name() != 'cli-server') { ?> target="_blank" <?php } ?>
79
  class="feed-url" style="margin-bottom: 0; font-size: 16px;"><?php echo $urlToExport; ?></a>
80
  <p style="margin-top: 0;">
81
- <?php _e("This URL will always provide the export file from this export, even if the file name changes.", 'wp_all_export_plugin'); ?>
82
  </p>
83
  </div>
84
  </div>
@@ -93,13 +96,13 @@ $isGoogleFeed = false;
93
  </div>
94
  <div class="tab-content normal-tab" id="tab3-content">
95
  <p>
96
- <?php _e("Automatically send your data to over 500 apps with Zapier.", 'wp_all_export_plugin'); ?>
97
  <br/>
98
  <a href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=zapier" target="_blank">
99
- <?php _e("Upgrade to the Pro edition of WP All Export for Zapier integration", 'wp_all_export_plugin'); ?>
100
  </a>
101
  <br/>
102
- <a href="https://zapier.com/zapbook/wp-all-export-pro/" target="_blank"><?php _e("Click here to read more about WP All Export's Zapier Integration.", 'wp_all_export_plugin'); ?></a>
103
  </p>
104
  <iframe width="560" height="315" src="https://www.youtube.com/embed/6tBacBmiHsQ" frameborder="0" allowfullscreen></iframe>
105
  </div>
@@ -107,18 +110,18 @@ $isGoogleFeed = false;
107
 
108
  <div class="tab-content normal-tab" id="tab4-content">
109
  <p>
110
- <?php _e("After you've downloaded your data, edit it however you like.", 'wp_all_export_plugin'); ?><br/>
111
- <?php _e("Then, click below to import the data with WP All Import without having to set anything up.", 'wp_all_export_plugin'); ?>
112
  </p>
113
  <p>
114
  <button class="button button-primary button-hero wpallexport-large-button download_data"
115
- rel="<?php echo add_query_arg(array('action' => 'download', 'id' => $update_previous->id, '_wpnonce' => wp_create_nonce('_wpnonce-download_feed')), $this->baseUrl); ?>"><?php _e('Download', 'wp_all_export_plugin'); ?> <?php echo strtoupper(wp_all_export_get_export_format($update_previous->options)); ?></button>
116
 
117
  <button class="button button-primary button-hero wpallexport-large-button download_data"
118
- rel="<?php echo add_query_arg(array('page' => 'pmxi-admin-import', 'id' => $update_previous->options['import_id'], 'deligate' => 'wpallexport'), remove_query_arg('page', $this->baseUrl)); ?>"><?php _e('Import with WP All Import', 'wp_all_export_plugin'); ?></button>
119
  </p>
120
  <p>
121
- <?php _e("You can also start the import by clicking 'Import with WP All Import' on the Manage Exports page.", 'wp_all_export_plugin');?>
122
  </p>
123
  </div>
124
  <?php endif; ?>
@@ -127,5 +130,5 @@ $isGoogleFeed = false;
127
  <?php
128
  }
129
  ?>
130
- <input type="hidden" value="<?php echo $export['options']['cpt'][0]; ?>" id="export-cpt">
131
  </div>
1
  <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
  $cron_job_key = PMXE_Plugin::getInstance()->getOption('cron_job_key');
6
  $urlToExport = site_url() . '/wp-load.php?security_token=' . substr(md5($cron_job_key . $update_previous->id), 0, 16) . '&export_id=' . $update_previous->id . '&action=get_data';
7
  $uploads = wp_upload_dir();
19
  <?php
20
  if ($isGoogleFeed) {
21
  ?>
22
+ <h3><?php esc_html_e('WP All Export successfully exported your data!', 'wp_all_export_plugin'); ?></h3>
23
  <?php
24
  $cronJobKey = PMXE_Plugin::getInstance()->getOption('cron_job_key');
25
  include_once('google_merchants_success.php');
39
  });
40
  </script>
41
  <ul class="success-tabs">
42
+ <li rel="tab1-content" class="tab selected"><?php esc_html_e("Download", 'wp_all_export_plugin'); ?></li>
43
+ <li rel="tab2-content" class="tab"><?php esc_html_e("Scheduling", 'wp_all_export_plugin'); ?></li>
44
+ <li rel="tab3-content" class="tab"><?php esc_html_e("External Apps", 'wp_all_export_plugin'); ?></li>
45
  <?php if ($isImportAllowedSpecification->isSatisfied($update_previous)): ?>
46
+ <li rel="tab4-content" class="tab"><?php esc_html_e("Export, Edit, Import", 'wp_all_export_plugin'); ?></li>
47
  <?php endif; ?>
48
  </ul>
49
  <hr style="margin-top:0;"/>
50
  <div class="tab-content-container">
51
  <div class="tab-content selected normal-tab" id="tab1-content">
52
+ <h3 style="margin-top: 30px; margin-bottom: 30px;"><?php esc_html_e("Click to Download", 'wp_all_export_plugin'); ?></h3>
53
  <div class="wpallexport-free-edition-notice" id="migrate-orders-notice" style="padding: 20px; margin-bottom: 35px; display: none;">
54
+ <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=migrate-orders"><?php esc_html_e('Upgrade to the Pro edition of WP All Export to Migrate Orders', PMXE_Plugin::LANGUAGE_DOMAIN);?></a>
55
+ <p><?php esc_html_e('If you already own it, remove the free edition and install the Pro edition.', PMXE_Plugin::LANGUAGE_DOMAIN);?></p>
56
  </div>
57
 
58
  <div class="input">
60
  rel="<?php echo add_query_arg(array('action' => 'download', 'id' => $update_previous->id, '_wpnonce' => wp_create_nonce('_wpnonce-download_feed')), $this->baseUrl); ?>"><?php echo strtoupper(wp_all_export_get_export_format($update_previous->options)); ?></button>
61
  <?php if (!empty($update_previous->options['split_large_exports'])): ?>
62
  <button class="button button-primary button-hero wpallexport-large-button download_data"
63
+ rel="<?php echo add_query_arg(array('page' => 'pmxe-admin-manage', 'id' => $update_previous->id, 'action' => 'split_bundle', '_wpnonce' => wp_create_nonce('_wpnonce-download_split_bundle')), $this->baseUrl); ?>"><?php printf(esc_html__('Split %ss', 'wp_all_export_plugin'), esc_html(strtoupper(wp_all_export_get_export_format($update_previous->options)))); ?></button>
64
  <?php endif; ?>
65
  <?php if (PMXE_Export_Record::is_bundle_supported($update_previous->options)): ?>
66
  <button class="button button-primary button-hero wpallexport-large-button download_data"
67
+ id="download-bundle" rel="<?php echo add_query_arg(array('page' => 'pmxe-admin-manage', 'id' => $update_previous->id, 'action' => 'bundle', '_wpnonce' => wp_create_nonce('_wpnonce-download_bundle')), $this->baseUrl); ?>"><?php esc_html_e('Bundle', 'wp_all_export_plugin'); ?></button>
68
  <?php endif; ?>
69
  </div>
70
 
71
  <?php if (PMXE_Export_Record::is_bundle_supported($update_previous->options)): ?>
72
  <div id="download-details">
73
  <p style="margin-top:30px;">
74
+ <?php esc_html_e("The bundle contains your exported data and a settings file for WP All Import.", 'wp_all_export_plugin'); ?><br/>
75
+ <?php esc_html_e("Upload the Bundle to WP All Import on another site to quickly import this data.", 'wp_all_export_plugin');?>
76
  </p>
77
  </div>
78
  <?php endif; ?>
81
  <a href="<?php echo $urlToExport; ?>" <?php if (php_sapi_name() != 'cli-server') { ?> target="_blank" <?php } ?>
82
  class="feed-url" style="margin-bottom: 0; font-size: 16px;"><?php echo $urlToExport; ?></a>
83
  <p style="margin-top: 0;">
84
+ <?php esc_html_e("This URL will always provide the export file from this export, even if the file name changes.", 'wp_all_export_plugin'); ?>
85
  </p>
86
  </div>
87
  </div>
96
  </div>
97
  <div class="tab-content normal-tab" id="tab3-content">
98
  <p>
99
+ <?php esc_html_e("Automatically send your data to over 500 apps with Zapier.", 'wp_all_export_plugin'); ?>
100
  <br/>
101
  <a href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=zapier" target="_blank">
102
+ <?php esc_html_e("Upgrade to the Pro edition of WP All Export for Zapier integration", 'wp_all_export_plugin'); ?>
103
  </a>
104
  <br/>
105
+ <a href="https://zapier.com/zapbook/wp-all-export-pro/" target="_blank"><?php esc_html_e("Click here to read more about WP All Export's Zapier Integration.", 'wp_all_export_plugin'); ?></a>
106
  </p>
107
  <iframe width="560" height="315" src="https://www.youtube.com/embed/6tBacBmiHsQ" frameborder="0" allowfullscreen></iframe>
108
  </div>
110
 
111
  <div class="tab-content normal-tab" id="tab4-content">
112
  <p>
113
+ <?php esc_html_e("After you've downloaded your data, edit it however you like.", 'wp_all_export_plugin'); ?><br/>
114
+ <?php esc_html_e("Then, click below to import the data with WP All Import without having to set anything up.", 'wp_all_export_plugin'); ?>
115
  </p>
116
  <p>
117
  <button class="button button-primary button-hero wpallexport-large-button download_data"
118
+ rel="<?php echo esc_url(add_query_arg(array('action' => 'download', 'id' => $update_previous->id, '_wpnonce' => wp_create_nonce('_wpnonce-download_feed')), $this->baseUrl)); ?>"><?php esc_html_e('Download', 'wp_all_export_plugin'); ?> <?php echo esc_html(strtoupper(wp_all_export_get_export_format($update_previous->options))); ?></button>
119
 
120
  <button class="button button-primary button-hero wpallexport-large-button download_data"
121
+ rel="<?php echo esc_url(add_query_arg(array('page' => 'pmxi-admin-import', 'id' => $update_previous->options['import_id'], 'deligate' => 'wpallexport'), remove_query_arg('page', $this->baseUrl))); ?>"><?php esc_html_e('Import with WP All Import', 'wp_all_export_plugin'); ?></button>
122
  </p>
123
  <p>
124
+ <?php esc_html_e("You can also start the import by clicking 'Import with WP All Import' on the Manage Exports page.", 'wp_all_export_plugin');?>
125
  </p>
126
  </div>
127
  <?php endif; ?>
130
  <?php
131
  }
132
  ?>
133
+ <input type="hidden" value="<?php echo esc_attr($export['options']['cpt'][0]); ?>" id="export-cpt">
134
  </div>
views/admin/export/template.php CHANGED
@@ -1,16 +1,22 @@
 
 
 
 
 
 
1
  <h2 class="wpallexport-wp-notices"></h2>
2
  <div class="wpallexport-wrapper">
3
  <div class="wpallexport-header">
4
  <div class="wpallexport-logo"></div>
5
  <div class="wpallexport-title">
6
- <h2><?php _e('Drag & Drop', 'wp_all_export_plugin'); ?></h2>
7
  </div>
8
  <div class="wpallexport-links">
9
  <a href="http://www.wpallimport.com/support/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=premium-support"
10
- target="_blank"><?php _e('Support', 'wp_all_export_plugin'); ?></a> |
11
  <a
12
  href="http://www.wpallimport.com/documentation/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=docs"
13
- target="_blank"><?php _e('Documentation', 'wp_all_export_plugin'); ?></a>
14
  </div>
15
  </div>
16
  <div class="clear"></div>
@@ -22,7 +28,7 @@
22
  <div class="ajax-console">
23
  <div class="founded_records">
24
  <div class="wp_all_export_preloader"></div>
25
- <h4><?php _e("Drag &amp; drop data to include in the export file."); ?></h4>
26
  </div>
27
  </div>
28
  </div>
@@ -41,10 +47,11 @@
41
 
42
  <form class="wpallexport-template <?php echo ! $this->isWizard ? 'edit' : '' ?> wpallexport-step-3" method="post" style="display:none;" id="templateForm">
43
 
44
- <input type="hidden" class="hierarhy-output" name="filter_rules_hierarhy" value="<?php echo esc_html($post['filter_rules_hierarhy']);?>"/>
45
- <input type="hidden" name="taxonomy_to_export" value="<?php echo $post['taxonomy_to_export'];?>">
46
- <input type="hidden" name="export_only_modified_stuff" value="<?php echo $post['export_only_modified_stuff'];?>" />
47
- <input type="hidden" name="export_only_new_stuff" value="<?php echo $post['export_only_new_stuff'];?>" />
 
48
 
49
  <?php
50
  $addons = new \Wpae\App\Service\Addons\AddonService();
@@ -61,8 +68,8 @@
61
  }
62
  ?>
63
 
64
- <input type="hidden" name="selected_post_type" value="<?php echo $selected_post_type; ?>"/>
65
- <input type="hidden" name="export_type" value="<?php echo $post['export_type']; ?>"/>
66
  <div class="wpallexport-collapsed wpallexport-section wpallexport-simple-xml-template">
67
  <div class="wpallexport-content-section" style="margin-bottom: 10px;">
68
  <div class="wpallexport-collapsed-content">
@@ -80,21 +87,21 @@
80
  if (is_numeric($ID)){ if (empty($post['cc_name'][$ID])) continue;
81
  ?>
82
  <li>
83
- <div class="custom_column" rel="<?php echo ($i + 1);?>">
84
  <?php
85
  $field_label = (!empty($post['cc_name'][$ID])) ? $post['cc_name'][$ID] : $post['cc_label'][$ID];
86
  $field_name = (!empty($post['cc_name'][$ID])) ? $post['cc_name'][$ID] : trim(str_replace(" ", "_", $post['cc_label'][$ID]));
87
  $field_type = $post['cc_type'][$ID];
88
  $field_options = esc_html($post['cc_options'][$ID]);
89
  ?>
90
- <label class="wpallexport-xml-element"><?php echo (strtolower($field_label) == "id") ? "ID" : $field_label; ?></label>
91
  <input type="hidden" name="ids[]" value="1"/>
92
- <input type="hidden" name="cc_label[]" value="<?php echo (!empty($post['cc_label'][$ID])) ? $post['cc_label'][$ID] : ''; ?>"/>
93
- <input type="hidden" name="cc_php[]" value="<?php echo (!empty($post['cc_php'][$ID])) ? $post['cc_php'][$ID] : 0; ?>"/>
94
- <input type="hidden" name="cc_code[]" value="<?php echo (!empty($post['cc_code'][$ID])) ? $post['cc_code'][$ID] : ''; ?>"/>
95
- <input type="hidden" name="cc_sql[]" value="<?php echo (!empty($post['cc_sql'][$ID])) ? $post['cc_sql'][$ID] : 0; ?>"/>
96
- <input type="hidden" name="cc_type[]" value="<?php echo $field_type; ?>"/>
97
- <input type="hidden" name="cc_options[]" value="<?php echo (!empty($field_options)) ? $field_options : 0; ?>"/>
98
  <input type="hidden" name="cc_value[]" value="<?php echo esc_attr($post['cc_value'][$ID]); ?>"/>
99
  <input type="hidden" name="cc_name[]" value="<?php echo XmlExportEngine::sanitizeFieldName(esc_attr($field_name)); ?>"/>
100
  <input type="hidden" name="cc_settings[]" value="<?php echo (!empty($post['cc_settings'][$ID])) ? esc_attr($post['cc_settings'][$ID]) : 0; ?>"/>
@@ -119,17 +126,17 @@
119
  foreach ($init_fields as $k => $field) {
120
  ?>
121
  <li>
122
- <div class="custom_column" rel="<?php echo ($i + 1);?>">
123
- <label class="wpallexport-xml-element"><?php echo XmlExportEngine::sanitizeFieldName($field['name']); ?></label>
124
  <input type="hidden" name="ids[]" value="1"/>
125
- <input type="hidden" name="cc_label[]" value="<?php echo $field['label']; ?>"/>
126
  <input type="hidden" name="cc_php[]" value="0"/>
127
  <input type="hidden" name="cc_code[]" value=""/>
128
  <input type="hidden" name="cc_sql[]" value="0"/>
129
- <input type="hidden" name="cc_options[]" value="<?php echo (empty($field['options'])) ? 0 : $field['options']; ?>"/>
130
- <input type="hidden" name="cc_type[]" value="<?php echo $field['type']; ?>"/>
131
- <input type="hidden" name="cc_value[]" value="<?php echo $field['label']; ?>"/>
132
- <input type="hidden" name="cc_name[]" value="<?php echo (strtoupper($field['name']) == 'ID') ? 'id' : $field['name'];?>"/>
133
  <input type="hidden" name="cc_settings[]" value="0"/>
134
  </div>
135
  </li>
@@ -138,7 +145,7 @@
138
  }
139
  }
140
  ?>
141
- <li class="placeholder" <?php if ( ! empty($post['ids']) and count($post['ids']) > 1 or $new_export) echo 'style="display:none;"'; ?>><?php _e("Drag & drop data from \"Available Data\" on the right to include it in the export or click \"Add Field To Export\" below.", "wp_all_export_plugin"); ?></li>
142
  <?php
143
  ?>
144
  </ol>
@@ -163,7 +170,7 @@
163
  <?php if ( ($addons->isWooCommerceAddonActive() || $addons->isWooCommerceOrderAddonActive()) && ! XmlExportWooCommerceOrder::$is_active && ! XmlExportComment::$is_active && ! XmlExportTaxonomy::$is_active ) : ?>
164
  <div class="wp-all-export-warning" <?php if ( empty($post['ids']) or count($post['ids']) > 1 ) echo 'style="display:none;"'; ?>>
165
  <p></p>
166
- <input type="hidden" id="warning_template" value="<?php _e("Warning: without %s you won't be able to re-import this data back to this site using WP All Import.", "wp_all_export_plugin"); ?>"/>
167
  <button class="notice-dismiss" type="button"><span class="screen-reader-text">Dismiss this notice.</span></button>
168
  </div>
169
  <?php endif; ?>
@@ -180,17 +187,17 @@
180
 
181
  <!-- Add New Field Button -->
182
  <div class="input" style="display:inline-block; margin: 20px 0 10px 20px;">
183
- <input type="button" value="<?php _e('Add Field', 'wp_all_export_plugin'); ?>"
184
  class="add_column" style="float:left;">
185
- <input type="button" value="<?php _e('Add All', 'wp_all_export_plugin'); ?>"
186
  class="wp_all_export_auto_generate_data">
187
- <input type="button" value="<?php _e('Clear All', 'wp_all_export_plugin'); ?>"
188
  class="wp_all_export_clear_all_data">
189
  </div>
190
 
191
  <!-- Preview a Row Button -->
192
  <div class="input" style="float:right; margin: 20px 20px 10px 0;">
193
- <input type="button" value="<?php _e('Preview', 'wp_all_export_plugin'); ?>"
194
  class="preview_a_row">
195
  </div>
196
  </div>
@@ -200,14 +207,14 @@
200
  <div class="wpallexport-collapsed closed wpallexport-section wpallexport-xml-advanced-options" <?php if ($post['export_to'] !== 'xml') { ?> style="display: none;" <?php }?> >
201
  <div class="wpallexport-content-section rad0" style="margin:0; border-top:1px solid #ddd; border-bottom: none; border-right: none; border-left: none; background: #f1f2f2; padding-bottom: 15px; margin-top: 5px;">
202
  <div class="wpallexport-collapsed-header">
203
- <h3 style="color:#40acad;"><?php _e('Advanced Options','wp_all_export_plugin');?></h3>
204
  <hr style="display:none; margin-right:25px;"/>
205
  </div>
206
  <div class="wpallexport-collapsed-content" style="padding:0 0 0 5px;">
207
  <div class="wpallexport-collapsed-content-inner">
208
  <div class="simple_xml_template_options" style="margin-top:20px;">
209
  <div class="input" style="display: inline-block; max-width: 360px; width: 40%; margin-right: 10px;">
210
- <label for="main_xml_tag" style="float: left;"><?php _e('Root XML Element','wp_all_export_plugin');?></label>
211
  <div class="input">
212
  <input type="text" name="main_xml_tag" style="vertical-align:middle; background:#fff !important; width: 100%; margin-left:0;" value="<?php echo esc_attr($post['main_xml_tag']) ?>" />
213
  </div>
@@ -216,14 +223,14 @@
216
  <?php
217
  $post_type_details = ( ! empty($post['cpt'])) ? get_post_type_object( $post['cpt'][0] ) : '';
218
  ?>
219
- <label for="record_xml_tag" style="float: left;"><?php printf(__('Single %s XML Element','wp_all_export_plugin'), empty($post_type_details) ? 'Record' : $post_type_details->labels->singular_name); ?></label>
220
  <div class="input">
221
  <input type="text" name="record_xml_tag" style="vertical-align:middle; background:#fff !important; width: 100%; margin-left:0;" value="<?php echo esc_attr($post['record_xml_tag']) ?>" />
222
  </div>
223
  </div>
224
  </div>
225
- <input type="hidden" id="custom_xml_cdata_logic" value="<?php echo $post['custom_xml_cdata_logic']; ?>" name="custom_xml_cdata_logic" />
226
- <input type="hidden" id="show_cdata_in_preview" value="<?php echo $post['show_cdata_in_preview']; ?>" name="show_cdata_in_preview" />
227
 
228
  <div>
229
  <?php if( (XmlExportEngine::get_addons_service()->isWooCommerceAddonActive() || XmlExportEngine::get_addons_service()->isWooCommerceProductAddonActive()) && XmlExportWooCommerce::$is_active)
@@ -233,27 +240,27 @@
233
  ?>
234
  </div>
235
  <div class="wp-all-export-product-bundle-warning warning-only-export-parent-products" style="display:none;">
236
- <p><?php _e("You will not be able to reimport data to the product variations, and you will not be able to import these products to another site.", 'wp_all_export_plugin'); ?></p>
237
  </div>
238
  <div class="wp-all-export-product-bundle-warning warning-only-export-product-variations" style="display:none;">
239
- <p><?php _e("You will not be able to reimport data to the parent products, and you will not be able to import these products to another site.", 'wp_all_export_plugin'); ?></p>
240
  </div>
241
  <div class="input cdata">
242
  <h4 style="margin-top: 20px;">CDATA</h4>
243
- <p style="font-size: 12px;margin-top: 10px;"><?php echo sprintf(__("There are certain characters that cannot be included in an XML file unless they are wrapped in CDATA tags.<br/>Read more about CDATA tags: <a target='_blank' href='%s' style='font-size: 12px;'>%s</a>.", 'wp_all_export_plugin'), 'https://en.wikipedia.org/wiki/CDATA', 'https://en.wikipedia.org/wiki/CDATA'); ?></p>
244
  <div class="input" style="margin: 8px 0;">
245
  <input type="radio" id="simple_custom_xml_cdata_logic_auto" name="simple_custom_xml_cdata_logic" value="auto" checked="checked" <?php echo ( "auto" == $post['custom_xml_cdata_logic'] ) ? 'checked="checked"': '' ?> class="switcher cdata"/>
246
- <label for="simple_custom_xml_cdata_logic_auto"><?php _e('Automatically wrap data in CDATA tags when it contains illegal characters', 'wp_all_export_plugin') ?></label>
247
  </div>
248
  <div class="input" style="margin: 8px 0;">
249
  <input type="radio" id="simple_custom_xml_cdata_logic_all" name="simple_custom_xml_cdata_logic" value="all" <?php echo ( "all" == $post['custom_xml_cdata_logic'] ) ? 'checked="checked"': '' ?> class="switcher cdata" />
250
- <label for="simple_custom_xml_cdata_logic_all"><?php _e('Always wrap data in CDATA tags', 'wp_all_export_plugin') ?></label>
251
  </div>
252
  <div class="input" style="margin: 8px 0;">
253
  <input type="radio" id="simple_custom_xml_cdata_logic_never" name="simple_custom_xml_cdata_logic" value="never" <?php echo ( "never" == $post['custom_xml_cdata_logic'] ) ? 'checked="checked"': '' ?> class="switcher cdata"/>
254
- <label for="simple_custom_xml_cdata_logic_never"><?php _e('Never wrap data in CDATA tags', 'wp_all_export_plugin') ?></label>
255
  <div class="switcher-target-simple_custom_xml_cdata_logic_never">
256
- <p style="font-size: 12px;margin-top: 8px;"><?php _e('Warning: This may result in an invalid XML file', 'wp_all_export_plugin');?></p>
257
  </div>
258
  </div>
259
  <div class="input" style="margin: 16px 4px;">
@@ -270,25 +277,25 @@
270
  <div class="wpallexport-collapsed closed wpallexport-section wpallexport-csv-advanced-options export_to_csv" <?php if ($post['export_to'] == 'xml') : ?> style="display: none;" <?php endif; ?> >
271
  <div class="wpallexport-content-section rad0" style="margin:0; border-top:1px solid #ddd; border-bottom: none; border-right: none; border-left: none; background: #f1f2f2; padding-bottom: 15px; margin-top: 5px;">
272
  <div class="wpallexport-collapsed-header">
273
- <h3 style="color:#40acad;"><?php _e('Advanced Options','wp_all_export_plugin');?></h3>
274
  <hr style="display:none; margin-right:25px;"/>
275
  </div>
276
  <div class="wpallexport-collapsed-content" style="padding:0 0 0 5px;">
277
  <div class="wpallexport-collapsed-content-inner" style="padding-left: 5px;">
278
  <div class="simple_xml_template_options csv_delimiter" style="margin-top:20px;">
279
  <div class="input" style="display: inline-block; max-width: 360px; width: 40%; margin-right: 10px;">
280
- <label style="width: 80px; margin-left: 20px;"><?php _e('Separator:','wp_all_export_plugin');?></label>
281
  <input type="text" name="delimiter" value="<?php echo esc_attr($post['delimiter']) ?>" style="width: 40px; height: 30px; top: 0px; text-align: center;"/>
282
  </div>
283
  </div>
284
  <?php if (class_exists('SitePress')): ?>
285
  <div class="wp-all-export-wpml-options" style="margin-left:20px;">
286
- <h4><?php _e('Language', 'wp_all_export_plugin'); ?></h4>
287
  <div class="input">
288
  <?php foreach ($wpml_options as $key => $value):?>
289
  <div class="input">
290
- <input type="radio" id="wpml_lang_<?php echo $key;?>" name="wpml_lang" value="<?php echo $key; ?>" <?php if ($post['wpml_lang'] == $key):?>checked="checked"<?php endif; ?> class="switcher"/>
291
- <label for="wpml_lang_<?php echo $key;?>"><?php echo $value; ?></label>
292
  </div>
293
  <?php endforeach; ?>
294
  </div>
@@ -302,21 +309,21 @@
302
  ?>
303
  </div>
304
  <div class="wp-all-export-product-bundle-warning" style="display:none;">
305
- <p><?php _e("You will not be able to reimport data to the product variations, and you will not be able to import these products to another site.", 'wp_all_export_plugin'); ?></p>
306
  </div>
307
  <!-- Display each product in its own row -->
308
  <?php if ( ($addons->isWooCommerceAddonActive() && XmlExportWooCommerceOrder::$is_active) ): ?>
309
  <div class="input" style="float: left; margin-top: 15px; margin-left:20px;" id="woo_commerce_order">
310
  <input type="hidden" name="order_item_per_row" value="0"/>
311
  <input type="checkbox" id="order_item_per_row" name="order_item_per_row" value="1" <?php if ($post['order_item_per_row']):?>checked="checked"<?php endif; ?> class="switcher"/>
312
- <label for="order_item_per_row"><?php _e("Display each product in its own row", "wp_all_export_plugin"); ?></label>
313
- <a href="#help" class="wpallexport-help" style="position: relative; top: 0px;" title="<?php _e('If an order contains multiple products, each product will have its own row. If disabled, each product will have its own column.', 'wp_all_export_plugin'); ?>">?</a>
314
  <div class="input switcher-target-order_item_per_row" style="margin-top: 10px; text-align:left;">
315
  <input type="hidden" name="order_item_fill_empty_columns" value="0"/>
316
  <input type="checkbox" id="order_item_fill_empty_columns" name="order_item_fill_empty_columns" value="1" <?php if ($post['order_item_fill_empty_columns']):?>checked="checked"<?php endif; ?>/>
317
- <label for="order_item_fill_empty_columns"><?php _e("Fill in empty columns", "wp_all_export_plugin"); ?></label>
318
  <a href="#help" class="wpallexport-help" style="position: relative; top: 0px;"
319
- title="<?php _e('If enabled, each order item will appear as its own row with all order info filled in for every column. If disabled, order info will only display on one row with only the order item info displaying in additional rows.', 'wp_all_export_plugin'); ?>">?</a>
320
  </div>
321
  </div>
322
  <div class="clear"></div>
@@ -332,24 +339,24 @@
332
  <div class="wpallexport-collapsed wpallexport-section wpallexport-file-options closed" style="margin-top: 0px;">
333
  <div class="wpallexport-content-section" style="padding-bottom: 15px; margin-bottom: 10px;">
334
  <div class="wpallexport-collapsed-header" style="padding-left: 25px;">
335
- <h3><?php _e('Export Type','wp_all_export_plugin');?></h3>
336
  </div>
337
  <div class="wpallexport-collapsed-content" style="padding: 0; overflow: hidden;">
338
  <div class="wpallexport-collapsed-content-inner">
339
  <div class="wpallexport-choose-data-type">
340
- <h3 style="margin-top: 10px; margin-bottom: 40px;"><?php _e('Choose your export type', 'wp_all_export_plugin'); ?></h3>
341
  <a href="javascript:void(0);" class="wpallexport-import-to-format rad4 wpallexport-csv-type <?php if ($post['export_to'] != XmlExportEngine::EXPORT_TYPE_XML) echo 'selected'; ?>">
342
- <span class="wpallexport-import-to-title"><?php _e('Spreadsheet', 'wp_all_export_plugin'); ?></span>
343
  <span class="wpallexport-import-to-arrow"></span>
344
  </a>
345
  <a href="javascript:void(0);" class="wpallexport-import-to-format rad4 wpallexport-xml-type <?php if ($post['export_to'] == XmlExportEngine::EXPORT_TYPE_XML) echo 'selected'; ?>" style="margin-right:0;">
346
- <span class="wpallexport-import-to-title"><?php _e('Feed', 'wp_all_export_plugin'); ?></span>
347
  <span class="wpallexport-import-to-arrow"></span>
348
  </a>
349
  </div>
350
 
351
  <div class="wpallexport-all-options">
352
- <input type="hidden" name="export_to" value="<?php echo $post['export_to']; ?>"/>
353
 
354
  <div class="wpallexport-file-format-options">
355
 
@@ -357,17 +364,17 @@
357
  <!-- Export File Format -->
358
  <div class="input">
359
  <select name="export_to_sheet" id="export_to_sheet">
360
- <option value="csv" <?php if ($post['export_to_sheet'] == 'csv') echo 'selected="selected"';?>><?php _e('CSV File', 'wp_all_export_plugin'); ?></option>
361
- <option value="xls" <?php if ($post['export_to_sheet'] == 'xls') echo 'selected="selected"';?>><?php _e('Excel File (XLS)', 'wp_all_export_plugin'); ?></option>
362
- <option value="xlsx" <?php if ($post['export_to_sheet'] == 'xlsx') echo 'selected="selected"';?>><?php _e('Excel File (XLSX)', 'wp_all_export_plugin'); ?></option>
363
  </select>
364
  </div>
365
  <div class="clear"></div>
366
  <div class="wpallexport-clear"></div>
367
  <div class="input export_to_xls_upgrade_notice" style="vertical-align:middle; position: relative; margin-top: 48px;">
368
  <span class="wpallexport-free-edition-notice">
369
- <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-excel"><?php _e('Upgrade to the Pro edition of WP All Export to Export to Excel','wp_all_export_plugin');?></a>
370
- <p><?php _e('If you already own it, remove the free edition and install the Pro edition.','wp_all_export_plugin');?></p>
371
  </span>
372
  </div>
373
  </div>
@@ -375,12 +382,12 @@
375
  <div class="wpallexport-xml-options" <?php if ($post['export_to'] != XmlExportEngine::EXPORT_TYPE_XML) echo 'style="display:none;"'; ?>>
376
  <div class="input">
377
  <select name="xml_template_type" class="xml_template_type">
378
- <option value="simple" <?php if ($post['xml_template_type'] == 'simple') echo 'selected="selected"';?>><?php _e('Simple XML Feed', 'wp_all_export_plugin'); ?></option>
379
- <option value="custom" <?php if ($post['xml_template_type'] == 'custom') echo 'selected="selected"';?>><?php _e('Custom XML Feed', 'wp_all_export_plugin'); ?></option>
380
  <?php
381
  if(in_array('product', $post['cpt'])) {
382
  ?>
383
- <option value="<?php echo XmlExportEngine::EXPORT_TYPE_GOOLE_MERCHANTS; ?>" <?php if ($post['xml_template_type'] == XmlExportEngine::EXPORT_TYPE_GOOLE_MERCHANTS) echo 'selected="selected"';?>><?php _e('Google Merchant Center Product Feed', 'wp_all_export_plugin'); ?></option>
384
  <?php
385
  }
386
  ?>
@@ -406,24 +413,24 @@
406
  <div class="wpallexport-collapsed wpallexport-section wpallexport-custom-xml-template">
407
  <div class="wpallexport-content-section" style="padding-bottom: 0; margin-bottom: 10px;">
408
  <div class="wpallexport-collapsed-header" style="margin-bottom: 15px;">
409
- <h3><?php _e('XML Editor', 'wp_all_export_plugin'); ?></h3>
410
  </div>
411
  <div class="wpallexport-collapsed-content" style="padding: 0;">
412
  <div class="wpallexport-collapsed-content-inner" style="padding-top: 5px;">
413
 
414
  <?php $default_template = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<data>\n\t<!-- BEGIN LOOP -->\n\t<post>\n\n\t</post>\n\t<!-- END LOOP -->\n</data>";?>
415
 
416
- <textarea id="wp_all_export_custom_xml_template" name="custom_xml_template"><?php echo (empty($post['custom_xml_template'])) ? $default_template : esc_textarea($post['custom_xml_template']);?></textarea>
417
 
418
  <div class="input" style="overflow: hidden; margin-top: 10px; margin-bottom: -20px;">
419
  <!-- Help Button -->
420
  <div class="input" style="float: left;">
421
- <input type="button" value="<?php _e('Help', 'wp_all_export_plugin'); ?>"
422
  class="help_custom_xml">
423
  </div>
424
  <!-- Preview a Row Button -->
425
  <div class="input" style="float: right;">
426
- <input type="button" value="<?php _e('Preview', 'wp_all_export_plugin'); ?>"
427
  class="preview_a_custom_xml_row">
428
  </div>
429
  </div>
@@ -432,21 +439,21 @@
432
  <div class="wpallexport-content-section rad0"
433
  style="margin:0; border-top:1px solid #ddd; border-bottom: none; border-right: none; border-left: none; background: #f1f2f2; padding-bottom: 15px; margin-top: 5px;">
434
  <div class="wpallexport-collapsed-header">
435
- <h3 style="color:#40acad;"><?php _e('Advanced Options','wp_all_export_plugin');?></h3>
436
  <hr style="display: none; margin-right: 25px;"/>
437
  </div>
438
  <div class="wpallexport-collapsed-content" style="padding: 0 0 0 5px;">
439
  <div class="wpallexport-collapsed-content-inner">
440
  <div class="input cdata">
441
  <h4 style="margin-top: 20px;">CDATA</h4>
442
- <p style="font-size: 12px;margin-top: 8px;"><?php echo sprintf(__("There are certain characters that cannot be included in an XML file unless they are wrapped in CDATA tags.<br/>Read more about CDATA tags: <a target='_blank' href='%s' style='font-size: 12px;'>%s</a>.", 'wp_all_export_plugin'), 'https://en.wikipedia.org/wiki/CDATA', 'https://en.wikipedia.org/wiki/CDATA'); ?></p>
443
  <div class="input" style="margin: 8px 0;">
444
  <input type="radio" id="custom_xml_cdata_logic_auto"
445
  name="custom_custom_xml_cdata_logic"
446
  value="auto" <?php echo ("auto" == $post['custom_xml_cdata_logic']) ? 'checked="checked"' : '' ?>
447
  class="switcher"/>
448
  <label
449
- for="custom_xml_cdata_logic_auto"><?php _e('Automatically wrap data in CDATA tags when it contains illegal characters', 'wp_all_export_plugin') ?></label>
450
  </div>
451
  <div class="input" style="margin: 8px 0;">
452
  <input type="radio" id="custom_custom_xml_cdata_logic_all"
@@ -454,7 +461,7 @@
454
  value="all" <?php echo ("all" == $post['custom_xml_cdata_logic']) ? 'checked="checked"' : '' ?>
455
  class="switcher cdata"/>
456
  <label
457
- for="custom_custom_xml_cdata_logic_all"><?php _e('Always wrap data in CDATA tags', 'wp_all_export_plugin') ?></label>
458
  </div>
459
  <div class="input" style="margin: 8px 0;">
460
  <input type="radio" id="custom_custom_xml_cdata_logic_never"
@@ -462,9 +469,9 @@
462
  value="never" <?php echo ("never" == $post['custom_xml_cdata_logic']) ? 'checked="checked"' : '' ?>
463
  class="switcher cdata"/>
464
  <label
465
- for="custom_custom_xml_cdata_logic_never"><?php _e('Never wrap data in CDATA tags', 'wp_all_export_plugin') ?></label>
466
  <div class="switcher-target-simple_custom_xml_cdata_logic_never">
467
- <p style="font-size: 12px;margin-top: 8px;"><?php _e('Warning: This may result in an invalid XML file', 'wp_all_export_plugin');?></p>
468
  </div>
469
  </div>
470
  <div class="input" style="margin: 16px 4px;">
@@ -493,21 +500,21 @@
493
  <div class="wpallexport-collapsed closed wpallexport-section wpallexport-custom-xml-template">
494
  <div class="wpallexport-content-section" style="padding-bottom: 15px; margin-bottom: 10px;">
495
  <div class="wpallexport-collapsed-header">
496
- <h3><?php _e('Function Editor', 'wp_all_export_plugin'); ?></h3>
497
  </div>
498
  <div class="wpallexport-collapsed-content" style="padding: 0;">
499
  <div class="wpallexport-collapsed-content-inner">
500
 
501
  <textarea id="wp_all_export_main_code" name="wp_all_export_main_code"><?php echo "<?php\n\n?>";?></textarea>
502
  <div class="wpallexport-free-edition-notice" style="margin: 15px 0;">
503
- <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=custom-php"><?php _e('Upgrade to the Pro edition of WP All Export to use Custom PHP Functions','wp_all_export_plugin');?></a>
504
- <p><?php _e('If you already own it, remove the free edition and install the Pro edition.','wp_all_export_plugin');?></p>
505
  </div>
506
  <div class="input" style="margin-top: 10px;">
507
 
508
  <div class="input" style="display:inline-block; margin-right: 20px;">
509
- <input type="button" class="button-primary wp_all_export_save_functions wp_all_export_save_main_code" value="<?php _e("Save Functions", 'wp_all_export_plugin'); ?>" disabled="disabled"/>
510
- <a href="#help" class="wpallexport-help" title="<?php printf(__("Add functions here for use during your export. You can access this file at %s", "wp_all_export_plugin"), preg_replace("%.*wp-content%", "wp-content", $functions));?>" style="top: 0;">?</a>
511
  <div class="wp_all_export_functions_preloader"></div>
512
  </div>
513
  <div class="input wp_all_export_saving_status"></div>
@@ -526,24 +533,24 @@
526
  class="switcher-horizontal fix_checkbox"
527
  value="1" <?php echo (!empty($post['save_template_as'])) ? 'checked="checked"' : '' ?> />
528
  <label
529
- for="save_template_as"><?php _e('Save settings as a template', 'wp_all_export_plugin'); ?></label>
530
  </p>
531
  <div class="switcher-target-save_template_as" style="float: left; overflow: hidden;">
532
  <input type="text" name="name"
533
- placeholder="<?php _e('Template name...', 'wp_all_export_plugin') ?>"
534
  style="vertical-align:middle; line-height: 26px;"
535
  value="<?php echo esc_attr($post['name']) ?>"/>
536
  </div>
537
  <?php $templates = new PMXE_Template_List(); ?>
538
  <div class="load-template">
539
  <select name="load_template" id="load_template">
540
- <option value=""><?php _e('Load Template...', 'wp_all_export_plugin') ?></option>
541
  <?php foreach ($templates->getBy()->convertRecords() as $t): ?>
542
  <?php
543
  // When creating a new export you should be able to select existing saved export templates that were created for the same post type.
544
  if ( $t->options['cpt'] != $post['cpt'] ) continue;
545
  ?>
546
- <option value="<?php echo $t->id ?>"><?php echo wp_all_export_clear_xss($t->name); ?></option>
547
  <?php endforeach ?>
548
  </select>
549
  </div>
@@ -554,15 +561,15 @@
554
 
555
  <div class="input custom_xml_upgrade_notice wpallexport-custom-xml-template" style="vertical-align:middle; position: relative; top: -5px;">
556
  <span class="wpallexport-free-edition-notice" style="margin: 0 0 10px;">
557
- <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=custom-xml"><?php _e('Upgrade to the Pro edition of WP All Export to Export Custom XML','wp_all_export_plugin');?></a>
558
- <p><?php _e('If you already own it, remove the free edition and install the Pro edition.','wp_all_export_plugin');?></p>
559
  </span>
560
  </div>
561
 
562
  <div class="input custom_xml_upgrade_notice wpallexport-google-merchants-template" style="vertical-align:middle; position: relative; top: -5px;">
563
  <span class="wpallexport-free-edition-notice" style="margin: 0 0 10px;">
564
- <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=google-merchant-center"><?php _e('Upgrade to the Pro edition of WP All Export to Export To Google Merchant Center','wp_all_export_plugin');?></a>
565
- <p><?php _e('If you already own it, remove the free edition and install the Pro edition.','wp_all_export_plugin');?></p>
566
  </span>
567
  </div>
568
 
@@ -573,21 +580,21 @@
573
  <input type="hidden" name="is_submitted" value="1" />
574
  <input type="hidden" id="dismiss_warnings" value="<?php echo esc_attr($dismiss_warnings); ?>"/>
575
  <?php if ( ! $this->isWizard ): ?>
576
- <a href="<?php echo remove_query_arg('id', remove_query_arg('action', $this->baseUrl)); ?>"
577
  class="back rad3"
578
- style="float:none;"><?php _e('Back to Manage Exports', 'wp_all_export_plugin') ?></a>
579
  <?php else: ?>
580
- <a href="<?php echo add_query_arg('action', 'index', $this->baseUrl); ?>"
581
- class="back rad3"><?php _e('Back', 'wp_all_export_plugin') ?></a>
582
  <?php endif; ?>
583
  <input type="submit" class="button button-primary button-hero wpallexport-large-button"
584
- value="<?php _e(($this->isWizard) ? 'Continue' : 'Update Template', 'wp_all_export_plugin') ?>"/>
585
  </div>
586
 
587
  </div>
588
 
589
  <a href="http://soflyy.com/" target="_blank"
590
- class="wpallexport-created-by"><?php _e('Created by', 'wp_all_export_plugin'); ?> <span></span></a>
591
 
592
  </form>
593
 
@@ -597,13 +604,16 @@
597
 
598
  <fieldset id="available_data" class="optionsset rad4 wpae_available_data">
599
 
600
- <div class="title"><?php _e('Available Data', 'wp_all_export_plugin'); ?></div>
601
 
602
  <div class="wpallexport-xml resetable">
603
 
604
  <ul>
605
 
606
- <?php echo $available_data_view; ?>
 
 
 
607
 
608
  </ul>
609
 
@@ -618,8 +628,8 @@
618
  <fieldset class="optionsset column rad4 wp-all-export-edit-column">
619
 
620
  <div class="title"><span
621
- class="wpallexport-add-row-title" style="font-size: 14px;"><?php _e('Add Field To Export', 'wp_all_export_plugin'); ?></span><span
622
- class="wpallexport-edit-row-title" style="font-size: 14px;"><?php _e('Edit Export Field', 'wp_all_export_plugin'); ?></span></div>
623
 
624
  <?php include_once 'template/add_new_field.php'; ?>
625
 
@@ -628,7 +638,7 @@
628
  <fieldset class="optionsset column rad4 wp-all-export-custom-xml-help">
629
 
630
  <div class="title"><span style="font-size:1.5em;"
631
- class="wpallexport-add-row-title"><?php _e('Custom XML Feeds', 'wp_all_export_plugin'); ?></span><span
632
  class="wpallexport-edit-row-title"><?php _e('Edit Export Field', 'wp_all_export_plugin'); ?></span></div>
633
 
634
  <?php include_once 'template/custom_xml_help.php'; ?>
1
+ <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
+
6
+ ?>
7
  <h2 class="wpallexport-wp-notices"></h2>
8
  <div class="wpallexport-wrapper">
9
  <div class="wpallexport-header">
10
  <div class="wpallexport-logo"></div>
11
  <div class="wpallexport-title">
12
+ <h2><?php esc_html_e('Drag & Drop', 'wp_all_export_plugin'); ?></h2>
13
  </div>
14
  <div class="wpallexport-links">
15
  <a href="http://www.wpallimport.com/support/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=premium-support"
16
+ target="_blank"><?php esc_html_e('Support', 'wp_all_export_plugin'); ?></a> |
17
  <a
18
  href="http://www.wpallimport.com/documentation/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=docs"
19
+ target="_blank"><?php esc_html_e('Documentation', 'wp_all_export_plugin'); ?></a>
20
  </div>
21
  </div>
22
  <div class="clear"></div>
28
  <div class="ajax-console">
29
  <div class="founded_records">
30
  <div class="wp_all_export_preloader"></div>
31
+ <h4><?php esc_html_e("Drag & drop data to include in the export file."); ?></h4>
32
  </div>
33
  </div>
34
  </div>
47
 
48
  <form class="wpallexport-template <?php echo ! $this->isWizard ? 'edit' : '' ?> wpallexport-step-3" method="post" style="display:none;" id="templateForm">
49
 
50
+ <input type="hidden" class="hierarhy-output" name="filter_rules_hierarhy" value="<?php echo esc_attr($post['filter_rules_hierarhy']);?>"/>
51
+ <input type="hidden" name="taxonomy_to_export" value="<?php echo esc_attr($post['taxonomy_to_export']);?>">
52
+ <input type="hidden" name="export_only_modified_stuff" value="<?php echo esc_attr($post['export_only_modified_stuff']) ;?>" />
53
+ <input type="hidden" name="export_only_new_stuff" value="<?php echo esc_attr($post['export_only_new_stuff']);?>" />
54
+ <input type="hidden" name="sub_post_type_to_export" value="<?php echo esc_attr($post['sub_post_type_to_export']);?>">
55
 
56
  <?php
57
  $addons = new \Wpae\App\Service\Addons\AddonService();
68
  }
69
  ?>
70
 
71
+ <input type="hidden" name="selected_post_type" value="<?php echo esc_attr($selected_post_type); ?>"/>
72
+ <input type="hidden" name="export_type" value="<?php echo esc_attr($post['export_type']); ?>"/>
73
  <div class="wpallexport-collapsed wpallexport-section wpallexport-simple-xml-template">
74
  <div class="wpallexport-content-section" style="margin-bottom: 10px;">
75
  <div class="wpallexport-collapsed-content">
87
  if (is_numeric($ID)){ if (empty($post['cc_name'][$ID])) continue;
88
  ?>
89
  <li>
90
+ <div class="custom_column" rel="<?php echo intval(($i + 1));?>">
91
  <?php
92
  $field_label = (!empty($post['cc_name'][$ID])) ? $post['cc_name'][$ID] : $post['cc_label'][$ID];
93
  $field_name = (!empty($post['cc_name'][$ID])) ? $post['cc_name'][$ID] : trim(str_replace(" ", "_", $post['cc_label'][$ID]));
94
  $field_type = $post['cc_type'][$ID];
95
  $field_options = esc_html($post['cc_options'][$ID]);
96
  ?>
97
+ <label class="wpallexport-xml-element"><?php echo (strtolower($field_label) == "id") ? "ID" : esc_html($field_label); ?></label>
98
  <input type="hidden" name="ids[]" value="1"/>
99
+ <input type="hidden" name="cc_label[]" value="<?php echo (!empty($post['cc_label'][$ID])) ? esc_attr($post['cc_label'][$ID]) : ''; ?>"/>
100
+ <input type="hidden" name="cc_php[]" value="<?php echo (!empty($post['cc_php'][$ID])) ? esc_attr($post['cc_php'][$ID]) : 0; ?>"/>
101
+ <input type="hidden" name="cc_code[]" value="<?php echo (!empty($post['cc_code'][$ID])) ? esc_attr($post['cc_code'][$ID]) : ''; ?>"/>
102
+ <input type="hidden" name="cc_sql[]" value="<?php echo (!empty($post['cc_sql'][$ID])) ? esc_attr($post['cc_sql'][$ID]) : 0; ?>"/>
103
+ <input type="hidden" name="cc_type[]" value="<?php echo esc_attr($field_type); ?>"/>
104
+ <input type="hidden" name="cc_options[]" value="<?php echo (!empty($field_options)) ? esc_attr($field_options) : 0; ?>"/>
105
  <input type="hidden" name="cc_value[]" value="<?php echo esc_attr($post['cc_value'][$ID]); ?>"/>
106
  <input type="hidden" name="cc_name[]" value="<?php echo XmlExportEngine::sanitizeFieldName(esc_attr($field_name)); ?>"/>
107
  <input type="hidden" name="cc_settings[]" value="<?php echo (!empty($post['cc_settings'][$ID])) ? esc_attr($post['cc_settings'][$ID]) : 0; ?>"/>
126
  foreach ($init_fields as $k => $field) {
127
  ?>
128
  <li>
129
+ <div class="custom_column" rel="<?php echo intval(($i + 1));?>">
130
+ <label class="wpallexport-xml-element"><?php echo XmlExportEngine::sanitizeFieldName(esc_html($field['name'])); ?></label>
131
  <input type="hidden" name="ids[]" value="1"/>
132
+ <input type="hidden" name="cc_label[]" value="<?php echo esc_attr($field['label']); ?>"/>
133
  <input type="hidden" name="cc_php[]" value="0"/>
134
  <input type="hidden" name="cc_code[]" value=""/>
135
  <input type="hidden" name="cc_sql[]" value="0"/>
136
+ <input type="hidden" name="cc_options[]" value="<?php echo (empty($field['options'])) ? 0 : esc_attr($field['options']); ?>"/>
137
+ <input type="hidden" name="cc_type[]" value="<?php echo esc_attr($field['type']); ?>"/>
138
+ <input type="hidden" name="cc_value[]" value="<?php echo esc_attr($field['label']); ?>"/>
139
+ <input type="hidden" name="cc_name[]" value="<?php echo (strtoupper($field['name']) == 'ID') ? 'id' : esc_attr($field['name']);?>"/>
140
  <input type="hidden" name="cc_settings[]" value="0"/>
141
  </div>
142
  </li>
145
  }
146
  }
147
  ?>
148
+ <li class="placeholder" <?php if ( ! empty($post['ids']) and count($post['ids']) > 1 or $new_export) echo 'style="display:none;"'; ?>><?php esc_html_e("Drag & drop data from \"Available Data\" on the right to include it in the export or click \"Add Field To Export\" below.", "wp_all_export_plugin"); ?></li>
149
  <?php
150
  ?>
151
  </ol>
170
  <?php if ( ($addons->isWooCommerceAddonActive() || $addons->isWooCommerceOrderAddonActive()) && ! XmlExportWooCommerceOrder::$is_active && ! XmlExportComment::$is_active && ! XmlExportTaxonomy::$is_active ) : ?>
171
  <div class="wp-all-export-warning" <?php if ( empty($post['ids']) or count($post['ids']) > 1 ) echo 'style="display:none;"'; ?>>
172
  <p></p>
173
+ <input type="hidden" id="warning_template" value="<?php esc_html_e("Warning: without %s you won't be able to re-import this data back to this site using WP All Import.", "wp_all_export_plugin"); ?>"/>
174
  <button class="notice-dismiss" type="button"><span class="screen-reader-text">Dismiss this notice.</span></button>
175
  </div>
176
  <?php endif; ?>
187
 
188
  <!-- Add New Field Button -->
189
  <div class="input" style="display:inline-block; margin: 20px 0 10px 20px;">
190
+ <input type="button" value="<?php esc_html_e('Add Field', 'wp_all_export_plugin'); ?>"
191
  class="add_column" style="float:left;">
192
+ <input type="button" value="<?php esc_html_e('Add All', 'wp_all_export_plugin'); ?>"
193
  class="wp_all_export_auto_generate_data">
194
+ <input type="button" value="<?php esc_html_e('Clear All', 'wp_all_export_plugin'); ?>"
195
  class="wp_all_export_clear_all_data">
196
  </div>
197
 
198
  <!-- Preview a Row Button -->
199
  <div class="input" style="float:right; margin: 20px 20px 10px 0;">
200
+ <input type="button" value="<?php esc_html_e('Preview', 'wp_all_export_plugin'); ?>"
201
  class="preview_a_row">
202
  </div>
203
  </div>
207
  <div class="wpallexport-collapsed closed wpallexport-section wpallexport-xml-advanced-options" <?php if ($post['export_to'] !== 'xml') { ?> style="display: none;" <?php }?> >
208
  <div class="wpallexport-content-section rad0" style="margin:0; border-top:1px solid #ddd; border-bottom: none; border-right: none; border-left: none; background: #f1f2f2; padding-bottom: 15px; margin-top: 5px;">
209
  <div class="wpallexport-collapsed-header">
210
+ <h3 style="color:#40acad;"><?php esc_html_e('Advanced Options','wp_all_export_plugin');?></h3>
211
  <hr style="display:none; margin-right:25px;"/>
212
  </div>
213
  <div class="wpallexport-collapsed-content" style="padding:0 0 0 5px;">
214
  <div class="wpallexport-collapsed-content-inner">
215
  <div class="simple_xml_template_options" style="margin-top:20px;">
216
  <div class="input" style="display: inline-block; max-width: 360px; width: 40%; margin-right: 10px;">
217
+ <label for="main_xml_tag" style="float: left;"><?php esc_html_e('Root XML Element','wp_all_export_plugin');?></label>
218
  <div class="input">
219
  <input type="text" name="main_xml_tag" style="vertical-align:middle; background:#fff !important; width: 100%; margin-left:0;" value="<?php echo esc_attr($post['main_xml_tag']) ?>" />
220
  </div>
223
  <?php
224
  $post_type_details = ( ! empty($post['cpt'])) ? get_post_type_object( $post['cpt'][0] ) : '';
225
  ?>
226
+ <label for="record_xml_tag" style="float: left;"><?php printf(esc_html__('Single %s XML Element','wp_all_export_plugin'), empty($post_type_details) ? 'Record' : $post_type_details->labels->singular_name); ?></label>
227
  <div class="input">
228
  <input type="text" name="record_xml_tag" style="vertical-align:middle; background:#fff !important; width: 100%; margin-left:0;" value="<?php echo esc_attr($post['record_xml_tag']) ?>" />
229
  </div>
230
  </div>
231
  </div>
232
+ <input type="hidden" id="custom_xml_cdata_logic" value="<?php echo esc_attr($post['custom_xml_cdata_logic']); ?>" name="custom_xml_cdata_logic" />
233
+ <input type="hidden" id="show_cdata_in_preview" value="<?php echo esc_attr($post['show_cdata_in_preview']); ?>" name="show_cdata_in_preview" />
234
 
235
  <div>
236
  <?php if( (XmlExportEngine::get_addons_service()->isWooCommerceAddonActive() || XmlExportEngine::get_addons_service()->isWooCommerceProductAddonActive()) && XmlExportWooCommerce::$is_active)
240
  ?>
241
  </div>
242
  <div class="wp-all-export-product-bundle-warning warning-only-export-parent-products" style="display:none;">
243
+ <p><?php esc_html_e("You will not be able to reimport data to the product variations, and you will not be able to import these products to another site.", 'wp_all_export_plugin'); ?></p>
244
  </div>
245
  <div class="wp-all-export-product-bundle-warning warning-only-export-product-variations" style="display:none;">
246
+ <p><?php esc_html_e("You will not be able to reimport data to the parent products, and you will not be able to import these products to another site.", 'wp_all_export_plugin'); ?></p>
247
  </div>
248
  <div class="input cdata">
249
  <h4 style="margin-top: 20px;">CDATA</h4>
250
+ <p style="font-size: 12px;margin-top: 10px;"><?php echo wp_kses_post(sprintf(__("There are certain characters that cannot be included in an XML file unless they are wrapped in CDATA tags.<br/>Read more about CDATA tags: <a target='_blank' href='%s' style='font-size: 12px;'>%s</a>.", 'wp_all_export_plugin'), 'https://en.wikipedia.org/wiki/CDATA', 'https://en.wikipedia.org/wiki/CDATA')); ?></p>
251
  <div class="input" style="margin: 8px 0;">
252
  <input type="radio" id="simple_custom_xml_cdata_logic_auto" name="simple_custom_xml_cdata_logic" value="auto" checked="checked" <?php echo ( "auto" == $post['custom_xml_cdata_logic'] ) ? 'checked="checked"': '' ?> class="switcher cdata"/>
253
+ <label for="simple_custom_xml_cdata_logic_auto"><?php esc_html_e('Automatically wrap data in CDATA tags when it contains illegal characters', 'wp_all_export_plugin') ?></label>
254
  </div>
255
  <div class="input" style="margin: 8px 0;">
256
  <input type="radio" id="simple_custom_xml_cdata_logic_all" name="simple_custom_xml_cdata_logic" value="all" <?php echo ( "all" == $post['custom_xml_cdata_logic'] ) ? 'checked="checked"': '' ?> class="switcher cdata" />
257
+ <label for="simple_custom_xml_cdata_logic_all"><?php esc_html_e('Always wrap data in CDATA tags', 'wp_all_export_plugin') ?></label>
258
  </div>
259
  <div class="input" style="margin: 8px 0;">
260
  <input type="radio" id="simple_custom_xml_cdata_logic_never" name="simple_custom_xml_cdata_logic" value="never" <?php echo ( "never" == $post['custom_xml_cdata_logic'] ) ? 'checked="checked"': '' ?> class="switcher cdata"/>
261
+ <label for="simple_custom_xml_cdata_logic_never"><?php esc_html_e('Never wrap data in CDATA tags', 'wp_all_export_plugin') ?></label>
262
  <div class="switcher-target-simple_custom_xml_cdata_logic_never">
263
+ <p style="font-size: 12px;margin-top: 8px;"><?php esc_html_e('Warning: This may result in an invalid XML file', 'wp_all_export_plugin');?></p>
264
  </div>
265
  </div>
266
  <div class="input" style="margin: 16px 4px;">
277
  <div class="wpallexport-collapsed closed wpallexport-section wpallexport-csv-advanced-options export_to_csv" <?php if ($post['export_to'] == 'xml') : ?> style="display: none;" <?php endif; ?> >
278
  <div class="wpallexport-content-section rad0" style="margin:0; border-top:1px solid #ddd; border-bottom: none; border-right: none; border-left: none; background: #f1f2f2; padding-bottom: 15px; margin-top: 5px;">
279
  <div class="wpallexport-collapsed-header">
280
+ <h3 style="color:#40acad;"><?php esc_html_e('Advanced Options','wp_all_export_plugin');?></h3>
281
  <hr style="display:none; margin-right:25px;"/>
282
  </div>
283
  <div class="wpallexport-collapsed-content" style="padding:0 0 0 5px;">
284
  <div class="wpallexport-collapsed-content-inner" style="padding-left: 5px;">
285
  <div class="simple_xml_template_options csv_delimiter" style="margin-top:20px;">
286
  <div class="input" style="display: inline-block; max-width: 360px; width: 40%; margin-right: 10px;">
287
+ <label style="width: 80px; margin-left: 20px;"><?php esc_html_e('Separator:','wp_all_export_plugin');?></label>
288
  <input type="text" name="delimiter" value="<?php echo esc_attr($post['delimiter']) ?>" style="width: 40px; height: 30px; top: 0px; text-align: center;"/>
289
  </div>
290
  </div>
291
  <?php if (class_exists('SitePress')): ?>
292
  <div class="wp-all-export-wpml-options" style="margin-left:20px;">
293
+ <h4><?php esc_html_e('Language', 'wp_all_export_plugin'); ?></h4>
294
  <div class="input">
295
  <?php foreach ($wpml_options as $key => $value):?>
296
  <div class="input">
297
+ <input type="radio" id="<?php echo esc_attr("wpml_lang_" . $key);?>" name="wpml_lang" value="<?php echo esc_attr($key); ?>" <?php if ($post['wpml_lang'] == $key):?>checked="checked"<?php endif; ?> class="switcher"/>
298
+ <label for="<?php echo esc_attr("wpml_lang_" . $key);?>"><?php echo wp_kses_post($value); ?></label>
299
  </div>
300
  <?php endforeach; ?>
301
  </div>
309
  ?>
310
  </div>
311
  <div class="wp-all-export-product-bundle-warning" style="display:none;">
312
+ <p><?php esc_html_e("You will not be able to reimport data to the product variations, and you will not be able to import these products to another site.", 'wp_all_export_plugin'); ?></p>
313
  </div>
314
  <!-- Display each product in its own row -->
315
  <?php if ( ($addons->isWooCommerceAddonActive() && XmlExportWooCommerceOrder::$is_active) ): ?>
316
  <div class="input" style="float: left; margin-top: 15px; margin-left:20px;" id="woo_commerce_order">
317
  <input type="hidden" name="order_item_per_row" value="0"/>
318
  <input type="checkbox" id="order_item_per_row" name="order_item_per_row" value="1" <?php if ($post['order_item_per_row']):?>checked="checked"<?php endif; ?> class="switcher"/>
319
+ <label for="order_item_per_row"><?php esc_html_e("Display each product in its own row", "wp_all_export_plugin"); ?></label>
320
+ <a href="#help" class="wpallexport-help" style="position: relative; top: 0px;" title="<?php esc_html_e('If an order contains multiple products, each product will have its own row. If disabled, each product will have its own column.', 'wp_all_export_plugin'); ?>">?</a>
321
  <div class="input switcher-target-order_item_per_row" style="margin-top: 10px; text-align:left;">
322
  <input type="hidden" name="order_item_fill_empty_columns" value="0"/>
323
  <input type="checkbox" id="order_item_fill_empty_columns" name="order_item_fill_empty_columns" value="1" <?php if ($post['order_item_fill_empty_columns']):?>checked="checked"<?php endif; ?>/>
324
+ <label for="order_item_fill_empty_columns"><?php esc_html_e("Fill in empty columns", "wp_all_export_plugin"); ?></label>
325
  <a href="#help" class="wpallexport-help" style="position: relative; top: 0px;"
326
+ title="<?php esc_html_e('If enabled, each order item will appear as its own row with all order info filled in for every column. If disabled, order info will only display on one row with only the order item info displaying in additional rows.', 'wp_all_export_plugin'); ?>">?</a>
327
  </div>
328
  </div>
329
  <div class="clear"></div>
339
  <div class="wpallexport-collapsed wpallexport-section wpallexport-file-options closed" style="margin-top: 0px;">
340
  <div class="wpallexport-content-section" style="padding-bottom: 15px; margin-bottom: 10px;">
341
  <div class="wpallexport-collapsed-header" style="padding-left: 25px;">
342
+ <h3><?php esc_html_e('Export Type','wp_all_export_plugin');?></h3>
343
  </div>
344
  <div class="wpallexport-collapsed-content" style="padding: 0; overflow: hidden;">
345
  <div class="wpallexport-collapsed-content-inner">
346
  <div class="wpallexport-choose-data-type">
347
+ <h3 style="margin-top: 10px; margin-bottom: 40px;"><?php esc_html_e('Choose your export type', 'wp_all_export_plugin'); ?></h3>
348
  <a href="javascript:void(0);" class="wpallexport-import-to-format rad4 wpallexport-csv-type <?php if ($post['export_to'] != XmlExportEngine::EXPORT_TYPE_XML) echo 'selected'; ?>">
349
+ <span class="wpallexport-import-to-title"><?php esc_html_e('Spreadsheet', 'wp_all_export_plugin'); ?></span>
350
  <span class="wpallexport-import-to-arrow"></span>
351
  </a>
352
  <a href="javascript:void(0);" class="wpallexport-import-to-format rad4 wpallexport-xml-type <?php if ($post['export_to'] == XmlExportEngine::EXPORT_TYPE_XML) echo 'selected'; ?>" style="margin-right:0;">
353
+ <span class="wpallexport-import-to-title"><?php esc_html_e('Feed', 'wp_all_export_plugin'); ?></span>
354
  <span class="wpallexport-import-to-arrow"></span>
355
  </a>
356
  </div>
357
 
358
  <div class="wpallexport-all-options">
359
+ <input type="hidden" name="export_to" value="<?php echo esc_attr($post['export_to']); ?>"/>
360
 
361
  <div class="wpallexport-file-format-options">
362
 
364
  <!-- Export File Format -->
365
  <div class="input">
366
  <select name="export_to_sheet" id="export_to_sheet">
367
+ <option value="csv" <?php if ($post['export_to_sheet'] == 'csv') echo 'selected="selected"';?>><?php esc_html_e('CSV File', 'wp_all_export_plugin'); ?></option>
368
+ <option value="xls" <?php if ($post['export_to_sheet'] == 'xls') echo 'selected="selected"';?>><?php esc_html_e('Excel File (XLS)', 'wp_all_export_plugin'); ?></option>
369
+ <option value="xlsx" <?php if ($post['export_to_sheet'] == 'xlsx') echo 'selected="selected"';?>><?php esc_html_e('Excel File (XLSX)', 'wp_all_export_plugin'); ?></option>
370
  </select>
371
  </div>
372
  <div class="clear"></div>
373
  <div class="wpallexport-clear"></div>
374
  <div class="input export_to_xls_upgrade_notice" style="vertical-align:middle; position: relative; margin-top: 48px;">
375
  <span class="wpallexport-free-edition-notice">
376
+ <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=export-excel"><?php esc_html_e('Upgrade to the Pro edition of WP All Export to Export to Excel','wp_all_export_plugin');?></a>
377
+ <p><?php esc_html_e('If you already own it, remove the free edition and install the Pro edition.','wp_all_export_plugin');?></p>
378
  </span>
379
  </div>
380
  </div>
382
  <div class="wpallexport-xml-options" <?php if ($post['export_to'] != XmlExportEngine::EXPORT_TYPE_XML) echo 'style="display:none;"'; ?>>
383
  <div class="input">
384
  <select name="xml_template_type" class="xml_template_type">
385
+ <option value="simple" <?php if ($post['xml_template_type'] == 'simple') echo 'selected="selected"';?>><?php esc_html_e('Simple XML Feed', 'wp_all_export_plugin'); ?></option>
386
+ <option value="custom" <?php if ($post['xml_template_type'] == 'custom') echo 'selected="selected"';?>><?php esc_html_e('Custom XML Feed', 'wp_all_export_plugin'); ?></option>
387
  <?php
388
  if(in_array('product', $post['cpt'])) {
389
  ?>
390
+ <option value="<?php echo XmlExportEngine::EXPORT_TYPE_GOOLE_MERCHANTS; ?>" <?php if ($post['xml_template_type'] == XmlExportEngine::EXPORT_TYPE_GOOLE_MERCHANTS) echo 'selected="selected"';?>><?php esc_html_e('Google Merchant Center Product Feed', 'wp_all_export_plugin'); ?></option>
391
  <?php
392
  }
393
  ?>
413
  <div class="wpallexport-collapsed wpallexport-section wpallexport-custom-xml-template">
414
  <div class="wpallexport-content-section" style="padding-bottom: 0; margin-bottom: 10px;">
415
  <div class="wpallexport-collapsed-header" style="margin-bottom: 15px;">
416
+ <h3><?php esc_html_e('XML Editor', 'wp_all_export_plugin'); ?></h3>
417
  </div>
418
  <div class="wpallexport-collapsed-content" style="padding: 0;">
419
  <div class="wpallexport-collapsed-content-inner" style="padding-top: 5px;">
420
 
421
  <?php $default_template = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<data>\n\t<!-- BEGIN LOOP -->\n\t<post>\n\n\t</post>\n\t<!-- END LOOP -->\n</data>";?>
422
 
423
+ <textarea id="wp_all_export_custom_xml_template" name="custom_xml_template"><?php echo (empty($post['custom_xml_template'])) ? esc_textarea($default_template) : esc_textarea($post['custom_xml_template']);?></textarea>
424
 
425
  <div class="input" style="overflow: hidden; margin-top: 10px; margin-bottom: -20px;">
426
  <!-- Help Button -->
427
  <div class="input" style="float: left;">
428
+ <input type="button" value="<?php esc_html_e('Help', 'wp_all_export_plugin'); ?>"
429
  class="help_custom_xml">
430
  </div>
431
  <!-- Preview a Row Button -->
432
  <div class="input" style="float: right;">
433
+ <input type="button" value="<?php esc_html_e('Preview', 'wp_all_export_plugin'); ?>"
434
  class="preview_a_custom_xml_row">
435
  </div>
436
  </div>
439
  <div class="wpallexport-content-section rad0"
440
  style="margin:0; border-top:1px solid #ddd; border-bottom: none; border-right: none; border-left: none; background: #f1f2f2; padding-bottom: 15px; margin-top: 5px;">
441
  <div class="wpallexport-collapsed-header">
442
+ <h3 style="color:#40acad;"><?php esc_html_e('Advanced Options','wp_all_export_plugin');?></h3>
443
  <hr style="display: none; margin-right: 25px;"/>
444
  </div>
445
  <div class="wpallexport-collapsed-content" style="padding: 0 0 0 5px;">
446
  <div class="wpallexport-collapsed-content-inner">
447
  <div class="input cdata">
448
  <h4 style="margin-top: 20px;">CDATA</h4>
449
+ <p style="font-size: 12px;margin-top: 8px;"><?php echo wp_kses_post(printf(__("There are certain characters that cannot be included in an XML file unless they are wrapped in CDATA tags.<br/>Read more about CDATA tags: <a target='_blank' href='%s' style='font-size: 12px;'>%s</a>.", 'wp_all_export_plugin'), 'https://en.wikipedia.org/wiki/CDATA', 'https://en.wikipedia.org/wiki/CDATA')); ?></p>
450
  <div class="input" style="margin: 8px 0;">
451
  <input type="radio" id="custom_xml_cdata_logic_auto"
452
  name="custom_custom_xml_cdata_logic"
453
  value="auto" <?php echo ("auto" == $post['custom_xml_cdata_logic']) ? 'checked="checked"' : '' ?>
454
  class="switcher"/>
455
  <label
456
+ for="custom_xml_cdata_logic_auto"><?php esc_html_e('Automatically wrap data in CDATA tags when it contains illegal characters', 'wp_all_export_plugin') ?></label>
457
  </div>
458
  <div class="input" style="margin: 8px 0;">
459
  <input type="radio" id="custom_custom_xml_cdata_logic_all"
461
  value="all" <?php echo ("all" == $post['custom_xml_cdata_logic']) ? 'checked="checked"' : '' ?>
462
  class="switcher cdata"/>
463
  <label
464
+ for="custom_custom_xml_cdata_logic_all"><?php esc_html_e('Always wrap data in CDATA tags', 'wp_all_export_plugin') ?></label>
465
  </div>
466
  <div class="input" style="margin: 8px 0;">
467
  <input type="radio" id="custom_custom_xml_cdata_logic_never"
469
  value="never" <?php echo ("never" == $post['custom_xml_cdata_logic']) ? 'checked="checked"' : '' ?>
470
  class="switcher cdata"/>
471
  <label
472
+ for="custom_custom_xml_cdata_logic_never"><?php esc_html_e('Never wrap data in CDATA tags', 'wp_all_export_plugin') ?></label>
473
  <div class="switcher-target-simple_custom_xml_cdata_logic_never">
474
+ <p style="font-size: 12px;margin-top: 8px;"><?php esc_html_e('Warning: This may result in an invalid XML file', 'wp_all_export_plugin');?></p>
475
  </div>
476
  </div>
477
  <div class="input" style="margin: 16px 4px;">
500
  <div class="wpallexport-collapsed closed wpallexport-section wpallexport-custom-xml-template">
501
  <div class="wpallexport-content-section" style="padding-bottom: 15px; margin-bottom: 10px;">
502
  <div class="wpallexport-collapsed-header">
503
+ <h3><?php esc_html_e('Function Editor', 'wp_all_export_plugin'); ?></h3>
504
  </div>
505
  <div class="wpallexport-collapsed-content" style="padding: 0;">
506
  <div class="wpallexport-collapsed-content-inner">
507
 
508
  <textarea id="wp_all_export_main_code" name="wp_all_export_main_code"><?php echo "<?php\n\n?>";?></textarea>
509
  <div class="wpallexport-free-edition-notice" style="margin: 15px 0;">
510
+ <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=custom-php"><?php esc_html_e('Upgrade to the Pro edition of WP All Export to use Custom PHP Functions','wp_all_export_plugin');?></a>
511
+ <p><?php esc_html_e('If you already own it, remove the free edition and install the Pro edition.','wp_all_export_plugin');?></p>
512
  </div>
513
  <div class="input" style="margin-top: 10px;">
514
 
515
  <div class="input" style="display:inline-block; margin-right: 20px;">
516
+ <input type="button" class="button-primary wp_all_export_save_functions wp_all_export_save_main_code" value="<?php esc_html_e("Save Functions", 'wp_all_export_plugin'); ?>" disabled="disabled"/>
517
+ <a href="#help" class="wpallexport-help" title="<?php printf(esc_html__("Add functions here for use during your export. You can access this file at %s", "wp_all_export_plugin"), preg_replace("%.*wp-content%", "wp-content", esc_html($functions)));?>" style="top: 0;">?</a>
518
  <div class="wp_all_export_functions_preloader"></div>
519
  </div>
520
  <div class="input wp_all_export_saving_status"></div>
533
  class="switcher-horizontal fix_checkbox"
534
  value="1" <?php echo (!empty($post['save_template_as'])) ? 'checked="checked"' : '' ?> />
535
  <label
536
+ for="save_template_as"><?php esc_html_e('Save settings as a template', 'wp_all_export_plugin'); ?></label>
537
  </p>
538
  <div class="switcher-target-save_template_as" style="float: left; overflow: hidden;">
539
  <input type="text" name="name"
540
+ placeholder="<?php esc_html_e('Template name...', 'wp_all_export_plugin') ?>"
541
  style="vertical-align:middle; line-height: 26px;"
542
  value="<?php echo esc_attr($post['name']) ?>"/>
543
  </div>
544
  <?php $templates = new PMXE_Template_List(); ?>
545
  <div class="load-template">
546
  <select name="load_template" id="load_template">
547
+ <option value=""><?php esc_html_e('Load Template...', 'wp_all_export_plugin') ?></option>
548
  <?php foreach ($templates->getBy()->convertRecords() as $t): ?>
549
  <?php
550
  // When creating a new export you should be able to select existing saved export templates that were created for the same post type.
551
  if ( $t->options['cpt'] != $post['cpt'] ) continue;
552
  ?>
553
+ <option value="<?php echo esc_attr($t->id) ?>"><?php echo esc_html(wp_all_export_clear_xss($t->name)); ?></option>
554
  <?php endforeach ?>
555
  </select>
556
  </div>
561
 
562
  <div class="input custom_xml_upgrade_notice wpallexport-custom-xml-template" style="vertical-align:middle; position: relative; top: -5px;">
563
  <span class="wpallexport-free-edition-notice" style="margin: 0 0 10px;">
564
+ <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=custom-xml"><?php esc_html_e('Upgrade to the Pro edition of WP All Export to Export Custom XML','wp_all_export_plugin');?></a>
565
+ <p><?php esc_html_e('If you already own it, remove the free edition and install the Pro edition.','wp_all_export_plugin');?></p>
566
  </span>
567
  </div>
568
 
569
  <div class="input custom_xml_upgrade_notice wpallexport-google-merchants-template" style="vertical-align:middle; position: relative; top: -5px;">
570
  <span class="wpallexport-free-edition-notice" style="margin: 0 0 10px;">
571
+ <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=google-merchant-center"><?php esc_html_e('Upgrade to the Pro edition of WP All Export to Export To Google Merchant Center','wp_all_export_plugin');?></a>
572
+ <p><?php esc_html_e('If you already own it, remove the free edition and install the Pro edition.','wp_all_export_plugin');?></p>
573
  </span>
574
  </div>
575
 
580
  <input type="hidden" name="is_submitted" value="1" />
581
  <input type="hidden" id="dismiss_warnings" value="<?php echo esc_attr($dismiss_warnings); ?>"/>
582
  <?php if ( ! $this->isWizard ): ?>
583
+ <a href="<?php echo esc_url(remove_query_arg('id', remove_query_arg('action', esc_url($this->baseUrl)))); ?>"
584
  class="back rad3"
585
+ style="float:none;"><?php esc_html_e('Back to Manage Exports', 'wp_all_export_plugin') ?></a>
586
  <?php else: ?>
587
+ <a href="<?php echo esc_url(add_query_arg('action', 'index', esc_url($this->baseUrl))); ?>"
588
+ class="back rad3"><?php esc_html_e('Back', 'wp_all_export_plugin') ?></a>
589
  <?php endif; ?>
590
  <input type="submit" class="button button-primary button-hero wpallexport-large-button"
591
+ value="<?php esc_html_e(($this->isWizard) ? 'Continue' : 'Update Template', 'wp_all_export_plugin') ?>"/>
592
  </div>
593
 
594
  </div>
595
 
596
  <a href="http://soflyy.com/" target="_blank"
597
+ class="wpallexport-created-by"><?php esc_html_e('Created by', 'wp_all_export_plugin'); ?> <span></span></a>
598
 
599
  </form>
600
 
604
 
605
  <fieldset id="available_data" class="optionsset rad4 wpae_available_data">
606
 
607
+ <div class="title"><?php esc_html_e('Available Data', 'wp_all_export_plugin'); ?></div>
608
 
609
  <div class="wpallexport-xml resetable">
610
 
611
  <ul>
612
 
613
+ <?php
614
+ // Output sanitized in children
615
+ echo $available_data_view;
616
+ ?>
617
 
618
  </ul>
619
 
628
  <fieldset class="optionsset column rad4 wp-all-export-edit-column">
629
 
630
  <div class="title"><span
631
+ class="wpallexport-add-row-title" style="font-size: 14px;"><?php esc_html_e('Add Field To Export', 'wp_all_export_plugin'); ?></span><span
632
+ class="wpallexport-edit-row-title" style="font-size: 14px;"><?php esc_html_e('Edit Export Field', 'wp_all_export_plugin'); ?></span></div>
633
 
634
  <?php include_once 'template/add_new_field.php'; ?>
635
 
638
  <fieldset class="optionsset column rad4 wp-all-export-custom-xml-help">
639
 
640
  <div class="title"><span style="font-size:1.5em;"
641
+ class="wpallexport-add-row-title"><?php esc_html_e('Custom XML Feeds', 'wp_all_export_plugin'); ?></span><span
642
  class="wpallexport-edit-row-title"><?php _e('Edit Export Field', 'wp_all_export_plugin'); ?></span></div>
643
 
644
  <?php include_once 'template/custom_xml_help.php'; ?>
views/admin/export/template/add_new_field.php CHANGED
@@ -113,15 +113,15 @@
113
  <form>
114
  <div class="wp-all-export-field-options" style="width: 54%; float:left; max-height: 70vh;">
115
  <div class="input" style="margin-bottom: 15px;">
116
- <label style="padding:4px; display: block;" class="wpae_column_name"><?php _e('Column name', 'wp_all_export_plugin'); ?></label>
117
- <label style="padding:4px; display: none;" class="wpae_element_name"><?php _e('Element name', 'wp_all_export_plugin'); ?></label>
118
  <div class="clear"></div>
119
  <input type="text" class="column_name" value="" style="width:100%; padding: 8px; border-radius: 5px; color: #000;"/>
120
  </div>
121
  <!-- SINGLE ELEMENT -->
122
  <div class="input">
123
  <label>
124
- <input type="radio" name="combine_multiple_fields" value="0" checked="checked" /> <?php _e('Select a field to export', 'wp_all_export_plugin') ?></label>
125
  </div>
126
  <div class="input export-single wpae-select-field" style="margin-left:25px; margin-top:10px;">
127
  <div class="clear"></div>
@@ -134,15 +134,15 @@
134
  <!-- COMBINE ELEMENTS -->
135
 
136
  <div class="input" style="margin-top: 5px;">
137
- <label><input type="radio" name="combine_multiple_fields" value="1" /> <?php _e('Custom export field', 'wp_all_export_plugin') ?></label>
138
  </div>
139
 
140
  <div class="elements export-multiple" id="combine_multiple_fields_value_container" style="margin-top: 10px; margin-left: 25px; display: none;">
141
  <div class="wpallexport-free-edition-notice add-new-field-notice" style="margin: 15px 0; display: none;">
142
  <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=custom-export-fields">
143
- <?php _e('Upgrade to Pro to use Custom Export Fields','wp_all_export_plugin');?></a>
144
  </div>
145
- <textarea placeholder="<?php _e('You can drag and drop fields from Available Data, add static text, and use PHP functions', PMXE_Plugin::LANGUAGE_DOMAIN); ?>" id="combine_multiple_fields_value" style="width: 100%;" rows="7"></textarea>
146
  </div>
147
 
148
  <!-- Functions editor -->
@@ -152,7 +152,7 @@
152
  <div style="width: 35%; float: right; margin-right: 33px; margin-top:10px; display: none;" class="wpae_available_data export-multiple"
153
  id="combine_multiple_fields_data">
154
  <fieldset id="available_data" class="optionsset rad4 wpae_available_data dialog-available-data" style="margin-bottom: 10px; ">
155
- <div class="title"><?php _e('Available Data', 'wp_all_export_plugin'); ?></div>
156
  <div class="wpallexport-xml resetable wpallexport-pointer-data available-data">
157
  <ul>
158
  <?php echo $available_data_view; ?>
@@ -162,11 +162,11 @@
162
  </div>
163
  <div style="clear:both;"></div>
164
  <div class="input wp-all-export-edit-column-buttons">
165
- <input type="button" class="close_action" value="<?php _e("Cancel", "wp_all_export_plugin"); ?>"
166
  style="border: none;"/>
167
- <input type="button" class="delete_action" value="<?php _e("Delete", "wp_all_export_plugin"); ?>"
168
  style="border: none;"/>
169
- <input type="button" class="save_action" value="<?php _e("Save", "wp_all_export_plugin"); ?>"
170
  style="border: none;"/>
171
  </div>
172
  </form>
113
  <form>
114
  <div class="wp-all-export-field-options" style="width: 54%; float:left; max-height: 70vh;">
115
  <div class="input" style="margin-bottom: 15px;">
116
+ <label style="padding:4px; display: block;" class="wpae_column_name"><?php esc_html_e('Column name', 'wp_all_export_plugin'); ?></label>
117
+ <label style="padding:4px; display: none;" class="wpae_element_name"><?php esc_html_e('Element name', 'wp_all_export_plugin'); ?></label>
118
  <div class="clear"></div>
119
  <input type="text" class="column_name" value="" style="width:100%; padding: 8px; border-radius: 5px; color: #000;"/>
120
  </div>
121
  <!-- SINGLE ELEMENT -->
122
  <div class="input">
123
  <label>
124
+ <input type="radio" name="combine_multiple_fields" value="0" checked="checked" /> <?php esc_html_e('Select a field to export', 'wp_all_export_plugin') ?></label>
125
  </div>
126
  <div class="input export-single wpae-select-field" style="margin-left:25px; margin-top:10px;">
127
  <div class="clear"></div>
134
  <!-- COMBINE ELEMENTS -->
135
 
136
  <div class="input" style="margin-top: 5px;">
137
+ <label><input type="radio" name="combine_multiple_fields" value="1" /> <?php esc_html_e('Custom export field', 'wp_all_export_plugin') ?></label>
138
  </div>
139
 
140
  <div class="elements export-multiple" id="combine_multiple_fields_value_container" style="margin-top: 10px; margin-left: 25px; display: none;">
141
  <div class="wpallexport-free-edition-notice add-new-field-notice" style="margin: 15px 0; display: none;">
142
  <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=custom-export-fields">
143
+ <?php esc_html_e('Upgrade to Pro to use Custom Export Fields','wp_all_export_plugin');?></a>
144
  </div>
145
+ <textarea placeholder="<?php esc_html_e('You can drag and drop fields from Available Data, add static text, and use PHP functions', PMXE_Plugin::LANGUAGE_DOMAIN); ?>" id="combine_multiple_fields_value" style="width: 100%;" rows="7"></textarea>
146
  </div>
147
 
148
  <!-- Functions editor -->
152
  <div style="width: 35%; float: right; margin-right: 33px; margin-top:10px; display: none;" class="wpae_available_data export-multiple"
153
  id="combine_multiple_fields_data">
154
  <fieldset id="available_data" class="optionsset rad4 wpae_available_data dialog-available-data" style="margin-bottom: 10px; ">
155
+ <div class="title"><?php esc_html_e('Available Data', 'wp_all_export_plugin'); ?></div>
156
  <div class="wpallexport-xml resetable wpallexport-pointer-data available-data">
157
  <ul>
158
  <?php echo $available_data_view; ?>
162
  </div>
163
  <div style="clear:both;"></div>
164
  <div class="input wp-all-export-edit-column-buttons">
165
+ <input type="button" class="close_action" value="<?php esc_html_e("Cancel", "wp_all_export_plugin"); ?>"
166
  style="border: none;"/>
167
+ <input type="button" class="delete_action" value="<?php esc_html_e("Delete", "wp_all_export_plugin"); ?>"
168
  style="border: none;"/>
169
+ <input type="button" class="save_action" value="<?php esc_html_e("Save", "wp_all_export_plugin"); ?>"
170
  style="border: none;"/>
171
  </div>
172
  </form>
views/admin/export/template/advanced_field_options.php CHANGED
@@ -1,19 +1,19 @@
1
  <div class="wp-all-export-advanced-field-options-content">
2
  <!-- Options for SQL field -->
3
  <div class="input cc_field sql_field_type" style="margin-left:25px;">
4
- <a href="#help" rel="sql" class="help" style="display:none;" title="<?php _e('%%ID%% will be replaced with the ID of the post being exported, example: SELECT meta_value FROM wp_postmeta WHERE post_id=%%ID%% AND meta_key=\'your_meta_key\';', 'wp_all_export_plugin'); ?>">?</a>
5
  <textarea style="width:100%;" rows="5" class="column_value"></textarea>
6
  </div>
7
  <!-- Options for ACF Repeater field -->
8
  <div class="input cc_field repeater_field_type" style="margin-left:25px;">
9
  <input type="hidden" name="repeater_field_item_per_line" value="0"/>
10
  <input type="checkbox" id="repeater_field_item_per_line" class="switcher" name="repeater_field_item_per_line" value="1" style="margin: 2px;"/>
11
- <label for="repeater_field_item_per_line"><?php _e("Display each repeater row in its own csv line", "wp_all_export_plugin"); ?></label>
12
  <div class="input switcher-target-repeater_field_item_per_line" style="margin-top: 10px; padding-left: 15px;">
13
  <input type="hidden" name="repeater_field_fill_empty_columns" value="0"/>
14
  <input type="checkbox" id="repeater_field_fill_empty_columns" name="repeater_field_fill_empty_columns" value="1"/>
15
- <label for="repeater_field_fill_empty_columns"><?php _e("Fill in empty columns", "wp_all_export_plugin"); ?></label>
16
- <a href="#help" class="wpallexport-help" style="position: relative; top: 0px;" title="<?php _e('If enabled, each repeater row will appear as its own csv line with all post info filled in for every column.', 'wp_all_export_plugin'); ?>">?</a>
17
  </div>
18
  </div>
19
  <!-- Options for Image field from Media section -->
@@ -21,14 +21,14 @@
21
  <div class="input">
22
  <input type="hidden" name="image_field_is_export_featured" value="0"/>
23
  <input type="checkbox" id="is_image_export_featured" name="image_field_is_export_featured" value="1" style="margin: 2px;" checked="checked"/>
24
- <label for="is_image_export_featured"><?php _e("Export featured image", "wp_all_export_plugin"); ?></label>
25
  </div>
26
  <div class="input">
27
  <input type="hidden" name="image_field_is_export_attached_images" value="0"/>
28
  <input type="checkbox" id="is_image_export_attached_images" class="switcher" name="image_field_is_export_attached_images" value="1" style="margin: 2px;" checked="checked"/>
29
- <label for="is_image_export_attached_images"><?php _e("Export attached images", "wp_all_export_plugin"); ?></label>
30
  <div class="switcher-target-is_image_export_attached_images" style="margin: 5px 2px;">
31
- <label><?php _e("Separator", "wp_all_export_plugin"); ?></label>
32
  <input type="text" name="image_field_separator" value="|" style="width: 40px; text-align:center;">
33
  </div>
34
  </div>
@@ -37,30 +37,30 @@
37
  <!-- Options for Date field -->
38
  <div class="input cc_field wpae-select-field date_field_type" style="margin-left:25px;">
39
  <select class="date_field_export_data" style="width: 100%;">
40
- <option value="unix"><?php _e("UNIX timestamp - PHP time()", "wp_all_export_plugin");?></option>
41
- <option value="php"><?php _e("Natural Language PHP date()", "wp_all_export_plugin");?></option>
42
  </select>
43
  <div class="input pmxe_date_format_wrapper">
44
- <label style="padding:4px; display: block;"><?php _e("date() Format", "wp_all_export_plugin"); ?></label>
45
  <input type="text" class="pmxe_date_format" value="" placeholder="Y-m-d"/>
46
  </div>
47
  </div>
48
  <!-- Options for Up/Cross sells products -->
49
  <div class="input cc_field linked_field_type" style="margin-left:25px;">
50
  <select class="linked_field_export_data" style="width: 100%; height: 30px;">
51
- <option value="sku"><?php _e("Product SKU", "wp_all_export_plugin");?></option>
52
- <option value="id"><?php _e("Product ID", "wp_all_export_plugin");?></option>
53
- <option value="name"><?php _e("Product Name", "wp_all_export_plugin");?></option>
54
  </select>
55
  </div>
56
  <!-- PHP snippet options -->
57
  <div class="input php_snipped" style="margin-top:0;margin-left:24px;">
58
  <input type="checkbox" id="coperate_php" name="coperate_php" value="1" class="switcher" style="margin: 2px;"/>
59
- <label for="coperate_php"><?php _e("Export the value returned by a PHP function", "wp_all_export_plugin"); ?></label>
60
- <a href="#help" class="wpallexport-help" title="<?php _e('The value of the field chosen for export will be passed to the PHP function.', 'wp_all_export_plugin'); ?>" style="top: 0;">?</a>
61
  <div class="switcher-target-coperate_php" style="margin-top:5px;">
62
  <div class="wpallexport-free-edition-notice" style="margin: 15px 0;">
63
- <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=custom-php"><?php _e('Upgrade to Pro to use Custom PHP Functions','wp_all_export_plugin');?></a>
64
  </div>
65
  <?php echo "&lt;?php ";?>
66
  <input type="text" class="php_code" value="" style="width:50%;" placeholder='your_function_name'/>
1
  <div class="wp-all-export-advanced-field-options-content">
2
  <!-- Options for SQL field -->
3
  <div class="input cc_field sql_field_type" style="margin-left:25px;">
4
+ <a href="#help" rel="sql" class="help" style="display:none;" title="<?php esc_html_e('%%ID%% will be replaced with the ID of the post being exported, example: SELECT meta_value FROM wp_postmeta WHERE post_id=%%ID%% AND meta_key=\'your_meta_key\';', 'wp_all_export_plugin'); ?>">?</a>
5
  <textarea style="width:100%;" rows="5" class="column_value"></textarea>
6
  </div>
7
  <!-- Options for ACF Repeater field -->
8
  <div class="input cc_field repeater_field_type" style="margin-left:25px;">
9
  <input type="hidden" name="repeater_field_item_per_line" value="0"/>
10
  <input type="checkbox" id="repeater_field_item_per_line" class="switcher" name="repeater_field_item_per_line" value="1" style="margin: 2px;"/>
11
+ <label for="repeater_field_item_per_line"><?php esc_html_e("Display each repeater row in its own csv line", "wp_all_export_plugin"); ?></label>
12
  <div class="input switcher-target-repeater_field_item_per_line" style="margin-top: 10px; padding-left: 15px;">
13
  <input type="hidden" name="repeater_field_fill_empty_columns" value="0"/>
14
  <input type="checkbox" id="repeater_field_fill_empty_columns" name="repeater_field_fill_empty_columns" value="1"/>
15
+ <label for="repeater_field_fill_empty_columns"><?php esc_html_e("Fill in empty columns", "wp_all_export_plugin"); ?></label>
16
+ <a href="#help" class="wpallexport-help" style="position: relative; top: 0px;" title="<?php esc_html_e('If enabled, each repeater row will appear as its own csv line with all post info filled in for every column.', 'wp_all_export_plugin'); ?>">?</a>
17
  </div>
18
  </div>
19
  <!-- Options for Image field from Media section -->
21
  <div class="input">
22
  <input type="hidden" name="image_field_is_export_featured" value="0"/>
23
  <input type="checkbox" id="is_image_export_featured" name="image_field_is_export_featured" value="1" style="margin: 2px;" checked="checked"/>
24
+ <label for="is_image_export_featured"><?php esc_html_e("Export featured image", "wp_all_export_plugin"); ?></label>
25
  </div>
26
  <div class="input">
27
  <input type="hidden" name="image_field_is_export_attached_images" value="0"/>
28
  <input type="checkbox" id="is_image_export_attached_images" class="switcher" name="image_field_is_export_attached_images" value="1" style="margin: 2px;" checked="checked"/>
29
+ <label for="is_image_export_attached_images"><?php esc_html_e("Export attached images", "wp_all_export_plugin"); ?></label>
30
  <div class="switcher-target-is_image_export_attached_images" style="margin: 5px 2px;">
31
+ <label><?php esc_html_e("Separator", "wp_all_export_plugin"); ?></label>
32
  <input type="text" name="image_field_separator" value="|" style="width: 40px; text-align:center;">
33
  </div>
34
  </div>
37
  <!-- Options for Date field -->
38
  <div class="input cc_field wpae-select-field date_field_type" style="margin-left:25px;">
39
  <select class="date_field_export_data" style="width: 100%;">
40
+ <option value="unix"><?php esc_html_e("UNIX timestamp - PHP time()", "wp_all_export_plugin");?></option>
41
+ <option value="php"><?php esc_html_e("Natural Language PHP date()", "wp_all_export_plugin");?></option>
42
  </select>
43
  <div class="input pmxe_date_format_wrapper">
44
+ <label style="padding:4px; display: block;"><?php esc_html_e("date() Format", "wp_all_export_plugin"); ?></label>
45
  <input type="text" class="pmxe_date_format" value="" placeholder="Y-m-d"/>
46
  </div>
47
  </div>
48
  <!-- Options for Up/Cross sells products -->
49
  <div class="input cc_field linked_field_type" style="margin-left:25px;">
50
  <select class="linked_field_export_data" style="width: 100%; height: 30px;">
51
+ <option value="sku"><?php esc_html_e("Product SKU", "wp_all_export_plugin");?></option>
52
+ <option value="id"><?php esc_html_e("Product ID", "wp_all_export_plugin");?></option>
53
+ <option value="name"><?php esc_html_e("Product Name", "wp_all_export_plugin");?></option>
54
  </select>
55
  </div>
56
  <!-- PHP snippet options -->
57
  <div class="input php_snipped" style="margin-top:0;margin-left:24px;">
58
  <input type="checkbox" id="coperate_php" name="coperate_php" value="1" class="switcher" style="margin: 2px;"/>
59
+ <label for="coperate_php"><?php esc_html_e("Export the value returned by a PHP function", "wp_all_export_plugin"); ?></label>
60
+ <a href="#help" class="wpallexport-help" title="<?php esc_html_e('The value of the field chosen for export will be passed to the PHP function.', 'wp_all_export_plugin'); ?>" style="top: 0;">?</a>
61
  <div class="switcher-target-coperate_php" style="margin-top:5px;">
62
  <div class="wpallexport-free-edition-notice" style="margin: 15px 0;">
63
+ <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=custom-php"><?php esc_html_e('Upgrade to Pro to use Custom PHP Functions','wp_all_export_plugin');?></a>
64
  </div>
65
  <?php echo "&lt;?php ";?>
66
  <input type="text" class="php_code" value="" style="width:50%;" placeholder='your_function_name'/>
views/admin/export/template/custom_xml_help.php CHANGED
@@ -1,28 +1,28 @@
1
  <div id="wp-all-export-custom-xml-help-inner" class="wp_all_export_custom_xml_help">
2
 
3
- <p style="margin-top:5px;"><?php _e('The custom XML editor makes it easy to create an XML file with the exact structure you need. The syntax is simple and straightforward, yet powerful enough to allow you to pass your data through custom PHP functions.', 'wp_all_export_plugin'); ?></p>
4
 
5
- <h3 id="wpae_help_custom_xml_editor_tab"><span>+</span>&nbsp;<?php _e('Custom XML Editor', 'wp_all_export_plugin'); ?></h3>
6
 
7
  <div rel="wpae_help_custom_xml_editor_tab" class="wp_all_export_help_tab">
8
- <p><?php _e('The custom XML editor is a template for your custom XML feed. Everything between the <span class="wp_all_export_code"><span class="wp_all_export_code_comment">&lt;!-- BEGIN LOOP --&gt;</span> and <span class="wp_all_export_code_comment">&lt;!-- END LOOP --&gt;</span></span> tags will be repeated for each exported post.','wp_all_export_plugin');?></p>
9
- <p><?php _e('You can drag and drop elements from Available Data on the right into the editor on the left. You can also manually enter data into the export template.','wp_all_export_plugin');?></p>
10
- <p><?php _e('For example, to add the post title to your export, you can either drag the title element into the editor, or you can manually edit the export template in editor to add it like this: <span class="wp_all_export_code"><span class="wp_all_export_code_tag">&lt;my_custom_title&gt;<span class="wp_all_export_code_text">{Title}</span>&lt;/my_custom_title&gt;</span></span>', 'wp_all_export_plugin');?></p>
11
  </div>
12
 
13
- <h3 id="wpae_help_php_functions_tab"><span>+</span>&nbsp;<?php _e('PHP Functions', 'wp_all_export_plugin'); ?></h3>
14
 
15
  <div rel="wpae_help_php_functions_tab" class="wp_all_export_help_tab">
16
- <p><?php _e('To add a custom PHP function to your XML template wrap it in brackets: <span class="wp_all_export_code"><span class="wp_all_export_code_text">[my_function({Content})]','wp_all_export_plugin');?></span></span></p>
17
- <p><?php _e('You can also use native PHP functions: <span class="wp_all_export_code"><span class="wp_all_export_code_text">[str_replace(",","",{Price})]','wp_all_export_plugin');?></span></span></p>
18
- <p><?php _e('Whatever your function returns will appear in your exported XML file. You can pass as many elements as you like to your function so that they can be combined and processed in any way.','wp_all_export_plugin');?></p>
19
  </div>
20
 
21
- <h3 id="wpae_help_repeating_fields_tab"><span>+</span>&nbsp;<?php _e('Repeating Fields and Arrays', 'wp_all_export_plugin'); ?></h3>
22
 
23
  <div rel="wpae_help_repeating_fields_tab" class="wp_all_export_help_tab">
24
- <p><?php _e('Some fields, like images, have multiple values per post. WP All Export turns these fields into indexed arrays. Whenever WP All Export encounters an indexed array in an XML element it will repeat that element once for every value in the array.', 'wp_all_export_plugin');?></p>
25
- <p><?php _e('For example, let\'s assume a post as two images attached to it - image1.jpg and image2.jpg - and we want to have one XML element for every image URL. Here\'s what our XML template will look like:', 'wp_all_export_plugin');?></p>
26
 
27
  <div class="wp_all_export_code code-block">
28
  <p class="wp_all_export_code_tag">&lt;images&gt;</p>
@@ -30,7 +30,7 @@
30
  <p class="wp_all_export_code_tag">&lt;/images&gt;</p>
31
  </div>
32
 
33
- <p><?php _e('And here\'s how our exported XML file will look:', 'wp_all_export_plugin');?></p>
34
 
35
  <div class="wp_all_export_code code-block">
36
  <p class="wp_all_export_code_tag">&lt;images&gt;</p>
@@ -38,29 +38,29 @@
38
  <p class="wp_all_export_code_tag lv2">&lt;image_url&gt;<span class="wp_all_export_code_text">http://example.com/image2.jpg</span>&lt;/image_url&gt;</p>
39
  <p class="wp_all_export_code_tag">&lt;/images&gt;</p>
40
  </div>
41
- <p><?php _e('WP All Export will do this with all indexed arrays that it comes across. So if you have a function that returns an indexed array, that XML element will be repeated for each value. Likewise, you can take a field like {Image URL} and turn it into a string, like this:', 'wp_all_export_plugin');?></p>
42
  <div class="wp_all_export_code code-block">
43
  <p class="wp_all_export_code_tag">&lt;images&gt;[implode(&quot;|&quot;,{Image Title})]&lt;/images&gt;</p>
44
  </div>
45
- <p><?php _e("And you'll just get one XML element with all of the values, like this:", 'wp_all_export_plugin');?></p>
46
  <div class="wp_all_export_code code-block">
47
  <p class="wp_all_export_code_tag">&lt;images&gt;Image 1|Image 2&lt;/images&gt;</p>
48
  </div>
49
  </div>
50
 
51
- <h3 id="wpae_help_example_template_tab"><span>+</span>&nbsp;<?php _e('Example Template', 'wp_all_export_plugin');?></h3>
52
 
53
  <div rel="wpae_help_example_template_tab" class="wp_all_export_help_tab">
54
 
55
- <p><?php _e('Let\'s say we want to make an XML feed of our WooCommerce products with these requirements:', 'wp_all_export_plugin'); ?></p>
56
  <ul>
57
- <li><?php _e('Site name below the header, before the <span class="wp_all_export_code"><span class="wp_all_export_code_tag">&lt;products&gt;</span></span> element', 'wp_all_export_plugin');?></li>
58
- <li><?php _e('Product SKU', 'wp_all_export_plugin');?></li>
59
- <li><?php _e('Product Title', 'wp_all_export_plugin');?></li>
60
- <li><?php _e('Product Price (processed via a PHP function so that they end in .99)', 'wp_all_export_plugin');?></li>
61
- <li><?php _e('Product image URLs wrapped in an <span class="wp_all_export_code"><span class="wp_all_export_code_tag">&lt;images&gt;</span></span> element', 'wp_all_export_plugin');?></li>
62
  </ul>
63
- <p><?php _e('Here\'s what our XML template will look like in the editor:', 'wp_all_export_plugin'); ?></p>
64
  <div class="wp_all_export_code code-block">
65
  <p class="wp_all_export_code_tag cm-s-default"><span class="cm-meta">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span></p>
66
  <p class="wp_all_export_code_tag">&lt;site_name&gt;<span class="wp_all_export_code_text">My Soda Store</span>&lt;/site_name&gt;</p>
@@ -78,7 +78,7 @@
78
  <p class="wp_all_export_code_tag">&lt;/products&gt;</p>
79
  </div>
80
 
81
- <p><?php _e('Then in the Function Editor we\'d define my_price_function() like so:', 'wp_all_export_plugin');?></p>
82
 
83
  <p class="cm-s-default code-block">
84
  <span class="cm-keyword">function</span> <span class="cm-def">my_price_function</span>( <span class="cm-variable-2">$price</span> ) {<br/>
@@ -86,7 +86,7 @@
86
  }
87
  </p>
88
 
89
- <p><?php _e('If we had two products, each with two images, here\'s what our XML file would look like:', 'wp_all_export_plugin');?></p>
90
 
91
  <div class="wp_all_export_code code-block">
92
  <p class="wp_all_export_code_tag cm-s-default"><span class="cm-meta">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span></p>
1
  <div id="wp-all-export-custom-xml-help-inner" class="wp_all_export_custom_xml_help">
2
 
3
+ <p style="margin-top:5px;"><?php esc_html_e('The custom XML editor makes it easy to create an XML file with the exact structure you need. The syntax is simple and straightforward, yet powerful enough to allow you to pass your data through custom PHP functions.', 'wp_all_export_plugin'); ?></p>
4
 
5
+ <h3 id="wpae_help_custom_xml_editor_tab"><span>+</span>&nbsp;<?php esc_html_e('Custom XML Editor', 'wp_all_export_plugin'); ?></h3>
6
 
7
  <div rel="wpae_help_custom_xml_editor_tab" class="wp_all_export_help_tab">
8
+ <p><?php esc_html_e('The custom XML editor is a template for your custom XML feed. Everything between the <span class="wp_all_export_code"><span class="wp_all_export_code_comment">&lt;!-- BEGIN LOOP --&gt;</span> and <span class="wp_all_export_code_comment">&lt;!-- END LOOP --&gt;</span></span> tags will be repeated for each exported post.','wp_all_export_plugin');?></p>
9
+ <p><?php esc_html_e('You can drag and drop elements from Available Data on the right into the editor on the left. You can also manually enter data into the export template.','wp_all_export_plugin');?></p>
10
+ <p><?php esc_html_e('For example, to add the post title to your export, you can either drag the title element into the editor, or you can manually edit the export template in editor to add it like this: <span class="wp_all_export_code"><span class="wp_all_export_code_tag">&lt;my_custom_title&gt;<span class="wp_all_export_code_text">{Title}</span>&lt;/my_custom_title&gt;</span></span>', 'wp_all_export_plugin');?></p>
11
  </div>
12
 
13
+ <h3 id="wpae_help_php_functions_tab"><span>+</span>&nbsp;<?php esc_html_e('PHP Functions', 'wp_all_export_plugin'); ?></h3>
14
 
15
  <div rel="wpae_help_php_functions_tab" class="wp_all_export_help_tab">
16
+ <p><?php esc_html_e('To add a custom PHP function to your XML template wrap it in brackets: <span class="wp_all_export_code"><span class="wp_all_export_code_text">[my_function({Content})]','wp_all_export_plugin');?></span></span></p>
17
+ <p><?php esc_html_e('You can also use native PHP functions: <span class="wp_all_export_code"><span class="wp_all_export_code_text">[str_replace(",","",{Price})]','wp_all_export_plugin');?></span></span></p>
18
+ <p><?php esc_html_e('Whatever your function returns will appear in your exported XML file. You can pass as many elements as you like to your function so that they can be combined and processed in any way.','wp_all_export_plugin');?></p>
19
  </div>
20
 
21
+ <h3 id="wpae_help_repeating_fields_tab"><span>+</span>&nbsp;<?php esc_html_e('Repeating Fields and Arrays', 'wp_all_export_plugin'); ?></h3>
22
 
23
  <div rel="wpae_help_repeating_fields_tab" class="wp_all_export_help_tab">
24
+ <p><?php esc_html_e('Some fields, like images, have multiple values per post. WP All Export turns these fields into indexed arrays. Whenever WP All Export encounters an indexed array in an XML element it will repeat that element once for every value in the array.', 'wp_all_export_plugin');?></p>
25
+ <p><?php esc_html_e('For example, let\'s assume a post as two images attached to it - image1.jpg and image2.jpg - and we want to have one XML element for every image URL. Here\'s what our XML template will look like:', 'wp_all_export_plugin');?></p>
26
 
27
  <div class="wp_all_export_code code-block">
28
  <p class="wp_all_export_code_tag">&lt;images&gt;</p>
30
  <p class="wp_all_export_code_tag">&lt;/images&gt;</p>
31
  </div>
32
 
33
+ <p><?php esc_html_e('And here\'s how our exported XML file will look:', 'wp_all_export_plugin');?></p>
34
 
35
  <div class="wp_all_export_code code-block">
36
  <p class="wp_all_export_code_tag">&lt;images&gt;</p>
38
  <p class="wp_all_export_code_tag lv2">&lt;image_url&gt;<span class="wp_all_export_code_text">http://example.com/image2.jpg</span>&lt;/image_url&gt;</p>
39
  <p class="wp_all_export_code_tag">&lt;/images&gt;</p>
40
  </div>
41
+ <p><?php esc_html_e('WP All Export will do this with all indexed arrays that it comes across. So if you have a function that returns an indexed array, that XML element will be repeated for each value. Likewise, you can take a field like {Image URL} and turn it into a string, like this:', 'wp_all_export_plugin');?></p>
42
  <div class="wp_all_export_code code-block">
43
  <p class="wp_all_export_code_tag">&lt;images&gt;[implode(&quot;|&quot;,{Image Title})]&lt;/images&gt;</p>
44
  </div>
45
+ <p><?php esc_html_e("And you'll just get one XML element with all of the values, like this:", 'wp_all_export_plugin');?></p>
46
  <div class="wp_all_export_code code-block">
47
  <p class="wp_all_export_code_tag">&lt;images&gt;Image 1|Image 2&lt;/images&gt;</p>
48
  </div>
49
  </div>
50
 
51
+ <h3 id="wpae_help_example_template_tab"><span>+</span>&nbsp;<?php esc_html_e('Example Template', 'wp_all_export_plugin');?></h3>
52
 
53
  <div rel="wpae_help_example_template_tab" class="wp_all_export_help_tab">
54
 
55
+ <p><?php esc_html_e('Let\'s say we want to make an XML feed of our WooCommerce products with these requirements:', 'wp_all_export_plugin'); ?></p>
56
  <ul>
57
+ <li><?php esc_html_e('Site name below the header, before the <span class="wp_all_export_code"><span class="wp_all_export_code_tag">&lt;products&gt;</span></span> element', 'wp_all_export_plugin');?></li>
58
+ <li><?php esc_html_e('Product SKU', 'wp_all_export_plugin');?></li>
59
+ <li><?php esc_html_e('Product Title', 'wp_all_export_plugin');?></li>
60
+ <li><?php esc_html_e('Product Price (processed via a PHP function so that they end in .99)', 'wp_all_export_plugin');?></li>
61
+ <li><?php esc_html_e('Product image URLs wrapped in an <span class="wp_all_export_code"><span class="wp_all_export_code_tag">&lt;images&gt;</span></span> element', 'wp_all_export_plugin');?></li>
62
  </ul>
63
+ <p><?php esc_html_e('Here\'s what our XML template will look like in the editor:', 'wp_all_export_plugin'); ?></p>
64
  <div class="wp_all_export_code code-block">
65
  <p class="wp_all_export_code_tag cm-s-default"><span class="cm-meta">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span></p>
66
  <p class="wp_all_export_code_tag">&lt;site_name&gt;<span class="wp_all_export_code_text">My Soda Store</span>&lt;/site_name&gt;</p>
78
  <p class="wp_all_export_code_tag">&lt;/products&gt;</p>
79
  </div>
80
 
81
+ <p><?php esc_html_e('Then in the Function Editor we\'d define my_price_function() like so:', 'wp_all_export_plugin');?></p>
82
 
83
  <p class="cm-s-default code-block">
84
  <span class="cm-keyword">function</span> <span class="cm-def">my_price_function</span>( <span class="cm-variable-2">$price</span> ) {<br/>
86
  }
87
  </p>
88
 
89
+ <p><?php esc_html_e('If we had two products, each with two images, here\'s what our XML file would look like:', 'wp_all_export_plugin');?></p>
90
 
91
  <div class="wp_all_export_code code-block">
92
  <p class="wp_all_export_code_tag cm-s-default"><span class="cm-meta">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span></p>
views/admin/export/template/functions_editor.php CHANGED
@@ -17,14 +17,14 @@
17
  <div class="wpallexport-content-section" style="padding-bottom: 0; margin-bottom: 10px;">
18
  <div class="wpallexport-collapsed-header edit-functions-collapsed-header" style="padding-left: 25px; background: none;">
19
  <div class="wpae-collapser"></div>
20
- <h3 style="font-size: 14px; line-height: normal; margin-top: 11px; color: #464646;"><?php _e('Function Editor', 'wp_all_export_plugin');?><a href="#help" class="wpallexport-help" title="<?php printf(__("Add functions here for use during your export. You can access this file at %s", "wp_all_export_plugin"), preg_replace("%.*wp-content%", "wp-content", $functions));?>" style="top: -1px;">?</a></h3>
21
  </div>
22
  <div class="wpallexport-collapsed-content" style="padding: 0; overflow: hidden; height: auto; display: none;">
23
  <div class="wpallexport-collapsed-content-inner" style="padding-top:0;">
24
  <textarea id="wp_all_export_code" name="wp_all_export_code"><?php echo (empty($functions_content)) ? "<?php\n\n?>": esc_textarea($functions_content);?></textarea>
25
  <div class="wpallexport-free-edition-notice php-functions-upgrade" style="margin: 15px 0; display: none;">
26
- <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=custom-php" style="font-size: 1.3em;"><?php _e('Upgrade to Pro to use Custom PHP Functions','wp_all_export_plugin');?></a>
27
- <p><?php _e('If you already own it, remove the free edition and install the Pro edition.','wp_all_export_plugin');?></p>
28
  </div>
29
  </div>
30
  </div>
17
  <div class="wpallexport-content-section" style="padding-bottom: 0; margin-bottom: 10px;">
18
  <div class="wpallexport-collapsed-header edit-functions-collapsed-header" style="padding-left: 25px; background: none;">
19
  <div class="wpae-collapser"></div>
20
+ <h3 style="font-size: 14px; line-height: normal; margin-top: 11px; color: #464646;"><?php esc_html_e('Function Editor', 'wp_all_export_plugin');?><a href="#help" class="wpallexport-help" title="<?php printf(esc_html__("Add functions here for use during your export. You can access this file at %s", "wp_all_export_plugin"), preg_replace("%.*wp-content%", "wp-content", esc_html($functions)));?>" style="top: -1px;">?</a></h3>
21
  </div>
22
  <div class="wpallexport-collapsed-content" style="padding: 0; overflow: hidden; height: auto; display: none;">
23
  <div class="wpallexport-collapsed-content-inner" style="padding-top:0;">
24
  <textarea id="wp_all_export_code" name="wp_all_export_code"><?php echo (empty($functions_content)) ? "<?php\n\n?>": esc_textarea($functions_content);?></textarea>
25
  <div class="wpallexport-free-edition-notice php-functions-upgrade" style="margin: 15px 0; display: none;">
26
+ <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=custom-php" style="font-size: 1.3em;"><?php esc_html_e('Upgrade to Pro to use Custom PHP Functions','wp_all_export_plugin');?></a>
27
+ <p><?php esc_html_e('If you already own it, remove the free edition and install the Pro edition.','wp_all_export_plugin');?></p>
28
  </div>
29
  </div>
30
  </div>
views/admin/export/variation_options.php CHANGED
@@ -1,13 +1,16 @@
1
  <?php
 
 
 
2
  /** @var $post */
3
  /** @var string $random */
4
  $random = uniqid();
5
  ?>
6
  <div class="product_variations">
7
- <h4 style="margin-top: 20px;"><?php _e('Product Variations', 'wp_all_export_plugin'); ?>
8
  <a href="#help" class="wpallexport-help"
9
  style="position: relative; top: 0px;"
10
- title="<?php _e('WooCommerce stores each product variation as a separate product in the database, along with a parent product to tie all of the variations together.<br/><br/>If the product title is \'T-Shirt\', then the parent product will be titled \'T-Shirt\', and in the database each size/color combination will be a separate product with a title like \'Variation #23 of T-Shirt\'.', 'wp_all_export_plugin'); ?>">?</a></h4>
11
  <div class="input" style="display: inline-block; width: 100%;">
12
  <div>
13
  <label>
@@ -15,25 +18,25 @@ $random = uniqid();
15
  echo "variations_disabled";
16
  } ?>"
17
  value="<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_PARENT_AND_VARIATION; ?>"
18
- name="<?php echo $random?>_export_variations"/><?php _e("Export product variations and their parent products", 'wp_all_export_plugin'); ?>
19
  </label>
20
  <div style="display: none;" class="sub-options sub-options-<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_PARENT_AND_VARIATION;?>">
21
  <label style="display: block; margin-bottom: 8px;">
22
  <input type="radio" disabled
23
- name="<?php echo $random; ?>_export_variations_title_1"
24
  value="<?php echo XmlExportEngine::VARIATION_USE_PARENT_TITLE; ?>"
25
 
26
  class="export_variations_title">
27
- <?php _e("Product variations use the parent product title", 'wp_all_export_plugin');?>
28
  </label>
29
  <div class="clear"></div>
30
  <label style="display: block; margin-bottom: 8px;">
31
  <input type="radio"
32
- name="<?php echo $random; ?>_export_variations_title_1"
33
  value="<?php echo XmlExportEngine::VARIATION_USE_DEFAULT_TITLE; ?>"
34
 
35
  class="export_variations_title" disabled>
36
- <?php _e("Product variations use the default variation product title", 'wp_all_export_plugin'); ?>
37
  </label>
38
  </div>
39
  </div>
@@ -42,29 +45,29 @@ $random = uniqid();
42
  <label>
43
  <input disabled type="radio" class="export_variations"
44
  value="<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_VARIATION; ?>"
45
- name="<?php echo $random; ?>_export_variations"/><?php _e("Only export product variations", 'wp_all_export_plugin'); ?>
46
  </label>
47
  <div class="sub-options sub-options-<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_VARIATION; ?>">
48
  <label style="display: block; margin-bottom: 8px;">
49
  <input disabled type="radio"
50
- name="<?php echo $random; ?>_export_variations_title_2"
51
  value="<?php echo XmlExportEngine::VARIATION_USE_PARENT_TITLE; ?>"
52
  <?php if($post['export_variations_title'] == XmlExportEngine::VARIATION_USE_PARENT_TITLE) {?>
53
  checked="checked"
54
  <?php }?>
55
  class="export_variations_title">
56
- <?php _e("Product variations use the parent product title", 'wp_all_export_plugin'); ?>
57
  </label>
58
  <div class="clear"></div>
59
  <label>
60
  <input disabled type="radio"
61
- name="<?php echo $random; ?>_export_variations_title_2"
62
  value="<?php echo XmlExportEngine::VARIATION_USE_DEFAULT_TITLE; ?>"
63
  <?php if($post['export_variations_title'] == XmlExportEngine::VARIATION_USE_DEFAULT_TITLE) {?>
64
  checked="checked"
65
  <?php } ?>
66
  class="export_variations_title">
67
- <?php _e("Product variations use the default variation product title", 'wp_all_export_plugin'); ?>
68
  </label>
69
  </div>
70
  </div>
@@ -75,7 +78,7 @@ $random = uniqid();
75
  echo "variations_disabled";
76
  } ?>"
77
  value="<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_PARENT; ?>"
78
- name="<?php echo $random?>_export_variations"/><?php _e("Only export parent products", 'wp_all_export_plugin'); ?>
79
  </label>
80
  </div>
81
 
1
  <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
  /** @var $post */
6
  /** @var string $random */
7
  $random = uniqid();
8
  ?>
9
  <div class="product_variations">
10
+ <h4 style="margin-top: 20px;"><?php esc_html_e('Product Variations', 'wp_all_export_plugin'); ?>
11
  <a href="#help" class="wpallexport-help"
12
  style="position: relative; top: 0px;"
13
+ title="<?php esc_html_e('WooCommerce stores each product variation as a separate product in the database, along with a parent product to tie all of the variations together.<br/><br/>If the product title is \'T-Shirt\', then the parent product will be titled \'T-Shirt\', and in the database each size/color combination will be a separate product with a title like \'Variation #23 of T-Shirt\'.', 'wp_all_export_plugin'); ?>">?</a></h4>
14
  <div class="input" style="display: inline-block; width: 100%;">
15
  <div>
16
  <label>
18
  echo "variations_disabled";
19
  } ?>"
20
  value="<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_PARENT_AND_VARIATION; ?>"
21
+ name="<?php echo esc_attr($random); ?>_export_variations"/><?php esc_html_e("Export product variations and their parent products", 'wp_all_export_plugin'); ?>
22
  </label>
23
  <div style="display: none;" class="sub-options sub-options-<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_PARENT_AND_VARIATION;?>">
24
  <label style="display: block; margin-bottom: 8px;">
25
  <input type="radio" disabled
26
+ name="<?php echo esc_attr($random); ?>_export_variations_title_1"
27
  value="<?php echo XmlExportEngine::VARIATION_USE_PARENT_TITLE; ?>"
28
 
29
  class="export_variations_title">
30
+ <?php esc_html_e("Product variations use the parent product title", 'wp_all_export_plugin');?>
31
  </label>
32
  <div class="clear"></div>
33
  <label style="display: block; margin-bottom: 8px;">
34
  <input type="radio"
35
+ name="<?php echo esc_attr($random); ?>_export_variations_title_1"
36
  value="<?php echo XmlExportEngine::VARIATION_USE_DEFAULT_TITLE; ?>"
37
 
38
  class="export_variations_title" disabled>
39
+ <?php esc_html_e("Product variations use the default variation product title", 'wp_all_export_plugin'); ?>
40
  </label>
41
  </div>
42
  </div>
45
  <label>
46
  <input disabled type="radio" class="export_variations"
47
  value="<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_VARIATION; ?>"
48
+ name="<?php echo esc_attr($random); ?>_export_variations"/><?php esc_html_e("Only export product variations", 'wp_all_export_plugin'); ?>
49
  </label>
50
  <div class="sub-options sub-options-<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_VARIATION; ?>">
51
  <label style="display: block; margin-bottom: 8px;">
52
  <input disabled type="radio"
53
+ name="<?php echo esc_attr($random); ?>_export_variations_title_2"
54
  value="<?php echo XmlExportEngine::VARIATION_USE_PARENT_TITLE; ?>"
55
  <?php if($post['export_variations_title'] == XmlExportEngine::VARIATION_USE_PARENT_TITLE) {?>
56
  checked="checked"
57
  <?php }?>
58
  class="export_variations_title">
59
+ <?php esc_html_e("Product variations use the parent product title", 'wp_all_export_plugin'); ?>
60
  </label>
61
  <div class="clear"></div>
62
  <label>
63
  <input disabled type="radio"
64
+ name="<?php echo esc_attr($random); ?>_export_variations_title_2"
65
  value="<?php echo XmlExportEngine::VARIATION_USE_DEFAULT_TITLE; ?>"
66
  <?php if($post['export_variations_title'] == XmlExportEngine::VARIATION_USE_DEFAULT_TITLE) {?>
67
  checked="checked"
68
  <?php } ?>
69
  class="export_variations_title">
70
+ <?php esc_html_e("Product variations use the default variation product title", 'wp_all_export_plugin'); ?>
71
  </label>
72
  </div>
73
  </div>
78
  echo "variations_disabled";
79
  } ?>"
80
  value="<?php echo XmlExportEngine::VARIABLE_PRODUCTS_EXPORT_PARENT; ?>"
81
+ name="<?php echo esc_attr($random)?>_export_variations"/><?php esc_html_e("Only export parent products", 'wp_all_export_plugin'); ?>
82
  </label>
83
  </div>
84
 
views/admin/export/variation_options_common.php CHANGED
@@ -1,4 +1,7 @@
1
  <?php
 
 
 
2
  if(XmlExportEngine::get_addons_service()->isWooCommerceAddonActive()) { ?>
3
  <script type="text/javascript">
4
  (function ($) {
@@ -40,5 +43,5 @@ if(XmlExportEngine::get_addons_service()->isWooCommerceAddonActive()) { ?>
40
  })(jQuery);
41
  </script>
42
  <?php } ?>
43
- <input type="hidden" id="export_variations" name="export_variations" value="<?php echo XmlExportEngine::getProductVariationMode();?>" />
44
- <input type="hidden" id="export_variations_title" name="export_variations_title" value="<?php echo XmlExportEngine::getProductVariationTitleMode();?>" />
1
  <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
  if(XmlExportEngine::get_addons_service()->isWooCommerceAddonActive()) { ?>
6
  <script type="text/javascript">
7
  (function ($) {
43
  })(jQuery);
44
  </script>
45
  <?php } ?>
46
+ <input type="hidden" id="export_variations" name="export_variations" value="<?php echo esc_attr(XmlExportEngine::getProductVariationMode()); ?>" />
47
+ <input type="hidden" id="export_variations_title" name="export_variations_title" value="<?php echo esc_attr(XmlExportEngine::getProductVariationTitleMode());?>" />
views/admin/feedback/index.php CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  <div class="wrap">
2
 
3
  <h2>Help make WP All Export better.</h2>
1
+ <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
+ ?>
6
  <div class="wrap">
7
 
8
  <h2>Help make WP All Export better.</h2>
views/admin/google/index.php CHANGED
@@ -1,4 +1,8 @@
1
  <?php
 
 
 
 
2
  wp_enqueue_script('pmxe-angular-app', PMXE_ROOT_URL . '/frontend/dist/app.js', array('jquery'), PMXE_VERSION.PMXE_ASSETS_VERSION);
3
  wp_enqueue_style('pmxe-angular-scss', PMXE_ROOT_URL . '/frontend/dist/styles.css', array(), PMXE_VERSION.PMXE_ASSETS_VERSION);
4
 
1
  <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
+
6
  wp_enqueue_script('pmxe-angular-app', PMXE_ROOT_URL . '/frontend/dist/app.js', array('jquery'), PMXE_VERSION.PMXE_ASSETS_VERSION);
7
  wp_enqueue_style('pmxe-angular-scss', PMXE_ROOT_URL . '/frontend/dist/styles.css', array(), PMXE_VERSION.PMXE_ASSETS_VERSION);
8
 
views/admin/google/indexbck.php CHANGED
@@ -1,4 +1,7 @@
1
  <?php
 
 
 
2
  wp_enqueue_script('pmxe-angular-app', PMXE_ROOT_URL . '/frontend/dist/app.js', array('jquery'), PMXE_VERSION);
3
  wp_enqueue_style('pmxe-angular-scss', PMXE_ROOT_URL . '/frontend/dist/styles.css', array(), PMXE_VERSION);
4
 
1
  <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
  wp_enqueue_script('pmxe-angular-app', PMXE_ROOT_URL . '/frontend/dist/app.js', array('jquery'), PMXE_VERSION);
6
  wp_enqueue_style('pmxe-angular-scss', PMXE_ROOT_URL . '/frontend/dist/styles.css', array(), PMXE_VERSION);
7
 
views/admin/help/index.php CHANGED
@@ -1,6 +1,11 @@
 
 
 
 
 
1
  <div class="wrap">
2
 
3
- <h2><?php _e('WP All Export Support','wp_all_export_plugin');?></h2>
4
 
5
  <table class="layout">
6
  <tbody>
@@ -10,11 +15,11 @@
10
  <b>Support Form </b> - <a target="_blank" href="http://www.wpallimport.com/support/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=premium-support">http://www.wpallimport.com/support/</a>
11
  </p>
12
 
13
- <p style="font-size: 1.3em !important;"><?php _e('Thank you for using WP All Export.', 'wp_all_export_plugin');?></p>
14
 
15
- <p style="font-size: 1.3em !important;"><?php _e('While we do our best to provide technical support to users of the free version, we must prioritize requests from Pro users. If you need help with WP All Export please submit a ticket through the support form.', 'wp_all_export_plugin');?></p>
16
 
17
- <p style="font-size: 1.3em !important;"><a href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=help&utm_campaign=premium-support" target="_blank"><?php _e('Upgrade to the Pro edition of WP All Export for Premium Support', 'wp_all_export_plugin');?></a></p>
18
 
19
  </td>
20
  <td class="right">&nbsp;</td>
1
+ <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
+ ?>
6
  <div class="wrap">
7
 
8
+ <h2><?php esc_html_e('WP All Export Support','wp_all_export_plugin');?></h2>
9
 
10
  <table class="layout">
11
  <tbody>
15
  <b>Support Form </b> - <a target="_blank" href="http://www.wpallimport.com/support/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=premium-support">http://www.wpallimport.com/support/</a>
16
  </p>
17
 
18
+ <p style="font-size: 1.3em !important;"><?php esc_html_e('Thank you for using WP All Export.', 'wp_all_export_plugin');?></p>
19
 
20
+ <p style="font-size: 1.3em !important;"><?php esc_html_e('While we do our best to provide technical support to users of the free version, we must prioritize requests from Pro users. If you need help with WP All Export please submit a ticket through the support form.', 'wp_all_export_plugin');?></p>
21
 
22
+ <p style="font-size: 1.3em !important;"><a href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=help&utm_campaign=premium-support" target="_blank"><?php esc_html_e('Upgrade to the Pro edition of WP All Export for Premium Support', 'wp_all_export_plugin');?></a></p>
23
 
24
  </td>
25
  <td class="right">&nbsp;</td>
views/admin/manage/bulk.php CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  <h2>Bulk Delete Exports</h2>
2
 
3
  <form method="post">
@@ -7,7 +12,7 @@
7
  <input type="hidden" name="items[]" value="<?php echo esc_attr($id) ?>" />
8
  <?php endforeach ?>
9
 
10
- <p><?php printf(__('Are you sure you want to delete <strong>%s</strong> selected %s?', 'pmxe_plugin'), $items->count(), _n('export', 'exports', $items->count(), 'pmxe_plugin')) ?></p>
11
 
12
  <p class="submit">
13
  <?php wp_nonce_field('bulk-exports', '_wpnonce_bulk-exports') ?>
1
+ <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
+ ?>
6
  <h2>Bulk Delete Exports</h2>
7
 
8
  <form method="post">
12
  <input type="hidden" name="items[]" value="<?php echo esc_attr($id) ?>" />
13
  <?php endforeach ?>
14
 
15
+ <p><?php echo wp_kses_post(sprintf(__('Are you sure you want to delete <strong>%s</strong> selected %s?', 'pmxe_plugin'), intval($items->count()), _n('export', 'exports', intval($items->count()), 'pmxe_plugin'))) ?></p>
16
 
17
  <p class="submit">
18
  <?php wp_nonce_field('bulk-exports', '_wpnonce_bulk-exports') ?>
views/admin/manage/delete.php CHANGED
@@ -1,7 +1,12 @@
1
- <h2><?php _e('Delete Export', 'pmxe_plugin') ?></h2>
 
 
 
 
 
2
 
3
  <form method="post">
4
- <p><?php printf(__('Are you sure you want to delete <strong>%s</strong> export?', 'pmxe_plugin'), wp_all_export_clear_xss($item->friendly_name)); ?></p>
5
  <p class="submit">
6
  <?php wp_nonce_field('delete-export', '_wpnonce_delete-export') ?>
7
  <input type="hidden" name="is_confirmed" value="1" />
1
+ <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
+ ?>
6
+ <h2><?php esc_html_e('Delete Export', 'pmxe_plugin') ?></h2>
7
 
8
  <form method="post">
9
+ <p><?php echo wp_kses_post(sprintf(__('Are you sure you want to delete <strong>%s</strong> export?', 'pmxe_plugin'), wp_all_export_clear_xss(esc_html($item->friendly_name)))); ?></p>
10
  <p class="submit">
11
  <?php wp_nonce_field('delete-export', '_wpnonce_delete-export') ?>
12
  <input type="hidden" name="is_confirmed" value="1" />
views/admin/manage/index.php CHANGED
@@ -1,11 +1,14 @@
1
  <?php
 
 
 
2
  $addons = new \Wpae\App\Service\Addons\AddonService();
3
  ?>
4
 
5
  <div class="wpallexport-header" style="overflow:hidden; height: 70px; padding-top: 10px; margin-bottom: -15px;">
6
  <div class="wpallexport-logo"></div>
7
  <div class="wpallexport-title">
8
- <h3><?php _e('Manage Exports', 'wp_all_export_plugin'); ?></h3>
9
  </div>
10
  </div>
11
  <!-- TO DO: REMOVE THIS SNIPPET -->
@@ -45,10 +48,10 @@ $addons = new \Wpae\App\Service\Addons\AddonService();
45
  <form method="get">
46
  <input type="hidden" name="page" value="<?php echo esc_attr($this->input->get('page')) ?>"/>
47
  <p class="search-box">
48
- <label for="search-input" class="screen-reader-text"><?php _e('Search Exports', 'wp_all_export_plugin') ?>
49
  :</label>
50
  <input id="search-input" type="text" name="s" value="<?php echo esc_attr($s) ?>"/>
51
- <input type="submit" class="button" value="<?php _e('Search Exports', 'wp_all_export_plugin') ?>">
52
  </p>
53
  </form>
54
 
@@ -79,8 +82,8 @@ $columns = apply_filters('pmxe_manage_imports_columns', $columns);
79
  <div class="tablenav">
80
  <div class="alignleft actions">
81
  <select name="bulk-action">
82
- <option value="" selected="selected"><?php _e('Bulk Actions', 'wp_all_export_plugin') ?></option>
83
- <option value="delete"><?php _e('Delete', 'wp_all_export_plugin') ?></option>
84
  </select>
85
  <input type="submit" value="<?php esc_attr_e('Apply', 'wp_all_export_plugin') ?>" name="doaction"
86
  id="doaction" class="button-secondary action"/>
@@ -90,9 +93,9 @@ $columns = apply_filters('pmxe_manage_imports_columns', $columns);
90
  <div class="tablenav-pages">
91
  <?php echo $page_links_html = sprintf(
92
  '<span class="displaying-num">' . __('Displaying %s&#8211;%s of %s', 'wp_all_export_plugin') . '</span>%s',
93
- number_format_i18n(($pagenum - 1) * $perPage + 1),
94
- number_format_i18n(min($pagenum * $perPage, $list->total())),
95
- number_format_i18n($list->total()),
96
  $page_links
97
  ) ?>
98
  </div>
@@ -115,8 +118,8 @@ $columns = apply_filters('pmxe_manage_imports_columns', $columns);
115
  $order2 = ($order == 'DESC') ? 'ASC' : 'DESC';
116
 
117
  $column_link .= esc_url(add_query_arg(array('order' => $order2, 'order_by' => $column_id), $this->baseUrl));
118
- $column_link .= "'>{$column_display_name}</a>";
119
- $col_html .= '<th scope="col" class="column-' . $column_id . ' ' . ($order_by == $column_id ? $order : '') . '">' . $column_link . '</th>';
120
  }
121
  echo $col_html;
122
  ?>
@@ -127,13 +130,13 @@ $columns = apply_filters('pmxe_manage_imports_columns', $columns);
127
  <th class="manage-column column-cb check-column" scope="col">
128
  <input type="checkbox" />
129
  </th>
130
- <?php echo $col_html; ?>
131
  </tr>
132
  </tfoot>
133
  <tbody id="the-pmxi-admin-import-list" class="list:pmxe-admin-exports">
134
  <?php if ($list->isEmpty()): ?>
135
  <tr>
136
- <td colspan="<?php echo count($columns) + 1 ?>"><?php _e('No previous exports found.', 'wp_all_export_plugin') ?></td>
137
  </tr>
138
  <?php else: ?>
139
  <?php
@@ -142,9 +145,25 @@ $columns = apply_filters('pmxe_manage_imports_columns', $columns);
142
 
143
  $class = '';
144
  ?>
145
- <?php foreach ($list as $item):?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
146
  <?php $class = ('alternate' == $class) ? '' : 'alternate'; ?>
147
- <tr class="<?php echo $class; ?>" valign="middle">
148
  <th scope="row" class="check-column">
149
  <input type="checkbox" id="item_<?php echo $item['id'] ?>" name="items[]" value="<?php echo esc_attr($item['id']) ?>" />
150
  </th>
@@ -154,37 +173,37 @@ $columns = apply_filters('pmxe_manage_imports_columns', $columns);
154
  case 'id':
155
  ?>
156
  <th valign="top" scope="row">
157
- <?php echo $item['id'] ?>
158
  </th>
159
  <?php
160
  break;
161
  case 'name':
162
  ?>
163
  <td style="min-width: 325px;">
164
- <strong><?php echo wp_all_export_clear_xss($item['friendly_name']); ?></strong> <br>
165
  <div class="row-actions">
166
- <span class="edit"><a class="edit" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'template'), $this->baseUrl)) ?>"><?php _e('Edit Export', 'wp_all_export_plugin') ?></a></span> |
167
- <span class="edit"><a class="edit" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'options'), $this->baseUrl)) ?>"><?php _e('Export Settings', 'wp_all_export_plugin') ?></a></span> |
168
 
169
  <?php if ( ! $is_secure_import and $item['attch_id']): ?>
170
- <span class="update"><a class="update" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'get_file', '_wpnonce' => wp_create_nonce( '_wpnonce-download_feed' )), $this->baseUrl)) ?>"><?php echo strtoupper(wp_all_export_get_export_format($item['options'])); ?></a></span> |
171
  <?php if (! empty($item['options']['bundlepath']) and PMXE_Export_Record::is_bundle_supported($item['options'])):?>
172
- <span class="update"><a class="update" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'bundle', '_wpnonce' => wp_create_nonce( '_wpnonce-download_bundle' )), $this->baseUrl)) ?>"><?php _e('Bundle', 'wp_all_export_plugin'); ?></a></span> |
173
  <?php endif; ?>
174
  <?php endif; ?>
175
 
176
  <?php if ($is_secure_import and ! empty($item['options']['filepath'])): ?>
177
- <span class="update"><a class="update" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'get_file', '_wpnonce' => wp_create_nonce( '_wpnonce-download_feed' )), $this->baseUrl)) ?>"><?php echo strtoupper(wp_all_export_get_export_format($item['options'])); ?></a></span> |
178
  <?php if (! empty($item['options']['bundlepath']) and PMXE_Export_Record::is_bundle_supported($item['options'])):?>
179
- <span class="update"><a class="update" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'bundle', '_wpnonce' => wp_create_nonce( '_wpnonce-download_bundle' )), $this->baseUrl)) ?>"><?php _e('Bundle', 'wp_all_export_plugin'); ?></a></span> |
180
  <?php endif; ?>
181
  <?php endif; ?>
182
 
183
  <?php if ( ! empty($item['options']['split_large_exports']) and ! empty($item['options']['split_files_list']) ): ?>
184
- <span class="update"><a class="update" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'split_bundle', '_wpnonce' => wp_create_nonce( '_wpnonce-download_split_bundle' )), $this->baseUrl)) ?>"><?php printf(__('Split %ss', 'wp_all_export_plugin'), strtoupper(wp_all_export_get_export_format($item['options']))); ?></a></span> |
185
  <?php endif; ?>
186
 
187
- <span class="delete"><a class="delete" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'delete'), $this->baseUrl)) ?>"><?php _e('Delete', 'wp_all_export_plugin') ?></a></span>
188
  </div>
189
  </td>
190
  <?php
@@ -234,7 +253,7 @@ $columns = apply_filters('pmxe_manage_imports_columns', $columns);
234
  href="javascript:void(0);" class="open_cron_scheduling"
235
 
236
  <?php } ?>
237
- data-itemid="<?php echo $item['id']; ?>"><?php _e('Scheduling Options', 'wp_all_export_plugin'); ?></a>
238
  <br>
239
  <?php } ?>
240
  <?php
@@ -290,7 +309,7 @@ $columns = apply_filters('pmxe_manage_imports_columns', $columns);
290
  ?>
291
  <?php if ( $item['options']['export_to'] == 'csv' || ( empty($item['options']['xml_template_type']) || ! in_array($item['options']['xml_template_type'], array('custom', 'XmlGoogleMerchants'))) ): ?>
292
  <?php if ( wp_all_export_is_compatible() and !empty($item['options']['import_id']) and $is_re_import_allowed): ?>
293
- <a href="<?php echo add_query_arg(array('page' => 'pmxi-admin-import', 'id' => $item['options']['import_id'], 'deligate' => 'wpallexport'), remove_query_arg('page', $this->baseUrl)); ?>"><?php _e("Import with WP All Import", "wp_all_export_plugin"); ?></a><br/>
294
  <?php endif;?>
295
  <?php
296
  if ( !in_array($item['options']['wp_query_selector'], array('wp_comment_query')) and (empty($item['options']['cpt']) or ! in_array('comments', $item['options']['cpt']))) {
@@ -298,7 +317,7 @@ $columns = apply_filters('pmxe_manage_imports_columns', $columns);
298
  //$template->getByName($item['options']['template_name']);
299
  //if ( ! $template->isEmpty() ){
300
  ?>
301
- <a href="<?php echo add_query_arg(array('id' => $item['id'], 'action' => 'templates'), $this->baseUrl)?>"><?php _e('Download Import Templates', 'wp_all_export_plugin'); ?></a>
302
  <?php
303
  //}
304
  }
@@ -311,14 +330,30 @@ $columns = apply_filters('pmxe_manage_imports_columns', $columns);
311
  case 'data':
312
  ?>
313
  <td>
314
- <?php echo (!empty($item['options']['cpt'])) ? '<strong>' . __('Post Types: ') . '</strong> ' . implode(', ', $item['options']['cpt']) : $item['options']['wp_query']; ?>
315
- </td>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
316
  <?php
317
  break;
318
  case 'format':
319
  ?>
320
  <td>
321
- <strong><?php echo ($item['options']['export_to'] == 'csv' && ! empty($item['options']['export_to_sheet'])) ? $item['options']['export_to_sheet'] : $item['options']['export_to']; ?></strong>
322
  </td>
323
  <?php
324
  break;
@@ -328,7 +363,7 @@ $columns = apply_filters('pmxe_manage_imports_columns', $columns);
328
  <?php if ('0000-00-00 00:00:00' == $item['registered_on']): ?>
329
  <em>never</em>
330
  <?php else: ?>
331
- <?php echo mysql2date(__('Y/m/d g:i a', 'wp_all_export_plugin'), $item['registered_on']) ?>
332
  <?php endif ?>
333
  </td>
334
  <?php
@@ -345,7 +380,7 @@ $columns = apply_filters('pmxe_manage_imports_columns', $columns);
345
  <br>
346
  <span <?php if ($diff >= 10) echo 'style="color:red;"';?>>
347
  <?php
348
- printf(__('last activity %s ago', 'wp_all_export_plugin'), human_time_diff(strtotime($item['last_activity']), time()));
349
  ?>
350
  </span>
351
  <?php
@@ -353,14 +388,14 @@ $columns = apply_filters('pmxe_manage_imports_columns', $columns);
353
  }
354
  elseif ($item['processing']){
355
  _e('currently processing with cron', 'wp_all_export_plugin'); echo '<br/>';
356
- printf('Records Processed %s', $item['exported']);
357
  if ($item['last_activity'] != '0000-00-00 00:00:00'){
358
  $diff = ceil((time() - strtotime($item['last_activity']))/60);
359
  ?>
360
  <br>
361
  <span <?php if ($diff >= 10) echo 'style="color:red;"';?>>
362
  <?php
363
- printf(__('last activity %s ago', 'wp_all_export_plugin'), human_time_diff(strtotime($item['last_activity']), time()));
364
  ?>
365
  </span>
366
  <?php
@@ -374,27 +409,26 @@ $columns = apply_filters('pmxe_manage_imports_columns', $columns);
374
  <br>
375
  <span <?php if ($diff >= 10) echo 'style="color:red;"';?>>
376
  <?php
377
- printf(__('last activity %s ago', 'wp_all_export_plugin'), human_time_diff(strtotime($item['last_activity']), time()));
378
  ?>
379
  </span>
380
  <?php
381
  }
382
  }
383
  elseif($item['canceled'] and $item['canceled_on'] != '0000-00-00 00:00:00'){
384
- printf(__('Export Attempt at %s', 'wp_all_export_plugin'), get_date_from_gmt($item['canceled_on'], "m/d/Y g:i a")); echo '<br/>';
385
  _e('Export canceled', 'wp_all_export_plugin');
386
  }
387
  else {
388
- printf(__('Last run: %s', 'wp_all_export_plugin'), ($item['registered_on'] == '0000-00-00 00:00:00') ? __('never', 'wp_all_export_plugin') : get_date_from_gmt($item['registered_on'], "m/d/Y g:i a")); echo '<br/>';
389
- printf(__('%d Records Exported', 'wp_all_export_plugin'), $item['exported']); echo '<br/>';
390
  $export_to = ($item['options']['export_to'] == 'csv' && ! empty($item['options']['export_to_sheet'])) ? $item['options']['export_to_sheet'] : $item['options']['export_to'];
391
- printf(__('Format: %s', 'wp_all_export_plugin'), $export_to); echo '<br/>';
392
- //printf(__('%d records', 'wp_all_export_plugin'), $item['post_count']);
393
  }
394
 
395
  if ($item['settings_update_on'] != '0000-00-00 00:00:00' and $item['last_activity'] != '0000-00-00 00:00:00' and strtotime($item['settings_update_on']) > strtotime($item['last_activity'])){
396
  ?>
397
- <strong><?php _e('settings edited since last run', 'wp_all_export_plugin'); ?></strong>
398
  <?php
399
  }
400
 
@@ -406,12 +440,11 @@ $columns = apply_filters('pmxe_manage_imports_columns', $columns);
406
  ?>
407
  <td style="min-width: 130px;">
408
  <?php if ( ! $item['processing'] and ! $item['executing'] ): ?>
409
- <!--h2 style="float:left;"><a class="add-new-h2" href="<?php echo add_query_arg(array('id' => $item['id'], 'action' => 'edit'), $this->baseUrl); ?>"><?php _e('Edit', 'wp_all_export_plugin'); ?></a></h2-->
410
- <h2 style="float:left;"><a class="add-new-h2" href="<?php echo add_query_arg(array('id' => $item['id'], 'action' => 'update'), $this->baseUrl); ?>"><?php _e('Run Export', 'wp_all_export_plugin'); ?></a></h2>
411
  <?php elseif ($item['processing']) : ?>
412
- <h2 style="float:left;"><a class="add-new-h2" href="<?php echo add_query_arg(array('id' => $item['id'], 'action' => 'cancel'), $this->baseUrl); ?>"><?php _e('Cancel Cron', 'wp_all_export_plugin'); ?></a></h2>
413
  <?php elseif ($item['executing']) : ?>
414
- <h2 style="float:left;"><a class="add-new-h2" href="<?php echo add_query_arg(array('id' => $item['id'], 'action' => 'cancel'), $this->baseUrl); ?>"><?php _e('Cancel', 'wp_all_export_plugin'); ?></a></h2>
415
  <?php endif; ?>
416
  </td>
417
  <?php
@@ -437,12 +470,12 @@ $columns = apply_filters('pmxe_manage_imports_columns', $columns);
437
 
438
  <div class="alignleft actions">
439
  <select name="bulk-action2">
440
- <option value="" selected="selected"><?php _e('Bulk Actions', 'wp_all_export_plugin') ?></option>
441
  <?php if ( empty($type) or 'trash' != $type): ?>
442
- <option value="delete"><?php _e('Delete', 'wp_all_export_plugin') ?></option>
443
  <?php else: ?>
444
- <option value="restore"><?php _e('Restore', 'wp_all_export_plugin')?></option>
445
- <option value="delete"><?php _e('Delete Permanently', 'wp_all_export_plugin')?></option>
446
  <?php endif ?>
447
  </select>
448
  <input type="submit" value="<?php esc_attr_e('Apply', 'wp_all_export_plugin') ?>" name="doaction2" id="doaction2" class="button-secondary action" />
@@ -450,7 +483,7 @@ $columns = apply_filters('pmxe_manage_imports_columns', $columns);
450
  </div>
451
  <div class="clear"></div>
452
 
453
- <a href="http://soflyy.com/" target="_blank" class="wpallexport-created-by"><?php _e('Created by', 'wp_all_export_plugin'); ?> <span></span></a>
454
 
455
  </form>
456
  <div class="wpallexport-overlay"></div>
@@ -464,7 +497,7 @@ $columns = apply_filters('pmxe_manage_imports_columns', $columns);
464
  <fieldset class="optionsset column rad4 wp-all-export-scheduling-help">
465
 
466
  <div class="title">
467
- <span style="font-size:1.5em;" class="wpallexport-add-row-title"><?php _e('Automatic Scheduling', 'wp_all_export_plugin'); ?></span>
468
  </div>
469
 
470
  <?php
1
  <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
  $addons = new \Wpae\App\Service\Addons\AddonService();
6
  ?>
7
 
8
  <div class="wpallexport-header" style="overflow:hidden; height: 70px; padding-top: 10px; margin-bottom: -15px;">
9
  <div class="wpallexport-logo"></div>
10
  <div class="wpallexport-title">
11
+ <h3><?php esc_html_e('Manage Exports', 'wp_all_export_plugin'); ?></h3>
12
  </div>
13
  </div>
14
  <!-- TO DO: REMOVE THIS SNIPPET -->
48
  <form method="get">
49
  <input type="hidden" name="page" value="<?php echo esc_attr($this->input->get('page')) ?>"/>
50
  <p class="search-box">
51
+ <label for="search-input" class="screen-reader-text"><?php esc_html_e('Search Exports', 'wp_all_export_plugin') ?>
52
  :</label>
53
  <input id="search-input" type="text" name="s" value="<?php echo esc_attr($s) ?>"/>
54
+ <input type="submit" class="button" value="<?php esc_html_e('Search Exports', 'wp_all_export_plugin') ?>">
55
  </p>
56
  </form>
57
 
82
  <div class="tablenav">
83
  <div class="alignleft actions">
84
  <select name="bulk-action">
85
+ <option value="" selected="selected"><?php esc_html_e('Bulk Actions', 'wp_all_export_plugin') ?></option>
86
+ <option value="delete"><?php esc_html_e('Delete', 'wp_all_export_plugin') ?></option>
87
  </select>
88
  <input type="submit" value="<?php esc_attr_e('Apply', 'wp_all_export_plugin') ?>" name="doaction"
89
  id="doaction" class="button-secondary action"/>
93
  <div class="tablenav-pages">
94
  <?php echo $page_links_html = sprintf(
95
  '<span class="displaying-num">' . __('Displaying %s&#8211;%s of %s', 'wp_all_export_plugin') . '</span>%s',
96
+ number_format_i18n((intval($pagenum) - 1) * intval($perPage) + 1),
97
+ number_format_i18n(min(intval($pagenum) * $perPage, intval($list->total()))),
98
+ number_format_i18n(intval($list->total())),
99
  $page_links
100
  ) ?>
101
  </div>
118
  $order2 = ($order == 'DESC') ? 'ASC' : 'DESC';
119
 
120
  $column_link .= esc_url(add_query_arg(array('order' => $order2, 'order_by' => $column_id), $this->baseUrl));
121
+ $column_link .= "'>" . esc_html($column_display_name) . "</a>";
122
+ $col_html .= '<th scope="col" class="column-' . esc_attr($column_id) . ' ' . ($order_by == $column_id ? esc_attr($order) : '') . '">' . $column_link . '</th>';
123
  }
124
  echo $col_html;
125
  ?>
130
  <th class="manage-column column-cb check-column" scope="col">
131
  <input type="checkbox" />
132
  </th>
133
+ <?php echo wp_kses_post($col_html); ?>
134
  </tr>
135
  </tfoot>
136
  <tbody id="the-pmxi-admin-import-list" class="list:pmxe-admin-exports">
137
  <?php if ($list->isEmpty()): ?>
138
  <tr>
139
+ <td colspan="<?php echo count($columns) + 1 ?>"><?php esc_html_e('No previous exports found.', 'wp_all_export_plugin') ?></td>
140
  </tr>
141
  <?php else: ?>
142
  <?php
145
 
146
  $class = '';
147
  ?>
148
+ <?php foreach ($list as $item):
149
+
150
+ if ( is_array($item['options']['cpt']) && isset($item['options']['cpt'][0]) ) {
151
+ $cpt = $item['options']['cpt'][0];
152
+ } else if ( !empty($item['options']['cpt']) ) {
153
+ $cpt = $item['options']['cpt'];
154
+ } else {
155
+ $cpt = '';
156
+ }
157
+
158
+
159
+ $is_rapid_addon_export = true;
160
+
161
+ if (strpos($cpt, 'custom_') !== 0) {
162
+ $is_rapid_addon_export = false;
163
+ }
164
+ ?>
165
  <?php $class = ('alternate' == $class) ? '' : 'alternate'; ?>
166
+ <tr class="<?php echo esc_attr($class); ?>" valign="middle">
167
  <th scope="row" class="check-column">
168
  <input type="checkbox" id="item_<?php echo $item['id'] ?>" name="items[]" value="<?php echo esc_attr($item['id']) ?>" />
169
  </th>
173
  case 'id':
174
  ?>
175
  <th valign="top" scope="row">
176
+ <?php echo esc_html($item['id']); ?>
177
  </th>
178
  <?php
179
  break;
180
  case 'name':
181
  ?>
182
  <td style="min-width: 325px;">
183
+ <strong><?php echo wp_all_export_clear_xss(esc_html($item['friendly_name'])); ?></strong> <br>
184
  <div class="row-actions">
185
+ <span class="edit"><a class="edit" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'template'), $this->baseUrl)) ?>"><?php esc_html_e('Edit Export', 'wp_all_export_plugin') ?></a></span> |
186
+ <span class="edit"><a class="edit" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'options'), $this->baseUrl)) ?>"><?php esc_html_e('Export Settings', 'wp_all_export_plugin') ?></a></span> |
187
 
188
  <?php if ( ! $is_secure_import and $item['attch_id']): ?>
189
+ <span class="update"><a class="update" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'get_file', '_wpnonce' => wp_create_nonce( '_wpnonce-download_feed' )), $this->baseUrl)) ?>"><?php echo esc_html(strtoupper(wp_all_export_get_export_format($item['options']))); ?></a></span> |
190
  <?php if (! empty($item['options']['bundlepath']) and PMXE_Export_Record::is_bundle_supported($item['options'])):?>
191
+ <span class="update"><a class="update" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'bundle', '_wpnonce' => wp_create_nonce( '_wpnonce-download_bundle' )), $this->baseUrl)) ?>"><?php esc_html_e('Bundle', 'wp_all_export_plugin'); ?></a></span> |
192
  <?php endif; ?>
193
  <?php endif; ?>
194
 
195
  <?php if ($is_secure_import and ! empty($item['options']['filepath'])): ?>
196
+ <span class="update"><a class="update" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'get_file', '_wpnonce' => wp_create_nonce( '_wpnonce-download_feed' )), $this->baseUrl)) ?>"><?php echo esc_html(strtoupper(wp_all_export_get_export_format($item['options']))); ?></a></span> |
197
  <?php if (! empty($item['options']['bundlepath']) and PMXE_Export_Record::is_bundle_supported($item['options'])):?>
198
+ <span class="update"><a class="update" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'bundle', '_wpnonce' => wp_create_nonce( '_wpnonce-download_bundle' )), $this->baseUrl)) ?>"><?php esc_html_e('Bundle', 'wp_all_export_plugin'); ?></a></span> |
199
  <?php endif; ?>
200
  <?php endif; ?>
201
 
202
  <?php if ( ! empty($item['options']['split_large_exports']) and ! empty($item['options']['split_files_list']) ): ?>
203
+ <span class="update"><a class="update" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'split_bundle', '_wpnonce' => wp_create_nonce( '_wpnonce-download_split_bundle' )), $this->baseUrl)) ?>"><?php printf(esc_html__('Split %ss', 'wp_all_export_plugin'), strtoupper(wp_all_export_get_export_format($item['options']))); ?></a></span> |
204
  <?php endif; ?>
205
 
206
+ <span class="delete"><a class="delete" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'delete'), $this->baseUrl)) ?>"><?php esc_html_e('Delete', 'wp_all_export_plugin') ?></a></span>
207
  </div>
208
  </td>
209
  <?php
253
  href="javascript:void(0);" class="open_cron_scheduling"
254
 
255
  <?php } ?>
256
+ data-itemid="<?php echo esc_attr($item['id']); ?>"><?php esc_html_e('Scheduling Options', 'wp_all_export_plugin'); ?></a>
257
  <br>
258
  <?php } ?>
259
  <?php
309
  ?>
310
  <?php if ( $item['options']['export_to'] == 'csv' || ( empty($item['options']['xml_template_type']) || ! in_array($item['options']['xml_template_type'], array('custom', 'XmlGoogleMerchants'))) ): ?>
311
  <?php if ( wp_all_export_is_compatible() and !empty($item['options']['import_id']) and $is_re_import_allowed): ?>
312
+ <a href="<?php echo esc_url(add_query_arg(array('page' => 'pmxi-admin-import', 'id' => $item['options']['import_id'], 'deligate' => 'wpallexport'), remove_query_arg('page', $this->baseUrl))); ?>"><?php esc_html_e("Import with WP All Import", "wp_all_export_plugin"); ?></a><br/>
313
  <?php endif;?>
314
  <?php
315
  if ( !in_array($item['options']['wp_query_selector'], array('wp_comment_query')) and (empty($item['options']['cpt']) or ! in_array('comments', $item['options']['cpt']))) {
317
  //$template->getByName($item['options']['template_name']);
318
  //if ( ! $template->isEmpty() ){
319
  ?>
320
+ <a href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'templates'), $this->baseUrl)); ?>"><?php esc_html_e('Download Import Templates', 'wp_all_export_plugin'); ?></a>
321
  <?php
322
  //}
323
  }
330
  case 'data':
331
  ?>
332
  <td>
333
+
334
+ <?php
335
+ if (!empty($item['options']['cpt'])) {
336
+
337
+ echo '<strong>' . __('Post Types: ') . '</strong> <br/>';
338
+
339
+ if($is_rapid_addon_export) {
340
+ $form = GFAPI::get_form($item['options']['sub_post_type_to_export']);
341
+ echo 'Gravity Form Entries:<br/>';
342
+ echo esc_html($form['title']);
343
+ } else {
344
+ echo esc_html(implode(', ', $item['options']['cpt']));
345
+ }
346
+ }
347
+ else {
348
+ echo esc_html($item['options']['wp_query']);
349
+ }?>
350
+ </td>
351
  <?php
352
  break;
353
  case 'format':
354
  ?>
355
  <td>
356
+ <strong><?php echo ($item['options']['export_to'] == 'csv' && ! empty($item['options']['export_to_sheet'])) ? esc_html($item['options']['export_to_sheet']) : esc_html($item['options']['export_to']); ?></strong>
357
  </td>
358
  <?php
359
  break;
363
  <?php if ('0000-00-00 00:00:00' == $item['registered_on']): ?>
364
  <em>never</em>
365
  <?php else: ?>
366
+ <?php echo esc_html(mysql2date(__('Y/m/d g:i a', 'wp_all_export_plugin'), $item['registered_on'])); ?>
367
  <?php endif ?>
368
  </td>
369
  <?php
380
  <br>
381
  <span <?php if ($diff >= 10) echo 'style="color:red;"';?>>
382
  <?php
383
+ printf(esc_html__('last activity %s ago', 'wp_all_export_plugin'), human_time_diff(strtotime($item['last_activity']), time()));
384
  ?>
385
  </span>
386
  <?php
388
  }
389
  elseif ($item['processing']){
390
  _e('currently processing with cron', 'wp_all_export_plugin'); echo '<br/>';
391
+ printf('Records Processed %s', intval($item['exported']));
392
  if ($item['last_activity'] != '0000-00-00 00:00:00'){
393
  $diff = ceil((time() - strtotime($item['last_activity']))/60);
394
  ?>
395
  <br>
396
  <span <?php if ($diff >= 10) echo 'style="color:red;"';?>>
397
  <?php
398
+ printf(esc_html__('last activity %s ago', 'wp_all_export_plugin'), human_time_diff(strtotime($item['last_activity']), time()));
399
  ?>
400
  </span>
401
  <?php
409
  <br>
410
  <span <?php if ($diff >= 10) echo 'style="color:red;"';?>>
411
  <?php
412
+ printf(esc_html__('last activity %s ago', 'wp_all_export_plugin'), human_time_diff(strtotime($item['last_activity']), time()));
413
  ?>
414
  </span>
415
  <?php
416
  }
417
  }
418
  elseif($item['canceled'] and $item['canceled_on'] != '0000-00-00 00:00:00'){
419
+ printf(esc_html__('Export Attempt at %s', 'wp_all_export_plugin'), get_date_from_gmt($item['canceled_on'], "m/d/Y g:i a")); echo '<br/>';
420
  _e('Export canceled', 'wp_all_export_plugin');
421
  }
422
  else {
423
+ printf(esc_html__('Last run: %s', 'wp_all_export_plugin'), ($item['registered_on'] == '0000-00-00 00:00:00') ? __('never', 'wp_all_export_plugin') : get_date_from_gmt($item['registered_on'], "m/d/Y g:i a")); echo '<br/>';
424
+ printf(esc_html__('%d Records Exported', 'wp_all_export_plugin'), $item['exported']); echo '<br/>';
425
  $export_to = ($item['options']['export_to'] == 'csv' && ! empty($item['options']['export_to_sheet'])) ? $item['options']['export_to_sheet'] : $item['options']['export_to'];
426
+ printf(esc_html__('Format: %s', 'wp_all_export_plugin'), esc_html($export_to)); echo '<br/>';
 
427
  }
428
 
429
  if ($item['settings_update_on'] != '0000-00-00 00:00:00' and $item['last_activity'] != '0000-00-00 00:00:00' and strtotime($item['settings_update_on']) > strtotime($item['last_activity'])){
430
  ?>
431
+ <strong><?php esc_html_e('settings edited since last run', 'wp_all_export_plugin'); ?></strong>
432
  <?php
433
  }
434
 
440
  ?>
441
  <td style="min-width: 130px;">
442
  <?php if ( ! $item['processing'] and ! $item['executing'] ): ?>
443
+ <h2 style="float:left;"><a class="add-new-h2" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'update'), $this->baseUrl)); ?>"><?php esc_html_e('Run Export', 'wp_all_export_plugin'); ?></a></h2>
 
444
  <?php elseif ($item['processing']) : ?>
445
+ <h2 style="float:left;"><a class="add-new-h2" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'cancel'), $this->baseUrl)); ?>"><?php esc_html_e('Cancel Cron', 'wp_all_export_plugin'); ?></a></h2>
446
  <?php elseif ($item['executing']) : ?>
447
+ <h2 style="float:left;"><a class="add-new-h2" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'cancel'), $this->baseUrl)); ?>"><?php esc_html_e('Cancel', 'wp_all_export_plugin'); ?></a></h2>
448
  <?php endif; ?>
449
  </td>
450
  <?php
470
 
471
  <div class="alignleft actions">
472
  <select name="bulk-action2">
473
+ <option value="" selected="selected"><?php esc_html_e('Bulk Actions', 'wp_all_export_plugin') ?></option>
474
  <?php if ( empty($type) or 'trash' != $type): ?>
475
+ <option value="delete"><?php esc_html_e('Delete', 'wp_all_export_plugin') ?></option>
476
  <?php else: ?>
477
+ <option value="restore"><?php esc_html_e('Restore', 'wp_all_export_plugin')?></option>
478
+ <option value="delete"><?php esc_html_e('Delete Permanently', 'wp_all_export_plugin')?></option>
479
  <?php endif ?>
480
  </select>
481
  <input type="submit" value="<?php esc_attr_e('Apply', 'wp_all_export_plugin') ?>" name="doaction2" id="doaction2" class="button-secondary action" />
483
  </div>
484
  <div class="clear"></div>
485
 
486
+ <a href="http://soflyy.com/" target="_blank" class="wpallexport-created-by"><?php esc_html_e('Created by', 'wp_all_export_plugin'); ?> <span></span></a>
487
 
488
  </form>
489
  <div class="wpallexport-overlay"></div>
497
  <fieldset class="optionsset column rad4 wp-all-export-scheduling-help">
498
 
499
  <div class="title">
500
+ <span style="font-size:1.5em;" class="wpallexport-add-row-title"><?php esc_html_e('Automatic Scheduling', 'wp_all_export_plugin'); ?></span>
501
  </div>
502
 
503
  <?php
views/admin/manage/scheduling.php CHANGED
@@ -1,57 +1,62 @@
 
 
 
 
 
1
  <h2>
2
  <?php _e('Cron Scheduling', 'wp_all_export_plugin') ?>
3
  </h2>
4
 
5
  <p>
6
- <?php _e('To schedule an export, you must create two cron jobs in your web hosting control panel. One cron job will be used to run the Trigger script, the other to run the Execution script.', 'wp_all_export_plugin'); ?>
7
  </p>
8
 
9
  <p>
10
- <?php _e('Trigger Script URL', 'wp_all_export_plugin');?><br />
11
- <small><?php _e('Run the trigger script when you want to update your export. Once per 24 hours is recommended.', 'wp_all_export_plugin'); ?></small><br />
12
- <input style='width: 700px;' type='text' value='<?php echo site_url() . '/wp-load.php?export_key=' . $cron_job_key . '&export_id=' . $id . '&action=trigger'; ?>' />
13
  <br /><br />
14
- <?php _e('Execution Script URL', 'wp_all_export_plugin');?><br />
15
- <small><?php _e('Run the execution script frequently. Once per two minutes is recommended.','wp_all_export_plugin');?></small><br />
16
- <input style='width: 700px;' type='text' value='<?php echo site_url() . '/wp-load.php?export_key=' . $cron_job_key . '&export_id=' . $id . '&action=processing'; ?>' /><br /><br />
17
- <?php _e('Export File URL', 'wp_all_export_plugin'); ?><br />
18
- <input style='width: 700px;' type='text' value='<?php echo $file_path; ?>' /><br /><br />
19
  <?php if (! empty($bundle_url)): ?>
20
- <?php _e('Export Bundle URL', 'wp_all_export_plugin'); ?><br />
21
- <input style='width: 700px;' type='text' value='<?php echo $bundle_url; ?>' /><br /><br />
22
  <?php endif; ?>
23
  </p>
24
 
25
- <p><strong><?php _e('Trigger Script', 'wp_all_export_plugin'); ?></strong></p>
26
 
27
- <p><?php _e('Every time you want to schedule the export, run the trigger script.', 'wp_all_export_plugin'); ?></p>
28
 
29
- <p><?php _e('To schedule the export to run once every 24 hours, run the trigger script every 24 hours. Most hosts require you to use “wget” to access a URL. Ask your host for details.', 'wp_all_export_plugin'); ?></p>
30
 
31
- <p><i><?php _e('Example:', 'wp_all_export_plugin'); ?></i></p>
32
 
33
- <p>wget -q -O /dev/null "<?php echo site_url() . '/wp-load.php?export_key=' . $cron_job_key . '&export_id=' . $id . '&action=trigger'; ?>"</p>
34
 
35
- <p><strong><?php _e('Execution Script', 'wp_all_export_plugin'); ?></strong></p>
36
 
37
- <p><?php _e('The Execution script actually executes the export, once it has been triggered with the Trigger script.', 'wp_all_export_plugin'); ?></p>
38
 
39
- <p><?php _e('It processes in iteration (only exporting a few records each time it runs) to optimize server load. It is recommended you run the execution script every 2 minutes.', 'wp_all_export_plugin'); ?></p>
40
 
41
- <p><?php _e('It also operates this way in case of unexpected crashes by your web host. If it crashes before the export is finished, the next run of the cron job two minutes later will continue it where it left off, ensuring reliability.', 'wp_all_export_plugin'); ?></p>
42
 
43
- <p><i><?php _e('Example:', 'wp_all_export_plugin'); ?></i></p>
44
 
45
- <p>wget -q -O /dev/null "<?php echo site_url() . '/wp-load.php?export_key=' . $cron_job_key . '&export_id=' . $id . '&action=processing'; ?>"</p>
46
 
47
- <p><strong><?php _e('Notes', 'wp_all_export_plugin'); ?></strong></p>
48
 
49
  <p>
50
- <?php _e('Your web host may require you to use a command other than wget, although wget is most common. In this case, you must asking your web hosting provider for help.', 'wp_all_export_plugin'); ?>
51
  </p>
52
 
53
  <p>
54
  See the <a href='http://www.wpallimport.com/documentation/recurring/cron/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=manual-scheduling'>documentation</a> for more details.
55
  </p>
56
 
57
- <a href="http://soflyy.com/" target="_blank" class="wpallexport-created-by"><?php _e('Created by', 'wp_all_export_plugin'); ?> <span></span></a>
1
+ <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
+ ?>
6
  <h2>
7
  <?php _e('Cron Scheduling', 'wp_all_export_plugin') ?>
8
  </h2>
9
 
10
  <p>
11
+ <?php esc_html_e('To schedule an export, you must create two cron jobs in your web hosting control panel. One cron job will be used to run the Trigger script, the other to run the Execution script.', 'wp_all_export_plugin'); ?>
12
  </p>
13
 
14
  <p>
15
+ <?php esc_html_e('Trigger Script URL', 'wp_all_export_plugin');?><br />
16
+ <small><?php esc_html_e('Run the trigger script when you want to update your export. Once per 24 hours is recommended.', 'wp_all_export_plugin'); ?></small><br />
17
+ <input style='width: 700px;' type='text' value='<?php echo esc_attr(site_url() . '/wp-load.php?export_key=' . $cron_job_key . '&export_id=' . $id . '&action=trigger'); ?>' />
18
  <br /><br />
19
+ <?php esc_html_e('Execution Script URL', 'wp_all_export_plugin');?><br />
20
+ <small><?php esc_html_e('Run the execution script frequently. Once per two minutes is recommended.','wp_all_export_plugin');?></small><br />
21
+ <input style='width: 700px;' type='text' value='<?php echo esc_attr(site_url() . '/wp-load.php?export_key=' . $cron_job_key . '&export_id=' . $id . '&action=processing'); ?>' /><br /><br />
22
+ <?php esc_html_e('Export File URL', 'wp_all_export_plugin'); ?><br />
23
+ <input style='width: 700px;' type='text' value='<?php echo esc_attr($file_path); ?>' /><br /><br />
24
  <?php if (! empty($bundle_url)): ?>
25
+ <?php esc_html_e('Export Bundle URL', 'wp_all_export_plugin'); ?><br />
26
+ <input style='width: 700px;' type='text' value='<?php echo esc_attr($bundle_url); ?>' /><br /><br />
27
  <?php endif; ?>
28
  </p>
29
 
30
+ <p><strong><?php esc_html_e('Trigger Script', 'wp_all_export_plugin'); ?></strong></p>
31
 
32
+ <p><?php esc_html_e('Every time you want to schedule the export, run the trigger script.', 'wp_all_export_plugin'); ?></p>
33
 
34
+ <p><?php esc_html_e('To schedule the export to run once every 24 hours, run the trigger script every 24 hours. Most hosts require you to use “wget” to access a URL. Ask your host for details.', 'wp_all_export_plugin'); ?></p>
35
 
36
+ <p><i><?php esc_html_e('Example:', 'wp_all_export_plugin'); ?></i></p>
37
 
38
+ <p>wget -q -O /dev/null "<?php echo esc_url(site_url() . '/wp-load.php?export_key=' . $cron_job_key . '&export_id=' . $id . '&action=trigger'); ?>"</p>
39
 
40
+ <p><strong><?php esc_html_e('Execution Script', 'wp_all_export_plugin'); ?></strong></p>
41
 
42
+ <p><?php esc_html_e('The Execution script actually executes the export, once it has been triggered with the Trigger script.', 'wp_all_export_plugin'); ?></p>
43
 
44
+ <p><?php esc_html_e('It processes in iteration (only exporting a few records each time it runs) to optimize server load. It is recommended you run the execution script every 2 minutes.', 'wp_all_export_plugin'); ?></p>
45
 
46
+ <p><?php esc_html_e('It also operates this way in case of unexpected crashes by your web host. If it crashes before the export is finished, the next run of the cron job two minutes later will continue it where it left off, ensuring reliability.', 'wp_all_export_plugin'); ?></p>
47
 
48
+ <p><i><?php esc_html_e('Example:', 'wp_all_export_plugin'); ?></i></p>
49
 
50
+ <p>wget -q -O /dev/null "<?php echo esc_url(site_url() . '/wp-load.php?export_key=' . $cron_job_key . '&export_id=' . $id . '&action=processing'); ?>"</p>
51
 
52
+ <p><strong><?php esc_html_e('Notes', 'wp_all_export_plugin'); ?></strong></p>
53
 
54
  <p>
55
+ <?php esc_html_e('Your web host may require you to use a command other than wget, although wget is most common. In this case, you must asking your web hosting provider for help.', 'wp_all_export_plugin'); ?>
56
  </p>
57
 
58
  <p>
59
  See the <a href='http://www.wpallimport.com/documentation/recurring/cron/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=manual-scheduling'>documentation</a> for more details.
60
  </p>
61
 
62
+ <a href="http://soflyy.com/" target="_blank" class="wpallexport-created-by"><?php esc_html_e('Created by', 'wp_all_export_plugin'); ?> <span></span></a>
views/admin/manage/templates.php CHANGED
@@ -1,10 +1,15 @@
 
 
 
 
 
1
  <div class="wrap download-import-templates">
2
- <h2><?php _e('Download Import Templates', 'wp_all_export_plugin') ?></h2>
3
- <p class="description"><?php _e('Download your import templates and use them to import your exported file to a separate WordPress/WP All Import installation.', 'wp_all_export_plugin'); ?></p>
4
- <p class="description"><?php _e('Install these import templates in your separate WP All Import installation from the <i>All Import › Settings</i> page by clicking the "Import Templates" button.', 'wp_all_export_plugin'); ?></p>
5
  <p class="submit-buttons">
6
  <a class="button-primary" href='<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'get_template', '_wpnonce' => wp_create_nonce( '_wpnonce-download_template' )), $this->baseUrl));?>'>Download</a>
7
  </p>
8
  <img src="<?php echo PMXE_ROOT_URL; ?>/static/img/import-templates.png" width="400px" style="border: 1px solid #aaa;">
9
- <a href="http://soflyy.com/" target="_blank" class="wpallexport-created-by"><?php _e('Created by', 'wp_all_export_plugin'); ?> <span></span></a>
10
  </div>
1
+ <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
+ ?>
6
  <div class="wrap download-import-templates">
7
+ <h2><?php esc_html_e('Download Import Templates', 'wp_all_export_plugin') ?></h2>
8
+ <p class="description"><?php esc_html_e('Download your import templates and use them to import your exported file to a separate WordPress/WP All Import installation.', 'wp_all_export_plugin'); ?></p>
9
+ <p class="description"><?php esc_html_e('Install these import templates in your separate WP All Import installation from the <i>All Import › Settings</i> page by clicking the "Import Templates" button.', 'wp_all_export_plugin'); ?></p>
10
  <p class="submit-buttons">
11
  <a class="button-primary" href='<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'get_template', '_wpnonce' => wp_create_nonce( '_wpnonce-download_template' )), $this->baseUrl));?>'>Download</a>
12
  </p>
13
  <img src="<?php echo PMXE_ROOT_URL; ?>/static/img/import-templates.png" width="400px" style="border: 1px solid #aaa;">
14
+ <a href="http://soflyy.com/" target="_blank" class="wpallexport-created-by"><?php esc_html_e('Created by', 'wp_all_export_plugin'); ?> <span></span></a>
15
  </div>
views/admin/manage/update.php CHANGED
@@ -1,4 +1,7 @@
1
  <?php
 
 
 
2
  $l10n = array(
3
  'confirm_and_run' => __('Confirm & Run Export', 'wp_all_export_plugin'),
4
  'save_configuration' => __('Save Export Configuration', 'wp_all_export_plugin')
@@ -18,10 +21,10 @@ $l10n = array(
18
  <div class="wpallexport-header">
19
  <div class="wpallexport-logo"></div>
20
  <div class="wpallexport-title">
21
- <h2><?php _e('Confirm & Run', 'wp_all_export_plugin'); ?></h2>
22
  </div>
23
  <div class="wpallexport-links">
24
- <a href="http://www.wpallimport.com/support/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=premium-support" target="_blank"><?php _e('Support', 'wp_all_export_plugin'); ?></a> | <a href="http://www.wpallimport.com/documentation/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=docs" target="_blank"><?php _e('Documentation', 'wp_all_export_plugin'); ?></a>
25
  </div>
26
  </div>
27
  <div class="clear"></div>
@@ -53,7 +56,7 @@ $l10n = array(
53
  <input type="hidden" name="record-count" class="wpae-record-count" value="0" />
54
 
55
 
56
- <input type="submit" class="rad10 wp_all_export_confirm_and_run" value="<?php _e('Confirm & Run Export', 'wp_all_export_plugin') ?>" <?php if (empty(PMXE_Plugin::$session->found_posts)):?>style="display:none;"<?php endif;?>/>
57
  </form>
58
 
59
  </div>
@@ -77,14 +80,15 @@ $l10n = array(
77
  }
78
  ?>
79
 
80
- <input type="hidden" name="selected_post_type" value="<?php echo $selected_post_type; ?>"/>
81
- <input type="hidden" name="export_type" value="<?php echo $post['export_type']; ?>"/>
82
- <input type="hidden" name="taxonomy_to_export" value="<?php echo $post['taxonomy_to_export'];?>">
83
- <input type="hidden" name="wpml_lang" value="<?php echo $post['wpml_lang'];?>" />
84
  <input type="hidden" id="export_variations" name="export_variations" value="<?php echo XmlExportEngine::getProductVariationMode();?>" />
85
  <input type="hidden" name="record-count" class="wpae-record-count" value="0" />
 
86
 
87
- <?php XmlExportFiltering::render_filtering_block( $engine, $isWizard, $post ); ?>
88
 
89
  <?php include_once PMXE_ROOT_DIR . '/views/admin/export/options/settings.php'; ?>
90
 
@@ -92,18 +96,18 @@ $l10n = array(
92
  <?php wp_nonce_field('update-export', '_wpnonce_update-export') ?>
93
  <input type="hidden" name="is_confirmed" value="1" />
94
 
95
- <a href="<?php echo apply_filters('pmxi_options_back_link', add_query_arg('id', $item->id, add_query_arg('action', 'template', $this->baseUrl)), $isWizard); ?>" class="back rad3"><?php _e('Edit Template', 'wp_all_export_plugin') ?></a>
96
  <?php if (empty(PMXE_Plugin::$session->found_posts)):?>
97
- <input type="submit" class="button button-primary button-hero wpallexport-large-button confirm_and_run_bottom" value="<?php _e('Save Export Configuration', 'wp_all_export_plugin') ?>" />
98
  <?php else:?>
99
- <input type="submit" class="button button-primary button-hero wpallexport-large-button confirm_and_run_bottom" value="<?php _e('Confirm & Run Export', 'wp_all_export_plugin') ?>" />
100
  <?php endif;?>
101
  </p>
102
 
103
 
104
  </form>
105
 
106
- <a href="http://soflyy.com/" target="_blank" class="wpallexport-created-by"><?php _e('Created by', 'wp_all_export_plugin'); ?> <span></span></a>
107
 
108
  </td>
109
  </tr>
1
  <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
  $l10n = array(
6
  'confirm_and_run' => __('Confirm & Run Export', 'wp_all_export_plugin'),
7
  'save_configuration' => __('Save Export Configuration', 'wp_all_export_plugin')
21
  <div class="wpallexport-header">
22
  <div class="wpallexport-logo"></div>
23
  <div class="wpallexport-title">
24
+ <h2><?php esc_html_e('Confirm & Run', 'wp_all_export_plugin'); ?></h2>
25
  </div>
26
  <div class="wpallexport-links">
27
+ <a href="http://www.wpallimport.com/support/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=premium-support" target="_blank"><?php esc_html_e('Support', 'wp_all_export_plugin'); ?></a> | <a href="http://www.wpallimport.com/documentation/?utm_source=export-plugin-free&utm_medium=help&utm_campaign=docs" target="_blank"><?php esc_html_e('Documentation', 'wp_all_export_plugin'); ?></a>
28
  </div>
29
  </div>
30
  <div class="clear"></div>
56
  <input type="hidden" name="record-count" class="wpae-record-count" value="0" />
57
 
58
 
59
+ <input type="submit" class="rad10 wp_all_export_confirm_and_run" value="<?php esc_html_e('Confirm & Run Export', 'wp_all_export_plugin') ?>" <?php if (empty(PMXE_Plugin::$session->found_posts)):?>style="display:none;"<?php endif;?>/>
60
  </form>
61
 
62
  </div>
80
  }
81
  ?>
82
 
83
+ <input type="hidden" name="selected_post_type" value="<?php echo esc_attr($selected_post_type); ?>"/>
84
+ <input type="hidden" name="export_type" value="<?php echo esc_attr($post['export_type']); ?>"/>
85
+ <input type="hidden" name="taxonomy_to_export" value="<?php echo esc_attr($post['taxonomy_to_export']);?>">
86
+ <input type="hidden" name="wpml_lang" value="<?php echo esc_attr($post['wpml_lang']);?>" />
87
  <input type="hidden" id="export_variations" name="export_variations" value="<?php echo XmlExportEngine::getProductVariationMode();?>" />
88
  <input type="hidden" name="record-count" class="wpae-record-count" value="0" />
89
+ <input type="hidden" name="sub_post_type_to_export" value="<?php echo $post['sub_post_type_to_export'];?>">
90
 
91
+ <?php XmlExportFiltering::render_filtering_block( $engine, $isWizard, $post ); ?>
92
 
93
  <?php include_once PMXE_ROOT_DIR . '/views/admin/export/options/settings.php'; ?>
94
 
96
  <?php wp_nonce_field('update-export', '_wpnonce_update-export') ?>
97
  <input type="hidden" name="is_confirmed" value="1" />
98
 
99
+ <a href="<?php echo esc_url(apply_filters('pmxi_options_back_link', add_query_arg('id', $item->id, add_query_arg('action', 'template', $this->baseUrl)), $isWizard)); ?>" class="back rad3"><?php esc_html_e('Edit Template', 'wp_all_export_plugin') ?></a>
100
  <?php if (empty(PMXE_Plugin::$session->found_posts)):?>
101
+ <input type="submit" class="button button-primary button-hero wpallexport-large-button confirm_and_run_bottom" value="<?php esc_html_e('Save Export Configuration', 'wp_all_export_plugin') ?>" />
102
  <?php else:?>
103
+ <input type="submit" class="button button-primary button-hero wpallexport-large-button confirm_and_run_bottom" value="<?php esc_html_e('Confirm & Run Export', 'wp_all_export_plugin') ?>" />
104
  <?php endif;?>
105
  </p>
106
 
107
 
108
  </form>
109
 
110
+ <a href="http://soflyy.com/" target="_blank" class="wpallexport-created-by"><?php esc_html_e('Created by', 'wp_all_export_plugin'); ?> <span></span></a>
111
 
112
  </td>
113
  </tr>
views/admin/settings/index.php CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  <style type="text/css">
2
  .wpae-shake {
3
  -webkit-animation: wpae_shake 0.4s 1 linear;
@@ -30,12 +35,12 @@
30
  }
31
  </style>
32
 
33
- <form class="settings" method="post" action="<?php echo $this->baseUrl ?>" enctype="multipart/form-data">
34
 
35
  <div class="wpallexport-header">
36
  <div class="wpallexport-logo"></div>
37
  <div class="wpallexport-title">
38
- <h3><?php _e('Settings', 'wp_all_export_plugin'); ?></h3>
39
  </div>
40
  </div>
41
  <h2 style="padding:0px;"></h2>
@@ -45,7 +50,7 @@
45
  <?php $this->error() ?>
46
  <?php endif ?>
47
 
48
- <h3><?php _e('Import/Export Templates', 'wp_all_export_plugin') ?></h3>
49
  <?php $templates = new PMXE_Template_List(); $templates->getBy()->convertRecords() ?>
50
  <?php wp_nonce_field('delete-templates', '_wpnonce_delete-templates') ?>
51
  <?php if ($templates->total()): ?>
@@ -53,47 +58,47 @@
53
  <?php foreach ($templates as $t): ?>
54
  <tr>
55
  <td>
56
- <label class="selectit" for="template-<?php echo $t->id ?>"><input id="template-<?php echo $t->id ?>" type="checkbox" name="templates[]" value="<?php echo $t->id ?>" /> <?php echo wp_all_export_clear_xss($t->name); ?></label>
57
  </td>
58
  </tr>
59
  <?php endforeach ?>
60
  </table>
61
  <p class="submit-buttons">
62
- <input type="submit" class="button-primary" name="delete_templates" value="<?php _e('Delete Selected', 'wp_all_export_plugin') ?>" />
63
- <input type="submit" class="button-primary" name="export_templates" value="<?php _e('Export Selected', 'wp_all_export_plugin') ?>" />
64
  </p>
65
  <?php else: ?>
66
- <em><?php _e('There are no templates saved', 'wp_all_export_plugin') ?></em>
67
  <?php endif ?>
68
  <p>
69
  <input type="hidden" name="is_templates_submitted" value="1" />
70
  <input type="file" name="template_file"/>
71
- <input type="submit" class="button-primary" name="import_templates" value="<?php _e('Import Templates', 'wp_all_export_plugin') ?>" />
72
  </p>
73
  </div>
74
 
75
  </form>
76
  <br />
77
 
78
- <form name="settings" class="settings" method="post" action="<?php echo $this->baseUrl ?>">
79
 
80
- <h3><?php _e('Files', 'wp_all_export_plugin') ?></h3>
81
 
82
  <table class="form-table">
83
  <tbody>
84
  <tr>
85
- <th scope="row"><label><?php _e('Secure Mode', 'wp_all_export_plugin'); ?></label></th>
86
  <td>
87
  <fieldset style="padding:0;">
88
- <legend class="screen-reader-text"><span><?php _e('Secure Mode', 'wp_all_export_plugin'); ?></span></legend>
89
  <input type="hidden" name="secure" value="0"/>
90
- <label for="secure"><input type="checkbox" value="1" id="secure" name="secure" <?php echo (($post['secure']) ? 'checked="checked"' : ''); ?>><?php _e('Randomize folder names', 'wp_all_export_plugin'); ?></label>
91
  </fieldset>
92
  <p class="description">
93
  <?php
94
  $wp_uploads = wp_upload_dir();
95
  ?>
96
- <?php printf(__('If enabled, exported files and temporary files will be saved in a folder with a randomized name in %s.<br/><br/>If disabled, exported files will be saved in the Media Library.', 'wp_all_export_plugin'), $wp_uploads['basedir'] . DIRECTORY_SEPARATOR . WP_ALL_EXPORT_UPLOADS_BASE_DIRECTORY ); ?>
97
  </p>
98
  <p class="submit-buttons">
99
  <?php wp_nonce_field('edit-settings', '_wpnonce_edit-settings') ?>
@@ -105,30 +110,30 @@
105
  </tbody>
106
  </table>
107
 
108
- <h3><?php _e('Zapier Integration', 'wp_all_export_plugin') ?></h3>
109
 
110
  <table class="form-table">
111
  <tbody>
112
  <tr>
113
- <th scope="row"><label><?php _e('Getting Started', 'wp_all_export_plugin'); ?></label></th>
114
  <td>
115
- <p class="description"><?php printf(__('Zapier acts as a middle man between WP All Export and hundreds of other popular apps. To get started go to Zapier.com, create an account, and make a new Zap. Read more: <a target="_blank" href="https://zapier.com/zapbook/wp-all-export-pro/">https://zapier.com/zapbook/wp-all-export-pro/</a>', 'wp_all_export_plugin'), "https://zapier.com/zapbook/wp-all-export-pro/"); ?></p>
116
  </td>
117
  </tr>
118
  <tr>
119
- <th scope="row"><label><?php _e('API Key', 'wp_all_export_plugin'); ?></label></th>
120
  <td>
121
  <input type="text" class="regular-text" name="zapier_api_key" readOnly="readOnly" value=""/>
122
- <input type="submit" class="button-secondary generate-zapier-api-key" name="pmxe_generate_zapier_api_key" value="<?php _e('Generate API Key', 'wp_all_export_plugin'); ?>"/>
123
- <p class="description"><?php _e('Changing the key will require you to update your existing Zaps on Zapier.', 'wp_all_export_plugin'); ?></p>
124
  </td>
125
  </tr>
126
  </tbody>
127
  </table>
128
 
129
  <div class="wpallexport-free-edition-notice zapier-upgrade" style="margin: 15px 0; padding: 20px; display: none;">
130
- <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=zapier"><?php _e('Upgrade to the Pro edition of WP All Export for Zapier Integration','wp_all_export_plugin');?></a>
131
- <p><?php _e('If you already own it, remove the free edition and install the Pro edition.', 'wp_all_export_plugin'); ?></p>
132
  </div>
133
 
134
  <div class="clear"></div>
@@ -140,18 +145,18 @@
140
  <tbody>
141
 
142
  <tr>
143
- <th scope="row"><label><?php _e('Automatic Scheduling License Key', 'wp_all_export_plugin'); ?></label></th>
144
  <td>
145
  <input type="password" class="regular-text" name="scheduling_license"
146
  value="<?php if (!empty($post['scheduling_license'])) esc_attr_e(PMXE_Plugin::decode($post['scheduling_license'])); ?>"/>
147
  <?php if (!empty($post['scheduling_license'])) { ?>
148
 
149
  <?php if (!empty($post['scheduling_license_status']) && $post['scheduling_license_status'] == 'valid') { ?>
150
- <div class="license-status inline updated"><?php _e('Active', 'wp_all_export_plugin'); ?></div>
151
  <?php } else { ?>
152
  <input type="submit" class="button-secondary" name="pmxe_scheduling_license_activate"
153
- value="<?php _e('Activate License', 'wp_all_export_plugin'); ?>"/>
154
- <div class="license-status inline error"><?php echo $post['scheduling_license_status']; ?></div>
155
  <?php } ?>
156
 
157
  <?php } ?>
@@ -159,7 +164,7 @@
159
  $scheduling = \Wpae\Scheduling\Scheduling::create();
160
  if(!($scheduling->checkLicense())){
161
  ?>
162
- <p class="description"><?php _e('A license key is required to use Automatic Scheduling. If you have already subscribed, <a href="https://www.wpallimport.com/portal/automatic-scheduling/" target="_blank">click here to access your license key</a>.<br>If you don\'t have a license, <a href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=515704&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=automatic-scheduling" target="_blank">click here to subscribe</a>.', 'wp_all_export_plugin'); ?></p>
163
  <?php
164
  }
165
  ?>
@@ -186,26 +191,26 @@
186
  <?php foreach ($roles as $key => $role) {
187
  $roleObject = get_role($key);
188
  ?>
189
- <input type="checkbox" id="role-<?php echo $key; ?>"
190
- value="<?php echo $key; ?>"
191
  <?php if(isset($post['client_mode_roles']) && is_array($post['client_mode_roles']) && in_array($key, $post['client_mode_roles'])) {?> checked="checked" <?php } ?>
192
  <?php if($roleObject->has_cap('manage_options')) {?> disabled="disabled" checked="checked" <?php }?>
193
  name="client_mode_roles[]"/>
194
  <label
195
- for="role-<?php echo $key; ?>"><?php echo $role['name']; ?> <br/></label>
196
  <?php } ?>
197
 
198
  <p class="submit-buttons">
199
  <?php wp_nonce_field('edit-client-mode-settings', '_wpnonce_edit-client_mode_settings') ?>
200
  <div class="input wp_all_export_save_client_mode_container">
201
- <input type="button" class="button-primary wp_all_export_save_client_mode" value="<?php _e("Save Client Mode Settings", 'wp_all_export_plugin'); ?>"/>
202
  </div>
203
  </p>
204
  </div>
205
  <div class="clear"></div>
206
  <div class="wpallexport-free-edition-notice php-client-mode-upgrade" style="margin: 15px 0; padding: 20px; display: none;">
207
- <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=client-mode"><?php _e('Upgrade to the Pro edition of WP All Export to enable Client Mode','wp_all_export_plugin');?></a>
208
- <p><?php _e('If you already own it, remove the free edition and install the Pro edition.', 'wp_all_export_plugin'); ?></p>
209
  </div>
210
  </div>
211
  </form>
@@ -216,19 +221,19 @@
216
  ?>
217
  <hr />
218
  <div class="function-editor">
219
- <h3><?php _e('Function Editor', 'pmxe_plugin') ?></h3>
220
 
221
  <textarea id="wp_all_export_code" name="wp_all_export_code"><?php echo "<?php\n\n?>";?></textarea>
222
  <div class="wpallexport-free-edition-notice php-functions-upgrade" style="margin: 15px 0; padding: 20px; display: none;">
223
- <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=function-editor"><?php _e('Upgrade to the Pro edition of WP All Export to enable the Function Editor','wp_all_export_plugin');?></a>
224
- <p><?php _e('If you already own it, remove the free edition and install the Pro edition.', 'wp_all_export_plugin'); ?></p>
225
  </div>
226
 
227
  <div class="input" style="margin-top: 10px;">
228
 
229
  <div class="input wp_all_export_save_functions_container" style="display:inline-block; margin-right: 20px;">
230
- <input type="button" class="button-primary wp_all_export_save_functions" value="<?php _e("Save Functions", 'wp_all_export_plugin'); ?>"/>
231
- <a href="#help" class="wpallexport-help" title="<?php printf(__("Add functions here for use during your export. You can access this file at %s", "wp_all_export_plugin"), preg_replace("%.*wp-content%", "wp-content", $functions));?>" style="top: 0;">?</a>
232
  <div class="wp_all_export_functions_preloader"></div>
233
  </div>
234
  <div class="input wp_all_export_saving_status">
@@ -237,4 +242,4 @@
237
 
238
  </div>
239
  </div>
240
- <a href="http://soflyy.com/" target="_blank" class="wpallexport-created-by"><?php _e('Created by', 'wp_all_export_plugin'); ?> <span></span></a>
1
+ <?php
2
+ if(!defined('ABSPATH')) {
3
+ die();
4
+ }
5
+ ?>
6
  <style type="text/css">
7
  .wpae-shake {
8
  -webkit-animation: wpae_shake 0.4s 1 linear;
35
  }
36
  </style>
37
 
38
+ <form class="settings" method="post" action="<?php echo esc_url($this->baseUrl); ?>" enctype="multipart/form-data">
39
 
40
  <div class="wpallexport-header">
41
  <div class="wpallexport-logo"></div>
42
  <div class="wpallexport-title">
43
+ <h3><?php esc_html_e('Settings', 'wp_all_export_plugin'); ?></h3>
44
  </div>
45
  </div>
46
  <h2 style="padding:0px;"></h2>
50
  <?php $this->error() ?>
51
  <?php endif ?>
52
 
53
+ <h3><?php esc_html_e('Import/Export Templates', 'wp_all_export_plugin') ?></h3>
54
  <?php $templates = new PMXE_Template_List(); $templates->getBy()->convertRecords() ?>
55
  <?php wp_nonce_field('delete-templates', '_wpnonce_delete-templates') ?>
56
  <?php if ($templates->total()): ?>
58
  <?php foreach ($templates as $t): ?>
59
  <tr>
60
  <td>
61
+ <label class="selectit" for="template-<?php echo $t->id ?>"><input id="template-<?php echo esc_attr($t->id) ?>" type="checkbox" name="templates[]" value="<?php echo esc_attr($t->id) ?>" /> <?php echo wp_all_export_clear_xss(esc_html($t->name)); ?></label>
62
  </td>
63
  </tr>
64
  <?php endforeach ?>
65
  </table>
66
  <p class="submit-buttons">
67
+ <input type="submit" class="button-primary" name="delete_templates" value="<?php esc_html_e('Delete Selected', 'wp_all_export_plugin') ?>" />
68
+ <input type="submit" class="button-primary" name="export_templates" value="<?php esc_html_e('Export Selected', 'wp_all_export_plugin') ?>" />
69
  </p>
70
  <?php else: ?>
71
+ <em><?php esc_html_e('There are no templates saved', 'wp_all_export_plugin') ?></em>
72
  <?php endif ?>
73
  <p>
74
  <input type="hidden" name="is_templates_submitted" value="1" />
75
  <input type="file" name="template_file"/>
76
+ <input type="submit" class="button-primary" name="import_templates" value="<?php esc_html_e('Import Templates', 'wp_all_export_plugin') ?>" />
77
  </p>
78
  </div>
79
 
80
  </form>
81
  <br />
82
 
83
+ <form name="settings" class="settings" method="post" action="<?php echo esc_url($this->baseUrl); ?>">
84
 
85
+ <h3><?php esc_html_e('Files', 'wp_all_export_plugin') ?></h3>
86
 
87
  <table class="form-table">
88
  <tbody>
89
  <tr>
90
+ <th scope="row"><label><?php esc_html_e('Secure Mode', 'wp_all_export_plugin'); ?></label></th>
91
  <td>
92
  <fieldset style="padding:0;">
93
+ <legend class="screen-reader-text"><span><?php esc_html_e('Secure Mode', 'wp_all_export_plugin'); ?></span></legend>
94
  <input type="hidden" name="secure" value="0"/>
95
+ <label for="secure"><input type="checkbox" value="1" id="secure" name="secure" <?php echo (($post['secure']) ? 'checked="checked"' : ''); ?>><?php esc_html_e('Randomize folder names', 'wp_all_export_plugin'); ?></label>
96
  </fieldset>
97
  <p class="description">
98
  <?php
99
  $wp_uploads = wp_upload_dir();
100
  ?>
101
+ <?php printf('If enabled, exported files and temporary files will be saved in a folder with a randomized name in %s.<br/><br/>If disabled, exported files will be saved in the Media Library.', esc_html($wp_uploads['basedir'] . DIRECTORY_SEPARATOR . WP_ALL_EXPORT_UPLOADS_BASE_DIRECTORY) ); ?>
102
  </p>
103
  <p class="submit-buttons">
104
  <?php wp_nonce_field('edit-settings', '_wpnonce_edit-settings') ?>
110
  </tbody>
111
  </table>
112
 
113
+ <h3><?php esc_html_e('Zapier Integration', 'wp_all_export_plugin') ?></h3>
114
 
115
  <table class="form-table">
116
  <tbody>
117
  <tr>
118
+ <th scope="row"><label><?php esc_html_e('Getting Started', 'wp_all_export_plugin'); ?></label></th>
119
  <td>
120
+ <p class="description"><?php printf(wp_kses_post(__('Zapier acts as a middle man between WP All Export and hundreds of other popular apps. To get started go to Zapier.com, create an account, and make a new Zap. Read more: <a target="_blank" href="https://zapier.com/zapbook/wp-all-export-pro/">https://zapier.com/zapbook/wp-all-export-pro/</a>', 'wp_all_export_plugin'), "https://zapier.com/zapbook/wp-all-export-pro/")); ?></p>
121
  </td>
122
  </tr>
123
  <tr>
124
+ <th scope="row"><label><?php esc_html_e('API Key', 'wp_all_export_plugin'); ?></label></th>
125
  <td>
126
  <input type="text" class="regular-text" name="zapier_api_key" readOnly="readOnly" value=""/>
127
+ <input type="submit" class="button-secondary generate-zapier-api-key" name="pmxe_generate_zapier_api_key" value="<?php esc_html_e('Generate API Key', 'wp_all_export_plugin'); ?>"/>
128
+ <p class="description"><?php esc_html_e('Changing the key will require you to update your existing Zaps on Zapier.', 'wp_all_export_plugin'); ?></p>
129
  </td>
130
  </tr>
131
  </tbody>
132
  </table>
133
 
134
  <div class="wpallexport-free-edition-notice zapier-upgrade" style="margin: 15px 0; padding: 20px; display: none;">
135
+ <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=zapier"><?php esc_html_e('Upgrade to the Pro edition of WP All Export for Zapier Integration','wp_all_export_plugin');?></a>
136
+ <p><?php esc_html_e('If you already own it, remove the free edition and install the Pro edition.', 'wp_all_export_plugin'); ?></p>
137
  </div>
138
 
139
  <div class="clear"></div>
145
  <tbody>
146
 
147
  <tr>
148
+ <th scope="row"><label><?php esc_html_e('Automatic Scheduling License Key', 'wp_all_export_plugin'); ?></label></th>
149
  <td>
150
  <input type="password" class="regular-text" name="scheduling_license"
151
  value="<?php if (!empty($post['scheduling_license'])) esc_attr_e(PMXE_Plugin::decode($post['scheduling_license'])); ?>"/>
152
  <?php if (!empty($post['scheduling_license'])) { ?>
153
 
154
  <?php if (!empty($post['scheduling_license_status']) && $post['scheduling_license_status'] == 'valid') { ?>
155
+ <div class="license-status inline updated"><?php esc_html_e('Active', 'wp_all_export_plugin'); ?></div>
156
  <?php } else { ?>
157
  <input type="submit" class="button-secondary" name="pmxe_scheduling_license_activate"
158
+ value="<?php esc_html_e('Activate License', 'wp_all_export_plugin'); ?>"/>
159
+ <div class="license-status inline error"><?php echo esc_html($post['scheduling_license_status']); ?></div>
160
  <?php } ?>
161
 
162
  <?php } ?>
164
  $scheduling = \Wpae\Scheduling\Scheduling::create();
165
  if(!($scheduling->checkLicense())){
166
  ?>
167
+ <p class="description"><?php echo wp_kses_post(__('A license key is required to use Automatic Scheduling. If you have already subscribed, <a href="https://www.wpallimport.com/portal/automatic-scheduling/" target="_blank">click here to access your license key</a>.<br>If you don\'t have a license, <a href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=515704&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=automatic-scheduling" target="_blank">click here to subscribe</a>.', 'wp_all_export_plugin')); ?></p>
168
  <?php
169
  }
170
  ?>
191
  <?php foreach ($roles as $key => $role) {
192
  $roleObject = get_role($key);
193
  ?>
194
+ <input type="checkbox" id="role-<?php echo esc_attr($key); ?>"
195
+ value="<?php echo esc_attr($key); ?>"
196
  <?php if(isset($post['client_mode_roles']) && is_array($post['client_mode_roles']) && in_array($key, $post['client_mode_roles'])) {?> checked="checked" <?php } ?>
197
  <?php if($roleObject->has_cap('manage_options')) {?> disabled="disabled" checked="checked" <?php }?>
198
  name="client_mode_roles[]"/>
199
  <label
200
+ for="role-<?php echo esc_attr($key); ?>"><?php echo esc_html($role['name']); ?> <br/></label>
201
  <?php } ?>
202
 
203
  <p class="submit-buttons">
204
  <?php wp_nonce_field('edit-client-mode-settings', '_wpnonce_edit-client_mode_settings') ?>
205
  <div class="input wp_all_export_save_client_mode_container">
206
+ <input type="button" class="button-primary wp_all_export_save_client_mode" value="<?php esc_html_e("Save Client Mode Settings", 'wp_all_export_plugin'); ?>"/>
207
  </div>
208
  </p>
209
  </div>
210
  <div class="clear"></div>
211
  <div class="wpallexport-free-edition-notice php-client-mode-upgrade" style="margin: 15px 0; padding: 20px; display: none;">
212
+ <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=client-mode"><?php esc_html_e('Upgrade to the Pro edition of WP All Export to enable Client Mode','wp_all_export_plugin');?></a>
213
+ <p><?php esc_html_e('If you already own it, remove the free edition and install the Pro edition.', 'wp_all_export_plugin'); ?></p>
214
  </div>
215
  </div>
216
  </form>
221
  ?>
222
  <hr />
223
  <div class="function-editor">
224
+ <h3><?php esc_html_e('Function Editor', 'pmxe_plugin') ?></h3>
225
 
226
  <textarea id="wp_all_export_code" name="wp_all_export_code"><?php echo "<?php\n\n?>";?></textarea>
227
  <div class="wpallexport-free-edition-notice php-functions-upgrade" style="margin: 15px 0; padding: 20px; display: none;">
228
+ <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=function-editor"><?php esc_html_e('Upgrade to the Pro edition of WP All Export to enable the Function Editor','wp_all_export_plugin');?></a>
229
+ <p><?php esc_html_e('If you already own it, remove the free edition and install the Pro edition.', 'wp_all_export_plugin'); ?></p>
230
  </div>
231
 
232
  <div class="input" style="margin-top: 10px;">
233
 
234
  <div class="input wp_all_export_save_functions_container" style="display:inline-block; margin-right: 20px;">
235
+ <input type="button" class="button-primary wp_all_export_save_functions" value="<?php esc_html_e("Save Functions", 'wp_all_export_plugin'); ?>"/>
236
+ <a href="#help" class="wpallexport-help" title="<?php printf(esc_html__("Add functions here for use during your export. You can access this file at %s", "wp_all_export_plugin"), preg_replace("%.*wp-content%", "wp-content", esc_html($functions)));?>" style="top: 0;">?</a>
237
  <div class="wp_all_export_functions_preloader"></div>
238
  </div>
239
  <div class="input wp_all_export_saving_status">
242
 
243
  </div>
244
  </div>
245
+ <a href="http://soflyy.com/" target="_blank" class="wpallexport-created-by"><?php esc_html_e('Created by', 'wp_all_export_plugin'); ?> <span></span></a>
views/controller/error.php CHANGED
@@ -1,3 +1,3 @@
1
  <?php foreach ($errors as $msg): ?>
2
- <div class="error"><p><?php echo $msg ?></p></div>
3
  <?php endforeach ?>
1
  <?php foreach ($errors as $msg): ?>
2
+ <div class="error"><p><?php echo wp_kses_post($msg) ?></p></div>
3
  <?php endforeach ?>
wp-all-export.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP All Export
4
  Plugin URI: http://www.wpallimport.com/upgrade-to-wp-all-export-pro/?utm_source=export-plugin-free&utm_medium=wp-plugins-page&utm_campaign=upgrade-to-pro
5
  Description: Export any post type to a CSV or XML file. Edit the exported data, and then re-import it later using WP All Import.
6
- Version: 1.3.2
7
  Author: Soflyy
8
  */
9
 
@@ -37,7 +37,7 @@ if ( class_exists('PMXE_Plugin') and PMXE_EDITION == "paid"){
37
  ?>
38
  <div class="error">
39
  <p>
40
- <?php printf(__('Please de-activate and remove the free version of the WP All Export before activating the paid version.', 'wp_all_export_plugin')); ?>
41
  </p>
42
  </div>
43
  <?php
@@ -59,7 +59,7 @@ else {
59
  */
60
  define('PMXE_PREFIX', 'pmxe_');
61
 
62
- define('PMXE_VERSION', '1.3.2');
63
 
64
  define('PMXE_ASSETS_VERSION', '-1.0.2');
65
 
@@ -239,7 +239,7 @@ else {
239
  // register admin page pre-dispatcher
240
  add_action('admin_init', array($this, 'adminInit'), 11);
241
  add_action('admin_init', array($this, 'fix_db_schema'), 10);
242
- add_action('init', array($this, 'init'));
243
 
244
  }
245
 
@@ -399,11 +399,11 @@ else {
399
  }
400
 
401
  if ( ! is_dir($uploads['basedir'] . DIRECTORY_SEPARATOR . WP_ALL_EXPORT_UPLOADS_BASE_DIRECTORY) or ! is_writable($uploads['basedir'] . DIRECTORY_SEPARATOR . WP_ALL_EXPORT_UPLOADS_BASE_DIRECTORY)) {
402
- $this->showNoticeAndDisablePlugin(sprintf(__('Uploads folder %s must be writable', 'wp_all_export_plugin'), $uploads['basedir'] . DIRECTORY_SEPARATOR . WP_ALL_EXPORT_UPLOADS_BASE_DIRECTORY));
403
  }
404
 
405
  if ( ! is_dir($uploads['basedir'] . DIRECTORY_SEPARATOR . self::UPLOADS_DIRECTORY) or ! is_writable($uploads['basedir'] . DIRECTORY_SEPARATOR . self::UPLOADS_DIRECTORY)) {
406
- $this->showNoticeAndDisablePlugin(sprintf(__('Uploads folder %s must be writable', 'wp_all_export_plugin'), $uploads['basedir'] . DIRECTORY_SEPARATOR . self::UPLOADS_DIRECTORY));
407
  }
408
 
409
  if (!$addons_not_included && $this->addons->userExportsExistAndAddonNotInstalled() && current_user_can('manage_options')) {
@@ -569,6 +569,7 @@ else {
569
  if ('' === $page) {
570
  if ( ! is_null(self::$buffer)) {
571
  echo '<div class="wrap">';
 
572
  echo self::$buffer;
573
  do_action('wpallexport_action_after');
574
  echo '</div>';
@@ -961,8 +962,10 @@ else {
961
  'scheduling_run_on' => 'weekly',
962
  'scheduling_monthly_day' => '',
963
  'scheduling_times' => array(),
964
- 'scheduling_timezone' => 'UTC'
965
- );
 
 
966
  }
967
 
968
  public static function is_ajax(){
3
  Plugin Name: WP All Export
4
  Plugin URI: http://www.wpallimport.com/upgrade-to-wp-all-export-pro/?utm_source=export-plugin-free&utm_medium=wp-plugins-page&utm_campaign=upgrade-to-pro
5
  Description: Export any post type to a CSV or XML file. Edit the exported data, and then re-import it later using WP All Import.
6
+ Version: 1.3.3
7
  Author: Soflyy
8
  */
9
 
37
  ?>
38
  <div class="error">
39
  <p>
40
+ <?php printf(esc_html__('Please de-activate and remove the free version of the WP All Export before activating the paid version.', 'wp_all_export_plugin')); ?>
41
  </p>
42
  </div>
43
  <?php
59
  */
60
  define('PMXE_PREFIX', 'pmxe_');
61
 
62
+ define('PMXE_VERSION', '1.3.3');
63
 
64
  define('PMXE_ASSETS_VERSION', '-1.0.2');
65
 
239
  // register admin page pre-dispatcher
240
  add_action('admin_init', array($this, 'adminInit'), 11);
241
  add_action('admin_init', array($this, 'fix_db_schema'), 10);
242
+ add_action('init', array($this, 'init'), 10);
243
 
244
  }
245
 
399
  }
400
 
401
  if ( ! is_dir($uploads['basedir'] . DIRECTORY_SEPARATOR . WP_ALL_EXPORT_UPLOADS_BASE_DIRECTORY) or ! is_writable($uploads['basedir'] . DIRECTORY_SEPARATOR . WP_ALL_EXPORT_UPLOADS_BASE_DIRECTORY)) {
402
+ $this->showNoticeAndDisablePlugin(sprintf(esc_html__('Uploads folder %s must be writable', 'wp_all_export_plugin'), $uploads['basedir'] . DIRECTORY_SEPARATOR . WP_ALL_EXPORT_UPLOADS_BASE_DIRECTORY));
403
  }
404
 
405
  if ( ! is_dir($uploads['basedir'] . DIRECTORY_SEPARATOR . self::UPLOADS_DIRECTORY) or ! is_writable($uploads['basedir'] . DIRECTORY_SEPARATOR . self::UPLOADS_DIRECTORY)) {
406
+ $this->showNoticeAndDisablePlugin(sprintf(esc_html__('Uploads folder %s must be writable', 'wp_all_export_plugin'), $uploads['basedir'] . DIRECTORY_SEPARATOR . self::UPLOADS_DIRECTORY));
407
  }
408
 
409
  if (!$addons_not_included && $this->addons->userExportsExistAndAddonNotInstalled() && current_user_can('manage_options')) {
569
  if ('' === $page) {
570
  if ( ! is_null(self::$buffer)) {
571
  echo '<div class="wrap">';
572
+ // Contents are sanitized at a lower level
573
  echo self::$buffer;
574
  do_action('wpallexport_action_after');
575
  echo '</div>';
962
  'scheduling_run_on' => 'weekly',
963
  'scheduling_monthly_day' => '',
964
  'scheduling_times' => array(),
965
+ 'scheduling_timezone' => 'UTC',
966
+ 'sub_post_type_to_export' => ''
967
+
968
+ );
969
  }
970
 
971
  public static function is_ajax(){