WordPress.org

Make WordPress Core

Changeset 6612


Ignore:
Timestamp:
01/14/08 09:11:41 (6 years ago)
Author:
matt
Message:

New login screen. Clearing out images not used anymore.

Location:
trunk
Files:
2 added
14 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r6566 r6612  
    3636    <title><?php bloginfo('name'); ?> &rsaquo; <?php echo $title; ?></title> 
    3737    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> 
    38     <?php wp_admin_css(); ?> 
    39     <!--[if IE]><style type="text/css">#login h1 a { margin-top: 35px; } #login #login_error { margin-bottom: 10px; }</style><![endif]--><!-- Curse you, IE! --> 
     38    <link rel='stylesheet' href='wp-admin/css/login.css' type='text/css' /> 
    4039    <script type="text/javascript"> 
    4140        function focusit() { 
     
    139138<form name="lostpasswordform" id="lostpasswordform" action="wp-login.php?action=lostpassword" method="post"> 
    140139    <p> 
    141         <label><?php _e('Username:') ?><br /> 
     140        <label><?php _e('Username') ?><br /> 
    142141        <input type="text" name="user_login" id="user_login" class="input" value="<?php echo attribute_escape(stripslashes($_POST['user_login'])); ?>" size="20" tabindex="10" /></label> 
    143142    </p> 
    144143    <p> 
    145         <label><?php _e('E-mail:') ?><br /> 
     144        <label><?php _e('E-mail') ?><br /> 
    146145        <input type="text" name="user_email" id="user_email" class="input" value="<?php echo attribute_escape(stripslashes($_POST['user_email'])); ?>" size="25" tabindex="20" /></label> 
    147146    </p> 
    148147<?php do_action('lostpassword_form'); ?> 
    149148    <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Get New Password &raquo;'); ?>" tabindex="100" /></p> 
     149    <div><br clear="all" /></div> 
    150150</form> 
     151 
     152<p id="nav"> 
     153<?php if (get_option('users_can_register')) : ?> 
     154<a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Log in') ?></a> |  
     155<a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=register"><?php _e('Register') ?></a> 
     156<?php else : ?> 
     157<a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Log in') ?></a> 
     158<?php endif; ?> 
     159</p> 
     160 
    151161</div> 
    152162 
    153 <ul> 
    154 <?php if (get_option('users_can_register')) : ?> 
    155     <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title', 'display' )); ?></a></li> 
    156     <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Log in') ?></a></li> 
    157     <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=register"><?php _e('Register') ?></a></li> 
    158 <?php else : ?> 
    159     <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title', 'display' )); ?></a></li> 
    160     <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Log in') ?></a></li> 
    161 <?php endif; ?> 
    162 </ul> 
     163<p id="backtoblog"><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('&laquo; Back to %s'), get_bloginfo('title', 'display' )); ?></a></p> 
    163164 
    164165</body> 
     
    259260<form name="registerform" id="registerform" action="wp-login.php?action=register" method="post"> 
    260261    <p> 
    261         <label><?php _e('Username:') ?><br /> 
     262        <label><?php _e('Username') ?><br /> 
    262263        <input type="text" name="user_login" id="user_login" class="input" value="<?php echo attribute_escape(stripslashes($user_login)); ?>" size="20" tabindex="10" /></label> 
    263264    </p> 
    264265    <p> 
    265         <label><?php _e('E-mail:') ?><br /> 
     266        <label><?php _e('E-mail') ?><br /> 
    266267        <input type="text" name="user_email" id="user_email" class="input" value="<?php echo attribute_escape(stripslashes($user_email)); ?>" size="25" tabindex="20" /></label> 
    267268    </p> 
     
    269270    <p id="reg_passmail"><?php _e('A password will be e-mailed to you.') ?></p> 
    270271    <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Register &raquo;'); ?>" tabindex="100" /></p> 
     272    <div><br clear="all" /></div> 
    271273</form> 
     274 
     275<p id="nav"> 
     276<a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Log in') ?></a> |  
     277<a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a> 
     278</p> 
     279 
    272280</div> 
    273281 
    274 <ul> 
    275     <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title', 'display')); ?></a></li> 
    276     <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Log in') ?></a></li> 
    277     <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> 
    278 </ul> 
     282<p id="backtoblog"><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('&laquo; Back to %s'), get_bloginfo('title', 'display' )); ?></a></p> 
    279283 
    280284</body> 
     
    353357<?php if ( !in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?> 
    354358    <p> 
    355         <label><?php _e('Username:') ?><br /> 
     359        <label><?php _e('Username') ?><br /> 
    356360        <input type="text" name="log" id="user_login" class="input" value="<?php echo attribute_escape(stripslashes($user_login)); ?>" size="20" tabindex="10" /></label> 
    357361    </p> 
    358362    <p> 
    359         <label><?php _e('Password:') ?><br /> 
     363        <label><?php _e('Password') ?><br /> 
    360364        <input type="password" name="pwd" id="user_pass" class="input" value="" size="20" tabindex="20" /></label> 
    361365    </p> 
    362366<?php do_action('login_form'); ?> 
    363     <p><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="90" /> <?php _e('Remember me'); ?></label></p> 
     367    <p class="forgetmenot"><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="90" /> <?php _e('Remember Me'); ?></label></p> 
    364368    <p class="submit"> 
    365369        <input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Log in'); ?> &raquo;" tabindex="100" /> 
    366370        <input type="hidden" name="redirect_to" value="<?php echo attribute_escape($redirect_to); ?>" /> 
     371  <div><br clear="all" /></div> 
    367372    </p> 
    368373<?php else : ?> 
     
    370375<?php endif; ?> 
    371376</form> 
     377 
     378<p id="nav"> 
     379<?php if ( in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?> 
     380<?php elseif (get_option('users_can_register')) : ?> 
     381<a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=register"><?php _e('Register') ?></a> | 
     382<a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a> 
     383<?php else : ?> 
     384<a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a> 
     385<?php endif; ?> 
     386</p> 
     387 
    372388</div> 
    373389 
    374 <ul> 
    375 <?php if ( in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?> 
    376     <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title', 'display')); ?></a></li> 
    377 <?php elseif (get_option('users_can_register')) : ?> 
    378     <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=register"><?php _e('Register') ?></a></li> 
    379     <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> 
    380     <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title', 'display')); ?></a></li> 
    381 <?php else : ?> 
    382     <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title', 'display')); ?></a></li> 
    383     <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> 
    384 <?php endif; ?> 
    385 </ul> 
    386  
     390<p id="backtoblog"><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('&laquo; Back to %s'), get_bloginfo('title', 'display' )); ?></a></p> 
    387391 
    388392</body> 
Note: See TracChangeset for help on using the changeset viewer.