Project

General

Profile

Download (2.91 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
  <div id="wrapper">
12
    <div id="container" class="clearfix">
13

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

    
20
            <h1 id="branding"><a href="<?php print $front_page ?>" title="<?php print $site_name_and_slogan ?>">
21
            <?php print $site_title ?>
22
            </a></h1>
23

    
24
        <?php endif; ?>
25
        </div>
26
        <div id="splash"></div>
27
        <?php if ($primary_nav): print $primary_nav; ?>
28
        <?php else: ?><div id="menu"> </div><?php endif; ?>
29
        <?php if ($secondary_nav): print $secondary_nav; endif; ?>
30
      </div> <!-- /#header -->
31
      <div id="contento">
32
      <?php if ($page['sidebar_first']): ?>
33
        <div id="sidebar-first" class="sidebar">
34

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

    
41
          <?php print render($page['sidebar_first']); ?>
42
          
43
        </div>
44
      <?php endif; ?>
45

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

    
70
      <?php if ($page['sidebar_second']): ?>
71
        <div id="sidebar-second" class="sidebar">
72
          <?php print render($page['sidebar_second']); ?>
73
        </div>
74
      <?php endif; ?>
75
    </div> <!-- contento -->
76
    </div> <!-- /#container -->
77
  </div> <!-- /#wrapper --> 
(8-8/13)