blocks
8 years ago
options
8 years ago
template
8 years ago
google.php
8 years ago
index.php
8 years ago
options.php
8 years ago
process.php
8 years ago
template.php
8 years ago
variation_options.php
8 years ago
variation_options_common.php
8 years ago
options.php
118 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 | <p><?php _e('WP All Export', 'wp_all_export_plugin'); ?></p> |
| 22 | <h2><?php _e('Export to XML / CSV', 'wp_all_export_plugin'); ?></h2> |
| 23 | </div> |
| 24 | <div class="wpallexport-links"> |
| 25 | <a href="http://www.wpallimport.com/support/" target="_blank"><?php _e('Support', 'wp_all_export_plugin'); ?></a> | <a href="http://www.wpallimport.com/documentation/" target="_blank"><?php _e('Documentation', 'wp_all_export_plugin'); ?></a> |
| 26 | </div> |
| 27 | </div> |
| 28 | <div class="clear"></div> |
| 29 | </div> |
| 30 | |
| 31 | <table class="wpallexport-layout"> |
| 32 | <tr> |
| 33 | <td class="left" style="width: 100%;"> |
| 34 | |
| 35 | <?php do_action('pmxe_options_header', $this->isWizard, $post); ?> |
| 36 | |
| 37 | <div class="ajax-console"> |
| 38 | <?php if ($this->errors->get_error_codes()): ?> |
| 39 | <?php $this->error() ?> |
| 40 | <?php endif ?> |
| 41 | </div> |
| 42 | |
| 43 | <div class="wpallexport-content-section" style="padding: 0 30px 0 0; overflow: hidden; margin-bottom: 0;"> |
| 44 | |
| 45 | <div id="filtering_result" class="wpallexport-ready-to-go"> |
| 46 | <h3> </h3> |
| 47 | <div class="wp_all_export_preloader"></div> |
| 48 | </div> |
| 49 | <?php if ($this->isWizard): ?> |
| 50 | <form class="confirm <?php echo ! $this->isWizard ? 'edit' : '' ?>" method="post" style="float:right;"> |
| 51 | |
| 52 | <?php wp_nonce_field('options', '_wpnonce_options') ?> |
| 53 | <input type="hidden" name="is_submitted" value="1" /> |
| 54 | |
| 55 | <input type="submit" class="rad10 wp_all_export_confirm_and_run" value="<?php _e('Confirm & Run Export', 'wp_all_export_plugin') ?>" /> |
| 56 | </form> |
| 57 | <?php endif; ?> |
| 58 | </div> |
| 59 | |
| 60 | <div class="clear"></div> |
| 61 | |
| 62 | <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;"' : '' ?>> |
| 63 | |
| 64 | <input type="hidden" class="hierarhy-output" name="filter_rules_hierarhy" value="<?php echo esc_html($post['filter_rules_hierarhy']);?>"/> |
| 65 | |
| 66 | <?php |
| 67 | $selected_post_type = ''; |
| 68 | if (XmlExportUser::$is_active): |
| 69 | $selected_post_type = empty($post['cpt'][0]) ? 'users' : $post['cpt'][0]; |
| 70 | endif; |
| 71 | if (XmlExportComment::$is_active): |
| 72 | $selected_post_type = 'comments'; |
| 73 | endif; |
| 74 | if (empty($selected_post_type) and ! empty($post['cpt'][0])) |
| 75 | { |
| 76 | $selected_post_type = $post['cpt'][0]; |
| 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 empty(PMXE_Plugin::$session->wpml_lang) ? $post['wpml_lang'] : PMXE_Plugin::$session->wpml_lang;?>" /> |
| 84 | <input type="hidden" id="export_variations" name="export_variations" value="<?php echo XmlExportEngine::getProductVariationMode();?>" /> |
| 85 | |
| 86 | <?php //\Wpae\Pro\Filtering\FilteringFactory::render_filtering_block( $engine, $this->isWizard, $post ); ?> |
| 87 | |
| 88 | <?php include_once 'options/settings.php'; ?> |
| 89 | |
| 90 | <p class="wpallexport-submit-buttons" style="text-align: center;"> |
| 91 | <?php wp_nonce_field('options', '_wpnonce_options') ?> |
| 92 | <input type="hidden" name="is_submitted" value="1" /> |
| 93 | |
| 94 | <?php if ($this->isWizard): ?> |
| 95 | |
| 96 | <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> |
| 97 | |
| 98 | <input type="submit" class="button button-primary button-hero wpallexport-large-button" value="<?php _e('Confirm & Run Export', 'wp_all_export_plugin'); ?>" /> |
| 99 | |
| 100 | <?php else: ?> |
| 101 | <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> |
| 102 | <input type="submit" class="button button-primary button-hero wpallexport-large-button" value="<?php _e('Save Export Configuration', 'wp_all_export_plugin'); ?>" /> |
| 103 | <?php endif ?> |
| 104 | </p> |
| 105 | |
| 106 | |
| 107 | </form> |
| 108 | |
| 109 | <a href="http://soflyy.com/" target="_blank" class="wpallexport-created-by"><?php _e('Created by', 'wp_all_export_plugin'); ?> <span></span></a> |
| 110 | |
| 111 | </td> |
| 112 | </tr> |
| 113 | </table> |
| 114 | |
| 115 | </div> |
| 116 | |
| 117 | <div class="wpallexport-overlay"></div> |
| 118 |