Changeset 2437 for trunk/wp-login.php
- Timestamp:
- 03/13/2005 05:06:18 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-login.php
r2436 r2437 67 67 <p> 68 68 <input type="hidden" name="action" value="retrievepassword" /> 69 <label><?php _e(' Login') ?>:<br />69 <label><?php _e('Username:') ?><br /> 70 70 <input type="text" name="user_login" id="user_login" value="" size="20" tabindex="1" /></label></p> 71 <p><label><?php _e('E-mail ') ?>:<br />71 <p><label><?php _e('E-mail:') ?><br /> 72 72 <input type="text" name="email" id="email" value="" size="25" tabindex="2" /></label><br /> 73 73 </p> … … 102 102 // now insert the new pass md5'd into the db 103 103 $wpdb->query("UPDATE $wpdb->users SET user_activation_key = '$key' WHERE user_login = '$user_login'"); 104 $message .= __("Someone has asked to reset a password for the login this site\n\n " . get_option('siteurl') ) . "\n\n"; 105 $message .= __('Login') . ": $user_login\r\n\r\n"; 104 $message .= __("Someone has asked to reset the password for the following site and username.\n\n"); 105 $message .= get_option('siteurl') . "\n\n"; 106 $message .= sprintf(__('Username: %s'), $user_login) . "\r\n\r\n"; 106 107 $message .= __("To reset your password visit the following address, otherwise just ignore this email and nothing will happen.\n\n"); 107 108 $message .= get_settings('siteurl') . "/wp-login.php?action=resetpass&key=$key"; … … 133 134 $new_pass = substr( md5( uniqid( microtime() ) ), 0, 7); 134 135 $wpdb->query("UPDATE $wpdb->users SET user_pass = MD5('$new_pass'), user_activation_key = '' WHERE user_login = '$user->user_login'"); 135 $message = __('Login') . ": $user->user_login\r\n";136 $message .= __('Password') . ": $new_pass\r\n";136 $message = sprintf(__('Username: %s'), $user->user_login) . "\r\n"; 137 $message .= sprintf(__('Password: %s'), $new_pass) . "\r\n"; 137 138 $message .= get_settings('siteurl') . '/wp-login.php'; 138 139 … … 223 224 224 225 <form name="loginform" id="loginform" action="wp-login.php" method="post"> 225 <p><label><?php _e(' Login') ?>:<br /><input type="text" name="log" id="log" value="" size="20" tabindex="1" /></label></p>226 <p><label><?php _e('Password ') ?>:<br /> <input type="password" name="pwd" id="pwd" value="" size="20" tabindex="2" /></label></p>226 <p><label><?php _e('Username:') ?><br /><input type="text" name="log" id="log" value="" size="20" tabindex="1" /></label></p> 227 <p><label><?php _e('Password:') ?><br /> <input type="password" name="pwd" id="pwd" value="" size="20" tabindex="2" /></label></p> 227 228 <p class="submit"> 228 229 <input type="submit" name="submit" id="submit" value="<?php _e('Login'); ?> »" tabindex="3" />
Note: See TracChangeset
for help on using the changeset viewer.