Changes from branches/3.1/wp-login.php at r18013 to trunk/wp-login.php at r18223
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-login.php
r18013 r18223 60 60 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 61 61 <head> 62 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> 62 63 <title><?php bloginfo('name'); ?> › <?php echo $title; ?></title> 63 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />64 64 <?php 65 65 wp_admin_css( 'login', true ); … … 93 93 if ( !empty( $message ) ) echo $message . "\n"; 94 94 95 // In case a plugin uses $error rather than the $errors object95 // In case a plugin uses $error rather than the $wp_errors object 96 96 if ( !empty( $error ) ) { 97 97 $wp_error->add('error', $error); … … 124 124 */ 125 125 function login_footer($input_id = '') { 126 echo "</div>\n"; 127 128 if ( !empty($input_id) ) { 129 ?> 126 ?> 127 <p id="backtoblog"><a href="<?php bloginfo('url'); ?>/" title="<?php esc_attr_e('Are you lost?') ?>"><?php printf(__('← Back to %s'), get_bloginfo('title', 'display' )); ?></a></p> 128 </div> 129 130 <?php if ( !empty($input_id) ) : ?> 130 131 <script type="text/javascript"> 131 132 try{document.getElementById('<?php echo $input_id; ?>').focus();}catch(e){} 132 133 if(typeof wpOnload=='function')wpOnload(); 133 134 </script> 134 <?php 135 } 136 ?> 137 <p id="backtoblog"><a href="<?php bloginfo('url'); ?>/" title="<?php esc_attr_e('Are you lost?') ?>"><?php printf(__('← Back to %s'), get_bloginfo('title', 'display' )); ?></a></p> 135 <?php endif; ?> 136 138 137 <?php do_action('login_footer'); ?> 139 138 </body> … … 665 664 <?php endif; ?> 666 665 </p> 667 </div>668 <p id="backtoblog"><a href="<?php bloginfo('url'); ?>/" title="<?php esc_attr_e('Are you lost?') ?>"><?php printf(__('← Back to %s'), get_bloginfo('title', 'display' )); ?></a></p>669 <?php } else { ?>670 </div>671 666 <?php } ?> 672 667 … … 696 691 if(typeof wpOnload=='function')wpOnload(); 697 692 </script> 698 <?php do_action( 'login_footer' ); ?> 699 </body> 700 </html> 701 <?php 702 693 694 <?php 695 login_footer(); 703 696 break; 704 697 } // end action switch
Note: See TracChangeset
for help on using the changeset viewer.