PluginProbe ʕ •ᴥ•ʔ
WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets / 3.2.2
WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets v3.2.2
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 / import / template / _nested_template.php
wp-all-import / views / admin / import / template Last commit date
_custom_fields_template.php 11 years ago _featured_template.php 11 years ago _nested_template.php 11 years ago _other_template.php 11 years ago _taxonomies_template.php 11 years ago
_nested_template.php
80 lines
1 <?php $custom_type = get_post_type_object( $post_type ); ?>
2 <?php
3
4 $l10n = array(
5 'queue_limit_exceeded' => 'You have attempted to queue too many files.',
6 'file_exceeds_size_limit' => 'This file exceeds the maximum upload size for this site.',
7 'zero_byte_file' => 'This file is empty. Please try another.',
8 'invalid_filetype' => 'This file type is not allowed. Please try another.',
9 'default_error' => 'An error occurred in the upload. Please try again later.',
10 'missing_upload_url' => 'There was a configuration error. Please contact the server administrator.',
11 'upload_limit_exceeded' => 'You may only upload 1 file.',
12 'http_error' => 'HTTP error.',
13 'upload_failed' => 'Upload failed.',
14 'io_error' => 'IO error.',
15 'security_error' => 'Security error.',
16 'file_cancelled' => 'File canceled.',
17 'upload_stopped' => 'Upload stopped.',
18 'dismiss' => 'Dismiss',
19 'crunching' => 'Crunching&hellip;',
20 'deleted' => 'moved to the trash.',
21 'error_uploading' => 'has failed to upload due to an error',
22 'cancel_upload' => 'Cancel upload',
23 'dismiss' => 'Dismiss'
24 );
25
26 ?>
27 <script type="text/javascript">
28 var plugin_url = '<?php echo PMXI_ROOT_URL; ?>';
29 var swfuploadL10n = <?php echo json_encode($l10n); ?>;
30 </script>
31
32 <div class="wpallimport-collapsed closed nested_options wpallimport-section">
33 <div class="wpallimport-content-section">
34 <div class="wpallimport-collapsed-header">
35 <h3><?php _e('Nested XML/CSV files','pmxi_plugin');?></h3>
36 </div>
37 <div class="wpallimport-collapsed-content">
38 <table class="form-table" style="max-width:none;">
39 <tr>
40 <td>
41 <div class="nested_files">
42 <ul>
43 <?php if ( ! empty($post['nested_files'])): ?>
44 <?php
45 $nested_files = json_decode($post['nested_files'], true);
46 foreach ($nested_files as $key => $file) {
47 ?>
48 <li rel="<?php echo $key;?>"><?php echo $file;?> <a href="javascript:void(0);" class="unmerge"><?php _e('remove', 'pmxi_plugin'); ?></a></li>
49 <?php
50 }?>
51 <?php endif; ?>
52 </ul>
53 <input type="hidden" value="<?php echo esc_attr($post['nested_files']); ?>" name="nested_files"/>
54 </div>
55 <div class="nested_xml">
56 <div class="input" style="margin-left:15px;">
57 <input type="hidden" name="nested_local_path"/>
58 <input type="hidden" name="nested_source_path"/>
59 <input type="hidden" name="nested_root_element"/>
60 <div class="nested_msgs"></div>
61 </div>
62 </div>
63 <div class="clear"></div>
64 <div class="add_nested_file">
65
66 <div class="msgs"></div>
67
68 <div class="file-type-options">
69 <label><?php _e('Specify the URL of the nested file to use.', 'pmxi_plugin'); ?></label>
70 <input type="text" class="regular-text" name="nested_url" value="" style="width:100%; line-height:20px;" placeholder="http(s)://"/>
71 </div>
72
73 <a rel="parse" href="javascript:void(0);" class="parse"><?php _e('Add', 'pmxi_plugin'); ?></a>
74 </div>
75 </td>
76 </tr>
77 </table>
78 </div>
79 </div>
80 </div>