Project

General

Profile

Download (3.78 KB) Statistics
| Branch: | Tag: | Revision:
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language ?>" lang="<?php print $language ?>">
4
  <head>
5
    <title><?php print $head_title ?></title>
6
    <meta http-equiv="cache-control" content="public, no-cache" />
7
	<meta http-equiv="Pragma" content="no-cache" />
8
	<meta http-equiv="expires" content="-1" />
9
    <?php print $head ?>
10
    <?php print $styles ?>
11
    <?php print $scripts ?>
12
    <style type="text/css" media="print">@import "<?php print base_path() . path_to_theme() ?>/print.css";</style>
13
    <!--[if lt IE 7]>
14
    <style type="text/css" media="all">@import "<?php print base_path() . path_to_theme() ?>/fix-ie.css";</style>
15
    <![endif]-->
16
  </head>
17
  <body<?php print phptemplate_body_class($sidebar_left, $sidebar_right); ?>>
18

    
19
<!-- Layout -->
20
  <div id="header-region" class="clear-block"><?php print $header; ?></div>
21

    
22
    <div id="wrapper">
23
    <div id="container" class="clear-block">
24

    
25
      <div id="header">
26
        <div id="logo-floater">
27
        <?php
28
          // Prepare header
29
          $site_fields = array();
30
          if ($site_name) {
31
            $site_fields[] = check_plain($site_name);
32
          }
33
          if ($site_slogan) {
34
            $site_fields[] = check_plain($site_slogan);
35
          }
36
          $site_title = implode(' ', $site_fields);
37
          $site_fields[0] = '<span>'. $site_fields[0] .'</span>';
38
          $site_html = implode(' ', $site_fields);
39

    
40
          if ($logo || $site_title) {
41
            print '<h1><a href="'. check_url($base_path) .'" title="'. $site_title .'">';
42
            if ($logo) {
43
              print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
44
            }
45
            print $site_html .'</a></h1>';
46
          }
47
        ?>
48
        </div>
49

    
50
        <?php if (isset($primary_links)) : ?>
51
          <?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
52
        <?php endif; ?>
53
        <?php if (isset($secondary_links)) : ?>
54
          <?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
55
        <?php endif; ?>
56

    
57
      </div> <!-- /header -->
58

    
59
      <?php if ($sidebar_left): ?>
60
        <div id="sidebar-left" class="sidebar">
61
          <?php if ($search_box): ?><div class="block block-theme"><?php print $search_box ?></div><?php endif; ?>
62
          <?php print $sidebar_left ?>
63
        </div>
64
      <?php endif; ?>
65

    
66
      <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
67
          <?php if ($breadcrumb): print $breadcrumb; endif; ?>
68
          <?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
69

    
70
          <?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
71
          <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
72
          <?php if ($tabs): print $tabs .'</div>'; endif; ?>
73

    
74
          <?php if (isset($tabs2)): print $tabs2; endif; ?>
75

    
76
          <?php if ($help): print $help; endif; ?>
77
          <?php if ($messages): print $messages; endif; ?>
78
          <?php print $content ?>
79
          <span class="clear"></span>
80
          <?php print $feed_icons ?>
81
          <div id="footer"><?php print $footer_message ?></div>
82
      </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
83

    
84
      <?php if ($sidebar_right): ?>
85
        <div id="sidebar-right" class="sidebar">
86
          <?php if (!$sidebar_left && $search_box): ?><div class="block block-theme"><?php print $search_box ?></div><?php endif; ?>
87
          <?php print $sidebar_right ?>
88
        </div>
89
      <?php endif; ?>
90

    
91
    </div> <!-- /container -->
92
  </div>
93
<!-- /layout -->
94

    
95
  <?php print $closure ?>
96
  </body>
97
</html>
(10-10/14)