PluginProbe ʕ •ᴥ•ʔ
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel / 1.2.2
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel v1.2.2
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 / settings / index.php
wp-all-export / views / admin / settings Last commit date
index.php 7 years ago
index.php
209 lines
1 <style type="text/css">
2 .wpae-shake {
3 -webkit-animation: wpae_shake 0.4s 1 linear;
4 -moz-animation: wpae_shake 0.4s 1 linear;
5 -o-animation: wpae_shake 0.4s 1 linear;
6 }
7 @-webkit-keyframes wpae_shake {
8 0% { -webkit-transform: translate(30px); }
9 20% { -webkit-transform: translate(-30px); }
10 40% { -webkit-transform: translate(15px); }
11 60% { -webkit-transform: translate(-15px); }
12 80% { -webkit-transform: translate(8px); }
13 100% { -webkit-transform: translate(0px); }
14 }
15 @-moz-keyframes wpae_shake {
16 0% { -moz-transform: translate(30px); }
17 20% { -moz-transform: translate(-30px); }
18 40% { -moz-transform: translate(15px); }
19 60% { -moz-transform: translate(-15px); }
20 80% { -moz-transform: translate(8px); }
21 100% { -moz-transform: translate(0px); }
22 }
23 @-o-keyframes wpae_shake {
24 0% { -o-transform: translate(30px); }
25 20% { -o-transform: translate(-30px); }
26 40% { -o-transform: translate(15px); }
27 60% { -o-transform: translate(-15px); }
28 80% { -o-transform: translate(8px); }
29 100% { -o-origin-transform: translate(0px); }
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 <p><?php _e('WP All Export', 'wp_all_export_plugin'); ?></p>
39 <h3><?php _e('Settings', 'wp_all_export_plugin'); ?></h3>
40 </div>
41 </div>
42 <h2 style="padding:0px;"></h2>
43
44 <div class="wpallexport-setting-wrapper">
45 <?php if ($this->errors->get_error_codes()): ?>
46 <?php $this->error() ?>
47 <?php endif ?>
48
49 <h3><?php _e('Import/Export Templates', 'wp_all_export_plugin') ?></h3>
50 <?php $templates = new PMXE_Template_List(); $templates->getBy()->convertRecords() ?>
51 <?php wp_nonce_field('delete-templates', '_wpnonce_delete-templates') ?>
52 <?php if ($templates->total()): ?>
53 <table>
54 <?php foreach ($templates as $t): ?>
55 <tr>
56 <td>
57 <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 $t->name ?></label>
58 </td>
59 </tr>
60 <?php endforeach ?>
61 </table>
62 <p class="submit-buttons">
63 <input type="submit" class="button-primary" name="delete_templates" value="<?php _e('Delete Selected', 'wp_all_export_plugin') ?>" />
64 <input type="submit" class="button-primary" name="export_templates" value="<?php _e('Export Selected', 'wp_all_export_plugin') ?>" />
65 </p>
66 <?php else: ?>
67 <em><?php _e('There are no templates saved', 'wp_all_export_plugin') ?></em>
68 <?php endif ?>
69 <p>
70 <input type="hidden" name="is_templates_submitted" value="1" />
71 <input type="file" name="template_file"/>
72 <input type="submit" class="button-primary" name="import_templates" value="<?php _e('Import Templates', 'wp_all_export_plugin') ?>" />
73 </p>
74 </div>
75
76 </form>
77 <br />
78
79 <form name="settings" class="settings" method="post" action="<?php echo $this->baseUrl ?>">
80
81 <h3><?php _e('Files', 'wp_all_export_plugin') ?></h3>
82
83 <table class="form-table">
84 <tbody>
85 <tr>
86 <th scope="row"><label><?php _e('Secure Mode', 'wp_all_export_plugin'); ?></label></th>
87 <td>
88 <fieldset style="padding:0;">
89 <legend class="screen-reader-text"><span><?php _e('Secure Mode', 'wp_all_export_plugin'); ?></span></legend>
90 <input type="hidden" name="secure" value="0"/>
91 <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>
92 </fieldset>
93 <p class="description">
94 <?php
95 $wp_uploads = wp_upload_dir();
96 ?>
97 <?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 ); ?>
98 </p>
99 </td>
100 </tr>
101 </tbody>
102 </table>
103 <p class="submit-buttons">
104 <?php wp_nonce_field('edit-settings', '_wpnonce_edit-settings') ?>
105 <input type="hidden" name="is_settings_submitted" value="1" />
106 <input type="submit" class="button-primary" value="Save Settings" />
107 </p>
108
109 <h3><?php _e('Zapier Integration', 'wp_all_export_plugin') ?></h3>
110
111 <table class="form-table">
112 <tbody>
113 <tr>
114 <th scope="row"><label><?php _e('Getting Started', 'wp_all_export_plugin'); ?></label></th>
115 <td>
116 <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>
117 </td>
118 </tr>
119 <tr>
120 <th scope="row"><label><?php _e('API Key', 'wp_all_export_plugin'); ?></label></th>
121 <td>
122 <input type="text" class="regular-text" name="zapier_api_key" readOnly="readOnly" value=""/>
123 <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'); ?>"/>
124 <p class="description"><?php _e('Changing the key will require you to update your existing Zaps on Zapier.', 'wp_all_export_plugin'); ?></p>
125 </td>
126 </tr>
127 </tbody>
128 </table>
129
130 <div class="wpallexport-free-edition-notice zapier-upgrade" style="margin: 15px 0; padding: 20px; display: none;">
131 <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=118611&edd_options%5Bprice_id%5D=1&utm_source=wordpress.org&utm_medium=custom-php&utm_campaign=free+wp+all+export+plugin"><?php _e('Upgrade to the Pro edition of WP All Export for Zapier Integration','wp_all_export_plugin');?></a>
132 <p><?php _e('If you already own it, remove the free edition and install the Pro edition.', 'wp_all_export_plugin'); ?></p>
133 </div>
134
135 <div class="clear"></div>
136 </form>
137
138 <form name="settings" method="post" action="" class="settings">
139
140 <table class="form-table">
141 <tbody>
142
143 <tr>
144 <th scope="row"><label><?php _e('Automatic Scheduling License Key', 'wp_all_export_plugin'); ?></label></th>
145 <td>
146 <input type="password" class="regular-text" name="scheduling_license"
147 value="<?php if (!empty($post['scheduling_license'])) esc_attr_e(PMXE_Plugin::decode($post['scheduling_license'])); ?>"/>
148 <?php if (!empty($post['scheduling_license'])) { ?>
149
150 <?php if (!empty($post['scheduling_license_status']) && $post['scheduling_license_status'] == 'valid') { ?>
151 <p style="color:green; display: inline-block;"><?php _e('Active', 'wp_all_export_plugin'); ?></p>
152 <?php } else { ?>
153 <input type="submit" class="button-secondary" name="pmxe_scheduling_license_activate"
154 value="<?php _e('Activate License', 'wp_all_export_plugin'); ?>"/>
155 <span style="line-height: 28px;"><?php echo $post['scheduling_license_status']; ?></span>
156 <?php } ?>
157
158 <?php } ?>
159 <?php
160 $scheduling = \Wpae\Scheduling\Scheduling::create();
161 if(!($scheduling->checkLicense())){
162 ?>
163 <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>. If you dont have a license, <a href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=515704" target="_blank">click here to subscribe</a>.', 'wp_all_export_plugin'); ?></p>
164 <?php
165 }
166 ?>
167 </td>
168 </tr>
169 </tbody>
170 </table>
171
172 <div class="clear"></div>
173
174 <p class="submit-buttons">
175 <?php wp_nonce_field('edit-license', '_wpnonce_edit-scheduling-license') ?>
176 <input type="hidden" name="is_scheduling_license_submitted" value="1"/>
177 <input type="submit" class="button-primary" value="Save Scheduling License"/>
178 </p>
179 </form>
180
181 <?php
182 $uploads = wp_upload_dir();
183 $functions = $uploads['basedir'] . DIRECTORY_SEPARATOR . WP_ALL_EXPORT_UPLOADS_BASE_DIRECTORY . DIRECTORY_SEPARATOR . 'functions.php';
184 ?>
185 <hr />
186 <br>
187 <h3><?php _e('Function Editor', 'pmxe_plugin') ?></h3>
188
189 <textarea id="wp_all_export_code" name="wp_all_export_code"><?php echo "<?php\n\n?>";?></textarea>
190 <div class="wpallexport-free-edition-notice php-functions-upgrade" style="margin: 15px 0; padding: 20px; display: none;">
191 <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=118611&edd_options%5Bprice_id%5D=1&utm_source=wordpress.org&utm_medium=custom-php&utm_campaign=free+wp+all+export+plugin"><?php _e('Upgrade to the Pro edition of WP All Export to enable the Function Editor','wp_all_export_plugin');?></a>
192 <p><?php _e('If you already own it, remove the free edition and install the Pro edition.', 'wp_all_export_plugin'); ?></p>
193 </div>
194
195 <div class="input" style="margin-top: 10px;">
196
197 <div class="input wp_all_export_save_functions_container" style="display:inline-block; margin-right: 20px;">
198 <input type="button" class="button-primary wp_all_export_save_functions" value="<?php _e("Save Functions", 'wp_all_export_plugin'); ?>"/>
199 <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>
200 <div class="wp_all_export_functions_preloader"></div>
201 </div>
202 <div class="input wp_all_export_saving_status" style="display:inline-block;">
203
204 </div>
205
206 </div>
207
208 <a href="http://soflyy.com/" target="_blank" class="wpallexport-created-by"><?php _e('Created by', 'wp_all_export_plugin'); ?> <span></span></a>
209