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/textpattern.php | |
| 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/textpattern.php')
| -rw-r--r-- | wp-admin/import/textpattern.php | 21 |
1 files changed, 11 insertions, 10 deletions
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() |
