<?php
-
+/**
+ * BunnyTags Plugin Tag Importer
+ *
+ * @package WordPress
+ * @subpackage Importer
+ */
+
+/**
+ * BunnyTags Plugin tag converter
+ *
+ * This will process the BunnyTags plugin tags and convert them to the WordPress
+ * 2.3 taxonomy.
+ *
+ * @since unknown
+ */
class BunnyTags_Import {
function header() {
echo '<div class="wrap">';
+ screen_icon();
echo '<h2>'.__('Import Bunny’s Technorati Tags').'</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=btt&step=1" method="post">';
wp_nonce_field('import-btt');
- echo '<p class="submit"><input type="submit" name="submit" value="'.__('Import Tags').'" /></p>';
+ echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Import Tags').'" /></p>';
echo '</form>';
echo '</div>';
}
return false;
} else {
$count = count($metakeys);
- echo '<p>' . sprintf( __ngettext('Done! <strong>%s</strong> post with tags were read.', 'Done! <strong>%s</strong> posts with tags were read.', $count), $count ) . '<br /></p>';
+ echo '<p>' . sprintf( _n('Done! <strong>%s</strong> post with tags were read.', 'Done! <strong>%s</strong> posts with tags were read.', $count), $count ) . '<br /></p>';
echo '<ul>';
foreach ( $metakeys as $post_meta ) {
if ( $post_meta->meta_value != '' ) {
echo '<form action="admin.php?import=btt&step='.($precheck? 2:3).'" method="post">';
wp_nonce_field('import-btt');
- echo '<p class="submit"><input type="submit" name="submit" value="'.__('Next').'" /></p>';
+ echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.esc_attr__('Next').'" /></p>';
echo '</form>';
echo '</div>';
}