PluginProbe ʕ •ᴥ•ʔ
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel / 1.3.6
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel v1.3.6
trunk 0.9.0 0.9.1 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2.0 1.2.1 1.2.10 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 1.4.14 1.4.15 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0
wp-all-export / views / admin / manage / update.php
wp-all-export / views / admin / manage Last commit date
bulk.php 4 years ago delete.php 4 years ago index.php 4 years ago scheduling.php 4 years ago templates.php 4 years ago update.php 4 years ago
update.php
119 lines
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')
8 );
9 ?>
10 <script type="text/javascript">
11 var wp_all_export_L10n = <?php echo json_encode($l10n); ?>;
12 </script>
13
14
15 <div class="wpallexport-step-4 wpallexport-export-options wpallexport-re-run-export">
16
17 <h2 class="wpallexport-wp-notices"></h2>
18
19 <div class="wpallexport-wrapper">
20 <h2 class="wpallexport-wp-notices"></h2>
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>
31 </div>
32
33 <table class="wpallexport-layout">
34 <tr>
35 <td class="left" style="width: 100%;">
36
37 <?php do_action('pmxe_options_header', $isWizard, $post); ?>
38
39 <div class="ajax-console">
40 <?php if ($this->errors->get_error_codes()): ?>
41 <?php $this->error() ?>
42 <?php endif ?>
43 </div>
44
45 <div class="wpallexport-content-section" style="padding: 0 30px 0 0; overflow: hidden; margin-bottom: 0;">
46
47 <div id="filtering_result" class="wpallexport-ready-to-go">
48 <h3> &nbsp; </h3>
49 <div class="wp_all_export_preloader"></div>
50 </div>
51
52 <form class="confirm <?php echo ! $isWizard ? 'edit' : '' ?>" method="post" style="float:right;">
53
54 <?php wp_nonce_field('update-export', '_wpnonce_update-export') ?>
55 <input type="hidden" name="is_confirmed" value="1" />
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>
63
64 <div class="clear"></div>
65
66 <form class="<?php echo ! $isWizard ? 'edit' : 'options' ?> choose-export-options" method="post" enctype="multipart/form-data" autocomplete="off" <?php echo ! $isWizard ? 'style="overflow:visible;"' : '' ?>>
67
68 <?php
69 $addons = new \Wpae\App\Service\Addons\AddonService();
70 $selected_post_type = '';
71 if ($addons->isUserAddonActive() && XmlExportUser::$is_active):
72 $selected_post_type = empty($post['cpt'][0]) ? 'users' : $post['cpt'][0];
73 endif;
74 if (XmlExportComment::$is_active):
75 $selected_post_type = 'comments';
76 endif;
77 if (empty($selected_post_type) and ! empty($post['cpt'][0]))
78 {
79 $selected_post_type = $post['cpt'][0];
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
95 <p class="wpallexport-submit-buttons" style="text-align: center;">
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>
114 </table>
115
116 </div>
117
118 <div class="wpallexport-overlay"></div>
119