Project

General

Profile

Download (1.29 KB) Statistics
| Branch: | Tag: | Revision:
1
<?php
2
/**
3
 * @file
4
 * Custom theme implementation to display a single Drupal page while offline.
5
 *
6
 * This file controls the page that is displayed when the site is in
7
 * "maintenance mode" but the database connection and database are still
8
 * functioning correctly.
9
 *
10
 * @author W. Addink <w.addink@eti.uva.nl>
11
 *
12
 * @see template_preprocess()
13
 * @see template_preprocess_maintenance_page()
14
 */
15

    
16
?>
17
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
18
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
19
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
20

    
21
<head>
22
  <title><?php print $head_title; ?></title>
23
  <?php print $head; ?>
24
  <?php print $styles; ?>
25
  <?php print $scripts; ?>
26
</head>
27
<body class="<?php print $classes; ?>">
28
  <div id="page">
29
    <div id="header">
30
    </div> <!-- /header -->
31
    <div id="content">
32
      <?php if (!empty($title)): ?><h1 class="title clear-fix" id="page-title"><?php print $title; ?></h1><?php endif; ?>
33
      <?php if (!empty($messages)): print $messages; endif; ?>
34
      <div id="content-content" class="clearfix">
35
        <?php print $content; ?>
36
      </div> <!-- /content-content -->
37
    </div> <!-- /content -->
38
  </div><!-- /page -->
39
</body>
40
</html>
(4-4/11)