X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/76aea3697c6043c1613370f172395b4f65ee71f0..11be8dc178e77d0b46189bbd8e33a216a9b90942:/wp-admin/import/dotclear.php diff --git a/wp-admin/import/dotclear.php b/wp-admin/import/dotclear.php index da1047ff..d51f0417 100644 --- a/wp-admin/import/dotclear.php +++ b/wp-admin/import/dotclear.php @@ -1,7 +1,11 @@ )\s*\n|', ' ', $s)); } /** - The Main Importer Class -**/ + * Dotclear Importer class + * + * Will process the WordPress eXtended RSS files that you upload from the export + * file. + * + * @package WordPress + * @subpackage Importer + * + * @since unknown + */ class Dotclear_Import { function header() { echo '
'; + screen_icon(); echo '

'.__('Import DotClear').'

'; echo '

'.__('Steps may take a few minutes depending on the size of your database. Please be patient.').'

'; } @@ -128,7 +215,7 @@ class Dotclear_Import { echo '
'; wp_nonce_field('import-dotclear'); $this->db_form(); - echo '

'; + echo '

'; echo '
'; } @@ -545,7 +632,7 @@ class Dotclear_Import { echo '
'; wp_nonce_field('import-dotclear'); - printf('', attribute_escape(__('Import Users'))); + printf('

', attribute_escape(__('Import Users'))); echo '
'; } @@ -558,7 +645,7 @@ class Dotclear_Import { echo '
'; wp_nonce_field('import-dotclear'); - printf('', attribute_escape(__('Import Posts'))); + printf('

', attribute_escape(__('Import Posts'))); echo '
'; } @@ -572,7 +659,7 @@ class Dotclear_Import { echo '
'; wp_nonce_field('import-dotclear'); - printf('', attribute_escape(__('Import Comments'))); + printf('

', attribute_escape(__('Import Comments'))); echo '
'; } @@ -584,7 +671,7 @@ class Dotclear_Import { echo '
'; wp_nonce_field('import-dotclear'); - printf('', attribute_escape(__('Import Links'))); + printf('

', attribute_escape(__('Import Links'))); echo '
'; } @@ -597,7 +684,7 @@ class Dotclear_Import { echo '
'; wp_nonce_field('import-dotclear'); - printf('', attribute_escape(__('Finish'))); + printf('

', attribute_escape(__('Finish'))); echo '
'; } @@ -644,7 +731,7 @@ class Dotclear_Import { printf('', __('DotClear Database User:')); printf('', __('DotClear Database Password:')); printf('', __('DotClear Database Name:')); - printf('', __('DotClear Database Host:')); + printf('', __('DotClear Database Host:')); printf('', __('DotClear Table prefix:')); printf('', __('Originating character set:')); echo ''; @@ -742,5 +829,7 @@ class Dotclear_Import { } $dc_import = new Dotclear_Import(); + register_importer('dotclear', __('DotClear'), __('Import categories, users, posts, comments, and links from a DotClear blog.'), array ($dc_import, 'dispatch')); + ?>