Projet

Général

Profil

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

root / drupal7 / sites / all / themes / mayo / templates / maintenance-page.tpl.php @ 4b706e38

1 85ad3d82 Assos Assos
<?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
?>
14 d7f58da2 Florent Torregrosa
<!DOCTYPE html>
15 85ad3d82 Assos Assos
<head>
16
  <title><?php print $head_title; ?></title>
17
  <?php print $head; ?>
18
  <?php print $styles; ?>
19
  <?php print $scripts; ?>
20
</head>
21
<body class="<?php print $classes; ?>" <?php print $attributes; ?>>
22
<?php print $page_top; ?>
23
24
<div id="page-wrapper">
25
  <div id="page">
26
27
    <div id="header">
28
    <div class="section clearfix">
29
30
      <?php if ($logo): ?>
31
        <div id="logo">
32
        <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo">
33
          <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" />
34
        </a>
35
        </div> <!-- /#logo -->
36
      <?php endif; ?>
37
38
      <?php if ($site_name || $site_slogan): ?>
39
        <div id="name-and-slogan">
40
          <?php if ($site_name): ?>
41
            <?php if ($title): ?>
42
              <div id="site-name"><strong>
43
                <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a>
44
              </strong></div>
45
            <?php else: /* Use h1 when the content title is empty */ ?>
46
              <h1 id="site-name">
47
                <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a>
48
              </h1>
49
            <?php endif; ?>
50
          <?php endif; ?>
51
52
          <?php if ($site_slogan): ?>
53
            <div id="site-slogan"><?php print $site_slogan; ?></div>
54
          <?php endif; ?>
55
        </div> <!-- /#name-and-slogan -->
56
      <?php endif; ?>
57
58
      <div class="clearfix"></div>
59
60
    </div> <!-- /.section -->
61
    </div> <!-- /#header -->
62
63
    <!-- space between menus and contents -->
64
    <div id="spacer" class="clearfix"></div>
65
66
    <div id="main-wrapper">
67
    <div id="main" class="clearfix">
68
69
70
      <!-- main content -->
71
      <div id="content" class="column"><div class="section">
72
73
        <?php if ($title): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?>
74
75
        <?php print $content; ?>
76
77
        <?php if ($messages) { ?>
78
          <div id="messages"><div class="section clearfix">
79
            <?php print $messages; ?>
80
          </div></div> <!-- /.section, /#messages -->
81
        <?php } ?>
82
83
      </div></div> <!-- /.section, /#content -->
84
85
      <div class="clearfix"></div>
86
87
    </div> <!-- /#main -->
88
89
90
  </div> <!-- /page -->
91
</div> <!-- /#page_wrapper -->
92
93
</body>
94
</html>