options
11 years ago
template
11 years ago
confirm.php
11 years ago
element.php
11 years ago
error.php
11 years ago
evaluate.php
11 years ago
evaluate_variations.php
11 years ago
index.php
11 years ago
options.php
11 years ago
preview.php
11 years ago
preview_images.php
11 years ago
preview_prices.php
11 years ago
preview_taxonomies.php
11 years ago
process-complete.php
11 years ago
process.php
11 years ago
tag.php
11 years ago
template.php
11 years ago
warning.php
11 years ago
evaluate.php
29 lines
| 1 | <div class="updated founded_records"> |
| 2 | <?php if ($is_csv):?> |
| 3 | <h3><?php printf(__('<span class="matches_count">%s</span> <strong>%s</strong> will be imported', 'pmxi_plugin'), $node_list_count, _n('row', 'rows', $node_list_count, 'pmxi_plugin')); ?></h3> |
| 4 | <?php else:?> |
| 5 | <h3><?php printf(__('<span class="matches_count">%s</span> <strong>%s</strong> %s will be imported', 'pmxi_plugin'), $node_list_count, PMXI_Plugin::$session->source['root_element'], _n('element', 'elements', $node_list_count, 'pmxi_plugin')); ?></h3> |
| 6 | <?php endif; ?> |
| 7 | <h4><?php _e('Click an element to select it, or scroll down to add filtering options.', 'pmxi_plugin'); ?></h4> |
| 8 | <?php if (PMXI_Plugin::getInstance()->getOption('highlight_limit') and $elements->length > PMXI_Plugin::getInstance()->getOption('highlight_limit')): ?> |
| 9 | <p><?php _e('<strong>Note</strong>: Highlighting is turned off since can be very slow on large sets of elements.', 'pmxi_plugin') ?></p> |
| 10 | <?php endif ?> |
| 11 | </div> |
| 12 | <div id="current_xml"> |
| 13 | <?php if ($is_csv): ?> |
| 14 | <?php PMXI_Render::render_csv_element($elements->item(0), false, '//'); ?> |
| 15 | <?php else:?> |
| 16 | <?php PMXI_Render::render_xml_element($elements->item(0), false, '//'); ?> |
| 17 | <?php endif;?> |
| 18 | </div> |
| 19 | <script type="text/javascript"> |
| 20 | (function($){ |
| 21 | var paths = <?php echo json_encode($paths) ?>; |
| 22 | var $xml = $('.wpallimport-xml'); |
| 23 | $('.wpallimport-console').fadeIn(); |
| 24 | $xml.html($('#current_xml').html()).css({'visibility':'visible'}); |
| 25 | for (var i = 0; i < paths.length; i++) { |
| 26 | $xml.find('.xml-element[title="' + paths[i] + '"]').addClass('selected').parents('.xml-element').find('> .xml-content.collapsed').removeClass('collapsed').parent().find('> .xml-expander').html('-'); |
| 27 | } |
| 28 | })(jQuery); |
| 29 | </script> |