| 1 |
<?php
|
| 2 |
// $Id: page-front.tpl.php,v 1.1.2.1 2009/05/15 20:45:05 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 |
<?php print $ie7_styles; ?>
|
| 14 |
<![endif]-->
|
| 15 |
<!--[if lte IE 6]>
|
| 16 |
<?php print $ie6_styles; ?>
|
| 17 |
<![endif]-->
|
| 18 |
<?php if ($local_styles): ?>
|
| 19 |
<?php print $local_styles; ?>
|
| 20 |
<?php endif; ?>
|
| 21 |
<?php print $scripts; ?>
|
| 22 |
</head>
|
| 23 |
|
| 24 |
<body class="<?php print $body_classes; ?>">
|
| 25 |
<div id="page">
|
| 26 |
<?php if ($content): ?>
|
| 27 |
<div id="skip">
|
| 28 |
<a href="#main-content"><?php print t('Skip to Main Content'); ?></a>
|
| 29 |
</div>
|
| 30 |
<?php endif; ?>
|
| 31 |
<?php if ($banner): ?>
|
| 32 |
<div id="banner" class="clearfix">
|
| 33 |
<?php print $banner; ?>
|
| 34 |
</div><!-- /banner -->
|
| 35 |
<?php endif; ?>
|
| 36 |
<?php if ($header_top): ?>
|
| 37 |
<div id="header-top" class="clearfix">
|
| 38 |
<?php print $header_top; ?>
|
| 39 |
</div><!-- /header-top -->
|
| 40 |
<?php endif; ?>
|
| 41 |
<?php if ($primary_links): ?>
|
| 42 |
<div id="primary-menu">
|
| 43 |
<?php print theme('links', $primary_links); ?>
|
| 44 |
</div><!-- /primary_menu -->
|
| 45 |
<?php endif; ?>
|
| 46 |
<div id="header-wrapper" class="clearfix">
|
| 47 |
<div id="header-first">
|
| 48 |
<?php if ($logo): ?>
|
| 49 |
<div id="logo">
|
| 50 |
<a href="<?php print check_url($front_page) ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a>
|
| 51 |
</div>
|
| 52 |
<?php endif; ?>
|
| 53 |
<?php if ($site_name): ?>
|
| 54 |
<h1><a href="<?php print check_url($front_page) ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a></h1>
|
| 55 |
<?php endif; ?>
|
| 56 |
</div><!-- /header-first -->
|
| 57 |
<div id="header-middle">
|
| 58 |
<?php if ($site_slogan): ?>
|
| 59 |
<div id="slogan">
|
| 60 |
<?php print $site_slogan; ?>
|
| 61 |
</div>
|
| 62 |
<?php endif; ?>
|
| 63 |
<?php if ($header_middle): ?>
|
| 64 |
<?php print $header_middle; ?>
|
| 65 |
<?php endif; ?>
|
| 66 |
</div><!-- /header-middle -->
|
| 67 |
<div id="search-box">
|
| 68 |
<?php print $search_box; ?>
|
| 69 |
</div><!-- /search-box -->
|
| 70 |
</div><!-- /header-wrapper -->
|
| 71 |
<?php if ($preface_sidebar || $mission) : ?>
|
| 72 |
<div id="preface-wrapper" class="clearfix" <?php print $banner_image; ?>>
|
| 73 |
<?php if ($preface_sidebar): ?>
|
| 74 |
<div id="preface-sidebar">
|
| 75 |
<?php print $preface_sidebar; ?>
|
| 76 |
</div>
|
| 77 |
<?php endif; ?>
|
| 78 |
<?php if ($mission): ?>
|
| 79 |
<div id="mission">
|
| 80 |
<?php print $mission; ?>
|
| 81 |
</div>
|
| 82 |
<?php endif; ?>
|
| 83 |
</div><!-- /preface-wrapper -->
|
| 84 |
<?php endif; ?>
|
| 85 |
<div id="main-wrapper" class="clearfix">
|
| 86 |
<?php if ($sidebar_first): ?>
|
| 87 |
<div id="sidebar-first">
|
| 88 |
<?php print $sidebar_first; ?>
|
| 89 |
</div><!-- /sidebar-first -->
|
| 90 |
<?php endif; ?>
|
| 91 |
<div id="content-wrapper">
|
| 92 |
<?php if ($messages): ?>
|
| 93 |
<?php print $messages; ?>
|
| 94 |
<?php endif; ?>
|
| 95 |
<?php if ($help): ?>
|
| 96 |
<?php print $help; ?>
|
| 97 |
<?php endif; ?>
|
| 98 |
<div id="content">
|
| 99 |
<a name="main-content" id="main-content"></a>
|
| 100 |
<?php if ($tabs): ?>
|
| 101 |
<div id="content-tabs" class="clear">
|
| 102 |
<?php print $tabs; ?>
|
| 103 |
</div>
|
| 104 |
<?php endif; ?>
|
| 105 |
<?php if ($content || $title): ?>
|
| 106 |
<div id="content-inner" class="clear">
|
| 107 |
<?php if ($title): ?>
|
| 108 |
<h1 class="title"><?php print $title; ?></h1>
|
| 109 |
<?php endif; ?>
|
| 110 |
<?php if ($content): ?>
|
| 111 |
<?php print $content; ?>
|
| 112 |
<?php endif; ?>
|
| 113 |
</div>
|
| 114 |
<?php endif; ?>
|
| 115 |
<?php if ($content_bottom): ?>
|
| 116 |
<div id="content-bottom">
|
| 117 |
<div class="corner top-right"></div>
|
| 118 |
<div class="corner top-left"></div>
|
| 119 |
<div class="inner">
|
| 120 |
<?php print $content_bottom; ?>
|
| 121 |
</div>
|
| 122 |
<div class="corner bottom-right"></div>
|
| 123 |
<div class="corner bottom-left"></div>
|
| 124 |
</div><!-- /content-bottom -->
|
| 125 |
<?php endif; ?>
|
| 126 |
</div><!-- /content -->
|
| 127 |
</div><!-- /content-wrapper -->
|
| 128 |
<?php if ($sidebar_last): ?>
|
| 129 |
<div id="sidebar-last">
|
| 130 |
<?php print $sidebar_last; ?>
|
| 131 |
</div><!-- /sidebar_last -->
|
| 132 |
<?php endif; ?>
|
| 133 |
</div><!-- /main-wrapper -->
|
| 134 |
</div><!-- /page -->
|
| 135 |
<?php if ($postscript_first || $postscript_middle || $postscript_last): ?>
|
| 136 |
<div id="postscripts">
|
| 137 |
<div id="postscript-wrapper" class="<?php print $postscripts; ?> clearfix">
|
| 138 |
<?php if ($postscript_first): ?>
|
| 139 |
<div id="postscript-first" class="column">
|
| 140 |
<?php print $postscript_first; ?>
|
| 141 |
</div><!-- /postscript-first -->
|
| 142 |
<?php endif; ?>
|
| 143 |
<?php if ($postscript_middle): ?>
|
| 144 |
<div id="postscript-middle" class="column">
|
| 145 |
<?php print $postscript_middle; ?>
|
| 146 |
</div><!-- /postscript-middle -->
|
| 147 |
<?php endif; ?>
|
| 148 |
<?php if ($postscript_last): ?>
|
| 149 |
<div id="postscript-last" class="column">
|
| 150 |
<?php print $postscript_last; ?>
|
| 151 |
</div><!-- /postscript-last -->
|
| 152 |
<?php endif; ?>
|
| 153 |
</div><!-- /postscript-wrapper -->
|
| 154 |
</div><!-- /postscripts -->
|
| 155 |
<?php endif; ?>
|
| 156 |
<?php if ($footer || $footer_message): ?>
|
| 157 |
<div id="footer" class="clearfix">
|
| 158 |
<div id="footer-wrapper">
|
| 159 |
<?php if ($footer_message): ?>
|
| 160 |
<div id="footer-message">
|
| 161 |
<?php print $footer_message; ?>
|
| 162 |
</div>
|
| 163 |
<?php endif; ?>
|
| 164 |
<?php if ($footer) : ?>
|
| 165 |
<div id="footer-region">
|
| 166 |
<?php print $footer; ?>
|
| 167 |
</div>
|
| 168 |
<?php endif; ?>
|
| 169 |
</div><!-- /footer-wrapper -->
|
| 170 |
</div><!-- /footer -->
|
| 171 |
<?php endif; ?>
|
| 172 |
<?php print $closure; ?>
|
| 173 |
</body>
|
| 174 |
</html>
|