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

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

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


Revision 1.4 - (show annotations) (download) (as text)
Mon Jan 12 22:49:36 2009 UTC (10 months, 1 week ago) by politicalphysics
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
File MIME type: text/x-php
Fixing placement of comment that appeared before doctype, which would throw IE7 into quirks mode
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
4 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5 <head>
6 <title><?php print $head_title ?></title>
7 <?php print $head ?>
8 <?php print atck_styles() ?>
9 <!--[if IE 6]>
10 <style type="text/css" media="all">@import "<?php print base_path() . path_to_theme() ?>/css/fix-ie-6.css";</style>
11 <![endif]-->
12 <!--[if IE 7]>
13 <style type="text/css" media="all">@import "<?php print base_path() . path_to_theme() ?>/css/fix-ie-7.css";</style>
14 <![endif]-->
15 <?php print $scripts ?>
16 </head>
17
18 <body class="center">
19 <!-- This is merely a sample page.tpl.file. It may be useful as a reference for making your own page.tpl.php file with output from the grid builder -->
20
21 <div <?php print $body_attributes; ?>>
22 <!-- The next five lines are provided by the tck layout builder and will change based on the
23 options you choose there -->
24 <div class="fixed-xlg" id="container"><!-- fixed-lg defines overall width of the site -->
25
26 <div class="section"><!-- 'section' class defines top row -->
27 <div id="header">
28 <?php if ($site_name): ?>
29 <h1><a href="<?php print $base_path ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a></h1>
30 <?php endif; ?>
31 <?php if ($site_slogan): ?>
32 <span id="tagline"><?php print $site_slogan; ?></span>
33 <?php endif; ?>
34 </div><!-- /#header -->
35
36 <?php if ($primary_links): ?>
37 <div id="main_menu">
38 <?php print theme('links', $primary_links); ?>
39 </div> <!-- /#main_menu -->
40 <?php endif; ?>
41
42 <?php if ($secondary_links): ?>
43 <div id="secondary_menu"> <?php print theme('links', $secondary_links); ?></div>
44 <?php endif; ?>
45 </div><!-- /section -->
46
47 <div class="section"><!-- 'section' class defines a new row -->
48 <div class="classic untidy"><!-- '.classic untidy' allows columns of unequal heights -->
49 <div class="layout a-b-c"><!-- 'layout' specifies how many columns the row will contain -->
50 <div class="gr a"><!-- the first of three columns for this row -->
51 <?php if ($search_box || $left): ?>
52 <div id="sidebar_left">
53 <?php if ($search_box): ?>
54 <div class="block"> <?php print $search_box; ?> </div>
55 <?php endif; ?>
56 <?php print $left; ?>
57 </div><!-- /#sidebar_left -->
58 <?php endif; ?>
59 </div><!-- /gr a -->
60
61 <div class="gr b"><!-- the second of three columns for this row -->
62 <?php if ($header || $breadcrumb): ?>
63 <div id="breadcrumb">
64 <?php if ($breadcrumb): ?>
65 <?php print $breadcrumb; ?>
66 <?php endif; ?>
67 <?php if ($header): ?>
68 <?php print $header; ?>
69 <?php endif; ?>
70 </div><!-- /#breadcrumb -->
71 <?php endif; ?>
72
73 <div id="wrapper" class="clear-block">
74 <div id="subwrapper">
75 <div id="content">
76 <?php if ($help): ?>
77 <?php print $help; ?>
78 <?php endif; ?>
79 <?php if ($show_messages && $messages): ?>
80 <?php print $messages; ?>
81 <?php endif; ?>
82 <?php if ($mission): ?>
83 <div id="mission"><?php print $mission; ?></div>
84 <?php endif; ?>
85 <?php if ($content_top):?>
86 <div id="content-top"><?php print $content_top; ?></div>
87 <?php endif; ?>
88 <?php if ($tabs): ?>
89 <div class="tabs"><?php print $tabs; ?></div>
90 <?php endif; ?>
91 <?php if ($title): ?>
92 <h1 class="title"><?php print $title; ?></h1>
93 <?php endif; ?>
94 <?php if ($content): ?>
95 <?php print $content; ?>
96 <?php endif; ?>
97 <?php if ($content_bottom): ?>
98 <div id="content-bottom">
99 <?php print $content_bottom; ?>
100 </div><!--/content-bottom -->
101 <?php endif; ?>
102 </div><!-- /content -->
103 </div> <!-- /subwrapper -->
104 </div><!-- /#wrapper -->
105
106 <?php if ($footer): ?>
107 <div id="footer">
108 <?php print $footer; ?>
109 </div><!-- /#footer -->
110 <?php endif; ?>
111 </div><!-- /gr b -->
112
113 <div class="gr c"><!-- the second of three columns for this row -->
114 <?php if ($right): ?>
115 <div id="sidebar_right"> <?php print $right; ?></div><!-- /#sidebar_right -->
116 <?php endif; ?>
117 </div><!-- /gr c -->
118 </div><!-- /layout a-b-c --><br class="shim" />
119 </div><!-- /classic untidy -->
120 </div><!-- /section -->
121
122 <?php if ($closure): ?>
123 <?php print $closure; ?>
124 <?php endif; ?>
125
126 </div><!-- /fixed-xlg container -->
127 </div><!-- style-wrappers -->
128 </body>
129 </html>

  ViewVC Help
Powered by ViewVC 1.1.2