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

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

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


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

  ViewVC Help
Powered by ViewVC 1.1.2