1 |
08ea5e99
|
Andreas Kohlbecker
|
<?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 Drupal cannot access the
|
7 |
|
|
* database (for whatever reason).
|
8 |
|
|
*
|
9 |
|
|
* @author W. Addink <w.addink@eti.uva.nl>
|
10 |
|
|
*
|
11 |
|
|
* @see template_preprocess()
|
12 |
|
|
* @see template_preprocess_maintenance_page()
|
13 |
|
|
*/
|
14 |
|
|
?>
|
15 |
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
16 |
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
17 |
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
|
18 |
|
|
|
19 |
|
|
<head>
|
20 |
|
|
<title><?php print $head_title; ?></title>
|
21 |
|
|
<?php print $head; ?>
|
22 |
|
|
<?php print $styles; ?>
|
23 |
|
|
<?php print $scripts; ?>
|
24 |
|
|
</head>
|
25 |
|
|
<body class="<?php print $classes; ?>">
|
26 |
|
|
<div id="page">
|
27 |
|
|
<div id="header">
|
28 |
|
|
</div> <!-- /header -->
|
29 |
|
|
<div id="content">
|
30 |
|
|
<?php if (!empty($title)): ?><h1 class="title clear-fix" id="page-title"><?php print $title; ?></h1><?php endif; ?>
|
31 |
|
|
<?php if (!empty($messages)): print $messages; endif; ?>
|
32 |
|
|
<div id="content-content" class="clearfix">
|
33 |
|
|
<?php print $content; ?>
|
34 |
|
|
</div> <!-- /content-content -->
|
35 |
|
|
</div> <!-- /content -->
|
36 |
|
|
</div><!-- /page -->
|
37 |
|
|
</body>
|
38 |
|
|
</html>
|