Make WordPress Core

Changeset 2437 for trunk/wp-login.php


Ignore:
Timestamp:
03/13/2005 05:06:18 PM (20 years ago)
Author:
ryan
Message:

Change login noun to Username. http://mosquito.wordpress.org/view.php?id=1088 Props: Albert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r2436 r2437  
    6767<p>
    6868<input type="hidden" name="action" value="retrievepassword" />
    69 <label><?php _e('Login') ?>:<br />
     69<label><?php _e('Username:') ?><br />
    7070<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 />
    7272<input type="text" name="email" id="email" value="" size="25" tabindex="2" /></label><br />
    7373</p>
     
    102102    // now insert the new pass md5'd into the db
    103103    $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";
    106107    $message .= __("To reset your password visit the following address, otherwise just ignore this email and nothing will happen.\n\n");
    107108    $message .= get_settings('siteurl') . "/wp-login.php?action=resetpass&key=$key";
     
    133134    $new_pass = substr( md5( uniqid( microtime() ) ), 0, 7);
    134135    $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";
    137138    $message .= get_settings('siteurl') . '/wp-login.php';
    138139
     
    223224
    224225<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>
    227228<p class="submit">
    228229    <input type="submit" name="submit" id="submit" value="<?php _e('Login'); ?> &raquo;" tabindex="3" />
Note: See TracChangeset for help on using the changeset viewer.