Projet

Général

Profil

Paste
Télécharger (2,51 ko) Statistiques
| Branche: | Révision:

root / drupal7 / themes / bartik / templates / maintenance-page.tpl.php @ 134c7813

1
<?php
2

    
3
/**
4
 * @file
5
 * Implementation to display a single Drupal page while offline.
6
 *
7
 * All the available variables are mirrored in page.tpl.php.
8
 *
9
 * @see template_preprocess()
10
 * @see template_preprocess_maintenance_page()
11
 * @see bartik_process_maintenance_page()
12
 */
13
?>
14
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
15
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
16
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language; ?>" lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>">
17
<head>
18
  <?php print $head; ?>
19
  <title><?php print $head_title; ?></title>
20
  <?php print $styles; ?>
21
  <?php print $scripts; ?>
22
</head>
23
<body class="<?php print $classes; ?>" <?php print $attributes;?>>
24

    
25
  <div id="skip-link">
26
    <a href="#main-content" class="element-invisible element-focusable"><?php print t('Skip to main content'); ?></a>
27
  </div>
28

    
29
  <div id="page-wrapper"><div id="page">
30

    
31
    <div id="header"><div class="section clearfix">
32
      <?php if ($site_name || $site_slogan): ?>
33
        <div id="name-and-slogan"<?php if ($hide_site_name && $hide_site_slogan) { print ' class="element-invisible"'; } ?>>
34
          <?php if ($site_name): ?>
35
            <div id="site-name"<?php if ($hide_site_name) { print ' class="element-invisible"'; } ?>>
36
              <strong>
37
                <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a>
38
              </strong>
39
            </div>
40
          <?php endif; ?>
41
          <?php if ($site_slogan): ?>
42
            <div id="site-slogan"<?php if ($hide_site_slogan) { print ' class="element-invisible"'; } ?>>
43
              <?php print $site_slogan; ?>
44
            </div>
45
          <?php endif; ?>
46
        </div> <!-- /#name-and-slogan -->
47
      <?php endif; ?>
48
    </div></div> <!-- /.section, /#header -->
49

    
50
    <div id="main-wrapper"><div id="main" class="clearfix">
51
      <div id="content" class="column"><div class="section">
52
        <a id="main-content"></a>
53
        <?php if ($title): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?>
54
        <?php print $content; ?>
55
        <?php if ($messages): ?>
56
          <div id="messages"><div class="section clearfix">
57
            <?php print $messages; ?>
58
          </div></div> <!-- /.section, /#messages -->
59
        <?php endif; ?>
60
      </div></div> <!-- /.section, /#content -->
61
    </div></div> <!-- /#main, /#main-wrapper -->
62

    
63
  </div></div> <!-- /#page, /#page-wrapper -->
64

    
65
</body>
66
</html>