/[drupal]/contributions/sandbox/jjeff/zengine/page.zen.php
ViewVC logotype

Contents of /contributions/sandbox/jjeff/zengine/page.zen.php

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


Revision 1.1 - (show annotations) (download) (as text)
Sun May 6 00:06:35 2007 UTC (2 years, 6 months ago) by jjeff
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-php
alpha version of Zengine theme engine. Place in sites/all/themes/engines
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 <?php print $scripts; ?>
9 </head>
10
11 <?php /* different ids allow for separate theming of the home page */ ?>
12 <body class="<?php print $body_classes; ?>">
13 <div id="page">
14 <div id="header">
15 <div id="logo-title">
16
17 <?php print $search_box; ?>
18 <?php if (!empty($logo)): ?>
19 <a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home">
20 <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" id="logo" />
21 </a>
22 <?php endif; ?>
23
24 <div id="name-and-slogan">
25
26 <?php if (!empty($site_name)): ?>
27 <h1 id='site-name'>
28 <a href="<?php print $base_path ?>" title="<?php print t('Home'); ?>" rel="home">
29 <?php print $site_name; ?>
30 </a>
31 </h1>
32 <?php endif; ?>
33
34 <?php if (!empty($site_slogan)): ?>
35 <div id='site-slogan'>
36 <?php print $site_slogan; ?>
37 </div>
38 <?php endif; ?>
39
40 </div> <!-- /name-and-slogan -->
41
42 </div> <!-- /logo-title -->
43
44
45 <div id="navigation" class="menu <?php if ($primary_links) { print "withprimary"; } if ($secondary_links) { print " withsecondary"; } ?> ">
46 <?php if (!empty($primary_links)): ?>
47 <div id="primary" class="clear-block">
48 <?php print theme('menu_links', $primary_links); ?>
49 </div>
50 <?php endif; ?>
51
52 <?php if (!empty($secondary_links)): ?>
53 <div id="secondary" class="clear-block">
54 <?php print theme('menu_links', $secondary_links); ?>
55 </div>
56 <?php endif; ?>
57 </div> <!-- /navigation -->
58
59 <?php if (!empty($header) || !empty($breadcrumb)): ?>
60 <div id="header-region">
61 <?php print $breadcrumb; ?>
62 <?php print $header; ?>
63 </div>
64 <?php endif; ?>
65
66 </div> <!-- /header -->
67
68 <div id="container" class="clear-block">
69
70 <?php if (!empty($sidebar_left)): ?>
71 <div id="sidebar-left" class="column sidebar">
72 <?php print $sidebar_left; ?>
73 </div> <!-- /sidebar-left -->
74 <?php endif; ?>
75
76 <div id="main" class="column"><div id="squeeze">
77 <?php if (!empty($mission)): ?><div id="mission"><?php print $mission; ?></div><?php endif; ?>
78 <?php if (!empty($content_top)):?><div id="content-top"><?php print $content_top; ?></div><?php endif; ?>
79 <div id="#content">
80 <?php if (!empty($title)): ?><h1 class="title"><?php print $title; ?></h1><?php endif; ?>
81 <?php if (!empty($tabs)): ?><div class="tabs"><?php print $tabs; ?></div><?php endif; ?>
82 <?php print $messages; ?>
83 <?php print $help; ?>
84 <?php print $content; ?>
85 <?php print $feed_icons; ?>
86 </div> <!-- /content -->
87 <?php if (!empty($content_bottom)): ?><div id="content-bottom"><?php print $content_bottom; ?></div><?php endif; ?>
88 </div></div> <!-- /squeeze /main -->
89
90 <?php if (!empty($sidebar_right)): ?>
91 <div id="sidebar-right" class="column sidebar">
92 <?php print $sidebar_right; ?>
93 </div> <!-- /sidebar-right -->
94 <?php endif; ?>
95
96 </div> <!-- /container -->
97
98 <div id="footer-wrapper">
99 <div id="footer">
100 <?php print $footer_message; ?>
101 </div> <!-- /footer -->
102 </div> <!-- /footer-wrapper -->
103
104 <?php print $closure; ?>
105
106 </div> <!-- /page -->
107
108 </body>
109 </html>

  ViewVC Help
Powered by ViewVC 1.1.2