| 1 |
<?php // $Id: page.tpl.php,v 1.10 2009/11/02 12:03:18 jmburnz Exp $
|
| 2 |
/**
|
| 3 |
* @file page.tpl.php
|
| 4 |
*
|
| 5 |
* Theme implementation to display a single Drupal page.
|
| 6 |
*
|
| 7 |
* @see template_preprocess()
|
| 8 |
* @see template_preprocess_page()
|
| 9 |
*/
|
| 10 |
?>
|
| 11 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
| 12 |
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language; ?>" xml:lang="<?php print $language->language; ?>">
|
| 13 |
<head>
|
| 14 |
<title><?php print $head_title; ?></title>
|
| 15 |
<?php print $head; ?>
|
| 16 |
<?php print $styles; ?>
|
| 17 |
<!--[if lte IE 7]>
|
| 18 |
<link rel="stylesheet" href="<?php print $base_path . $directory; ?>/ie.css" type="text/css">
|
| 19 |
<![endif]-->
|
| 20 |
<?php if (!empty($suckerfish)): ?>
|
| 21 |
<!--[if lte IE 7]>
|
| 22 |
<script type="text/javascript" src="<?php print $base_path . $directory; ?>/js/suckerfish.js"></script>
|
| 23 |
<![endif]-->
|
| 24 |
<?php endif; ?>
|
| 25 |
<?php print $scripts; ?>
|
| 26 |
</head>
|
| 27 |
<body class="<?php print newswire_column_count_class($left, $content, $right, $right_2) . $body_class; ?>">
|
| 28 |
<div id="container">
|
| 29 |
|
| 30 |
<div id="accessiblity" class="width-48-950 last nofloat">
|
| 31 |
<a href="#content"><?php print t('Skip to main content'); ?></a>
|
| 32 |
</div>
|
| 33 |
|
| 34 |
<?php if ($leaderboard): ?>
|
| 35 |
<div id="leaderboard" class="width-48-950 last nofloat">
|
| 36 |
<?php print $leaderboard; ?>
|
| 37 |
</div> <!-- /leaderboard -->
|
| 38 |
<?php endif; ?>
|
| 39 |
|
| 40 |
<?php if ($logo || $site_name || $site_slogan || $search_box): ?>
|
| 41 |
<div id="header" class="width-48-950 last nofloat clearfix">
|
| 42 |
<?php if ($logo || $site_name || $site_slogan): ?>
|
| 43 |
<div class="branding width-30-590">
|
| 44 |
<?php if ($logo) { print $logo; } else { print $site_name; } ?>
|
| 45 |
<?php if ($site_slogan): ?>
|
| 46 |
<em><?php print $site_slogan; ?></em>
|
| 47 |
<?php endif; ?>
|
| 48 |
</div> <!-- /branding -->
|
| 49 |
<?php endif; ?>
|
| 50 |
|
| 51 |
<?php if ($search_box): ?>
|
| 52 |
<div id="search-box-top" class="width-18-350 last">
|
| 53 |
<?php print $search_box; ?>
|
| 54 |
</div> <!-- /search -->
|
| 55 |
<?php endif; ?>
|
| 56 |
|
| 57 |
</div> <!-- /header -->
|
| 58 |
<?php endif; ?>
|
| 59 |
|
| 60 |
<div id="main-navigation" class="width-48-950 last nofloat clearfix">
|
| 61 |
<?php if ($primary_links || $suckerfish): ?>
|
| 62 |
<div id="<?php print $primary_links ? 'primary-menu' : 'suckerfish' ; ?>" class="width-45-890">
|
| 63 |
<?php if ($primary_links) { print theme('links', $primary_links, array('class' => 'primary-links clearfix')); } elseif (!empty($suckerfish)) { print $suckerfish; } ?>
|
| 64 |
</div> <!-- /primary -->
|
| 65 |
<?php endif; ?>
|
| 66 |
<div class="feed-icons clearfix">
|
| 67 |
<a href="<?php print $base_path; ?>rss.xml" class="feed-icon">
|
| 68 |
<img src="<?php print $base_path . $directory; ?>/images/feed.png" alt="Syndicate content" title="RSS Feed" width="16" height="16" />
|
| 69 |
</a>
|
| 70 |
</div> <!-- /rss icon -->
|
| 71 |
</div>
|
| 72 |
|
| 73 |
<?php if ($secondary_links): ?>
|
| 74 |
<div id="secondary-menu" class="width-48-950 last nofloat">
|
| 75 |
<?php print theme('links', $secondary_links, array('class' => 'secondary-links clearfix')); ?>
|
| 76 |
</div>
|
| 77 |
<?php endif; ?>
|
| 78 |
|
| 79 |
<?php if ($messages || $help): ?>
|
| 80 |
<div id="messages">
|
| 81 |
<?php print $messages; ?>
|
| 82 |
<?php print $help; ?>
|
| 83 |
</div>
|
| 84 |
<?php endif; ?>
|
| 85 |
|
| 86 |
<?php if ($header): ?>
|
| 87 |
<div id="header" class="width-48-950 last nofloat">
|
| 88 |
<?php print $header; ?>
|
| 89 |
</div> <!-- /header -->
|
| 90 |
<?php endif; ?>
|
| 91 |
|
| 92 |
<?php if ($content_top_full_width || $content_top_left || $content_top_content): ?>
|
| 93 |
<div id="content-top" class="width-48-950 last nofloat">
|
| 94 |
<?php if ($content_top_full_width): ?>
|
| 95 |
<div id="content-top-full-width" class="width-48-950 last nofloat">
|
| 96 |
<?php print $content_top_full_width; ?>
|
| 97 |
</div> <!-- /full-width -->
|
| 98 |
<?php endif; ?>
|
| 99 |
<?php if ($content_top_left): ?>
|
| 100 |
<div class="content-top-col-1 width-24-470">
|
| 101 |
<?php print $content_top_left; ?>
|
| 102 |
</div> <!-- /top-left -->
|
| 103 |
<?php endif; ?>
|
| 104 |
<?php if ($content_top_right): ?>
|
| 105 |
<div class="content-top-col-2 width-24-470 last">
|
| 106 |
<?php print $content_top_right; ?>
|
| 107 |
</div> <!-- /top-right -->
|
| 108 |
<?php endif; ?>
|
| 109 |
</div> <!-- /content-top -->
|
| 110 |
<?php endif; ?>
|
| 111 |
|
| 112 |
<div id="col_wrapper" class="width-960">
|
| 113 |
|
| 114 |
<?php if ($left): ?>
|
| 115 |
<div id="left" class="width-10-190">
|
| 116 |
<?php print $left; ?>
|
| 117 |
</div> <!-- /left -->
|
| 118 |
<?php endif; ?>
|
| 119 |
|
| 120 |
<div id="content" class="<?php print newswire_col_width($left, $content, $right, $right_2); ?>">
|
| 121 |
|
| 122 |
<?php if ($main_content_top): ?>
|
| 123 |
<div id="main-content-top">
|
| 124 |
<?php print $main_content_top; ?>
|
| 125 |
</div>
|
| 126 |
<?php endif; ?>
|
| 127 |
|
| 128 |
<?php print $breadcrumb; ?>
|
| 129 |
|
| 130 |
<?php if ($title): ?><?php print $title; ?><?php endif; ?>
|
| 131 |
<?php if ($tabs): ?><div class="tabs"><?php print $tabs; ?></div><?php endif; ?>
|
| 132 |
<?php if ($mission): ?><div class="mission"><?php print $mission; ?></div><?php endif; ?>
|
| 133 |
|
| 134 |
<?php print $content; ?>
|
| 135 |
|
| 136 |
<?php if ($main_content_bottom): ?>
|
| 137 |
<div id="main-content-bottom">
|
| 138 |
<?php print $main_content_bottom; ?>
|
| 139 |
</div>
|
| 140 |
<?php endif; ?>
|
| 141 |
|
| 142 |
</div> <!-- /content -->
|
| 143 |
|
| 144 |
<?php if (($right_top_box || $right_bottom_box) && ($right_2 && $right)): ?>
|
| 145 |
<div id="right-col-wrapper" class="width-20-390 last">
|
| 146 |
|
| 147 |
<?php if (($right_top_box) && ($right_2 && $right)): ?>
|
| 148 |
<div id="right-top-box" class="width-20-390 last nofloat">
|
| 149 |
<?php print $right_top_box; ?>
|
| 150 |
</div> <!-- /right top box -->
|
| 151 |
<?php endif; ?>
|
| 152 |
|
| 153 |
<?php endif; ?>
|
| 154 |
|
| 155 |
<?php if ($right_2): ?>
|
| 156 |
<div id="right_2" class="width-10-190">
|
| 157 |
<?php print $right_2; ?>
|
| 158 |
</div> <!-- /right 2 -->
|
| 159 |
<?php endif; ?>
|
| 160 |
|
| 161 |
<?php if ($right): ?>
|
| 162 |
<div id="right" class="width-10-190 last">
|
| 163 |
<?php print $right; ?>
|
| 164 |
</div> <!-- /right -->
|
| 165 |
<?php endif; ?>
|
| 166 |
|
| 167 |
<?php if (($right_bottom_box) && ($right_2 && $right)): ?>
|
| 168 |
<div id="right-bottom-box" class="width-20-390 last nofloat">
|
| 169 |
<?php print $right_bottom_box; ?>
|
| 170 |
</div> <!-- /right bottom box -->
|
| 171 |
<?php endif; ?>
|
| 172 |
|
| 173 |
<?php if (($right_top_box || $right_bottom_box) && ($right_2 && $right)): ?>
|
| 174 |
</div> <!-- /right col wrapper -->
|
| 175 |
<?php endif; ?>
|
| 176 |
|
| 177 |
</div> <!-- /col_wrapper-->
|
| 178 |
|
| 179 |
<?php if ($content_bottom_full_width || $content_bottom_left || $content_bottom_right): ?>
|
| 180 |
<div id="content-bottom" class="width-48-950 last nofloat">
|
| 181 |
<?php if ($content_bottom_left): ?>
|
| 182 |
<div class="content-bottom-col-1 width-24-470">
|
| 183 |
<?php print $content_bottom_left; ?>
|
| 184 |
</div> <!-- /bottom-left -->
|
| 185 |
<?php endif; ?>
|
| 186 |
<?php if ($content_bottom_right): ?>
|
| 187 |
<div class="content-bottom-col-2 width-24-470 last">
|
| 188 |
<?php print $content_bottom_right; ?>
|
| 189 |
</div> <!-- /bottom-right -->
|
| 190 |
<?php endif; ?>
|
| 191 |
<?php if ($content_bottom_full_width): ?>
|
| 192 |
<div id="content-bottom-full-width" class="width-48-950 last nofloat">
|
| 193 |
<?php print $content_bottom_full_width; ?>
|
| 194 |
</div> <!-- /bottom-full-width -->
|
| 195 |
<?php endif; ?>
|
| 196 |
</div> <!-- /content-bottom -->
|
| 197 |
<?php endif; ?>
|
| 198 |
|
| 199 |
<?php if ($footer): ?>
|
| 200 |
<div id="footer" class="width-48-950 last nofloat">
|
| 201 |
<?php print $footer; ?>
|
| 202 |
</div> <!-- /footer -->
|
| 203 |
<?php endif; ?>
|
| 204 |
|
| 205 |
<?php if ($footer_message): ?>
|
| 206 |
<div id="footer-message" class="width-48-950 last nofloat small">
|
| 207 |
<?php print $footer_message ?>
|
| 208 |
</div> <!-- /footer message -->
|
| 209 |
<?php endif; ?>
|
| 210 |
|
| 211 |
<?php // You are free to remove the attribution, this is hidden by default with CSS so it won't disturb your theme. ?>
|
| 212 |
<div class="element-invisible"><a href="http://adaptivethemes.com">Premium Drupal Themes by Adaptivethemes</a></div>
|
| 213 |
|
| 214 |
<?php print $closure ?>
|
| 215 |
|
| 216 |
</div> <!-- /container -->
|
| 217 |
</body>
|
| 218 |
</html>
|