Project

General

Profile

Download (4.04 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
    <?php print $head ?>
7
    <?php print $styles ?>
8
    <style type="text/css" media="all">@import "<?php print base_path() . path_to_theme() ?>/cdm_style.css";</style>
9
<?php
10
  print $scripts
11
?>
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
    <!--[if IE 7]>
17
    <style type="text/css" media="all">@import "<?php print base_path() . path_to_theme() ?>/fix-ie7.css";</style>
18
    <![endif]-->
19
  </head>
20
  <body<?php print phptemplate_body_class($sidebar_left, $sidebar_right); ?>>
21

    
22
<!-- Layout -->
23
  <div id="header-region" class="clear-block"><?php print $header; ?></div>
24

    
25
    <div id="wrapper">
26
    <div id="container" class="clear-block">
27

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

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

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

    
60
      </div> <!-- /header -->
61

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

    
67
          <div id="funded-by">
68
          	<img src="<?php echo drupal_get_path('theme', 'palmweb_2') ?>/images/funded_by.png" alt="Funded by EDIT" />
69
          </div>
70
        </div>
71
      <?php endif; ?>
72

    
73
      <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
74
          <?php //if ($breadcrumb): print $breadcrumb; endif; ?>
75
          <?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
76

    
77
          <?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
78
          <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
79
          <?php if ($tabs): print $tabs .'</div>'; endif; ?>
80

    
81
          <?php if (isset($tabs2)): print $tabs2; endif; ?>
82

    
83
          <?php if ($help): print $help; endif; ?>
84
          <?php if ($messages): print $messages; endif; ?>
85
          <?php print $content ?>
86
          <span class="clear"></span>
87
          <?php print $feed_icons ?>
88
          <div id="footer"><?php print $footer_message ?></div>
89
      </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
90

    
91
      <?php if ($sidebar_right): ?>
92
        <div id="sidebar-right" class="sidebar">
93
          <?php if (!$sidebar_left && $search_box): ?><div class="block block-theme"><?php print $search_box ?></div><?php endif; ?>
94
          <?php print $sidebar_right ?>
95
        </div>
96
      <?php endif; ?>
97

    
98
    </div> <!-- /container -->
99
  </div>
100
<!-- /layout -->
101

    
102
  <?php print $closure ?>
103
  </body>
104
</html>
(8-8/12)