Make WordPress Core

Changeset 9933


Ignore:
Timestamp:
11/28/2008 02:12:36 AM (16 years ago)
Author:
azaozz
Message:

Importers XHTML fixes, props sivel, fixes #8403

Location:
trunk/wp-admin/import
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/blogger.php

    r9903 r9933  
    4646    // Shows the welcome screen and the magic auth link.
    4747    function greet() {
    48         $next_url = get_option('siteurl') . '/wp-admin/index.php?import=blogger&noheader=true';
     48        $next_url = get_option('siteurl') . '/wp-admin/index.php?import=blogger&noheader=true';
    4949        $auth_url = "https://www.google.com/accounts/AuthSubRequest";
    5050        $title = __('Import Blogger');
     
    224224        }
    225225
    226         echo "<div class='wrap'><h2>$title</h2><noscript>$noscript</noscript><table cellpadding='5px'><thead><td>$name</td><td>$url</td><td>$posts</td><td>$comments</td><td>$action</td></thead>\n$rows</table></form></div>";
     226        echo "<div class='wrap'><h2>$title</h2><noscript>$noscript</noscript><table cellpadding='5px'><thead><tr><td>$name</td><td>$url</td><td>$posts</td><td>$comments</td><td>$action</td></tr></thead>\n$rows</table></div>";
    227227        echo "
    228228        <script type='text/javascript'>
     229        /* <![CDATA[ */
    229230            var strings = {cont:'$continue',stop:'$stop',stopping:'$stopping',authors:'$authors',nothing:'$nothing'};
    230231            var blogs = {};
     
    339340            $init
    340341            jQuery.each(blogs, function(i, me){me.init();});
     342        /* ]]> */
    341343        </script>\n";
    342344    }
     
    661663            $rows .= "<tr><td><label for='authors[$i]'>{$author[0]}</label></td><td><select name='authors[$i]' id='authors[$i]'>" . $this->get_user_options($author[1]) . "</select></td></tr>";
    662664
    663         return "<div class='wrap'><h2>$heading</h2><h3>$blogtitle</h3><p>$directions</p><form action='index.php?import=blogger&noheader=true&saveauthors=1' method='post'><input type='hidden' name='blog' value='$importing_blog' /><table cellpadding='5'><thead><td>$mapthis</td><td>$tothis</td></thead>$rows<tr><td></td><td class='submit'><input type='submit' class='button authorsubmit' value='$submit' /></td></tr></table></form></div>";
     665        return "<div class='wrap'><h2>$heading</h2><h3>$blogtitle</h3><p>$directions</p><form action='index.php?import=blogger&amp;noheader=true&saveauthors=1' method='post'><input type='hidden' name='blog' value='$importing_blog' /><table cellpadding='5'><thead><td>$mapthis</td><td>$tothis</td></thead>$rows<tr><td></td><td class='submit'><input type='submit' class='button authorsubmit' value='$submit' /></td></tr></table></form></div>";
    664666    }
    665667
     
    831833            $message = __('We have saved some information about your Blogger account in your WordPress database. Clearing this information will allow you to start over. Restarting will not affect any posts you have already imported. If you attempt to re-import a blog, duplicate posts and comments will be skipped.');
    832834            $submit = __('Clear account information');
    833             echo "<div class='wrap'><h2>$restart</h2><p>$message</p><form method='post' action='?import=blogger&noheader=true'><p class='submit' style='text-align:left;'><input type='submit' class='button' value='$submit' name='restart' /></p></form></div>";
     835            echo "<div class='wrap'><h2>$restart</h2><p>$message</p><form method='post' action='?import=blogger&amp;noheader=true'><p class='submit' style='text-align:left;'><input type='submit' class='button' value='$submit' name='restart' /></p></form></div>";
    834836        }
    835837    }
  • trunk/wp-admin/import/dotclear.php

    r9903 r9933  
    732732        printf('<tr><th><label for="dbpass">%s</label></th><td><input type="password" name="dbpass" id="dbpass" /></td></tr>', __('DotClear Database Password:'));
    733733        printf('<tr><th><label for="dbname">%s</label></th><td><input type="text" name="dbname" id="dbname" /></td></tr>', __('DotClear Database Name:'));
    734         printf('<tr><th><label for="dbhost">%s</label></th><td><input type="text" name="dbhost" nameid="dbhost" value="localhost" /></td></tr>', __('DotClear Database Host:'));
     734        printf('<tr><th><label for="dbhost">%s</label></th><td><input type="text" name="dbhost" id="dbhost" value="localhost" /></td></tr>', __('DotClear Database Host:'));
    735735        printf('<tr><th><label for="dbprefix">%s</label></th><td><input type="text" name="dbprefix" id="dbprefix" value="dc_"/></td></tr>', __('DotClear Table prefix:'));
    736736        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:'));
  • trunk/wp-admin/import/greymatter.php

    r9903 r9933  
    4747<p>&nbsp;</p>
    4848
    49 <form name="stepOne" method="get">
     49<form name="stepOne" method="get" action="">
    5050<input type="hidden" name="import" value="greymatter" />
    5151<input type="hidden" name="step" value="1" />
     
    6767</tr>
    6868</table>
    69 </p>
    7069<p class="submit"><input type="submit" name="submit" class="button" value="<?php _e('Start Importing') ?>" /></p>
    7170</form>
Note: See TracChangeset for help on using the changeset viewer.