element.php
13 years ago
element_after.php
13 years ago
error.php
13 years ago
evaluate.php
13 years ago
index.php
13 years ago
options.php
13 years ago
preview.php
13 years ago
process-complete.php
13 years ago
process.php
13 years ago
tag.php
13 years ago
template.php
13 years ago
evaluate.php
15 lines
| 1 | <div class="updated"> |
| 2 | <p><?php printf(__('Specified XPath matches <strong>%s</strong> %s.', 'pmxi_plugin'), $node_list_count, _n('element', 'elements', $node_list_count, 'pmxi_plugin')) ?></p> |
| 3 | <?php if (PMXI_Plugin::getInstance()->getOption('highlight_limit') and $node_list->length > PMXI_Plugin::getInstance()->getOption('highlight_limit')): ?> |
| 4 | <p><?php _e('<strong>Note</strong>: Highlighting is turned off since can be very slow on large sets of elements.', 'pmxi_plugin') ?></p> |
| 5 | <?php endif ?> |
| 6 | </div> |
| 7 | <script type="text/javascript"> |
| 8 | (function($){ |
| 9 | var paths = <?php echo json_encode($paths) ?>; |
| 10 | var $xml = $('.xml'); |
| 11 | for (var i = 0; i < paths.length; i++) { |
| 12 | $xml.find('.xml-element[title="' + paths[i] + '"]').addClass('selected').parents('.xml-element').find('> .xml-content.collapsed').removeClass('collapsed').parent().find('> .xml-expander').html('-'); |
| 13 | } |
| 14 | })(jQuery); |
| 15 | </script> |