Projet

Général

Profil

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

root / drupal7 / sites / all / themes / adaptivetheme / at_core / templates / maintenance-page.tpl.php @ 74f6bef0

1
<?php
2
/**
3
 * @file
4
 * Adaptivetheme implementation to display a single Drupal page while offline.
5
 *
6
 * Not all variables are mirrored from html.tpl.php and page.tpl.php, only those
7
 * required to deliver a valid html page with branding and site offline messages.
8
 * $polyfills is included to support HTML5 in IE8 and below.
9
 *
10
 * Adaptivetheme variables:
11
 * - $is_mobile: Mixed, requires the Mobile Detect or Browscap module to return
12
 *   TRUE for mobile.  Note that tablets are also considered mobile devices.  
13
 *   Returns NULL if the feature could not be detected.
14
 * - $is_tablet: Mixed, requires the Mobile Detect to return TRUE for tablets.
15
 *   Returns NULL if the feature could not be detected.
16
 *
17
 * @see template_preprocess()
18
 * @see template_preprocess_maintenance_page()
19
 * @see adaptivetheme_preprocess()
20
 * @see adaptivetheme_preprocess_maintenance_page()
21
 */
22
?>
23
<!DOCTYPE html>
24
<html lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>">
25
<head>
26
  <?php print $head; ?>
27
  <title><?php print $head_title; ?></title>
28
  <?php print $styles; ?>
29
  <?php print $scripts; ?>
30
  <?php print $polyfills; ?>
31
</head>
32
<body class="<?php print $classes; ?>" <?php print $attributes;?>>
33
  <?php print $page_top; ?>
34
  <div id="page" class="container">
35
    <header id="header" class="clearfix" role="banner">
36
      <div id="branding" class="branding-elements clearfix">
37
        <?php if (!empty($logo)): ?>
38
          <div id="logo">
39
            <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" />
40
          </div>
41
        <?php endif; ?>
42
        <?php if ($site_name): ?>
43
          <h1 id="site-name">
44
            <a href="<?php print $base_path ?>" title="<?php print t('Home page'); ?>" rel="home"><?php print $site_name; ?></a>
45
          </h1>
46
        <?php endif; ?>
47
      </div>
48
    </header>
49
    <section id="main-content" role="main">
50
      <?php if ($title): ?>
51
        <h1 id="page-title"><?php print $title; ?></h1>
52
      <?php endif; ?>
53
      <?php print $messages; ?>
54
      <div id="content">
55
        <?php print $content; ?>
56
      </div>
57
    </section>
58
  </div>
59
  <?php print $page_bottom ?>
60
</body>
61
</html>