element.php
14 years ago
element_after.php
14 years ago
error.php
14 years ago
evaluate.php
14 years ago
index.php
14 years ago
options.php
14 years ago
preview.php
14 years ago
process-complete.php
14 years ago
process.php
14 years ago
tag.php
14 years ago
template.php
14 years ago
element_after.php
42 lines
| 1 | <form class="choose-elements no-enter-submit" method="post"> |
| 2 | <table class="layout"> |
| 3 | <tr> |
| 4 | <td class="left"> |
| 5 | <h2><?php _e('Import XML/CSV - Step 2: Element Selector', 'pmxi_plugin') ?><br/><span class="taglines"><?php _e('select which elements you wish to import', 'pmxi_plugin') ?></span></h2> |
| 6 | <hr /> |
| 7 | |
| 8 | |
| 9 | <p> |
| 10 | <?php _e('<b>Choose elements for import by double clicking on corresponding opening tag. Recurring sibling elements, if present, are selected automatically.</b>', 'pmxi_plugin') ?> |
| 11 | </p> |
| 12 | |
| 13 | <div class="ajax-console"> |
| 14 | <?php if ($this->errors->get_error_codes()): ?> |
| 15 | <?php $this->error() ?> |
| 16 | <?php endif ?> |
| 17 | </div> |
| 18 | |
| 19 | <div class="xml"> |
| 20 | <?php $this->render_xml_element($dom->documentElement) ?> |
| 21 | </div> |
| 22 | </td> |
| 23 | <td class="right"> |
| 24 | <p> |
| 25 | <?php _e('Advaned users: use <a href="http://www.w3schools.com/xpath/default.asp" target="_blank">XPath syntax.</a> If you are unable to figure out what XPath you need to match certain elements you are trying to import, contact <a href="http://www.wpallimport.com/support" target="_blank">support</a> and include your XML file. We will get back to you with the XPath.', 'pmxi_plugin') ?> |
| 26 | </p> |
| 27 | <p> |
| 28 | <?php _e('Tip: change [1], [2], [3], etc. to [*] to match more elements.', 'pmxi_plugin') ?> |
| 29 | </p> |
| 30 | <div><input type="text" name="xpath" value="<?php echo esc_attr($post['xpath']) ?>" /></div> |
| 31 | <p class="submit-buttons"> |
| 32 | <a href="<?php echo $this->baseUrl ?>" class="button back">Back</a> |
| 33 | |
| 34 | <input type="hidden" name="is_submitted" value="1" /> |
| 35 | <?php wp_nonce_field('choose-elements', '_wpnonce_choose-elements') ?> |
| 36 | <input type="submit" class="button-primary" value="<?php _e('Continue', 'pmxi_plugin') ?> >>" /> |
| 37 | </p> |
| 38 | </td> |
| 39 | </tr> |
| 40 | </table> |
| 41 | </form> |
| 42 |