Make WordPress Core

Ticket #7982: import-wordpress.diff

File import-wordpress.diff, 1.3 KB (added by sivel, 17 years ago)
  • wp-admin/import/wordpress.php

     
    206206
    207207
    208208                $authors = $this->get_wp_authors();
    209                 echo '<ol id="authors">';
    210209                echo '<form action="?import=wordpress&amp;step=2&amp;id=' . $this->id . '" method="post">';
    211210                wp_nonce_field('import-wordpress');
     211                echo '<ol id="authors">';
    212212                $j = -1;
    213213                foreach ($authors as $author) {
    214214                        ++ $j;
     
    229229<?php
    230230                }
    231231
    232                 echo '<input type="submit" value="'.attribute_escape( __('Submit') ).'">'.'<br />';
     232                echo '<p class="submit">';
     233                echo '<input type="submit" class="button" value="'.attribute_escape( __('Submit') ).'" />'.'<br />';
     234                echo '</p>';
    233235                echo '</form>';
    234236
    235237        }
     
    237239        function users_form($n, $author) {
    238240
    239241                if ( $this->allow_create_users() ) {
    240                         printf('<label>'.__('Create user %1$s or map to existing'), ' <input type="text" value="'.$author.'" name="'.'user_create['.intval($n).']'.'" maxlength="30"></label> <br />');
     242                        printf('<label>'.__('Create user %1$s or map to existing'), ' <input type="text" value="'.$author.'" name="'.'user_create['.intval($n).']'.'" maxlength="30" /></label> <br />');
    241243                }
    242244                else {
    243245                        echo __('Map to existing').'<br />';