Subversion Repositories Sites.obs-saisons.fr

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
93 aurelien 1
<?php
2
// $Id: maintenance-page.tpl.php,v 1.3.2.1 2009/04/30 00:13:31 goba Exp $
3
 
4
/**
5
 * @file maintenance-page.tpl.php
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
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
15
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
16
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
17
  <head>
18
    <?php print $head ?>
19
    <title><?php print $head_title ?></title>
20
    <?php print $styles ?>
21
    <?php print $scripts ?>
22
    <!--[if lt IE 7]>
23
      <?php print phptemplate_get_ie_styles(); ?>
24
    <![endif]-->
25
  </head>
26
  <body<?php print phptemplate_body_class($left, $right); ?>>
27
 
28
<!-- Layout -->
29
  <div id="header-region" class="clear-block"><?php print $header; ?></div>
30
 
31
    <div id="wrapper">
32
    <div id="container" class="clear-block">
33
 
34
      <div id="header">
35
        <div id="logo-floater">
36
        <?php
37
          // Prepare header
38
          $site_fields = array();
39
          if ($site_name) {
40
            $site_fields[] = check_plain($site_name);
41
          }
42
          if ($site_slogan) {
43
            $site_fields[] = check_plain($site_slogan);
44
          }
45
          $site_title = implode(' ', $site_fields);
46
          if ($site_fields) {
47
            $site_fields[0] = '<span>'. $site_fields[0] .'</span>';
48
          }
49
          $site_html = implode(' ', $site_fields);
50
 
51
          if ($logo || $site_title) {
52
            print '<h1><a href="'. check_url($base_path) .'" title="'. $site_title .'">';
53
            if ($logo) {
54
              print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
55
            }
56
            print $site_html .'</a></h1>';
57
          }
58
        ?>
59
        </div>
60
 
61
      </div> <!-- /header -->
62
 
63
      <?php if ($left): ?>
64
        <div id="sidebar-left" class="sidebar">
65
          <?php if ($search_box): ?><div class="block block-theme"><?php print $search_box ?></div><?php endif; ?>
66
          <?php print $left ?>
67
        </div>
68
      <?php endif; ?>
69
 
70
      <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
71
          <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
72
          <?php print $help; ?>
73
          <?php print $messages; ?>
74
          <div class="clear-block">
75
            <?php print $content ?>
76
          </div>
77
          <div id="footer"><?php print $footer_message . $footer ?></div>
78
      </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
79
 
80
      <?php if ($right): ?>
81
        <div id="sidebar-right" class="sidebar">
82
          <?php print $right ?>
83
        </div>
84
      <?php endif; ?>
85
 
86
    </div> <!-- /container -->
87
  </div>
88
<!-- /layout -->
89
 
90
  </body>
91
</html>