Changeset 4359 for trunk/wp-login.php
- Timestamp:
- 10/07/2006 07:12:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-login.php
r4354 r4359 24 24 // Rather than duplicating this HTML all over the place, we'll stick it in function 25 25 function login_header($title = 'Login', $message = '') { 26 global $errors, $error ;26 global $errors, $error, $wp_locale; 27 27 28 28 ?> 29 29 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 30 <html xmlns="http://www.w3.org/1999/xhtml" >30 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 31 31 <head> 32 32 <title><?php bloginfo('name'); ?> › <?php echo $title; ?></title> 33 33 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> 34 34 <link rel="stylesheet" href="<?php bloginfo('wpurl'); ?>/wp-admin/wp-admin.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 35 <?php if ( ('rtl' == $wp_locale->text_direction) ) : ?> 36 <link rel="stylesheet" href="<?php bloginfo('wpurl'); ?>/wp-admin/rtl.css?version=<?php bloginfo('version'); ?>" type="text/css" /> 37 <?php endif; ?> 35 38 <!--[if IE]><style type="text/css">#login h1 a { margin-top: 35px; } #login ul { padding-bottom: 65px; }</style><![endif]--><!-- Curse you, IE! --> 36 39 <script type="text/javascript"> … … 44 47 <body> 45 48 46 <div id="login"> 47 <h1><a href="<?php echo apply_filters('login_headerurl', 'http://wordpress.org/'); ?>" title="<?php echo apply_filters('login_headertitle', __('Powered by WordPress')); ?>"><span class="hide"><?php bloginfo('name'); ?></span></a></h1> 49 <div id="login"><h1><a href="<?php echo apply_filters('login_headerurl', 'http://wordpress.org/'); ?>" title="<?php echo apply_filters('login_headertitle', __('Powered by WordPress')); ?>"><span class="hide"><?php bloginfo('name'); ?></span></a></h1> 48 50 <?php 49 51 if ( !empty( $message ) ) echo apply_filters('login_message', $message) . "\n";
Note: See TracChangeset
for help on using the changeset viewer.