diff -r a4642baaf829 -r 4d4862461b8d web/wp-admin/import/greymatter.php --- a/web/wp-admin/import/greymatter.php Tue Feb 02 14:45:47 2010 +0000 +++ b/web/wp-admin/import/greymatter.php Tue Feb 02 15:44:16 2010 +0000 @@ -1,334 +1,334 @@ -'; - screen_icon(); - echo '

'.__('Import GreyMatter').'

'; - } - - function footer() { - echo ''; - } - - function greet() { - $this->header(); -?> -

-

- -

- -

 

- -
- - - -

- - - - - - - - - - - - - -

- so you need to enter the number of the last GM post here.
(if you don’t know that number, just log into your FTP and look it out
in the entries’ folder)') ?>
-

-
-footer(); - } - - - - function gm2autobr($string) { // transforms GM's |*| into b2's
\n - $string = str_replace("|*|","
\n",$string); - return($string); - } - - function import() { - global $wpdb; - - $wpvarstoreset = array('gmpath', 'archivespath', 'lastentry'); - for ($i=0; $iheader(); -?> -

- -

 

-

-footer(); - return; - } - - function dispatch() { - if (empty ($_GET['step'])) - $step = 0; - else - $step = (int) $_GET['step']; - - switch ($step) { - case 0 : - $this->greet(); - break; - case 1: - check_admin_referer('import-greymatter'); - $result = $this->import(); - if ( is_wp_error( $result ) ) - echo $result->get_error_message(); - break; - } - } - - function GM_Import() { - // Nothing. - } -} - -$gm_import = new GM_Import(); - -register_importer('greymatter', __('GreyMatter'), __('Import users, posts, and comments from a Greymatter blog.'), array ($gm_import, 'dispatch')); -?> +'; + screen_icon(); + echo '

'.__('Import GreyMatter').'

'; + } + + function footer() { + echo ''; + } + + function greet() { + $this->header(); +?> +

+

+ +

+ +

 

+ +
+ + + +

+ + + + + + + + + + + + + +

+ so you need to enter the number of the last GM post here.
(if you don’t know that number, just log in to your FTP and look it out
in the entries’ folder)') ?>
+

+
+footer(); + } + + + + function gm2autobr($string) { // transforms GM's |*| into b2's
\n + $string = str_replace("|*|","
\n",$string); + return($string); + } + + function import() { + global $wpdb; + + $wpvarstoreset = array('gmpath', 'archivespath', 'lastentry'); + for ($i=0; $iheader(); +?> +

+ +

 

+

+footer(); + return; + } + + function dispatch() { + if (empty ($_GET['step'])) + $step = 0; + else + $step = (int) $_GET['step']; + + switch ($step) { + case 0 : + $this->greet(); + break; + case 1: + check_admin_referer('import-greymatter'); + $result = $this->import(); + if ( is_wp_error( $result ) ) + echo $result->get_error_message(); + break; + } + } + + function GM_Import() { + // Nothing. + } +} + +$gm_import = new GM_Import(); + +register_importer('greymatter', __('GreyMatter'), __('Import users, posts, and comments from a Greymatter blog.'), array ($gm_import, 'dispatch')); +?>