Projet

Général

Profil

Paste
Télécharger (1,99 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / zen / templates / html.tpl.php @ 87dbc3bf

1
<?php
2
/**
3
 * @file
4
 * Returns the HTML for the basic html structure of a single Drupal page.
5
 *
6
 * Complete documentation for this file is available online.
7
 * @see https://drupal.org/node/1728208
8
 */
9
?><!DOCTYPE html>
10
<!--[if IEMobile 7]><html class="iem7" <?php print $html_attributes; ?>><![endif]-->
11
<!--[if lte IE 6]><html class="lt-ie9 lt-ie8 lt-ie7" <?php print $html_attributes; ?>><![endif]-->
12
<!--[if (IE 7)&(!IEMobile)]><html class="lt-ie9 lt-ie8" <?php print $html_attributes; ?>><![endif]-->
13
<!--[if IE 8]><html class="lt-ie9" <?php print $html_attributes; ?>><![endif]-->
14
<!--[if (gte IE 9)|(gt IEMobile 7)]><!--><html <?php print $html_attributes . $rdf_namespaces; ?>><!--<![endif]-->
15

    
16
<head>
17
  <?php print $head; ?>
18
  <title><?php print $head_title; ?></title>
19

    
20
  <?php if ($default_mobile_metatags): ?>
21
    <meta name="MobileOptimized" content="width">
22
    <meta name="HandheldFriendly" content="true">
23
    <meta name="viewport" content="width=device-width">
24
  <?php endif; ?>
25
  <meta http-equiv="cleartype" content="on">
26

    
27
  <?php print $styles; ?>
28
  <?php print $scripts; ?>
29
  <?php if ($add_html5_shim and !$add_respond_js): ?>
30
    <!--[if lt IE 9]>
31
    <script src="<?php print $base_path . $path_to_zen; ?>/js/html5.js"></script>
32
    <![endif]-->
33
  <?php elseif ($add_html5_shim and $add_respond_js): ?>
34
    <!--[if lt IE 9]>
35
    <script src="<?php print $base_path . $path_to_zen; ?>/js/html5-respond.js"></script>
36
    <![endif]-->
37
  <?php elseif ($add_respond_js): ?>
38
    <!--[if lt IE 9]>
39
    <script src="<?php print $base_path . $path_to_zen; ?>/js/respond.js"></script>
40
    <![endif]-->
41
  <?php endif; ?>
42
</head>
43
<body class="<?php print $classes; ?>" <?php print $attributes;?>>
44
  <?php if ($skip_link_text && $skip_link_anchor): ?>
45
    <p id="skip-link">
46
      <a href="#<?php print $skip_link_anchor; ?>" class="element-invisible element-focusable"><?php print $skip_link_text; ?></a>
47
    </p>
48
  <?php endif; ?>
49
  <?php print $page_top; ?>
50
  <?php print $page; ?>
51
  <?php print $page_bottom; ?>
52
</body>
53
</html>