Projects : mp-wp : mp-wp_svg-screenshots-and-errorreporting-r2

mp-wp/wp-content/themes/default/header.php

Dir - Raw

1<?php
2/**
3 * @package WordPress
4 * @subpackage Default_Theme
5 */
6?>
7<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
8<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
9
10<head profile="http://gmpg.org/xfn/11">
11<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
12
13<title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
14
15<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
16<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
17<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
18<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
19
20<style type="text/css" media="screen">
21
22<?php
23// Checks to see whether it needs a sidebar or not
24if ( !empty($withcomments) && !is_single() ) {
25?>
26 #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg-<?php bloginfo('text_direction'); ?>.svg") repeat-y top; border: none; }
27<?php } else { // No sidebar ?>
28 #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.svg") repeat-y top; border: none; }
29<?php } ?>
30
31</style>
32
33<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
34
35<?php wp_head(); ?>
36</head>
37<body>
38<div id="page">
39
40
41<div id="header">
42 <div id="headerimg">
43 <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
44 <div class="description"><?php bloginfo('description'); ?></div>
45 </div>
46</div>
47<hr />