| 1 |
<?php
|
| 2 |
// $Id: page.tpl.php,v 1.1.2.4 2008/12/21 23:38:55 jwolf Exp $
|
| 3 |
?>
|
| 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 |
|
| 8 |
<head>
|
| 9 |
<title><?php print $head_title; ?></title>
|
| 10 |
<?php print $head; ?>
|
| 11 |
<?php print $styles; ?>
|
| 12 |
<!--[if IE 7]>
|
| 13 |
<link rel="stylesheet" href="<?php print $base_path . $directory; ?>/ie7-fixes.css" type="text/css">
|
| 14 |
<![endif]-->
|
| 15 |
<!--[if lte IE 6]>
|
| 16 |
<link rel="stylesheet" href="<?php print $base_path . $directory; ?>/ie6-fixes.css" type="text/css">
|
| 17 |
<![endif]-->
|
| 18 |
<?php print $scripts; ?>
|
| 19 |
</head>
|
| 20 |
|
| 21 |
<body class="<?php print $body_classes; ?>">
|
| 22 |
<div id="page" class="clearfix">
|
| 23 |
|
| 24 |
<div id="header">
|
| 25 |
<div id="header-wrapper" class="clearfix">
|
| 26 |
|
| 27 |
<?php if ($search_box): ?>
|
| 28 |
<div id="search-box">
|
| 29 |
<?php print $search_box; ?>
|
| 30 |
</div><!-- /search-box -->
|
| 31 |
<?php endif; ?>
|
| 32 |
|
| 33 |
<div id="header-first">
|
| 34 |
<?php if ($logo): ?>
|
| 35 |
<div id="logo">
|
| 36 |
<a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a>
|
| 37 |
</div>
|
| 38 |
<?php endif; ?>
|
| 39 |
<?php if ($site_name): ?>
|
| 40 |
<h1><a href="<?php print $base_path ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a></h1>
|
| 41 |
<?php endif; ?>
|
| 42 |
<?php if ($site_slogan): ?>
|
| 43 |
<span id="slogan"><?php print $site_slogan; ?></span>
|
| 44 |
<?php endif; ?>
|
| 45 |
</div><!-- /header-first -->
|
| 46 |
|
| 47 |
<div id="header-middle">
|
| 48 |
<?php if ($header_middle): ?>
|
| 49 |
<?php print $header_middle; ?>
|
| 50 |
<?php endif; ?>
|
| 51 |
</div><!-- /header-middle -->
|
| 52 |
|
| 53 |
<div id="header-last">
|
| 54 |
<?php if ($header_last): ?>
|
| 55 |
<?php print $header_last; ?>
|
| 56 |
<?php endif; ?>
|
| 57 |
</div><!-- /header-last -->
|
| 58 |
|
| 59 |
</div><!-- /header-wrapper -->
|
| 60 |
|
| 61 |
<div id="header-bottom" class="clearfix">
|
| 62 |
<?php if ($primary_links): ?>
|
| 63 |
<div id="primary-menu">
|
| 64 |
<?php print $primary_links_tree; ?>
|
| 65 |
</div><!-- /primary_menu -->
|
| 66 |
<?php endif; ?>
|
| 67 |
</div><!-- /header-bottom -->
|
| 68 |
</div><!-- /header -->
|
| 69 |
|
| 70 |
<div id="preface">
|
| 71 |
<?php if ($preface_first || $preface_middle || $preface_last || $mission): ?>
|
| 72 |
<div id="preface-wrapper" class="<?php print $prefaces; ?> clearfix">
|
| 73 |
<?php if ($mission): ?>
|
| 74 |
<div id="mission">
|
| 75 |
<?php print $mission; ?>
|
| 76 |
</div>
|
| 77 |
<?php endif; ?>
|
| 78 |
|
| 79 |
<?php if ($preface_first): ?>
|
| 80 |
<div id="preface-first" class="column">
|
| 81 |
<?php print $preface_first; ?>
|
| 82 |
</div><!-- /preface-first -->
|
| 83 |
<?php endif; ?>
|
| 84 |
|
| 85 |
<?php if ($preface_middle): ?>
|
| 86 |
<div id="preface-middle" class="column">
|
| 87 |
<?php print $preface_middle; ?>
|
| 88 |
</div><!-- /preface-middle -->
|
| 89 |
<?php endif; ?>
|
| 90 |
|
| 91 |
<?php if ($preface_last): ?>
|
| 92 |
<div id="preface-last" class="column">
|
| 93 |
<?php print $preface_last; ?>
|
| 94 |
</div><!-- /preface-last -->
|
| 95 |
<?php endif; ?>
|
| 96 |
</div><!-- /preface-wrapper -->
|
| 97 |
<?php endif; ?>
|
| 98 |
</div><!-- /preface -->
|
| 99 |
|
| 100 |
<div id="main">
|
| 101 |
<div id="main-wrapper" class="clearfix">
|
| 102 |
|
| 103 |
<?php if ($breadcrumb): ?>
|
| 104 |
<div id="breadcrumb">
|
| 105 |
<?php print $breadcrumb; ?>
|
| 106 |
</div><!-- /breadcrumb -->
|
| 107 |
<?php endif; ?>
|
| 108 |
|
| 109 |
<?php if ($sidebar_first): ?>
|
| 110 |
<div id="sidebar-first">
|
| 111 |
<?php print $sidebar_first; ?>
|
| 112 |
</div><!-- /sidebar-first -->
|
| 113 |
<?php endif; ?>
|
| 114 |
|
| 115 |
<div id="content-wrapper">
|
| 116 |
<?php if ($help): ?>
|
| 117 |
<?php print $help; ?>
|
| 118 |
<?php endif; ?>
|
| 119 |
<?php if ($messages): ?>
|
| 120 |
<?php print $messages; ?>
|
| 121 |
<?php endif; ?>
|
| 122 |
|
| 123 |
<?php if ($content_top): ?>
|
| 124 |
<div id="content-top">
|
| 125 |
<?php print $content_top; ?>
|
| 126 |
</div><!-- /content-top -->
|
| 127 |
<?php endif; ?>
|
| 128 |
|
| 129 |
<div id="content">
|
| 130 |
<?php if ($tabs): ?>
|
| 131 |
<div id="content-tabs">
|
| 132 |
<?php print $tabs; ?>
|
| 133 |
</div>
|
| 134 |
<?php endif; ?>
|
| 135 |
|
| 136 |
<?php if (($sidebar_first) && ($sidebar_last)) : ?>
|
| 137 |
<?php if ($sidebar_last): ?>
|
| 138 |
<div id="sidebar-last">
|
| 139 |
<?php print $sidebar_last; ?>
|
| 140 |
</div><!-- /sidebar_last -->
|
| 141 |
<?php endif; ?>
|
| 142 |
<?php endif; ?>
|
| 143 |
|
| 144 |
<div id="content-inner">
|
| 145 |
<?php if ($title): ?>
|
| 146 |
<h1 class="title"><?php print $title; ?></h1>
|
| 147 |
<?php endif; ?>
|
| 148 |
<div id="content-content">
|
| 149 |
<?php print $content; ?>
|
| 150 |
</div>
|
| 151 |
</div><!-- /content-inner -->
|
| 152 |
</div><!-- /content -->
|
| 153 |
|
| 154 |
<?php if ($content_bottom): ?>
|
| 155 |
<div id="content-bottom">
|
| 156 |
<?php print $content_bottom; ?>
|
| 157 |
</div><!-- /content-bottom -->
|
| 158 |
<?php endif; ?>
|
| 159 |
</div><!-- /content-wrapper -->
|
| 160 |
|
| 161 |
<?php if ((!$sidebar_first) && ($sidebar_last)) : ?>
|
| 162 |
<?php if ($sidebar_last): ?>
|
| 163 |
<div id="sidebar-last">
|
| 164 |
<?php print $sidebar_last; ?>
|
| 165 |
</div><!-- /sidebar_last -->
|
| 166 |
<?php endif; ?>
|
| 167 |
<?php endif; ?>
|
| 168 |
|
| 169 |
<?php if ($postscript_first || $postscript_middle || $postscript_last): ?>
|
| 170 |
<div id="postscript-wrapper" class="<?php print $postscripts; ?> clearfix">
|
| 171 |
<?php if ($postscript_first): ?>
|
| 172 |
<div id="postscript-first" class="column">
|
| 173 |
<?php print $postscript_first; ?>
|
| 174 |
</div><!-- /postscript-first -->
|
| 175 |
<?php endif; ?>
|
| 176 |
|
| 177 |
<?php if ($postscript_middle): ?>
|
| 178 |
<div id="postscript-middle" class="column">
|
| 179 |
<?php print $postscript_middle; ?>
|
| 180 |
</div><!-- /postscript-middle -->
|
| 181 |
<?php endif; ?>
|
| 182 |
|
| 183 |
<?php if ($postscript_last): ?>
|
| 184 |
<div id="postscript-last" class="column">
|
| 185 |
<?php print $postscript_last; ?>
|
| 186 |
</div><!-- /postscript-last -->
|
| 187 |
<?php endif; ?>
|
| 188 |
</div><!-- /postscript-wrapper -->
|
| 189 |
<?php endif; ?>
|
| 190 |
|
| 191 |
<?php print $feed_icons; ?>
|
| 192 |
|
| 193 |
<?php if ($footer_top || $footer || $footer_message): ?>
|
| 194 |
<div id="footer" class="clearfix">
|
| 195 |
<?php if ($footer_top): ?>
|
| 196 |
<?php print $footer_top; ?>
|
| 197 |
<?php endif; ?>
|
| 198 |
<?php if ($footer): ?>
|
| 199 |
<?php print $footer; ?>
|
| 200 |
<?php endif; ?>
|
| 201 |
<?php if ($footer_message): ?>
|
| 202 |
<?php print $footer_message; ?>
|
| 203 |
<?php endif; ?>
|
| 204 |
</div><!-- /footer -->
|
| 205 |
<?php endif; ?>
|
| 206 |
|
| 207 |
</div><!-- /main-wrapper -->
|
| 208 |
</div><!-- /main -->
|
| 209 |
</div><!-- /page -->
|
| 210 |
<?php print $closure; ?>
|
| 211 |
</body>
|
| 212 |
</html>
|