| 1 |
<?php // $Id: page.tpl.php,v 1.18 2008/12/27 04:21:00 brauerranch Exp $ ?>
|
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
| 3 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
| 4 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>">
|
| 5 |
<head>
|
| 6 |
<title><?php print $head_title ?></title>
|
| 7 |
<?php print $head ?>
|
| 8 |
|
| 9 |
<link type="text/css" rel="stylesheet" media="screen, projection" href="<?php print base_path() . path_to_theme(); ?>/assets/style/initial.css" />
|
| 10 |
<?php print $styles ?>
|
| 11 |
|
| 12 |
<!--[if lte IE 6]>
|
| 13 |
<?php print $ie6_styles ?>
|
| 14 |
<![endif]-->
|
| 15 |
|
| 16 |
<!--[if lte IE 7]>
|
| 17 |
<?php print $ie7_styles ?>
|
| 18 |
<![endif]-->
|
| 19 |
|
| 20 |
<?php print $scripts ?>
|
| 21 |
<?php print $layout_style ?>
|
| 22 |
</head>
|
| 23 |
<body<?php print $body_class ?>>
|
| 24 |
<div id="container">
|
| 25 |
<div id="wrapper">
|
| 26 |
<div id="header">
|
| 27 |
<?php if ($search_box || $top) { ?>
|
| 28 |
<div id="top">
|
| 29 |
<?php print $top; ?>
|
| 30 |
<?php if ($search_box): print $search_box; endif; ?>
|
| 31 |
</div><!-- /top -->
|
| 32 |
<?php } ?>
|
| 33 |
<div id="logowrap">
|
| 34 |
<div id="logo">
|
| 35 |
<?php if ($logo || $site_title) { ?>
|
| 36 |
<?php if ($is_front) : /* if we are on the front page use <h1> for site title */ ?>
|
| 37 |
<h1><a href="<?php print $front_page ?>" title="<?php print $site_title ?>">
|
| 38 |
<?php if ($logo) { ?>
|
| 39 |
<img src="<?php print $logo ?>" alt="<?php print $site_title ?>" id="logo-image" />
|
| 40 |
<?php } ?>
|
| 41 |
<span><?php print $site_title ?></span></a></h1>
|
| 42 |
<?php endif; ?>
|
| 43 |
<?php if (!$is_front) : /* if we are not on the front page use <h2> for site title */ ?>
|
| 44 |
<h2 class="sitetitle"><a href="<?php print $front_page ?>" title="<?php print $site_title ?>">
|
| 45 |
<?php if ($logo) { ?>
|
| 46 |
<img src="<?php print $logo ?>" alt="<?php print $site_title ?>" id="logo-image" />
|
| 47 |
<?php } ?>
|
| 48 |
<span><?php print $site_title ?></span></a></h2>
|
| 49 |
<?php endif; ?>
|
| 50 |
<?php } ?>
|
| 51 |
</div>
|
| 52 |
<?php if ($primary_links || $header) { ?>
|
| 53 |
<div id="ie7menuhack">
|
| 54 |
<div id="topmenu">
|
| 55 |
<?php print $header ?>
|
| 56 |
<?php if ($primary_links) { ?>
|
| 57 |
<div id="primary-links">
|
| 58 |
<?php print $primary_nav ?>
|
| 59 |
</div><!-- /primary-links -->
|
| 60 |
<?php } ?>
|
| 61 |
</div>
|
| 62 |
</div>
|
| 63 |
<?php } ?>
|
| 64 |
<?php if ($site_slogan) { ?>
|
| 65 |
<p id="tagline"><?php print $site_slogan ?></p>
|
| 66 |
<?php } ?>
|
| 67 |
</div>
|
| 68 |
</div><!-- /header -->
|
| 69 |
<?php if ($sidebar_left || $navigation_left || ($secondary_links && ($secondary_nav == "left"))) { ?>
|
| 70 |
<div id="ie7contenthack"><div id="content-outer-wrap"><div id="content-wrap"><div id="content-inter-wrap">
|
| 71 |
<?php } ?>
|
| 72 |
<div id="content">
|
| 73 |
<?php if ($banner) { ?>
|
| 74 |
<div id="banner">
|
| 75 |
<div class="<?php print $banner_chunk ?>">
|
| 76 |
<?php print $banner ?>
|
| 77 |
</div>
|
| 78 |
</div><!-- /banner -->
|
| 79 |
<?php } ?>
|
| 80 |
<?php if ($breadcrumb): print $breadcrumb; endif; ?>
|
| 81 |
<?php if ($sidebar_right || $navigation_right || ($secondary_links && ($secondary_nav == "right"))) { ?>
|
| 82 |
<div id="main-content">
|
| 83 |
<?php } ?>
|
| 84 |
<div id="main">
|
| 85 |
<?php if ($pre_content): print $pre_content; endif; ?>
|
| 86 |
<?php if ($tabs): ?><div id="tabs-wrapper"><?php endif; ?>
|
| 87 |
<?php if ($title): print '<h1'. ($tabs ? ' class="title with-tabs"' : ' class="title"') .'>'. $title .'</h1>'; endif; ?>
|
| 88 |
<?php if ($tabs): ?><?php print $tabs ?></div><!-- /tabs-wrapper --><?php endif; ?>
|
| 89 |
<?php if (!empty($tabs2)): print '<span class="clear"></span><ul class="tabs secondary">' . $tabs2 . '</ul><span class="clear"></span>'; endif; ?>
|
| 90 |
<?php if ($help): print $help; endif; ?>
|
| 91 |
<?php if ($show_messages && $messages): print $messages; endif; ?>
|
| 92 |
<?php print $content ?>
|
| 93 |
</div><!-- /main -->
|
| 94 |
<?php if ($sidebar_right || $navigation_right || ($secondary_links && ($secondary_nav == "right"))) { ?>
|
| 95 |
</div><!-- /main-content -->
|
| 96 |
<?php } ?>
|
| 97 |
<?php if ($sidebar_right || $navigation_right || ($secondary_links && ($secondary_nav == "right"))) { ?>
|
| 98 |
<div id="sidebar-right">
|
| 99 |
<?php if ($navigation_right || ($secondary_links && ($secondary_nav == "right"))) { ?>
|
| 100 |
<div id="navigation_right">
|
| 101 |
<?php if ($secondary_links && ($secondary_nav == "right")) { ?>
|
| 102 |
<div class="navigation_right">
|
| 103 |
<?php print theme('links', $secondary_links, array('class' => 'secondary-links')) ?>
|
| 104 |
</div>
|
| 105 |
<?php } ?>
|
| 106 |
<?php print $navigation_right ?>
|
| 107 |
</div><!-- /navigation_right -->
|
| 108 |
<?php } ?>
|
| 109 |
<?php if ($sidebar_right): print $sidebar_right; endif; ?>
|
| 110 |
</div><!-- /sidebar-right -->
|
| 111 |
<?php } ?>
|
| 112 |
<hr class="hidden clear" />
|
| 113 |
</div><!-- /content -->
|
| 114 |
<?php if ($sidebar_left || $navigation_left || ($secondary_links && ($secondary_nav == "left"))) { ?>
|
| 115 |
</div><!-- /content-inter-wrap -->
|
| 116 |
<?php } ?>
|
| 117 |
<?php if ($sidebar_left || $navigation_left || ($secondary_links && ($secondary_nav == "left"))) { ?>
|
| 118 |
<div id="sidebar-left">
|
| 119 |
<?php if ($navigation_left || ($secondary_links && ($secondary_nav == "left"))) { ?>
|
| 120 |
<div id="navigation_left">
|
| 121 |
<?php if ($secondary_links && ($secondary_nav == "left")) { ?>
|
| 122 |
<div class="navigation_left">
|
| 123 |
<?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
|
| 124 |
</div>
|
| 125 |
<?php } ?>
|
| 126 |
<?php if ($navigation_left): print $navigation_left; endif; ?>
|
| 127 |
</div><!-- /navigation_left -->
|
| 128 |
<?php } ?>
|
| 129 |
<?php if ($sidebar_left): print $sidebar_left; endif; ?>
|
| 130 |
</div><!-- /sidebar-left -->
|
| 131 |
<?php } ?>
|
| 132 |
<?php if ($sidebar_left || $navigation_left || ($secondary_links && ($secondary_nav == "left"))) { ?>
|
| 133 |
<hr class="hidden clear" />
|
| 134 |
</div><!-- /content-wrap --></div><!-- /content-outer-wrap --></div><!-- /ie7contenthack -->
|
| 135 |
<?php } ?>
|
| 136 |
<?php if ($additional) { ?>
|
| 137 |
<div id="additional-wrap">
|
| 138 |
<div id="additional<?php if ($additional_chunk == "three-box") print "Three-box"; ?>">
|
| 139 |
<div class="<?php print $additional_chunk ?>">
|
| 140 |
<?php print $additional ?>
|
| 141 |
</div>
|
| 142 |
<hr class="hidden clear" />
|
| 143 |
</div>
|
| 144 |
</div><!-- /additional-wrap -->
|
| 145 |
<?php } ?>
|
| 146 |
<div id="footer">
|
| 147 |
<?php if ($bottom): print $bottom; endif; ?>
|
| 148 |
<?php if ($footer_message): print $footer_message; endif; ?>
|
| 149 |
</div><!-- /footer -->
|
| 150 |
</div><!-- /wrapper -->
|
| 151 |
</div><!-- /container -->
|
| 152 |
<?php print $closure ?>
|
| 153 |
</body>
|
| 154 |
</html>
|