Password reset usability improvements from tellyworth. fixes #4527
git-svn-id: http://svn.automattic.com/wordpress/trunk@5800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
22c16718c5
commit
17a5de92fe
|
@ -688,6 +688,7 @@ input.delete:hover {
|
||||||
padding: 0 50px 25px;
|
padding: 0 50px 25px;
|
||||||
_width: 325px;
|
_width: 325px;
|
||||||
_margin: 0 auto;
|
_margin: 0 auto;
|
||||||
|
height: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#login #login_error {
|
#login #login_error {
|
||||||
|
|
|
@ -345,6 +345,7 @@ default:
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<form name="loginform" id="loginform" action="wp-login.php" method="post">
|
<form name="loginform" id="loginform" action="wp-login.php" method="post">
|
||||||
|
<?php if ( !in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?>
|
||||||
<p>
|
<p>
|
||||||
<label><?php _e('Username:') ?><br />
|
<label><?php _e('Username:') ?><br />
|
||||||
<input type="text" name="log" id="user_login" class="input" value="<?php echo attribute_escape(stripslashes($user_login)); ?>" size="20" tabindex="10" /></label>
|
<input type="text" name="log" id="user_login" class="input" value="<?php echo attribute_escape(stripslashes($user_login)); ?>" size="20" tabindex="10" /></label>
|
||||||
|
@ -359,11 +360,16 @@ default:
|
||||||
<input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Login'); ?> »" tabindex="100" />
|
<input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Login'); ?> »" tabindex="100" />
|
||||||
<input type="hidden" name="redirect_to" value="<?php echo attribute_escape($redirect_to); ?>" />
|
<input type="hidden" name="redirect_to" value="<?php echo attribute_escape($redirect_to); ?>" />
|
||||||
</p>
|
</p>
|
||||||
|
<?php else : ?>
|
||||||
|
<p> </p>
|
||||||
|
<?php endif; ?>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<?php if (get_option('users_can_register')) : ?>
|
<?php if ( in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?>
|
||||||
|
<li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li>
|
||||||
|
<?php elseif (get_option('users_can_register')) : ?>
|
||||||
<li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=register"><?php _e('Register') ?></a></li>
|
<li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=register"><?php _e('Register') ?></a></li>
|
||||||
<li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a></li>
|
<li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a></li>
|
||||||
<li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li>
|
<li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li>
|
||||||
|
|
Loading…
Reference in New Issue