wp/wp-includes/theme-compat/header.php
changeset 16 a86126ab1dd4
parent 9 177826044cd9
child 21 48c4eec2b7e6
equal deleted inserted replaced
15:3d4e9c994f10 16:a86126ab1dd4
     5  * @deprecated 3.0.0
     5  * @deprecated 3.0.0
     6  *
     6  *
     7  * This file is here for backward compatibility with old themes and will be removed in a future version.
     7  * This file is here for backward compatibility with old themes and will be removed in a future version.
     8  */
     8  */
     9 _deprecated_file(
     9 _deprecated_file(
    10 	/* translators: %s: template name */
    10 	/* translators: %s: Template name. */
    11 	sprintf( __( 'Theme without %s' ), basename( __FILE__ ) ),
    11 	sprintf( __( 'Theme without %s' ), basename( __FILE__ ) ),
    12 	'3.0.0',
    12 	'3.0.0',
    13 	null,
    13 	null,
    14 	/* translators: %s: template name */
    14 	/* translators: %s: Template name. */
    15 	sprintf( __( 'Please include a %s template in your theme.' ), basename( __FILE__ ) )
    15 	sprintf( __( 'Please include a %s template in your theme.' ), basename( __FILE__ ) )
    16 );
    16 );
    17 ?>
    17 ?>
    18 <!DOCTYPE html>
    18 <!DOCTYPE html>
    19 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    19 <html <?php language_attributes(); ?>>
    20 <head>
    20 <head>
    21 <link rel="profile" href="http://gmpg.org/xfn/11" />
    21 <link rel="profile" href="https://gmpg.org/xfn/11" />
    22 <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
    22 <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
    23 
    23 
    24 <title><?php echo wp_get_document_title(); ?></title>
    24 <title><?php echo wp_get_document_title(); ?></title>
    25 
    25 
    26 <link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" type="text/css" media="screen" />
    26 <link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" type="text/css" media="screen" />
    28 
    28 
    29 <?php if ( file_exists( get_stylesheet_directory() . '/images/kubrickbgwide.jpg' ) ) { ?>
    29 <?php if ( file_exists( get_stylesheet_directory() . '/images/kubrickbgwide.jpg' ) ) { ?>
    30 <style type="text/css" media="screen">
    30 <style type="text/css" media="screen">
    31 
    31 
    32 	<?php
    32 	<?php
    33 	// Checks to see whether it needs a sidebar
    33 	// Checks to see whether it needs a sidebar.
    34 	if ( empty( $withcomments ) && ! is_single() ) {
    34 	if ( empty( $withcomments ) && ! is_single() ) {
    35 		?>
    35 		?>
    36 	#page { background: url("<?php bloginfo( 'stylesheet_directory' ); ?>/images/kubrickbg-<?php bloginfo( 'text_direction' ); ?>.jpg") repeat-y top; border: none; }
    36 	#page { background: url("<?php bloginfo( 'stylesheet_directory' ); ?>/images/kubrickbg-<?php bloginfo( 'text_direction' ); ?>.jpg") repeat-y top; border: none; }
    37 <?php } else { // No sidebar ?>
    37 <?php } else { // No sidebar. ?>
    38 	#page { background: url("<?php bloginfo( 'stylesheet_directory' ); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
    38 	#page { background: url("<?php bloginfo( 'stylesheet_directory' ); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
    39 <?php } ?>
    39 <?php } ?>
    40 
    40 
    41 </style>
    41 </style>
    42 <?php } ?>
    42 <?php } ?>