Project

General

Profile

Download (4.98 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

    
9
    <style type="text/css" media="all">@import "<?php
10
      print base_path();
11
	    $subThemePath = path_to_sub_theme();
12
	    print $subThemePath;
13

    
14
      ?>/styleOverride.css";</style>
15
<?php
16
  print $scripts
17
?>
18
<!--    <style type="text/css" media="print">@import "<?php print base_path() . path_to_theme() ?>/print.css";</style>-->
19
<!--    -->
20
    <!--[if IE]>
21
    <style type="text/css" media="all">@import "<?php print base_path() . path_to_theme() ?>/fix-ie.css";</style>
22
    <![endif]-->
23
    <!--[if gte IE 7]>
24
    <style type="text/css" media="all">@import "<?php print base_path() . path_to_theme() ?>/fix-ie7.css";</style>
25
    <![endif]-->
26
  </head>
27
  <body<?php print phptemplate_body_class($sidebar_left, $sidebar_right); ?>>
28

    
29
<!-- Layout -->
30
  
31

    
32
    <div id="wrapper">
33
    <div id="container" class="clear-block">
34

    
35
	  <?php /* <div id="upbg"></div> */ ?>
36

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

    
53
          if ($logo || $site_title) {
54
            print '<h1><a href="'. check_url($base_path) .'" title="'. $site_title .'">';
55
           /* if ($logo) {
56
              print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
57
            }*/
58
            print $site_html .'</a></h1>';
59
          }
60
        ?>
61
        
62
        </div>
63
        <?php
64
            //var_dump(theme_get_setting('banner_right_path'));
65
            //   var_dump(theme_get_setting('logo_path'));
66
//            if(!theme_get_setting('default_banner_right') && theme_get_setting('banner_right_path')){
67
//              $splash_style = 'style="background: url('.theme_get_setting('banner_right_path').')"';
68
//            }
69
            ?>
70
        <div id="splash" <?php print($splash_style); ?>></div>
71

    
72
        <div id="header-region" class="clear-block"><?php print $header; ?></div>
73
        
74
		<div id="menu">
75
          <?php if (isset($primary_links)) : ?>
76

    
77
            <?php
78
              foreach($primary_links as &$link) {
79
                $link_title = $link['title'];
80
                if(module_exists('cdm_api')){
81
                  $link_title = generalizeString($link_title);
82
                }
83
                $link['attributes']['target'] = $link_title;
84
              }
85
              print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
86
          <?php endif; ?>
87
          <?php if (isset($secondary_links)) : ?>
88
            <?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
89
          <?php endif; ?>
90
        </div>
91

    
92
      </div> <!-- /header -->
93

    
94
	<div id="contento">
95

    
96
      <?php if ($sidebar_left): ?>
97
        <div id="sidebar-left" class="sidebar">
98
          <?php if ($search_box): ?><div class="block block-theme"><?php print $search_box ?></div><?php endif; ?>
99
          <?php print $sidebar_left ?>
100
        </div>
101
      <?php endif; ?>
102

    
103
      <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
104
          <?php //if ($breadcrumb): print $breadcrumb; endif; ?>
105
          <?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
106

    
107
          <?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
108
          <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
109
          <?php if ($tabs): print '<div class="clear"></div>'.$tabs .'</div>'; endif; ?>
110

    
111
          <?php if (isset($tabs2)): print '<div id="tabs-wrapper2" class="clear-block">' . $tabs2 . '</div><div class="clear"></div>'; endif; ?>
112

    
113
          <?php if ($help): print $help; endif; ?>
114
          <?php if ($messages): print $messages; endif; ?>
115
          <?php print $content ?>
116
          <span class="clear"></span>
117
          <?php print $feed_icons ?>
118
          <div id="footer"><?php print $footer_message ?></div>
119
      </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
120

    
121
      <?php if ($sidebar_right): ?>
122
        <div id="sidebar-right" class="sidebar">
123
          <?php if (!$sidebar_left && $search_box): ?><div class="block block-theme"><?php print $search_box ?></div><?php endif; ?>
124
          <?php print $sidebar_right ?>
125
        </div>
126
      <?php endif; ?>
127
	</div> <!-- contento -->
128
    </div> <!-- /container -->
129
  </div>
130
<!-- /layout -->
131

    
132
  <?php print $closure ?>
133
  </body>
134
</html>
(7-7/13)