PluginProbe ʕ •ᴥ•ʔ
WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets / 2.13
WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets v2.13
4.1.1 3.9.5 3.9.6 4.0.0 4.0.1 4.1.0 trunk 2.12 2.13 2.14 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.4.7 3.4.8 3.4.9 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.5.7 3.5.8 3.5.9 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.6.8 3.6.9 3.7.0 3.7.1 3.7.2 3.7.3 3.7.3-beta-1.0 3.7.4 3.7.4-beta-1.0 3.7.5 3.7.6 3.7.7 3.7.8 3.7.9 3.8.0 3.9.0 3.9.1 3.9.2 3.9.3 3.9.4
wp-all-import / views / admin / settings / index.php
wp-all-import / views / admin / settings Last commit date
index.php 13 years ago
index.php
49 lines
1 <form class="settings" method="post" action="<?php echo $this->baseUrl ?>">
2
3 <h2><?php _e('WP All Import Settings', 'pmxi_plugin') ?></h2>
4 <hr />
5 <?php if ($this->errors->get_error_codes()): ?>
6 <?php $this->error() ?>
7 <?php endif ?>
8
9 <h3><?php _e('Saved Templates', 'pmxi_plugin') ?></h3>
10 <?php $templates = new PMXI_Template_List(); $templates->getBy()->convertRecords() ?>
11 <?php if ($templates->total()): ?>
12 <table>
13 <?php foreach ($templates as $t): ?>
14 <tr>
15 <td><input id="template-<?php echo $t->id ?>" type="checkbox" name="templates[]" value="<?php echo $t->id ?>" /></td>
16 <td><label for="template-<?php echo $t->id ?>"><?php echo $t->name ?></label></td>
17 </tr>
18 <?php endforeach ?>
19 </table>
20 <p class="submit-buttons">
21 <?php wp_nonce_field('delete-templates', '_wpnonce_delete-templates') ?>
22 <input type="hidden" name="is_templates_submitted" value="1" />
23 <input type="submit" class="button-primary" value="<?php _e('Delete Selected', 'pmxi_plugin') ?>" />
24 </p>
25 <?php else: ?>
26 <em><?php _e('There are no templates saved', 'pmxi_plugin') ?></em>
27 <?php endif ?>
28 </form>
29 <br />
30
31 <form name="settings" method="post" action="<?php echo $this->baseUrl ?>">
32 <h3><?php _e('History', 'pmxi_plugin') ?></h3>
33 <div><?php printf(__('Store maximum of %s of the most recent files imported. 0 = unlimited', 'pmxi_plugin'), '<input class="small-text" type="text" name="history_file_count" value="' . esc_attr($post['history_file_count']) . '" />') ?></div>
34 <div><?php printf(__('Store imported file history for a maximum of %s of days. 0 = unlimited', 'pmxi_plugin'), '<input class="small-text" type="text" name="history_file_age" value="' . esc_attr($post['history_file_age']) . '" />') ?></div>
35 <h3><?php _e('Your server setting', 'pmxi_plugin') ?></h3>
36 <div><?php printf(__('upload_max_filesize %s', 'pmxi_plugin'), ini_get('upload_max_filesize')) ?></div>
37 <div><?php printf(__('post_max_size %s', 'pmxi_plugin'), ini_get('post_max_size')) ?></div>
38 <div><?php printf(__('max_execution_time %s', 'pmxi_plugin'), ini_get('max_execution_time')) ?></div>
39 <div><?php printf(__('max_input_time %s', 'pmxi_plugin'), ini_get('max_input_time')) ?></div>
40 <h3><?php _e('XML parsing filters', 'pmxi_plugin') ?></h3>
41
42 <div><?php printf(__('Filter XML contains HTML entities %s', 'pmxi_plugin'), '<input type="radio" name="html_entities" value="1" '.((!empty($post['html_entities'])) ? 'checked="checked"' : '').' /> Yes <input type="radio" name="html_entities" value="0" '.((empty($post['html_entities'])) ? 'checked="checked"' : '').' /> No') ?></div>
43 <p class="submit-buttons">
44 <?php wp_nonce_field('edit-settings', '_wpnonce_edit-settings') ?>
45 <input type="hidden" name="is_settings_submitted" value="1" />
46 <input type="submit" class="button-primary" value="Save Settings" />
47 </p>
48
49 </form>