/[drupal]/contributions/themes/omega/page.tpl.php
ViewVC logotype

Diff of /contributions/themes/omega/page.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.6.2.3 by himerus, Sat Oct 24 14:59:26 2009 UTC revision 1.6.2.4 by himerus, Sat Oct 31 23:54:05 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: page.tpl.php,v 1.6.2.2 2009/10/12 02:10:01 himerus Exp $  // $Id: page.tpl.php,v 1.6.2.3 2009/10/24 14:59:26 himerus Exp $
3  ?>  ?>
4  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
5    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
# Line 15  Line 15 
15  <body class="<?php print $body_classes; ?>">  <body class="<?php print $body_classes; ?>">
16    <?php if (!empty($admin)) print $admin; ?>    <?php if (!empty($admin)) print $admin; ?>
17    <div id="page" class="clear-block">    <div id="page" class="clear-block">
   
18      <div id="site-header" class="container-<?php print $branding_wrapper_width; ?> clear-block">      <div id="site-header" class="container-<?php print $branding_wrapper_width; ?> clear-block">
   
19        <div id="branding" class="grid-<?php print $header_logo_width; ?>">        <div id="branding" class="grid-<?php print $header_logo_width; ?>">
20          <?php if ($linked_logo_img): ?>          <?php if ($linked_logo_img): ?>
21            <?php print $linked_logo_img; ?>            <?php print $linked_logo_img; ?>
# Line 35  Line 33 
33        <?php endif; ?>        <?php endif; ?>
34      </div><!-- /#site-header -->      </div><!-- /#site-header -->
35    
36        <?php if($header_first || $header_last): ?>
37      <div id="header-regions" class="container-<?php print $header_wrapper_width; ?> clear-block">      <div id="header-regions" class="container-<?php print $header_wrapper_width; ?> clear-block">
38        <?php if($header_first): ?>        <?php if($header_first): ?>
39          <div id="header-first" class="<?php print $header_first_classes; ?>">          <div id="header-first" class="<?php print $header_first_classes; ?>">
# Line 47  Line 46 
46          </div><!-- /#header-last -->          </div><!-- /#header-last -->
47        <?php endif; ?>        <?php endif; ?>
48      </div><!-- /#header-regions -->      </div><!-- /#header-regions -->
49        <?php endif; ?>
50    
51        <?php if($site_slogan && $is_front || $search_box || $breadcrumb): ?>
52      <div id="internal-nav" class="container-<?php print $internal_nav_wrapper_width; ?> clear-block">      <div id="internal-nav" class="container-<?php print $internal_nav_wrapper_width; ?> clear-block">
53        <div id="slogan-bcrumb" class="grid-<?php print $breadcrumb_slogan_width; ?>">        <div id="slogan-bcrumb" class="grid-<?php print $breadcrumb_slogan_width; ?>">
54          <?php if ($site_slogan && $is_front): ?>          <?php if ($site_slogan && $is_front): ?>
# Line 61  Line 62 
62          <div id="search-box" class="grid-<?php print $search_width; ?>"><?php print $search_box; ?></div><!-- /#search-box -->          <div id="search-box" class="grid-<?php print $search_width; ?>"><?php print $search_box; ?></div><!-- /#search-box -->
63        <?php endif; ?>        <?php endif; ?>
64      </div><!-- /#internal-nav -->      </div><!-- /#internal-nav -->
65        <?php endif; ?>
66    
67        <?php if($preface_first || $preface_middle || $preface_last): ?>
68      <div id="preface-wrapper" class="container-<?php print $preface_wrapper_grids; ?>">      <div id="preface-wrapper" class="container-<?php print $preface_wrapper_grids; ?>">
69        <?php if($preface_first): ?>        <?php if($preface_first): ?>
70          <div id="preface-first" class="preface <?php print $preface_first_classes; ?>">          <div id="preface-first" class="preface <?php print $preface_first_classes; ?>">
# Line 79  Line 82 
82          </div><!-- /#preface-last -->          </div><!-- /#preface-last -->
83        <?php endif; ?>        <?php endif; ?>
84      </div><!-- /#preface-wrapper -->      </div><!-- /#preface-wrapper -->
85        <?php endif; ?>
86    
87      <div class="container-<?php print $default_container_width; ?> clear-block">      <div class="container-<?php print $default_container_width; ?> clear-block">
88        <div class="grid-<?php print $default_container_width; ?>">        <div class="grid-<?php print $default_container_width; ?>">
89          <?php print $help; ?><?php print $messages; ?>          <?php print $help; ?><?php print $messages; ?>
# Line 89  Line 93 
93      <div id="main-content-container" class="container-<?php print $content_container_width; ?> clear-block">      <div id="main-content-container" class="container-<?php print $content_container_width; ?> clear-block">
94        <div id="main-wrapper" class="column <?php print $main_content_classes; ?>">        <div id="main-wrapper" class="column <?php print $main_content_classes; ?>">
95          <?php print $mission; ?>          <?php print $mission; ?>
96            <?php if($content_top): ?>
97          <div id="content-top">          <div id="content-top">
98            <?php print $content_top; ?>            <?php print $content_top; ?>
99          </div><!-- /#content-top -->          </div><!-- /#content-top -->
100            <?php endif; ?>
101          <?php if ($tabs): ?>          <?php if ($tabs): ?>
102            <div id="content-tabs" class=""><?php print $tabs; ?></div><!-- /#content-tabs -->            <div id="content-tabs" class=""><?php print $tabs; ?></div><!-- /#content-tabs -->
103          <?php endif; ?>          <?php endif; ?>
# Line 105  Line 109 
109          <div id="main-content" class="region clear-block">          <div id="main-content" class="region clear-block">
110            <?php print $content; ?>            <?php print $content; ?>
111          </div><!-- /#main-content -->          </div><!-- /#main-content -->
112    
113            <?php if($content_bottom): ?>
114          <div id="content-bottom">          <div id="content-bottom">
115            <?php print $content_bottom; ?>            <?php print $content_bottom; ?>
116          </div><!-- /#content-bottom -->          </div><!-- /#content-bottom -->
117            <?php endif; ?>
118        </div><!-- /#main-wrapper -->        </div><!-- /#main-wrapper -->
119    
120        <?php if ($sidebar_first): ?>        <?php if ($sidebar_first): ?>
# Line 124  Line 130 
130        <?php endif; ?>        <?php endif; ?>
131      </div><!-- /#main-content-container -->      </div><!-- /#main-content-container -->
132    
133        <?php if($postscript_one || $postscript_two || $postscript_three || $postscript_four): ?>
134      <div id="postscript-wrapper" class="container-<?php print $postscript_container_width; ?> clear-block">      <div id="postscript-wrapper" class="container-<?php print $postscript_container_width; ?> clear-block">
135        <?php if($postscript_one): ?>        <?php if($postscript_one): ?>
136          <div id="postscript-one" class="postscript <?php print $postscript_one_classes; ?>">          <div id="postscript-one" class="postscript <?php print $postscript_one_classes; ?>">
# Line 146  Line 153 
153          </div><!-- /#postscript-four -->          </div><!-- /#postscript-four -->
154        <?php endif; ?>        <?php endif; ?>
155      </div><!-- /#postscript-wrapper -->      </div><!-- /#postscript-wrapper -->
156        <?php endif; ?>
157    
158        <?php if($footer_first || $footer_last || $footer_message): ?>
159      <div id="footer-wrapper" class="container-<?php print $footer_container_width; ?> clearfix">      <div id="footer-wrapper" class="container-<?php print $footer_container_width; ?> clearfix">
160        <?php if($footer_first): ?>        <?php if($footer_first): ?>
161          <div id="footer-first" class="grid-<?php print $footer_first_classes; ?>">          <div id="footer-first" class="grid-<?php print $footer_first_classes; ?>">
162            <?php print $footer_first; ?>            <?php print $footer_first; ?>
163          </div><!-- /#footer-first -->          </div><!-- /#footer-first -->
164        <?php endif; ?>        <?php endif; ?>
165        <?php if($footer_last): ?>        <?php if($footer_last || $footer_message): ?>
166          <div id="footer-last" class="grid-<?php print $footer_last_classes; ?>">          <div id="footer-last" class="grid-<?php print $footer_last_classes; ?>">
167            <?php print $footer_last; ?>            <?php print $footer_last; ?>
168            <?php if ($footer_message): ?>            <?php if ($footer_message): ?>
# Line 164  Line 173 
173          </div><!-- /#footer-last -->          </div><!-- /#footer-last -->
174        <?php endif; ?>        <?php endif; ?>
175      </div><!-- /#footer-wrapper -->      </div><!-- /#footer-wrapper -->
176        <?php endif; ?>
177    </div><!-- /#page -->    </div><!-- /#page -->
178    <?php print $closure; ?>    <?php print $closure; ?>
179  </body>  </body>

Legend:
Removed from v.1.6.2.3  
changed lines
  Added in v.1.6.2.4

  ViewVC Help
Powered by ViewVC 1.1.3