Changeset 6612
- Timestamp:
- 01/14/2008 09:11:41 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 14 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-login.php
r6566 r6612 36 36 <title><?php bloginfo('name'); ?> › <?php echo $title; ?></title> 37 37 <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' /> 40 39 <script type="text/javascript"> 41 40 function focusit() { … … 139 138 <form name="lostpasswordform" id="lostpasswordform" action="wp-login.php?action=lostpassword" method="post"> 140 139 <p> 141 <label><?php _e('Username :') ?><br />140 <label><?php _e('Username') ?><br /> 142 141 <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> 143 142 </p> 144 143 <p> 145 <label><?php _e('E-mail :') ?><br />144 <label><?php _e('E-mail') ?><br /> 146 145 <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> 147 146 </p> 148 147 <?php do_action('lostpassword_form'); ?> 149 148 <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Get New Password »'); ?>" tabindex="100" /></p> 149 <div><br clear="all" /></div> 150 150 </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 151 161 </div> 152 162 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(__('« Back to %s'), get_bloginfo('title', 'display' )); ?></a></p> 163 164 164 165 </body> … … 259 260 <form name="registerform" id="registerform" action="wp-login.php?action=register" method="post"> 260 261 <p> 261 <label><?php _e('Username :') ?><br />262 <label><?php _e('Username') ?><br /> 262 263 <input type="text" name="user_login" id="user_login" class="input" value="<?php echo attribute_escape(stripslashes($user_login)); ?>" size="20" tabindex="10" /></label> 263 264 </p> 264 265 <p> 265 <label><?php _e('E-mail :') ?><br />266 <label><?php _e('E-mail') ?><br /> 266 267 <input type="text" name="user_email" id="user_email" class="input" value="<?php echo attribute_escape(stripslashes($user_email)); ?>" size="25" tabindex="20" /></label> 267 268 </p> … … 269 270 <p id="reg_passmail"><?php _e('A password will be e-mailed to you.') ?></p> 270 271 <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Register »'); ?>" tabindex="100" /></p> 272 <div><br clear="all" /></div> 271 273 </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 272 280 </div> 273 281 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(__('« Back to %s'), get_bloginfo('title', 'display' )); ?></a></p> 279 283 280 284 </body> … … 353 357 <?php if ( !in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?> 354 358 <p> 355 <label><?php _e('Username :') ?><br />359 <label><?php _e('Username') ?><br /> 356 360 <input type="text" name="log" id="user_login" class="input" value="<?php echo attribute_escape(stripslashes($user_login)); ?>" size="20" tabindex="10" /></label> 357 361 </p> 358 362 <p> 359 <label><?php _e('Password :') ?><br />363 <label><?php _e('Password') ?><br /> 360 364 <input type="password" name="pwd" id="user_pass" class="input" value="" size="20" tabindex="20" /></label> 361 365 </p> 362 366 <?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> 364 368 <p class="submit"> 365 369 <input type="submit" name="wp-submit" id="wp-submit" value="<?php _e('Log in'); ?> »" tabindex="100" /> 366 370 <input type="hidden" name="redirect_to" value="<?php echo attribute_escape($redirect_to); ?>" /> 371 <div><br clear="all" /></div> 367 372 </p> 368 373 <?php else : ?> … … 370 375 <?php endif; ?> 371 376 </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 372 388 </div> 373 389 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(__('« Back to %s'), get_bloginfo('title', 'display' )); ?></a></p> 387 391 388 392 </body>
Note: See TracChangeset
for help on using the changeset viewer.