blocks
4 years ago
options
4 years ago
template
4 years ago
google.php
4 years ago
index.php
4 years ago
options.php
4 years ago
process.php
4 years ago
success_page.php
4 years ago
template.php
4 years ago
variation_options.php
4 years ago
variation_options_common.php
4 years ago
options.php
140 lines
| 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') |
| 6 | ); |
| 7 | ?> |
| 8 | <script type="text/javascript"> |
| 9 | var wp_all_export_L10n = <?php echo json_encode($l10n); ?>; |
| 10 | </script> |
| 11 | |
| 12 | <div class="wpallexport-step-4 wpallexport-export-options"> |
| 13 | |
| 14 | <h2 class="wpallexport-wp-notices"></h2> |
| 15 | |
| 16 | <div class="wpallexport-wrapper"> |
| 17 | <h2 class="wpallexport-wp-notices"></h2> |
| 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> |
| 28 | </div> |
| 29 | |
| 30 | <table class="wpallexport-layout"> |
| 31 | <tr> |
| 32 | <td class="left" style="width: 100%;"> |
| 33 | |
| 34 | <?php do_action('pmxe_options_header', $this->isWizard, $post); ?> |
| 35 | |
| 36 | <div class="ajax-console"> |
| 37 | <?php if ($this->errors->get_error_codes()): ?> |
| 38 | <?php $this->error() ?> |
| 39 | <?php endif ?> |
| 40 | </div> |
| 41 | |
| 42 | <div class="wpallexport-content-section" style="padding: 0 30px 0 0; overflow: hidden; margin-bottom: 0;"> |
| 43 | |
| 44 | <div id="filtering_result" class="wpallexport-ready-to-go"> |
| 45 | <h3> </h3> |
| 46 | <div class="wp_all_export_preloader"></div> |
| 47 | </div> |
| 48 | <?php if ($this->isWizard): ?> |
| 49 | <form class="confirm <?php echo ! $this->isWizard ? 'edit' : '' ?>" method="post" style="float:right;"> |
| 50 | <div style="position: relative;" class="wpae-scheduling-status"> |
| 51 | |
| 52 | <div class="easing-spinner" style="position: absolute; top: 7px; left: 35px; display: none;"> |
| 53 | <div class="double-bounce1"></div> |
| 54 | <div class="double-bounce2"></div> |
| 55 | </div> |
| 56 | |
| 57 | <svg width="30" height="30" viewBox="0 0 1792 1792" |
| 58 | xmlns="http://www.w3.org/2000/svg" |
| 59 | style="fill: white; position: absolute; top: 14px; left: 15px; display: none;"> |
| 60 | <path |
| 61 | 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" |
| 62 | fill="white"/> |
| 63 | </svg> |
| 64 | </div> |
| 65 | <?php wp_nonce_field('options', '_wpnonce_options') ?> |
| 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> |
| 73 | |
| 74 | <div class="clear"></div> |
| 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(); |
| 82 | $selected_post_type = ''; |
| 83 | if ($addons->isUserAddonActive() && XmlExportUser::$is_active): |
| 84 | $selected_post_type = empty($post['cpt'][0]) ? 'users' : $post['cpt'][0]; |
| 85 | endif; |
| 86 | if (XmlExportComment::$is_active): |
| 87 | $selected_post_type = 'comments'; |
| 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 $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 ); ?> |
| 103 | |
| 104 | <?php include(__DIR__ . "/../../../src/Scheduling/views/SchedulingOptions.php"); ?> |
| 105 | |
| 106 | <?php include_once 'options/settings.php'; ?> |
| 107 | |
| 108 | |
| 109 | <?php wp_nonce_field('options', '_wpnonce_options') ?> |
| 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> |
| 127 | |
| 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> |
| 135 | </table> |
| 136 | |
| 137 | </div> |
| 138 | |
| 139 | <div class="wpallexport-overlay"></div> |
| 140 |