2007-08-07 08:39:36 +00:00
|
|
|
<?php
|
|
|
|
// $Id$
|
|
|
|
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2006-10-29 13:21:46 +00:00
|
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2007-03-28 14:08:23 +00:00
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>">
|
2006-10-29 13:21:46 +00:00
|
|
|
<head>
|
|
|
|
<title><?php print $head_title ?></title>
|
|
|
|
<?php print $head ?>
|
|
|
|
<?php print $styles ?>
|
|
|
|
<?php print $scripts ?>
|
|
|
|
<!--[if lt IE 7]>
|
2007-09-06 21:17:07 +00:00
|
|
|
<?php print phptemplate_get_ie_styles(); ?>
|
2006-10-29 13:21:46 +00:00
|
|
|
<![endif]-->
|
|
|
|
</head>
|
2007-09-01 05:42:49 +00:00
|
|
|
<body<?php print phptemplate_body_class($left, $right); ?>>
|
2006-10-29 13:21:46 +00:00
|
|
|
|
|
|
|
<!-- Layout -->
|
2006-11-24 01:38:02 +00:00
|
|
|
<div id="header-region" class="clear-block"><?php print $header; ?></div>
|
2006-10-29 13:21:46 +00:00
|
|
|
|
|
|
|
<div id="wrapper">
|
|
|
|
<div id="container" class="clear-block">
|
|
|
|
|
|
|
|
<div id="header">
|
|
|
|
<div id="logo-floater">
|
|
|
|
<?php
|
|
|
|
// Prepare header
|
|
|
|
$site_fields = array();
|
|
|
|
if ($site_name) {
|
|
|
|
$site_fields[] = check_plain($site_name);
|
|
|
|
}
|
|
|
|
if ($site_slogan) {
|
|
|
|
$site_fields[] = check_plain($site_slogan);
|
|
|
|
}
|
|
|
|
$site_title = implode(' ', $site_fields);
|
2007-11-04 15:01:39 +00:00
|
|
|
if ($site_fields) {
|
|
|
|
$site_fields[0] = '<span>'. $site_fields[0] .'</span>';
|
|
|
|
}
|
2006-10-29 13:21:46 +00:00
|
|
|
$site_html = implode(' ', $site_fields);
|
|
|
|
|
|
|
|
if ($logo || $site_title) {
|
2007-12-05 16:34:07 +00:00
|
|
|
print '<h1><a href="'. check_url($front_page) .'" title="'. $site_title .'">';
|
2006-10-29 13:21:46 +00:00
|
|
|
if ($logo) {
|
|
|
|
print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
|
|
|
|
}
|
|
|
|
print $site_html .'</a></h1>';
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php if (isset($primary_links)) : ?>
|
|
|
|
<?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
<?php if (isset($secondary_links)) : ?>
|
|
|
|
<?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
</div> <!-- /header -->
|
|
|
|
|
2007-09-01 05:42:49 +00:00
|
|
|
<?php if ($left): ?>
|
2006-10-29 13:21:46 +00:00
|
|
|
<div id="sidebar-left" class="sidebar">
|
|
|
|
<?php if ($search_box): ?><div class="block block-theme"><?php print $search_box ?></div><?php endif; ?>
|
2007-09-01 05:42:49 +00:00
|
|
|
<?php print $left ?>
|
2006-10-29 13:21:46 +00:00
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
<div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
|
2007-10-11 09:51:29 +00:00
|
|
|
<?php print $breadcrumb; ?>
|
2006-10-29 13:21:46 +00:00
|
|
|
<?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
|
|
|
|
<?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
|
|
|
|
<?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
|
2007-10-11 09:51:29 +00:00
|
|
|
<?php if ($tabs): print '<ul class="tabs primary">'. $tabs .'</ul></div>'; endif; ?>
|
|
|
|
<?php if ($tabs2): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>
|
2007-05-04 09:41:37 +00:00
|
|
|
<?php if ($show_messages && $messages): print $messages; endif; ?>
|
2008-01-07 13:49:38 +00:00
|
|
|
<?php print $help; ?>
|
2007-10-11 09:51:29 +00:00
|
|
|
<div class="clear-block">
|
|
|
|
<?php print $content ?>
|
|
|
|
</div>
|
2006-12-04 23:15:40 +00:00
|
|
|
<?php print $feed_icons ?>
|
2007-09-01 05:42:49 +00:00
|
|
|
<div id="footer"><?php print $footer_message . $footer ?></div>
|
2006-10-29 13:21:46 +00:00
|
|
|
</div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
|
|
|
|
|
2007-09-01 05:42:49 +00:00
|
|
|
<?php if ($right): ?>
|
2006-10-29 13:21:46 +00:00
|
|
|
<div id="sidebar-right" class="sidebar">
|
2007-09-01 05:42:49 +00:00
|
|
|
<?php if (!$left && $search_box): ?><div class="block block-theme"><?php print $search_box ?></div><?php endif; ?>
|
|
|
|
<?php print $right ?>
|
2006-10-29 13:21:46 +00:00
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
</div> <!-- /container -->
|
|
|
|
</div>
|
|
|
|
<!-- /layout -->
|
|
|
|
|
|
|
|
<?php print $closure ?>
|
|
|
|
</body>
|
2006-11-26 01:55:37 +00:00
|
|
|
</html>
|