git-svn-id: http://svn.automattic.com/wordpress/trunk@2245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2005-02-11 00:51:39 +00:00
parent 792146c8a6
commit 695b6499d0
1 changed files with 8 additions and 6 deletions

View File

@ -74,7 +74,7 @@ case 'register':
} }
$message = __('Login') . ": $user_login\r\n"; $message = __('Login') . ": $user_login\r\n";
$message .= __('Password') . ": $new_pass\r\n"; $message .= __('Password') . ": $password\r\n";
$message .= get_settings('siteurl') . '/wp-login.php'; $message .= get_settings('siteurl') . '/wp-login.php';
wp_mail($user_email, sprintf(__("[%s] Your login information"), get_settings('blogname')), $message); wp_mail($user_email, sprintf(__("[%s] Your login information"), get_settings('blogname')), $message);
@ -90,6 +90,11 @@ case 'register':
<title>WordPress &raquo; <?php _e('Registration Complete') ?></title> <title>WordPress &raquo; <?php _e('Registration Complete') ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_settings('blog_charset'); ?>" /> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_settings('blog_charset'); ?>" />
<link rel="stylesheet" href="wp-admin/wp-admin.css" type="text/css" /> <link rel="stylesheet" href="wp-admin/wp-admin.css" type="text/css" />
<style type="text/css">
.submit {
font-size: 1.7em;
}
</style>
</head> </head>
<body> <body>
@ -98,10 +103,7 @@ case 'register':
<p><?php _e('Login:') ?> <strong><?php echo $user_login; ?></strong><br /> <p><?php _e('Login:') ?> <strong><?php echo $user_login; ?></strong><br />
<?php _e('Password:') ?> <strong>emailed to you</strong><br /> <?php _e('Password:') ?> <strong>emailed to you</strong><br />
<?php _e('E-mail:') ?> <strong><?php echo $user_email; ?></strong></p> <?php _e('E-mail:') ?> <strong><?php echo $user_email; ?></strong></p>
<form action="wp-login.php" method="post" name="login"> <p class="submit"><a href="wp-login.php"><?php _e('Login'); ?> &raquo;</a></p>
<input type="hidden" name="log" value="<?php echo $user_login; ?>" />
<input type="submit" value="<?php _e('Login') ?>" name="submit" />
</form>
</div> </div>
</body> </body>
</html> </html>