Project

General

Profile

Download (3.05 KB) Statistics
| Branch: | Tag: | Revision:
1
<?php
2
/**
3
 * @file
4
 * Custom theme implementation to display a Drupal page.
5
 *
6
 * See modules/system/page.tpl.php for more information about available
7
 * variables.
8
 */
9
?>
10
  <?php print render($page['header']); ?>
11

    
12
  <div id="wrapper">
13
    <div id="container" class="clearfix">
14

    
15
      <div id="header">
16
        <div id="logo-floater">
17
        <?php if ($logo || $site_title): ?>
18

    
19
            <h1 id="branding"><a href="<?php print $front_page ?>">
20
            <?php if ($logo): ?>
21
              <img src="<?php print $logo ?>" alt="<?php print $site_title ?>" title="<?php print $site_title ?>" id="logo" />
22
            <?php endif; ?>
23
            <?php print $site_html ?>
24
            </a></h1>
25

    
26
        <?php endif; ?>
27
        </div>
28

    
29
        <?php if ($primary_nav): print $primary_nav; endif; ?>
30
        <?php if ($secondary_nav): print $secondary_nav; endif; ?>
31
      </div> <!-- /#header -->
32

    
33
      <?php if ($page['sidebar_first']): ?>
34
        <div id="sidebar-first" class="sidebar">
35

    
36
          <?php if(!empty($page['search'])): ?>
37
            <div class="block block-theme">
38
            <?php print render($page['search']); ?>
39
            </div>
40
         <?php endif; ?>
41

    
42
          <?php print render($page['sidebar_first']); ?>
43
          
44
          <div id="funded-by">
45
            <img src="<?php print base_path() . path_to_theme(); ?>/images/funded_by.png" alt="Funded by EDIT" />
46
          </div>
47
        </div>
48
      <?php endif; ?>
49

    
50
      <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
51
          <?php // print $breadcrumb; ?>
52
          <?php if ($page['highlighted']): ?><div id="highlighted"><?php print render($page['highlighted']); ?></div><?php endif; ?>
53
          <a id="main-content"></a>
54
          <?php // Unfortunately in D7 tabs are always set, even if there are none.. ?>
55
          <?php if ($tabs = render($tabs)): ?><div id="tabs-wrapper" class="clearfix"><?php endif; ?>
56
          
57
          <?php print render($title_prefix); ?>
58
          <?php if ($title): ?>
59
            <h2<?php if($tabs = render($tabs)):?><?php print ' class="with-tabs"' ; ?><?php endif; ?>><?php print $title ?></h2>
60
          <?php endif; ?>
61
          <?php print render($title_suffix); ?>
62
          <?php if ($tabs = render($tabs)): ?><?php print render($tabs); ?></div><?php endif; ?>
63
          <?php print render($tabs2); ?>
64
          <?php print render($page['help']); ?>
65
          <?php print $messages; ?>
66
          
67
          <?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
68
          <div class="clearfix">
69
            <?php print render($page['content']); ?>
70
          </div>
71
          <?php print $feed_icons ?>
72
          <?php print render($page['footer']); ?>
73
      </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
74

    
75
      <?php if ($page['sidebar_second']): ?>
76
        <div id="sidebar-second" class="sidebar">
77
          <?php print render($page['sidebar_second']); ?>
78
        </div>
79
      <?php endif; ?>
80

    
81
    </div> <!-- /#container -->
82
  </div> <!-- /#wrapper --> 
(6-6/11)