<?php
+/**
+ * Simple Tags Plugin Importer
+ *
+ * @package WordPress
+ * @subpackage Importer
+ */
+
+/**
+ * Simple Tags Plugin Tags converter class.
+ *
+ * Will convert Simple Tags Plugin tags over to the WordPress 2.3 taxonomy.
+ *
+ * @since unknown
+ */
class STP_Import {
function header() {
echo '<div class="wrap">';
+ screen_icon();
echo '<h2>'.__('Import Simple Tagging').'</h2>';
echo '<p>'.__('Steps may take a few minutes depending on the size of your database. Please be patient.').'<br /><br /></p>';
}
echo '<p><strong>'.__('Don’t be stupid - backup your database before proceeding!').'</strong></p>';
echo '<form action="admin.php?import=stp&step=1" method="post">';
wp_nonce_field('import-stp');
- echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 1').'" /></p>';
+ echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Step 1').'" /></p>';
echo '</form>';
echo '</div>';
}
echo '<form action="admin.php?import=stp&step=2" method="post">';
wp_nonce_field('import-stp');
- echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 2').'" /></p>';
+ echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Step 2').'" /></p>';
echo '</form>';
echo '</div>';
}
echo '<p>' . sprintf( __ngettext('Done! <strong>%s</strong> tag was added!', 'Done! <strong>%s</strong> tags were added!', $tags_added), $tags_added ) . '<br /></p>';
echo '<form action="admin.php?import=stp&step=3" method="post">';
wp_nonce_field('import-stp');
- echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 3').'" /></p>';
+ echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Step 3').'" /></p>';
echo '</form>';
echo '</div>';
}