PluginProbe ʕ •ᴥ•ʔ
WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets / 2.13
WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets v2.13
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.php
wp-all-import / views / admin / import Last commit date
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
template.php
82 lines
1 <form class="template <?php echo ! $this->isWizard ? 'edit' : '' ?>" method="post">
2 <table class="layout">
3 <tr>
4 <td class="left">
5 <h2>
6 <?php $templates = new PMXI_Template_List() ?>
7 <span class="load-template">
8 <select name="load_template">
9 <option value=""><?php _e('Load Template...', 'pmxi_plugin') ?></option>
10 <?php foreach ($templates->getBy()->convertRecords() as $t): ?>
11 <option value="<?php echo $t->id ?>"><?php echo $t->name ?></option>
12 <?php endforeach ?>
13 </select><a href="#help" class="help" title="<?php _e('Select a <b>Template</b> from the dropdown and it will be preloaded', 'pmxi_plugin') ?>">?</a>
14 </span>
15 <?php if ($this->isWizard): ?>
16 <?php _e('Import XML/CSV - Step 3: Template Designer', 'pmxi_plugin') ?><br/><span class="taglines"><?php _e('arrange your data and design your posts', 'pmxi_plugin') ?></span>
17 <?php else: ?>
18 <?php _e('Edit Import Template', 'pmxi_plugin') ?>
19 <?php endif ?>
20 </h2>
21 <hr/>
22
23 <?php if ($this->errors->get_error_codes()): ?>
24 <?php $this->error() ?>
25 <?php endif ?>
26
27 <h3>Post Title</h3>
28 <div style="width:100%">
29 <input id="title" class="widefat" type="text" name="title" value="<?php echo esc_attr($post['title']) ?>" />
30 </div>
31
32 <h3>
33 <span class="header-option">
34 <input type="hidden" name="is_keep_linebreaks" value="0" />
35 <input type="checkbox" id="is_keep_linebreaks" name="is_keep_linebreaks" value="1" <?php echo $post['is_keep_linebreaks'] ? 'checked="checked"' : '' ?> />
36 <label for="is_keep_linebreaks"><?php _e('Keep line breaks from XML', 'pmxi_plugin') ?></label>
37 </span>
38 Post Content
39 </h3>
40 <div id="poststuff">
41 <div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea">
42
43 <?php the_editor($post['content']) ?>
44 <table id="post-status-info" cellspacing="0">
45 <tbody>
46 <tr>
47 <td id="wp-word-count"></td>
48 <td class="autosave-info">
49 <span id="autosave">&nbsp;</span>
50 </td>
51 </tr>
52 </tbody>
53 </table>
54 </div>
55 </div>
56 <p>
57 <?php wp_nonce_field('template', '_wpnonce_template') ?>
58 <input type="hidden" name="is_submitted" value="1" />
59 <?php if ($this->isWizard): ?>
60 <a href="<?php echo add_query_arg('action', 'element', $this->baseUrl) ?>" class="button back"><?php _e('Back', 'pmxi_plugin') ?></a>
61 &nbsp;
62 <input type="submit" class="button-primary" value="<?php _e('Continue', 'pmxi_plugin') ?> &gt;&gt;" />
63 <input type="text" name="name" title="<?php _e('Save Template As...', 'pmxi_plugin') ?>" style="vertical-align:middle" value="<?php echo esc_attr($post['name']) ?>" />
64 &nbsp;
65 <a href="#preview" class="button preview" title="<?php _e('Preview Post', 'pmxi_plugin') ?>"><?php _e('Preview', 'pmxi_plugin') ?></a>
66 <?php else: ?>
67 <input type="submit" class="button-primary" value="<?php _e('Edit', 'pmxi_plugin') ?>" />
68 <input type="text" name="name" title="<?php _e('Save Template As...', 'pmxi_plugin') ?>" style="vertical-align:middle" value="<?php echo esc_attr($post['name']) ?>" />
69 <?php endif ?>
70 </p>
71 </td>
72 <?php if ($this->isWizard or $this->isTemplateEdit): ?>
73 <td class="right">
74 <p><?php _e('Drag &amp; Drop opening tag of an element for inserting corresponding XPath into template or title.', 'pmxi_plugin') ?></p>
75 <p><?php _e('<a href="http://www.wpallimport.com/template-syntax/" target="_blank">Template Syntax Documentation</a>', 'pmxi_plugin') ?> - includes information on looping and shortcodes.</p>
76 <?php $this->tag() ?>
77 </td>
78 <?php endif ?>
79 </tr>
80 </table>
81 </form>
82