Projet

Général

Profil

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

root / htmltest / sites / all / themes / busy / templates / maintenance-page.tpl.php @ 6c38d829

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
 *  
15
 * Hier noch ein lustiger Kommentar. 
16
 */
17
?>
18
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
19
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
20
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
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

    
29
<!-- Layout -->
30
  <div id="header-region" class="clearfix"><?php print $header; ?></div>
31

    
32
    <div id="wrapper">
33
    <div id="container" class="clearfix">
34

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

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

    
62
      </div> <!-- /header -->
63

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

    
74
    </div> <!-- /container -->
75
  </div>
76
<!-- /layout -->
77

    
78
  </body>
79
</html>