PluginProbe ʕ •ᴥ•ʔ
WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets / 4.1.1
WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets v4.1.1
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 / evaluate_variations.php
wp-all-import / views / admin / import Last commit date
options 3 days ago template 1 month ago confirm.php 1 month ago element.php 1 month ago error.php 1 month ago evaluate.php 1 month ago evaluate_variations.php 1 month ago filters.php 1 month ago full-preview-modal.php 1 month ago index.php 1 month ago options.php 1 month ago preview.php 1 month ago preview_images.php 1 month ago preview_prices.php 1 month ago preview_taxonomies.php 1 month ago process-complete.php 1 month ago process.php 1 month ago tag.php 1 month ago template.php 1 month ago warning.php 1 month ago
evaluate_variations.php
36 lines
1 <?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
2 <?php if (!empty($variation_list_count)):?>
3 <div class="updated">
4 <?php /* translators: %1$s: number of matched elements, %2$s: element/elements label */ ?>
5 <p><?php echo wp_kses( sprintf(__('Current selection matches <span class="matches_count">%1$s</span> %2$s.', 'wp-all-import'), intval($variation_list_count), esc_html(_n('element', 'elements', $variation_list_count, 'wp-all-import'))), array('span' => array('class' => array())) ) ?></p>
6 <?php if (PMXI_Plugin::getInstance()->getOption('highlight_limit') and $variation_list_count > PMXI_Plugin::getInstance()->getOption('highlight_limit')): ?>
7 <p><?php echo wp_kses( __('<strong>Note</strong>: Highlighting is turned off since can be very slow on large sets of elements.', 'wp-all-import'), array('strong' => array()) ) ?></p>
8 <?php endif ?>
9 </div>
10 <div id="current_xml">
11 <div class="variations_tag">
12 <input type="hidden" name="variations_tagno" value="<?php echo esc_attr($tagno) + 1 ?>" />
13 <div class="title">
14 <div class="navigation">
15 <?php if ($tagno > 0): ?><a href="#variation_prev" class="previous_element">&nbsp;</a><?php else: ?><span class="previous_element">&nbsp;</span><?php endif ?>
16 <?php /* translators: %1$s: current element index, %2$s: total element count */ ?>
17 <?php echo wp_kses( sprintf(__('#<strong>%1$s</strong> out of <strong>%2$s</strong>', 'wp-all-import'), intval($tagno) + 1, intval($variation_list_count)), array('strong' => array()) ); ?>
18 <?php if ($tagno < $variation_list_count - 1): ?><a href="#variation_next" class="next_element">&nbsp;</a><?php else: ?><span class="next_element">&nbsp;</span><?php endif ?>
19 </div>
20 </div>
21 <div class="clear"></div>
22 <div class="xml resetable"> <?php if (!empty($variation_list_count)) PMXI_Render::render_xml_element($variation_elements->item($tagno), true); ?></div>
23 </div>
24 </div>
25 <?php endif; ?>
26 <script type="text/javascript">
27 (function($){
28 var paths = <?php echo json_encode($paths) ?>;
29 var $xml = $('#variations_xml');
30
31 $xml.html($('#current_xml').html()).css({'visibility':'visible'});
32 for (var i = 0; i < paths.length; i++) {
33 $xml.find('.xml-element[title="' + paths[i] + '"]').addClass('selected').parents('.xml-element').find('> .xml-content.collapsed').removeClass('collapsed').parent().find('> .xml-expander').html('-');
34 }
35 })(jQuery);
36 </script>