Projet

Général

Profil

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

root / drupal7 / themes / garland / maintenance-page.tpl.php @ c7768a53

1
<?php
2

    
3
/**
4
 * @file
5
 * Override of the default maintenance page.
6
 *
7
 * This is an override of the default maintenance page. Used for Garland and
8
 * Minnelli, this file should not be moved or modified since the installation
9
 * and update pages depend on this file.
10
 *
11
 * This mirrors closely page.tpl.php for Garland in order to share the same
12
 * styles.
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
    <title><?php print $head_title ?></title>
19
    <?php print $head ?>
20
    <?php print $styles ?>
21
    <?php print $scripts ?>
22
  </head>
23
  <body class="<?php print $classes ?>">
24

    
25
<!-- Layout -->
26
  <div id="header-region" class="clearfix"><?php print $header; ?></div>
27

    
28
    <div id="wrapper">
29
    <div id="container" class="clearfix">
30

    
31
      <div id="header">
32
        <div id="logo-floater">
33
        <?php
34
          // Prepare header
35
          $site_fields = array();
36
          if ($site_name) {
37
            $site_fields[] = $site_name;
38
          }
39
          if ($site_slogan) {
40
            $site_fields[] = $site_slogan;
41
          }
42
          $site_title = implode(' ', $site_fields);
43
          if ($site_fields) {
44
            $site_fields[0] = '<span>' . $site_fields[0] . '</span>';
45
          }
46
          $site_html = implode(' ', $site_fields);
47

    
48
          if ($logo || $site_title) {
49
            print '<h1 id="branding"><a href="' . $base_path . '" title="' . $site_title . '">';
50
            if ($logo) {
51
              print '<img src="' . $logo . '" alt="' . $site_title . '" id="logo" />';
52
            }
53
            print $site_html . '</a></h1>';
54
          }
55
        ?>
56
        </div>
57

    
58
      </div> <!-- /header -->
59

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

    
66
      <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
67
          <?php if ($title): ?><h2><?php print $title ?></h2><?php endif; ?>
68
          <?php print $messages; ?>
69
          <?php print $help; ?>
70
          <div class="clearfix">
71
            <?php print $content ?>
72
          </div>
73
          <div id="footer"><?php print $footer ?></div>
74
      </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
75

    
76
      <?php if ($sidebar_second): ?>
77
        <div id="sidebar-second" class="sidebar">
78
          <?php print $sidebar_second ?>
79
        </div>
80
      <?php endif; ?>
81

    
82
    </div> <!-- /container -->
83
  </div>
84
<!-- /layout -->
85

    
86
  </body>
87
</html>