PluginProbe ʕ •ᴥ•ʔ
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel / trunk
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel vtrunk
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 / export / options.php
wp-all-export / views / admin / export Last commit date
blocks 4 weeks ago options 4 weeks ago template 4 weeks ago google.php 4 weeks ago index.php 4 weeks ago options.php 4 weeks ago process.php 4 weeks ago success_page.php 4 weeks ago template.php 4 weeks ago variation_options.php 4 weeks ago variation_options_common.php 3 years ago
options.php
164 lines
1 <?php
2 if(!defined('ABSPATH')) {
3 die();
4 }
5 // phpcs:ignoreFile WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- variables in template files inherited from controller render() scope
6 $l10n = array(
7 'confirm_and_run' => __('Confirm & Run Export', 'wp-all-export'),
8 'save_configuration' => __('Save Export Configuration', 'wp-all-export')
9 );
10 ?>
11 <script type="text/javascript">
12 var wp_all_export_L10n = <?php echo json_encode($l10n); ?>;
13 </script>
14
15 <div class="wpallexport-step-4 wpallexport-export-options">
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('Export Settings', 'wp-all-export'); ?></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'); ?></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'); ?></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', $this->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 <?php if ($this->isWizard): ?>
52 <form class="confirm <?php echo ! $this->isWizard ? 'edit' : '' ?>" method="post" style="float:right;">
53 <div style="position: relative;" class="wpae-scheduling-status">
54
55 <div class="easing-spinner" style="position: absolute; top: 7px; left: 35px; display: none;">
56 <div class="double-bounce1"></div>
57 <div class="double-bounce2"></div>
58 </div>
59
60 <svg width="30" height="30" viewBox="0 0 1792 1792"
61 xmlns="http://www.w3.org/2000/svg"
62 style="fill: white; position: absolute; top: 14px; left: 15px; display: none;">
63 <path
64 d="M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z"
65 fill="white"/>
66 </svg>
67 </div>
68 <?php wp_nonce_field('options', '_wpnonce_options') ?>
69 <input type="hidden" name="is_submitted" value="1" />
70 <input type="hidden" name="record-count" class="wpae-record-count" value="0" />
71
72 <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') ?>" />
73 </form>
74 <?php endif; ?>
75 </div>
76
77 <div class="clear"></div>
78
79 <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">
80
81 <input type="hidden" class="hierarhy-output" name="filter_rules_hierarhy" value="<?php echo esc_attr($post['filter_rules_hierarhy']);?>"/>
82
83 <?php
84 $addons = new \Wpae\App\Service\Addons\AddonService();
85 $selected_post_type = '';
86 if ($addons->isUserAddonActive() && XmlExportUser::$is_active):
87 $selected_post_type = empty($post['cpt'][0]) ? 'users' : $post['cpt'][0];
88 endif;
89 if (empty($selected_post_type) and ! empty($post['cpt'][0]))
90 {
91 $selected_post_type = $post['cpt'][0];
92 }
93 ?>
94
95 <input type="hidden" name="selected_post_type" value="<?php echo esc_attr($selected_post_type); ?>"/>
96 <input type="hidden" name="export_type" value="<?php echo esc_attr($post['export_type']); ?>"/>
97 <input type="hidden" name="taxonomy_to_export" value="<?php echo esc_attr($post['taxonomy_to_export']);?>">
98 <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);?>" />
99 <input type="hidden" id="export_variations" name="export_variations" value="<?php echo esc_attr(XmlExportEngine::getProductVariationMode());?>" />
100
101 <input type="hidden" name="record-count" class="wpae-record-count" value="0" />
102
103 <?php //\Wpae\Pro\Filtering\FilteringFactory::render_filtering_block( $engine, $this->isWizard, $post ); ?>
104
105 <div class="wpallexport-collapsed wpallexport-section wpallexport-file-options closed wpallexport-scheduling" style="margin-top: -10px; margin-bottom: 10px; <?php if(($post['enable_real_time_exports'] ?? 0)) { ?> display: none; <?php } ?>">
106 <div id="scheduling-form-container">
107
108 <div class="wpallexport-content-section" style="padding-bottom: 15px; margin-bottom: 10px;">
109 <div class="wpallexport-collapsed-header" id="scheduling-options-header" style="padding-left: 25px;">
110 <h3 id="scheduling-title" style="position: relative;">
111 <?php esc_html_e('Scheduling Options', 'wp-all-export'); ?>
112 </h3>
113 </div>
114
115 <div class="wpallexport-collapsed-content" style="padding: 0; height: auto; display: none;">
116 <div class="wpallexport-collapsed-content-inner" style="padding-bottom: 0; overflow: auto;">
117 <?php
118 include(__DIR__ . "/../../../src/Scheduling/views/SchedulingUI.php");
119 ?>
120
121 </div>
122 </div>
123 </div>
124 </div>
125 </div>
126 </div>
127
128 <?php include_once 'options/settings.php'; ?>
129
130
131 <?php wp_nonce_field('options', '_wpnonce_options') ?>
132 <input type="hidden" name="is_submitted" value="1" />
133 <div style="color: #425F9A; font-size: 14px; font-weight: bold; margin: 0 0 15px; line-height: 25px; text-align: center;">
134 <div id="no-subscription" style="display: none;">
135 <?php esc_html_e( "Looks like you're trying out Automatic Scheduling!", 'wp-all-export' );?><br/>
136 <?php esc_html_e( "Your Automatic Scheduling settings won't be saved without a subscription.", 'wp-all-export' );?>
137 </div>
138 </div>
139 <div class="wpallexport-submit-buttons" style="text-align: center; <?php if ($this->isWizard) { ?> height: 60px; <?php } ?> ">
140
141 <?php if ($this->isWizard): ?>
142 <a href="<?php echo esc_url(apply_filters('pmxi_options_back_link', add_query_arg(['action'=>'template','_wpnonce_template' => wp_create_nonce('template')], $this->baseUrl), $this->isWizard)); ?>" class="back rad3"><?php esc_html_e('Back', 'wp-all-export') ?></a>
143 <?php include(__DIR__ . "/../../../src/Scheduling/views/SaveSchedulingButton.php"); ?>
144 <?php else: ?>
145 <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') ?></a>
146 <?php include(__DIR__ . "/../../../src/Scheduling/views/SaveSchedulingButton.php"); ?>
147 <?php endif ?>
148 </div>
149
150 </form>
151
152 <div class="wpallexport-display-columns wpallexport-margin-top-forty">
153 <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- plugin-owned filter output; callback in filters/wpallexport_footer.php returns trusted static HTML
154 echo apply_filters('wpallexport_footer', ''); ?>
155 </div>
156
157 </td>
158 </tr>
159 </table>
160
161 </div>
162
163 <div class="wpallexport-overlay"></div>
164