Ticket #10686: mt.diff
File mt.diff, 1.9 KB (added by , 16 years ago) |
---|
-
mt.php
1 1 <?php 2 2 /** 3 * Movable Type and Type pad Importer3 * Movable Type and TypePad Importer 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Importer 7 7 */ 8 8 9 9 /** 10 * Moveable Type and Type pad Importer class10 * Moveable Type and TypePad Importer class 11 11 * 12 * Upload your exported Movable Type or Type pad entries into WordPress.12 * Upload your exported Movable Type or TypePad entries into WordPress. 13 13 * 14 14 * @since unknown 15 15 */ … … 36 36 $this->header(); 37 37 ?> 38 38 <div class="narrow"> 39 <p><?php _e('Howdy! We’re about to begin importing all of your Movable Type or Type pad entries into WordPress. To begin, either choose a file to upload and click “Upload file and import”, or use FTP to upload your MT export file as <code>mt-export.txt</code> in your <code>/wp-content/</code> directory and then click "Import mt-export.txt"'); ?></p>39 <p><?php _e('Howdy! We’re about to begin importing all of your Movable Type or TypePad entries into WordPress. To begin, either choose a file to upload and click “Upload file and import”, or use FTP to upload your MT export file as <code>mt-export.txt</code> in your <code>/wp-content/</code> directory and then click "Import mt-export.txt"'); ?></p> 40 40 41 41 <?php wp_import_upload_form( add_query_arg('step', 1) ); ?> 42 42 <form method="post" action="<?php echo esc_attr(add_query_arg('step', 1)); ?>" class="import-upload-form"> … … 510 510 511 511 $mt_import = new MT_Import(); 512 512 513 register_importer('mt', __('Movable Type and TypePad'), __('Import posts and comments from a Movable Type or Type pad blog.'), array ($mt_import, 'dispatch'));513 register_importer('mt', __('Movable Type and TypePad'), __('Import posts and comments from a Movable Type or TypePad blog.'), array ($mt_import, 'dispatch')); 514 514 ?>