What an oogly importer.

git-svn-id: https://develop.svn.wordpress.org/trunk@3719 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2006-04-19 07:25:52 +00:00
parent 6c74dd7eeb
commit 24aed7b0cf
1 changed files with 5 additions and 3 deletions

View File

@ -134,6 +134,8 @@ class MT_Import {
function mt_authors_form() {
?>
<div class="wrap">
<h2><?php _e('Assign Authors'); ?></h2>
<p><?php _e('To make it easier for you to edit and save the imported posts and drafts, you may want to change the name of the author of the posts. For example, you may want to import all the entries as <code>admin</code>s entries.'); ?></p>
<p><?php _e('Below, you can see the names of the authors of the MovableType posts in <i>italics</i>. For each of these names, you can either pick an author in your WordPress installation from the menu, or enter a name for the author in the textbox.'); ?></p>
<p><?php _e('If a new user is created by WordPress, the password will be set, by default, to "changeme". Quite suggestive, eh? ;)'); ?></p>
@ -153,7 +155,7 @@ class MT_Import {
echo '<input type="submit" value="Submit">'.'<br/>';
echo '</form>';
echo '</ol>';
echo '</ol></div>';
flush();
}
@ -174,7 +176,7 @@ class MT_Import {
function process_posts() {
global $wpdb;
$i = -1;
echo "<ol>";
echo "<div class='wrap'><ol>";
foreach ($this->posts as $post) {
if ('' != trim($post)) {
++ $i;
@ -389,7 +391,7 @@ class MT_Import {
wp_import_cleanup($this->id);
echo '<h3>'.sprintf(__('All done. <a href="%s">Have fun!</a>'), get_option('home')).'</h3>';
echo '<h3>'.sprintf(__('All done. <a href="%s">Have fun!</a>'), get_option('home')).'</h3></div>';
}
function import() {