/[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 by himerus, Sat Oct 10 16:54:36 2009 UTC revision 1.7 by himerus, Sat Oct 24 15:35:52 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: page.tpl.php,v 1.5 2009/07/08 20:07:31 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">
6  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
7    
# 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    
19      <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">
20    
21        <div id="branding" class="grid-<?php print $header_logo_width; ?>">        <div id="branding" class="grid-<?php print $header_logo_width; ?>">
22        <?php if ($linked_logo_img): ?>          <?php if ($linked_logo_img): ?>
23          <?php print $linked_logo_img; ?>            <?php print $linked_logo_img; ?>
24        <?php endif; ?>          <?php endif; ?>
25        <?php if ($linked_site_name): ?>          <?php if ($linked_site_name): ?>
26          <h1 id="site-name" class=""><?php print $linked_site_name; ?></h1>            <h1 id="site-name" class=""><?php print $linked_site_name; ?></h1>
27        <?php endif; ?>          <?php endif; ?>
28        </div><!-- /#branding -->        </div><!-- /#branding -->
29    
30          <?php if ($main_menu_links || $secondary_menu_links): ?>
31            <div id="site-menu" class="grid-<?php print $header_menu_width; ?>">
32      <?php if ($main_menu_links || $secondary_menu_links): ?>            <div><?php print $main_menu_links; ?></div>
33        <div id="site-menu" class="grid-<?php print $header_menu_width; ?>">            <div><?php print $secondary_menu_links; ?></div>
34          <div><?php print $main_menu_links; ?></div>          </div><!-- /#site-menu -->
35          <div><?php print $secondary_menu_links; ?></div>        <?php endif; ?>
       </div>  
     <?php endif; ?>  
36      </div><!-- /#site-header -->      </div><!-- /#site-header -->
37    
38      <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">
39              <div id="header-first" class="<?php print $header_first_classes; ?>">        <?php if($header_first): ?>
40                <?php print $header_first; ?>          <div id="header-first" class="<?php print $header_first_classes; ?>">
41              </div>            <?php print $header_first; ?>
42            </div><!-- /#header-first -->
43              <div id="header-first" class="<?php print $header_last_classes; ?>">        <?php endif; ?>
44                <?php print $header_last; ?>        <?php if($header_last): ?>
45              </div>          <div id="header-last" class="<?php print $header_last_classes; ?>">
46      </div>            <?php print $header_last; ?>
47            </div><!-- /#header-last -->
48          <?php endif; ?>
49        </div><!-- /#header-regions -->
50    
   
   
   
   
51      <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">
52        <div id="slogan-bcrumb" class="grid-<?php print $breadcrumb_slogan_width; ?>">        <div id="slogan-bcrumb" class="grid-<?php print $breadcrumb_slogan_width; ?>">
53          <?php if ($site_slogan && $is_front): ?>          <?php if ($site_slogan && $is_front): ?>
54            <div id="slogan"><?php print $site_slogan; ?></div>            <div id="slogan"><?php print $site_slogan; ?></div><!-- /#slogan -->
55          <?php endif; ?>          <?php endif; ?>
56          <?php if($breadcrumb): ?>          <?php if($breadcrumb): ?>
57            <div id="bcrumb"><?php print $breadcrumb; ?></div>            <div id="bcrumb"><?php print $breadcrumb; ?></div><!-- /#bcrumb -->
58          <?php endif; ?>          <?php endif; ?>
59        </div>        </div>
60        <?php if ($search_box): ?>        <?php if ($search_box): ?>
61        <div id="search-box" class="grid-<?php print $search_width; ?>"><?php print $search_box; ?></div>          <div id="search-box" class="grid-<?php print $search_width; ?>"><?php print $search_box; ?></div><!-- /#search-box -->
62      <?php endif; ?>        <?php endif; ?>
63        </div><!-- /#internal-nav -->
     </div>  
64    
65      <div id="preface-wrapper" class="container-<?php print $preface_wrapper_grids; ?>">      <div id="preface-wrapper" class="container-<?php print $preface_wrapper_grids; ?>">
66        <div id="preface-first" class="preface <?php print $preface_first_classes; ?>">        <?php if($preface_first): ?>
67          <?php print $preface_first; ?>          <div id="preface-first" class="preface <?php print $preface_first_classes; ?>">
68        </div>            <?php print $preface_first; ?>
69        <div id="preface-middle" class="preface <?php print $preface_middle_classes; ?>">          </div><!-- /#preface-first -->
70          <?php print $preface_middle; ?>        <?php endif; ?>
71        </div>        <?php if($preface_middle): ?>
72        <div id="preface-last" class="preface <?php print $preface_last_classes; ?>">          <div id="preface-middle" class="preface <?php print $preface_middle_classes; ?>">
73          <?php print $preface_last; ?>            <?php print $preface_middle; ?>
74        </div>          </div><!-- /#preface-middle -->
75      </div><!-- /preface-wrapper -->        <?php endif; ?>
76          <?php if($preface_last): ?>
77            <div id="preface-last" class="preface <?php print $preface_last_classes; ?>">
78              <?php print $preface_last; ?>
79            </div><!-- /#preface-last -->
80          <?php endif; ?>
81        </div><!-- /#preface-wrapper -->
82    
83      <div class="container-<?php print $default_container_width; ?> clear-block">      <div class="container-<?php print $default_container_width; ?> clear-block">
84        <div class="grid-<?php print $default_container_width; ?>">        <div class="grid-<?php print $default_container_width; ?>">
85          <?php print $help; ?><?php print $messages; ?>          <?php print $help; ?><?php print $messages; ?>
86        </div>        </div>
87      </div>      </div><!-- /.container-xx -->
   
     <div id="main-content-container" class="container-<?php print $content_container_width; ?> clear-block">  
     <div id="main-wrapper" class="column <?php print $main_content_classes; ?>">  
   
   
             <?php print $mission; ?>  
   
   
       <div id="content-top">  
         <?php print $content_top; ?>  
       </div>  
   
       <?php if ($tabs): ?>  
         <div id="content-tabs" class=""><?php print $tabs; ?></div>  
       <?php endif; ?>  
   
       <?php if ($title): ?>  
         <h1 class="title" id="page-title"><?php print $title; ?></h1>  
       <?php endif; ?>  
88    
89        <div id="main-content" class="region clear-block">      <div id="main-content-container" class="container-<?php print $content_container_width; ?> clear-block">
90          <?php print $content; ?>        <div id="main-wrapper" class="column <?php print $main_content_classes; ?>">
91        </div>          <?php print $mission; ?>
   
       <div id="content-bottom">  
         <?php print $content_bottom; ?>  
       </div>  
     </div>  
92    
93            <div id="content-top">
94              <?php print $content_top; ?>
95            </div><!-- /#content-top -->
96    
97            <?php if ($tabs): ?>
98              <div id="content-tabs" class=""><?php print $tabs; ?></div><!-- /#content-tabs -->
99            <?php endif; ?>
100    
101            <?php if ($title): ?>
102              <h1 class="title" id="page-title"><?php print $title; ?></h1>
103            <?php endif; ?>
104    
105            <div id="main-content" class="region clear-block">
106              <?php print $content; ?>
107            </div><!-- /#main-content -->
108    
109            <div id="content-bottom">
110              <?php print $content_bottom; ?>
111            </div><!-- /#content-bottom -->
112          </div><!-- /#main-wrapper -->
113    
114          <?php if ($sidebar_first): ?>
115            <div id="sidebar-first" class="column sidebar region <?php print $sidebar_first_classes; ?>">
116              <?php print $sidebar_first; ?>
117            </div><!-- /#sidebar-first -->
118          <?php endif; ?>
119    
120    <?php if ($sidebar_first): ?>        <?php if ($sidebar_last): ?>
121      <div id="sidebar-first" class="column sidebar region <?php print $sidebar_first_classes; ?>">          <div id="sidebar-last" class="column sidebar region <?php print $sidebar_last_classes; ?>">
122        <?php print $sidebar_first; ?>            <?php print $sidebar_last; ?>
123      </div>          </div><!-- /#sidebar-last -->
124    <?php endif; ?>        <?php endif; ?>
125        </div><!-- /#main-content-container -->
126    <?php if ($sidebar_last): ?>  
127      <div id="sidebar-last" class="column sidebar region <?php print $sidebar_last_classes; ?>">      <div id="postscript-wrapper" class="container-<?php print $postscript_container_width; ?> clear-block">
128        <?php print $sidebar_last; ?>        <?php if($postscript_one): ?>
129      </div>          <div id="postscript-one" class="postscript <?php print $postscript_one_classes; ?>">
130    <?php endif; ?>            <?php print $postscript_one; ?>
131    </div>          </div><!-- /#postscript-one -->
132          <?php endif; ?>
133    <div id="postscript-wrapper" class="container-<?php print $postscript_container_width; ?> clear-block">        <?php if($postscript_two): ?>
134      <div id="postscript-one" class="postscript <?php print $postscript_one_classes; ?>">          <div id="postscript-two" class="postscript <?php print $postscript_two_classes; ?>">
135        <?php print $postscript_one; ?>            <?php print $postscript_two; ?>
136      </div>          </div><!-- /#postscript-two -->
137      <div id="postscript-two" class="postscript <?php print $postscript_two_classes; ?>">        <?php endif; ?>
138        <?php print $postscript_two; ?>        <?php if($postscript_three): ?>
139      </div>          <div id="postscript-three" class="postscript <?php print $postscript_three_classes; ?>">
140      <div id="postscript-three" class="postscript <?php print $postscript_three_classes; ?>">            <?php print $postscript_three; ?>
141        <?php print $postscript_three; ?>          </div><!-- /#postscript-three -->
142      </div>        <?php endif; ?>
143      <div id="postscript-four" class="postscript <?php print $postscript_four_classes; ?>">        <?php if($postscript_four): ?>
144        <?php print $postscript_four; ?>          <div id="postscript-four" class="postscript <?php print $postscript_four_classes; ?>">
145      </div>            <?php print $postscript_four; ?>
146    </div><!-- /postscript-wrapper -->          </div><!-- /#postscript-four -->
147          <?php endif; ?>
148        </div><!-- /#postscript-wrapper -->
149    
150    <div id="footer-wrapper" class="container-<?php print $footer_container_width; ?>">      <div id="footer-wrapper" class="container-<?php print $footer_container_width; ?> clearfix">
151            <div id="footer-first" class="grid-<?php print $footer_first_classes; ?>">        <?php if($footer_first): ?>
152              <?php print $footer_first; ?>          <div id="footer-first" class="grid-<?php print $footer_first_classes; ?>">
153            </div>            <?php print $footer_first; ?>
154            <div id="footer-last" class="grid-<?php print $footer_last_classes; ?>">          </div><!-- /#footer-first -->
155              <?php print $footer_last; ?>        <?php endif; ?>
156              <?php if ($footer_message): ?>        <?php if($footer_last): ?>
157                <div id="footer-message">          <div id="footer-last" class="grid-<?php print $footer_last_classes; ?>">
158                  <?php print $footer_message; ?>            <?php print $footer_last; ?>
159                </div>            <?php if ($footer_message): ?>
160              <?php endif; ?>              <div id="footer-message">
161            </div>                <?php print $footer_message; ?>
162    </div>              </div><!-- /#footer-message -->
163              <?php endif; ?>
164            </div><!-- /#footer-last -->
165          <?php endif; ?>
166        </div><!-- /#footer-wrapper -->
167    
168    </div>    </div><!-- /#page -->
169    <?php print $closure; ?>    <?php print $closure; ?>
170  </body>  </body>
171  </html>  </html>

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.3