Changeset 3618


Ignore:
Timestamp:
06/03/09 12:09:38 (3 years ago)
Author:
michaeltwofish
Message:

Password reset is an action, and should be phrased as such. Also means the text isn't cut off in the button any more. Closes #970.

Location:
trunk/htdocs/system
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/system/admin/login.php

    r3577 r3618  
    4848                                         
    4949                                        <p id="password_utils"> 
    50                                                 <input class="submit" type="submit" name="submit_button" value="<?php _e('Forgot your password?'); ?>"> 
     50                                                <input class="submit" type="submit" name="submit_button" value="<?php _e('Reset password'); ?>"> 
    5151                                        </p> 
    5252 
  • trunk/htdocs/system/classes/userhandler.php

    r3577 r3618  
    1919        { 
    2020                // If we're a reset password request, do that. 
    21                 if( isset( $_POST['submit_button']) && $_POST['submit_button'] === _t( 'Forgot your password?' ) ) {     
     21                if( isset( $_POST['submit_button']) && $_POST['submit_button'] === _t( 'Reset password' ) ) { 
    2222                        Utils::check_request_method( array( 'POST' ) ); 
    2323         
Note: See TracChangeset for help on using the changeset viewer.