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

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

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


Revision 1.1 - (show annotations) (download) (as text)
Fri May 23 21:13:14 2008 UTC (18 months ago) by crashtest
Branch: MAIN
CVS Tags: DRUPAL-5--1-1, DRUPAL-5--1-0, DRUPAL-5--1-2, HEAD
Branch point for: DRUPAL-5
File MIME type: text/x-php
Initial commit of the Ranch theme, a standards compliant CSS theme with easy to change color.
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language; ?>" xml:lang="<?php print $language; ?>">
3
4 <head>
5 <title><?php print $head_title; ?></title>
6 <?php print $head; ?>
7 <?php print $styles; ?>
8 <!--[if IE]>
9 <link rel="stylesheet" href="<?php print $base_path . $theme_path; ?>/ie.css" type="text/css">
10 <![endif]-->
11 <?php print $scripts; ?>
12 <script type="text/javascript">
13 window.onload=function(){
14 Nifty("div#header-right","transparent top");
15 Nifty("div#header-right-secondary","transparent top");
16 Nifty("div#menu","small tl");
17 Nifty("div#main-inner","transparent tl");
18 Nifty("div#main-inner-inner","");
19 Nifty("div#sidebar-right","");
20 Nifty("div#footer-inner","bl br");
21 Nifty("div#search-area","bl");
22 Nifty("div#mission","transparent");
23 Nifty("div.content-below","transparent")
24 }
25 </script>
26 </head>
27
28 <body class="<?php print $body_classes; ?>">
29 <div id="wrapper">
30 <div id="page"><div id="page-inner">
31
32 <a name="top" id="navigation-top"></a>
33 <div id="skip-to-nav"><a href="#navigation"><?php print $skip_to_nav; ?></a></div>
34
35 <div id="header"><div id="header-inner" class="clear-block">
36
37 <?php if ($logo): ?>
38 <div id="logo-title">
39
40 <?php if ($logo): ?>
41 <div id="logo"><a href="<?php print $base_path; ?>" title="<?php print $home_text; ?>" rel="home"><img src="<?php print $logo; ?>" alt="<?php print $home_text; ?>" id="logo-image" /></a><?php if($site_name) {print '<h1><a href="'.$base_path.'">'.$site_name.'</a></h1>';} ?></div>
42 <?php endif; ?>
43
44 </div> <!-- /#logo-title -->
45 <?php endif; ?>
46
47 <div id="header-right<?php if ($themed_secondary_links) { print '-secondary'; } ?>">
48 <?php if ($themed_primary_links || $themed_secondary_links || $navbar): ?>
49 <div id="navbar"><div id="navbar-inner">
50
51 <a name="navigation" id="navigation"></a>
52
53 <?php if ($themed_primary_links): ?>
54 <div id="primary">
55 <?php print $themed_primary_links; ?>
56 </div> <!-- /#primary -->
57 <?php endif; ?>
58
59 <?php if ($themed_secondary_links): ?>
60 <div id="menu">
61 <?php print $themed_secondary_links; ?>
62 </div> <!-- /#secondary -->
63 <?php endif; ?>
64
65 <?php print $navbar; ?>
66
67 </div></div> <!-- /#navbar-inner, /#navbar -->
68 <?php endif; ?>
69 </div>
70
71 </div></div> <!-- /#header-inner, /#header -->
72
73 <div id="main"><div id="main-inner" class="clear-block<?php if ($sidebar_right) { print ' with-sidebar'; } ?>">
74
75 <?php if ($search_box): ?>
76 <div id="search-area">
77 <div id="search-area-inside">
78 <div id="search-box">
79 <?php print $search_box; ?>
80 </div> <!-- /#search-box --><?php print $breadcrumb; ?>
81 </div>
82 </div>
83 <?php endif; ?>
84
85 <!-- #mission -->
86 <?php if ($mission): ?> <br style="clear: both;" />
87 <!--[if IE]> <div id="IEroot"> <![endif]-->
88 <div id="mission" ><div class="left-quote">&#8220;</div><div id="mission-inner"><?php print $mission; ?></div><div class="right-quote">&#8221;</div></div>
89 <!--[if IE]> </div> <![endif]-->
90 <?php endif; ?>
91
92 <div id="content"><div id="content-inner">
93 <div id="main-inner-inner">
94
95 <?php if ($content_top): ?>
96 <div id="content-top">
97 <?php print $content_top; ?>
98 </div> <!-- /#content-top -->
99 <?php endif; ?>
100
101 <?php if ($breadcrumb or $title or $tabs or $help or $messages): ?>
102 <div id="content-header">
103 <?php // print $breadcrumb; ?>
104 <?php if ($title): ?>
105 <h1 class="title"><?php print $title; ?></h1>
106 <?php endif; ?>
107 <?php print $messages; ?>
108 <?php if ($tabs): ?>
109 <div class="tabs"><?php print $tabs; ?></div>
110 <?php endif; ?>
111 <?php print $help; ?>
112 </div> <!-- /#content-header -->
113 <?php endif; ?>
114
115 <div id="content-area">
116 <?php print $content; ?>
117 </div>
118
119 <?php if ($feed_icons): ?>
120 <div class="feed-icons"><?php print $feed_icons; ?></div>
121 <?php endif; ?>
122
123 <?php if ($content_bottom): ?>
124 <div id="content-bottom">
125 <?php print $content_bottom; ?>
126 </div> <!-- /#content-bottom -->
127 <?php endif; ?>
128
129 <?php if ($content_below_left): ?>
130 <div id="content-below-left" class="content-below">
131 <?php print $content_below_left; ?>
132 </div>
133 <?php endif; ?>
134 <?php if ($content_below_middle): ?>
135 <div id="content-below-middle" class="content-below">
136 <?php print $content_below_middle; ?>
137 </div>
138 <?php endif; ?>
139 <?php if ($content_below_right): ?>
140 <div id="content-below-right" class="content-below">
141 <?php print $content_below_right; ?>
142 </div>
143 <?php endif; ?>
144
145
146 </div></div></div> <!-- /#content-inner, /#content -->
147
148 <?php if ($sidebar_right): ?>
149 <div id="sidebar-right"><div id="sidebar-right-inner">
150 <?php print $sidebar_right; ?>
151 </div></div> <!-- /#sidebar-right-inner, /#sidebar-right -->
152 <?php endif; ?>
153
154 </div></div> <!-- /#main-inner, /#main -->
155
156 <div id="footer"><div id="footer-inner">
157
158 <div id="footer-message"><?php print $footer_message; ?></div>
159 <div id="theme-credit"><a href="http://www.drupal.org/"><img src="<?php print $base_path . $theme_path; ?>/drupal.png" alt="Powered by Drupal" /></a>&nbsp;&nbsp;Ranch theme by <a href="http://brauerranch.com">Patrick Teglia</a></div>
160
161 </div></div> <!-- /#footer-inner, /#footer -->
162
163 <?php if ($closure_region): ?>
164 <div id="closure-blocks"><?php print $closure_region; ?></div>
165 <?php endif; ?>
166
167 <?php print $closure; ?>
168
169 </div></div> <!-- /#page-inner, /#page -->
170 </div> <!-- /#wrapper -->
171 </body>
172 </html>

  ViewVC Help
Powered by ViewVC 1.1.2