Projet

Général

Profil

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

root / drupal7 / modules / system / maintenance-page.tpl.php @ 90cf4cd7

1
<?php
2

    
3
/**
4
 * @file
5
 * Default theme implementation to display a single Drupal page while offline.
6
 *
7
 * All the available variables are mirrored in html.tpl.php and page.tpl.php.
8
 * Some may be blank but they are provided for consistency.
9
 *
10
 * @see template_preprocess()
11
 * @see template_preprocess_maintenance_page()
12
 *
13
 * @ingroup themeable
14
 */
15
?>
16
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
17
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
18
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
19

    
20
<head>
21
  <title><?php print $head_title; ?></title>
22
  <?php print $head; ?>
23
  <?php print $styles; ?>
24
  <?php print $scripts; ?>
25
</head>
26
<body class="<?php print $classes; ?>">
27
  <div id="page">
28
    <div id="header">
29
      <div id="logo-title">
30

    
31
        <?php if (!empty($logo)): ?>
32
          <a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo">
33
            <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" />
34
          </a>
35
        <?php endif; ?>
36

    
37
        <div id="name-and-slogan">
38
          <?php if (!empty($site_name)): ?>
39
            <h1 id="site-name">
40
              <a href="<?php print $base_path ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a>
41
            </h1>
42
          <?php endif; ?>
43

    
44
          <?php if (!empty($site_slogan)): ?>
45
            <div id="site-slogan"><?php print $site_slogan; ?></div>
46
          <?php endif; ?>
47
        </div> <!-- /name-and-slogan -->
48
      </div> <!-- /logo-title -->
49

    
50
      <?php if (!empty($header)): ?>
51
        <div id="header-region">
52
          <?php print $header; ?>
53
        </div>
54
      <?php endif; ?>
55

    
56
    </div> <!-- /header -->
57

    
58
    <div id="container" class="clearfix">
59

    
60
      <?php if (!empty($sidebar_first)): ?>
61
        <div id="sidebar-first" class="column sidebar">
62
          <?php print $sidebar_first; ?>
63
        </div> <!-- /sidebar-first -->
64
      <?php endif; ?>
65

    
66
      <div id="main" class="column"><div id="main-squeeze">
67

    
68
        <div id="content">
69
          <?php if (!empty($title)): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?>
70
          <?php if (!empty($messages)): print $messages; endif; ?>
71
          <div id="content-content" class="clearfix">
72
            <?php print $content; ?>
73
          </div> <!-- /content-content -->
74
        </div> <!-- /content -->
75

    
76
      </div></div> <!-- /main-squeeze /main -->
77

    
78
      <?php if (!empty($sidebar_second)): ?>
79
        <div id="sidebar-second" class="column sidebar">
80
          <?php print $sidebar_second; ?>
81
        </div> <!-- /sidebar-second -->
82
      <?php endif; ?>
83

    
84
    </div> <!-- /container -->
85

    
86
    <div id="footer-wrapper">
87
      <div id="footer">
88
        <?php if (!empty($footer)): print $footer; endif; ?>
89
      </div> <!-- /footer -->
90
    </div> <!-- /footer-wrapper -->
91

    
92
  </div> <!-- /page -->
93

    
94
</body>
95
</html>