| 1 |
<?php
|
| 2 |
// $Id: page.tpl.php,v 1.1 2008/02/09 10:50:41 vadbarsdrupalorg Exp $
|
| 3 |
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
| 4 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
| 5 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language ?>" lang="<?php print $language ?>">
|
| 6 |
<head>
|
| 7 |
<title><?php print $head_title ?></title>
|
| 8 |
<?php print $head ?>
|
| 9 |
<?php print $styles ?>
|
| 10 |
<?php print $scripts ?>
|
| 11 |
<!--[if lt IE 7]>
|
| 12 |
<?php print phptemplate_get_ie_styles(); ?>
|
| 13 |
<![endif]-->
|
| 14 |
|
| 15 |
<link rel="Shortcut Icon" type="image/x-icon"
|
| 16 |
href="<?php print base_path() . path_to_theme() ?>/favicon.ico" />
|
| 17 |
|
| 18 |
</head>
|
| 19 |
<body<?php print phptemplate_body_class($sidebar_left, $sidebar_right); ?>>
|
| 20 |
<!-- Layout -->
|
| 21 |
<div id="wrapper">
|
| 22 |
<div id="container" class="clear-block">
|
| 23 |
<div id="header">
|
| 24 |
<div id="logo-floater">
|
| 25 |
<?php
|
| 26 |
// Prepare header
|
| 27 |
$site_fields = array();
|
| 28 |
if ($site_name) {
|
| 29 |
$site_fields[] = check_plain($site_name);
|
| 30 |
}
|
| 31 |
if ($site_slogan) {
|
| 32 |
$site_fields[] = check_plain($site_slogan);
|
| 33 |
}
|
| 34 |
$site_title = implode(' ', $site_fields);
|
| 35 |
if ($site_fields) {
|
| 36 |
$site_fields[0] = '<span>'. $site_fields[0] .'</span>';
|
| 37 |
$site_fields[1] = '<div class="slogan">'. $site_fields[1] .'</div>';
|
| 38 |
}
|
| 39 |
$site_html = implode(' ', $site_fields);
|
| 40 |
|
| 41 |
if ($logo || $site_title) {
|
| 42 |
print '<h1><a href="'. check_url($base_path) .'" title="'. $site_title .'">';
|
| 43 |
if ($logo) {
|
| 44 |
print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
|
| 45 |
}
|
| 46 |
print $site_html.'</a></h1>';
|
| 47 |
}
|
| 48 |
|
| 49 |
?>
|
| 50 |
</div>
|
| 51 |
<?php if ($search_box): ?><div class="searchblock"><?php print $search_box ?></div><?php endif; ?>
|
| 52 |
<?php if (!$search_box): ?><div class="nosearchblock"> </div><?php endif; ?>
|
| 53 |
<div id="toplinks">
|
| 54 |
<?php if (isset($primary_links)) : ?>
|
| 55 |
<?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
|
| 56 |
<?php endif; ?>
|
| 57 |
<?php if (isset($secondary_links)) : ?>
|
| 58 |
<?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
|
| 59 |
<?php endif; ?>
|
| 60 |
</div>
|
| 61 |
</div> <!-- /header -->
|
| 62 |
<div id="header-region" class="clear-block"><?php print $header; ?></div>
|
| 63 |
|
| 64 |
<?php if ($sidebar_left): ?>
|
| 65 |
<div id="sidebar-left" class="sidebar">
|
| 66 |
<?php print $sidebar_left ?>
|
| 67 |
</div>
|
| 68 |
<?php endif; ?>
|
| 69 |
|
| 70 |
<div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
|
| 71 |
<?php if(!$is_front && $breadcrumb): print $breadcrumb; endif; ?>
|
| 72 |
<?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
|
| 73 |
<?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
|
| 74 |
<?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
|
| 75 |
<?php if ($tabs): print '<ul class="tabs primary">'. $tabs .'</ul></div>'; endif; ?>
|
| 76 |
<?php if ($tabs2): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>
|
| 77 |
<?php print $help; ?>
|
| 78 |
<?php if ($show_messages && $messages): print $messages; endif; ?>
|
| 79 |
<div class="clear-block">
|
| 80 |
<?php print $content ?>
|
| 81 |
<?php print $feed_icons ?>
|
| 82 |
</div>
|
| 83 |
</div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
|
| 84 |
|
| 85 |
<?php if ($sidebar_right): ?>
|
| 86 |
<div id="sidebar-right" class="sidebar">
|
| 87 |
<?php print $sidebar_right ?>
|
| 88 |
</div>
|
| 89 |
<?php endif; ?>
|
| 90 |
</div> <!-- /container -->
|
| 91 |
<!-- Please don't remove this string -->
|
| 92 |
<div id="footer-copyright">© 2007 Designed by <a href="http://fireflystream.com" title="FireflyStream.com">FireflyStream.com</a></div>
|
| 93 |
<!-- Please don't remove this string -->
|
| 94 |
<div id="footer-region"><?php print $footer_message . $footer ?></div>
|
| 95 |
<?php if ($search_box): ?><div class="searchblock_bottom"><?php print $search_box ?></div><?php endif; ?>
|
| 96 |
</div>
|
| 97 |
|
| 98 |
<!-- /layout -->
|
| 99 |
|
| 100 |
<?php print $closure ?>
|
| 101 |
</body>
|
| 102 |
</html>
|