Changeset 9933
- Timestamp:
- 11/28/2008 02:12:36 AM (16 years ago)
- Location:
- trunk/wp-admin/import
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/blogger.php
r9903 r9933 46 46 // Shows the welcome screen and the magic auth link. 47 47 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'; 49 49 $auth_url = "https://www.google.com/accounts/AuthSubRequest"; 50 50 $title = __('Import Blogger'); … … 224 224 } 225 225 226 echo "<div class='wrap'><h2>$title</h2><noscript>$noscript</noscript><table cellpadding='5px'><thead><t d>$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>"; 227 227 echo " 228 228 <script type='text/javascript'> 229 /* <![CDATA[ */ 229 230 var strings = {cont:'$continue',stop:'$stop',stopping:'$stopping',authors:'$authors',nothing:'$nothing'}; 230 231 var blogs = {}; … … 339 340 $init 340 341 jQuery.each(blogs, function(i, me){me.init();}); 342 /* ]]> */ 341 343 </script>\n"; 342 344 } … … 661 663 $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>"; 662 664 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&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>"; 664 666 } 665 667 … … 831 833 $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.'); 832 834 $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&noheader=true'><p class='submit' style='text-align:left;'><input type='submit' class='button' value='$submit' name='restart' /></p></form></div>"; 834 836 } 835 837 } -
trunk/wp-admin/import/dotclear.php
r9903 r9933 732 732 printf('<tr><th><label for="dbpass">%s</label></th><td><input type="password" name="dbpass" id="dbpass" /></td></tr>', __('DotClear Database Password:')); 733 733 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:')); 735 735 printf('<tr><th><label for="dbprefix">%s</label></th><td><input type="text" name="dbprefix" id="dbprefix" value="dc_"/></td></tr>', __('DotClear Table prefix:')); 736 736 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 47 47 <p> </p> 48 48 49 <form name="stepOne" method="get" >49 <form name="stepOne" method="get" action=""> 50 50 <input type="hidden" name="import" value="greymatter" /> 51 51 <input type="hidden" name="step" value="1" /> … … 67 67 </tr> 68 68 </table> 69 </p>70 69 <p class="submit"><input type="submit" name="submit" class="button" value="<?php _e('Start Importing') ?>" /></p> 71 70 </form>
Note: See TracChangeset
for help on using the changeset viewer.