diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-10-06 07:02:57 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-10-06 07:02:57 +0000 |
commit | a5b29f6db23d18f819bb6676d05863dcd7504eb9 (patch) | |
tree | 4807bdb393534ae43d21f6348949497e3b6c5c1e /wp-admin/import | |
parent | 6e038c5171a02fc6920d376ba49d14fadbb8a5e0 (diff) | |
download | wordpress-mu-a5b29f6db23d18f819bb6676d05863dcd7504eb9.tar.gz wordpress-mu-a5b29f6db23d18f819bb6676d05863dcd7504eb9.tar.xz wordpress-mu-a5b29f6db23d18f819bb6676d05863dcd7504eb9.zip |
WP Merge to rev 4349
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@793 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/import')
-rw-r--r-- | wp-admin/import/blogware.php | 2 | ||||
-rw-r--r-- | wp-admin/import/dotclear.php | 22 | ||||
-rw-r--r-- | wp-admin/import/livejournal.php | 2 | ||||
-rw-r--r-- | wp-admin/import/mt.php | 2 | ||||
-rw-r--r-- | wp-admin/import/rss.php | 2 | ||||
-rw-r--r-- | wp-admin/import/textpattern.php | 21 | ||||
-rw-r--r-- | wp-admin/import/wordpress.php | 2 |
7 files changed, 32 insertions, 21 deletions
diff --git a/wp-admin/import/blogware.php b/wp-admin/import/blogware.php index abb43d5..780e45d 100644 --- a/wp-admin/import/blogware.php +++ b/wp-admin/import/blogware.php @@ -22,8 +22,10 @@ class BW_Import { }
function greet() {
+ echo '<div class="narrow">';
echo '<p>'.__('Howdy! This importer allows you to extract posts from Blogware XML export file into your blog. Pick a Blogware file to upload and click Import.').'</p>';
wp_import_upload_form("admin.php?import=blogware&step=1");
+ echo '</div>';
}
function import_posts() {
diff --git a/wp-admin/import/dotclear.php b/wp-admin/import/dotclear.php index 48db721..2e6b864 100644 --- a/wp-admin/import/dotclear.php +++ b/wp-admin/import/dotclear.php @@ -143,12 +143,12 @@ class Dotclear_Import { function greet() { - echo '<p>'.__('Howdy! This importer allows you to extract posts from a Dotclear database into your blog. Mileage may vary.').'</p>'; + echo '<div class="narrow"><p>'.__('Howdy! This importer allows you to extract posts from a Dotclear database into your blog. Mileage may vary.').'</p>'; echo '<p>'.__('Your Dotclear Configuration settings are as follows:').'</p>'; echo '<form action="admin.php?import=dotclear&step=1" method="post">'; $this->db_form(); - echo '<input type="submit" name="submit" value="'.__('Import Categories').'" />'; - echo '</form>'; + echo '<p class="submit"><input type="submit" name="submit" value="'.__('Import Categories').' »" /></p>'; + echo '</form></div>'; } function get_dc_cats() @@ -645,14 +645,14 @@ class Dotclear_Import { function db_form() { - echo '<ul>'; - printf('<li><label for="dbuser">%s</label> <input type="text" name="dbuser" id="dbuser" /></li>', __('Dotclear Database User:')); - printf('<li><label for="dbpass">%s</label> <input type="password" name="dbpass" id="dbpass" /></li>', __('Dotclear Database Password:')); - printf('<li><label for="dbname">%s</label> <input type="text" name="dbname" id="dbname" /></li>', __('Dotclear Database Name:')); - printf('<li><label for="dbhost">%s</label> <input type="text" name="dbhost" nameid="dbhost" value="localhost" /></li>', __('Dotclear Database Host:')); - printf('<li><label for="dbprefix">%s</label> <input type="text" name="dbprefix" id="dbprefix" value="dc_"/></li>', __('Dotclear Table prefix:')); - printf('<li><label for="dccharset">%s</label> <input type="text" name="dccharset" id="dccharset" value="ISO-8859-15"/></li>', __('Originating character set:')); - echo '</ul>'; + echo '<table class="editform">'; + printf('<tr><th><label for="dbuser">%s</label></th><td><input type="text" name="dbuser" id="dbuser" /></td></tr>', __('Dotclear Database User:')); + printf('<tr><th><label for="dbpass">%s</label></th><td><input type="password" name="dbpass" id="dbpass" /></td></tr>', __('Dotclear Database Password:')); + printf('<tr><th><label for="dbname">%s</label></th><td><input type="text" name="dbname" id="dbname" /></td></tr>', __('Dotclear Database Name:')); + printf('<tr><th><label for="dbhost">%s</label></th><td><input type="text" name="dbhost" nameid="dbhost" value="localhost" /></td></tr>', __('Dotclear Database Host:')); + printf('<tr><th><label for="dbprefix">%s</label></th><td><input type="text" name="dbprefix" id="dbprefix" value="dc_"/></td></tr>', __('Dotclear Table prefix:')); + printf('<tr><th><label for="dccharset">%s</label></th><td><input type="text" name="dccharset" id="dccharset" value="ISO-8859-15"/></td></tr>', __('Originating character set:')); + echo '</table>'; } function dispatch() diff --git a/wp-admin/import/livejournal.php b/wp-admin/import/livejournal.php index d0c6102..2d770ec 100644 --- a/wp-admin/import/livejournal.php +++ b/wp-admin/import/livejournal.php @@ -20,8 +20,10 @@ class LJ_Import { } function greet() { + echo '<div class="narrow">'; echo '<p>'.__('Howdy! This importer allows you to extract posts from LiveJournal XML export file into your blog. Pick a LiveJournal file to upload and click Import.').'</p>'; wp_import_upload_form("admin.php?import=livejournal&step=1"); + echo '</div>'; } function import_posts() { diff --git a/wp-admin/import/mt.php b/wp-admin/import/mt.php index bf33718..014529e 100644 --- a/wp-admin/import/mt.php +++ b/wp-admin/import/mt.php @@ -21,9 +21,11 @@ class MT_Import { function greet() { $this->header(); ?> +<div class="narrow"> <p><?php _e('Howdy! We’re about to begin the process to import all of your Movable Type entries into WordPress. To begin, select a file to upload and click Import.'); ?></p> <?php wp_import_upload_form( add_query_arg('step', 1) ); ?> <p><?php _e('The importer is smart enough not to import duplicates, so you can run this multiple times without worry if—for whatever reason—it doesn\'t finish. If you get an <strong>out of memory</strong> error try splitting up the import file into pieces.'); ?> </p> +</div> <?php $this->footer(); } diff --git a/wp-admin/import/rss.php b/wp-admin/import/rss.php index aabfe4e..8a9b9a6 100644 --- a/wp-admin/import/rss.php +++ b/wp-admin/import/rss.php @@ -21,8 +21,10 @@ class RSS_Import { } function greet() { + echo '<div class="narrow">'; echo '<p>'.__('Howdy! This importer allows you to extract posts from any RSS 2.0 file into your blog. This is useful if you want to import your posts from a system that is not handled by a custom import tool. Pick an RSS file to upload and click Import.').'</p>'; wp_import_upload_form("admin.php?import=rss&step=1"); + echo '</div>'; } function get_posts() { diff --git a/wp-admin/import/textpattern.php b/wp-admin/import/textpattern.php index f9937ff..e1a0339 100644 --- a/wp-admin/import/textpattern.php +++ b/wp-admin/import/textpattern.php @@ -50,14 +50,15 @@ class Textpattern_Import { echo '</div>'; } - function greet() - { + function greet() { + echo '<div class="narrow">'; echo '<p>'.__('Howdy! This importer allows you to extract posts from any Textpattern 4.0.2+ into your blog. This has not been tested on previous versions of Textpattern. Mileage may vary.').'</p>'; echo '<p>'.__('Your Textpattern Configuration settings are as follows:').'</p>'; echo '<form action="admin.php?import=textpattern&step=1" method="post">'; $this->db_form(); - echo '<input type="submit" name="submit" value="'.__('Import Categories').'" />'; + echo '<p class="submit"><input type="submit" name="submit" value="'.__('Import Categories').' »" /></p>'; echo '</form>'; + echo '</div>'; } function get_txp_cats() @@ -568,13 +569,13 @@ class Textpattern_Import { function db_form() { - echo '<ul>'; - printf('<li><label for="dbuser">%s</label> <input type="text" name="dbuser" id="dbuser" /></li>', __('Textpattern Database User:')); - printf('<li><label for="dbpass">%s</label> <input type="password" name="dbpass" id="dbpass" /></li>', __('Textpattern Database Password:')); - printf('<li><label for="dbname">%s</label> <input type="text" id="dbname" name="dbname" /></li>', __('Textpattern Database Name:')); - printf('<li><label for="dbhost">%s</label> <input type="text" id="dbhost" name="dbhost" value="localhost" /></li>', __('Textpattern Database Host:')); - printf('<li><label for="dbprefix">%s</label> <input type="text" name="dbprefix" id="dbprefix" /></li>', __('Textpattern Table prefix (if any):')); - echo '</ul>'; + echo '<table class="editform">'; + printf('<tr><th scope="row"><label for="dbuser">%s</label></th><td><input type="text" name="dbuser" id="dbuser" /></td></tr>', __('Textpattern Database User:')); + printf('<tr><th scope="row"><label for="dbpass">%s</label></th><td><input type="password" name="dbpass" id="dbpass" /></td></tr>', __('Textpattern Database Password:')); + printf('<tr><th scope="row"><label for="dbname">%s</label></th><td><input type="text" id="dbname" name="dbname" /></td></tr>', __('Textpattern Database Name:')); + printf('<tr><th scope="row"><label for="dbhost">%s</label></th><td><input type="text" id="dbhost" name="dbhost" value="localhost" /></td></tr>', __('Textpattern Database Host:')); + printf('<tr><th scope="row"><label for="dbprefix">%s</label></th><td><input type="text" name="dbprefix" id="dbprefix" /></td></tr>', __('Textpattern Table prefix (if any):')); + echo '</table>'; } function dispatch() diff --git a/wp-admin/import/wordpress.php b/wp-admin/import/wordpress.php index ded4b94..5c67eec 100644 --- a/wp-admin/import/wordpress.php +++ b/wp-admin/import/wordpress.php @@ -25,8 +25,10 @@ class WP_Import { }
function greet() {
+ echo '<div class="narrow">';
echo '<p>'.__('Howdy! Upload your WordPress eXtended RSS (WXR) file and we’ll import the posts and comments into this blog.').'</p>';
wp_import_upload_form("admin.php?import=wordpress&step=1");
+ echo '</div>';
}
function get_tag( $string, $tag ) {
|