equal
deleted
inserted
replaced
|
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 <title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title> |
|
13 |
|
14 <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> |
|
15 <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> |
|
16 |
|
17 <style type="text/css" media="screen"> |
|
18 <?php // Controle si la sidebar est présente ou pas. |
|
19 if ( empty($withcomments) && !is_single() ) : ?> |
|
20 #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg-<?php bloginfo('text_direction'); ?>.jpg") repeat-y top; border: none; } |
|
21 <?php else : // Pas de sidebar ?> |
|
22 #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; } |
|
23 <?php endif; ?> |
|
24 </style> |
|
25 |
|
26 <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> |
|
27 |
|
28 <?php wp_head(); ?> |
|
29 </head> |
|
30 |
|
31 <body <?php body_class(); ?>> |
|
32 <div id="page"> |
|
33 <div id="header" role="banner"> |
|
34 <div id="headerimg"> |
|
35 <h1><a href="<?php bloginfo('home'); ?>"><?php bloginfo('name'); ?></a></h1> |
|
36 <div class="description"><?php bloginfo('description'); ?></div> |
|
37 </div> |
|
38 </div> |
|
39 <hr /> |