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

Contents of /contributions/themes/beginningW2/page.tpl.php

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


Revision 1.5 - (show annotations) (download) (as text)
Thu May 14 13:56:51 2009 UTC (6 months, 2 weeks ago) by robby
Branch: MAIN
CVS Tags: DRUPAL-6--1-4, HEAD
Changes since 1.4: +2 -3 lines
File MIME type: text/x-php
W3C validation fixes ... sorry
1
2 <?php
3 // $Id: page.tpl.php,v 1.4 2009/05/13 12:39:40 robby Exp $
4 // beginning Web 2.0 drupal 6.x theme, created by robin / biboo.net / gazwal.com
5 ?>
6 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
7 <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language ?>" xml:lang="<?php print $language->language ?>">
8 <head>
9 <title>
10 <?php print $head_title; ?>
11 </title>
12 <?php print $head; ?>
13 <?php print $styles; ?>
14 <!--[if lte IE 6]>
15 <style type="text/css" media="all">
16 @import "<?php echo $base_path . path_to_theme() ?>/ie6.css";
17 </style>
18 <![endif]-->
19 <!--[if IE 7]>
20 <style type="text/css" media="all">
21 @import "<?php echo $base_path . path_to_theme() ?>/ie7.css";
22 </style>
23 <![endif]-->
24 <?php print $scripts; ?>
25
26 </head>
27 <body class="<?php print $body_classes; ?>">
28
29 <?php if ($header): print '<div id="header-region-wrapper"><div id="header-region">'.$header.'</div></div>'; endif; ?>
30
31 <div id="container">
32
33 <div id="header">
34
35 <div id="top-bar">
36 <?php if (isset($secondary_links)) : ?>
37 <div class="region-content">
38 <?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
39 </div>
40 <?php endif; ?>
41 </div>
42
43 <div class="region-content">
44 <?php
45 if ($logo || $site_title) {
46 print '<h1><a href="'. check_url($base_path) .'" title="'. $site_title .'">';
47 if ($logo) {
48 print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" title="Home" />';
49 }
50 print ($logo ? '' : $site_title_html) .'</a></h1>';
51 }
52 ?>
53
54 <div id="top-primary">
55 <div id="top-primary-left">
56 <div id="top-primary-right">
57 <?php if (isset($primary_links)) : ?>
58 <?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
59 <?php endif; ?>
60 </div>
61 </div>
62 </div>
63
64 </div>
65
66 </div>
67 <!-- /header -->
68
69
70 <div id="center">
71
72 <div id="featured">
73 <?php if ($mission || $featured): ?>
74 <div class="region-content">
75 <?php if ($mission): print '<div id="mission"><p>'. $mission .'</p></div>'; endif; ?>
76 <?php if ($featured): print $featured; endif; ?>
77 </div>
78 <?php endif; ?>
79 </div>
80
81 <div id="headerblock">
82 <div class="region-content">
83
84 <?php if ($headerblock_left): ?>
85 <div id="headerblock-left" class="headerblock-block">
86 <?php print $headerblock_left ?>
87 </div>
88 <?php endif; ?>
89
90 <?php if ($headerblock_middle): ?>
91 <div id="headerblock-middle" class="headerblock-block">
92 <?php print $headerblock_middle?>
93 </div>
94 <?php endif; ?>
95
96 <?php if ($headerblock_right): ?>
97 <div id="headerblock-right" class="headerblock-block">
98 <?php print $headerblock_right ?>
99 </div>
100 <?php endif; ?>
101
102 <span class="clear">&nbsp;</span><!-- important !!! -->
103
104 </div>
105 </div>
106
107 <div id="breadcrumb-wrapper">
108 <?php if ($breadcrumb): print '<div class="region-content">'.$breadcrumb.'</div>'; endif; ?>
109 </div>
110
111 <div id="mainOut">
112 <div id="mainIn">
113
114 <div class="top-corners">
115 <div class="bottom-corners">
116
117 <div id="content">
118 <div id="squeeze">
119 <?php if ($title) { ?><h1 class="pagetitle"><?php print $title ?></h1><?php } ?>
120 <?php if ($tabs) { ?><div class="tabs"><?php print $tabs ?></div><?php } ?>
121 <?php if ($show_messages && $messages): print $messages; endif; ?>
122 <?php if ($help): print $help; endif; ?>
123
124 <?php print $content; ?>
125
126 <div id="content-bottom">
127 <?php if ($content_bottom): print '<div class="region-content">'.$content_bottom.'</div>'; endif; ?>
128 </div>
129
130 <?php print '<div class="div-feed-icons">'. $feed_icons .'</div>'; ?>
131
132 </div>
133 </div>
134 <!-- /content -->
135
136
137 <?php if ($left): ?>
138 <div id="sidebar-left" class="sidebar">
139 <?php print $left ?>
140 </div>
141 <!-- /sidebar-left -->
142 <?php endif; ?>
143
144 <?php if ($right): ?>
145 <div id="sidebar-right" class="sidebar">
146 <?php if ($search_box): ?><div class="block block-theme" id="searchbox"><?php print $search_box ?></div><?php endif; ?>
147 <?php print $right ?>
148 </div>
149 <!-- /sidebar-right -->
150 <?php endif; ?>
151
152 <span class="clear">&nbsp;</span><!-- important !!! -->
153
154 </div><!-- /bottom-corners -->
155 </div><!-- /top-corners -->
156
157 </div><!-- /mainIn -->
158 </div><!-- /mainOut -->
159
160
161 </div> <!-- /center -->
162
163
164 <div id="footer">
165
166 <?php if ($footer_top): ?>
167 <div id="footer-top-wrapper">
168 <div id="footer-top">
169 <?php print $footer_top ?>
170 </div>
171 </div>
172 <?php endif; ?>
173
174 <div class="region-content">
175
176 <?php if ($footer_left): ?>
177 <div id="footer-left" class="footer-block">
178 <?php print $footer_left ?>
179 </div>
180 <?php endif; ?>
181
182 <?php if ($footer_middle_left): ?>
183 <div id="footer-middle-left" class="footer-block">
184 <?php print $footer_middle_left ?>
185 </div>
186 <?php endif; ?>
187
188 <?php if ($footer_middle_right): ?>
189 <div id="footer-middle-right" class="footer-block">
190 <?php print $footer_middle_right ?>
191 </div>
192 <?php endif; ?>
193
194 <?php if ($footer_right): ?>
195 <div id="footer-right" class="footer-block">
196 <?php print $footer_right ?>
197 </div>
198 <?php endif; ?>
199
200 <span class="clear">&nbsp;</span><!-- important !!! -->
201
202 </div>
203
204 <div id="bottom-primary" class="clear">
205 <?php if (isset($primary_links)) : ?>
206 <div class="region-content">
207 <?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
208 </div>
209 <?php endif; ?>
210 </div>
211
212 <div class="region-content">
213 <?php if (isset($footer_message)) { print '<div id="footer-message"><p>'.$footer_message.'</p></div>'; } ?>
214 </div>
215
216 </div>
217 <!-- /footer -->
218
219 </div>
220 <!-- /container -->
221 <?php print $closure ?>
222 </body>
223 </html>

  ViewVC Help
Powered by ViewVC 1.1.2