| 1 |
<?php
|
| 2 |
/* $Id: page.tpl.php,v 1.6 2006/06/26 20:12:46 rkerr Exp $ */
|
| 3 |
|
| 4 |
switch ($layout) {
|
| 5 |
case 'both':
|
| 6 |
$mollio_layout = 'type-c';
|
| 7 |
break;
|
| 8 |
case 'left':
|
| 9 |
$mollio_layout = 'type-b';
|
| 10 |
break;
|
| 11 |
case 'right':
|
| 12 |
$mollio_layout = 'type-d';
|
| 13 |
break;
|
| 14 |
case 'none':
|
| 15 |
default:
|
| 16 |
$mollio_layout = 'type-a';
|
| 17 |
break;
|
| 18 |
}
|
| 19 |
?>
|
| 20 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
| 21 |
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language; ?>" xml:lang="<?php print $language; ?>">
|
| 22 |
<head>
|
| 23 |
<title><?php print $head_title; ?></title>
|
| 24 |
<?php print $head; ?>
|
| 25 |
<?php print $styles; ?>
|
| 26 |
<!--[if lte IE 6]>
|
| 27 |
<link rel="stylesheet" type="text/css" href="<?php print base_path() . $directory; ?>/ie6_or_less.css" />
|
| 28 |
<![endif]-->
|
| 29 |
<script type="text/javascript" src="<?php print base_path() . $directory; ?>/common.js"></script>
|
| 30 |
</head>
|
| 31 |
<body id="<?php print $mollio_layout; ?>">
|
| 32 |
<div id="wrap">
|
| 33 |
<div id="header">
|
| 34 |
<?php if ($site_name): ?>
|
| 35 |
<div id="site-name">
|
| 36 |
<?php print $site_name; ?>
|
| 37 |
<?php if ($site_slogan): ?>
|
| 38 |
<span class="site-slogan"><?php print $site_slogan; ?></span>
|
| 39 |
<?php endif; ?>
|
| 40 |
</div>
|
| 41 |
<?php endif; ?>
|
| 42 |
|
| 43 |
<?php if ($search_box): ?>
|
| 44 |
<div id="search">
|
| 45 |
<form id="search_theme_form" class="search" action="" method="post">
|
| 46 |
<input type="hidden" name="edit[form_id]" id="edit-form_id" value="search_theme_form" />
|
| 47 |
<div class="container-inline">
|
| 48 |
<label for="edit-search_theme_form_keys"><?php print t('Search:'); ?></label>
|
| 49 |
<input class="form-text" type="text" size="15" value="" name="edit[search_theme_form_keys]" id="edit-search_theme_form_keys" />
|
| 50 |
<input class="form-submit" type="submit" name="op" value="<?php print t('Go'); ?>" /><br />
|
| 51 |
</div>
|
| 52 |
</form>
|
| 53 |
</div>
|
| 54 |
<?php endif; ?>
|
| 55 |
|
| 56 |
<?php print $header; ?>
|
| 57 |
</div>
|
| 58 |
|
| 59 |
<div id="content-wrap">
|
| 60 |
<?php if ($sidebar_left): ?>
|
| 61 |
<div id="utility"><?php print $sidebar_left; ?></div>
|
| 62 |
<?php endif; ?>
|
| 63 |
|
| 64 |
<div id="content">
|
| 65 |
<div id="breadcrumb"><?php print $breadcrumb . $title; ?></div>
|
| 66 |
|
| 67 |
<?php if ($is_front && $mission): ?>
|
| 68 |
<div class="featurebox"><?php print $mission; ?></div>
|
| 69 |
<?php endif; ?>
|
| 70 |
|
| 71 |
<h1><?php print ($title ? $title : $site_name); ?></h1>
|
| 72 |
|
| 73 |
<?php if ($tabs): print $tabs; endif; ?>
|
| 74 |
|
| 75 |
<?php if ($help): ?>
|
| 76 |
<div class="help"><?php print $help; ?></div>
|
| 77 |
<?php endif; ?>
|
| 78 |
|
| 79 |
<?php if ($messages): ?>
|
| 80 |
<div class="messages"><?php print $messages; ?></div>
|
| 81 |
<?php endif; ?>
|
| 82 |
|
| 83 |
<?php print $content; ?>
|
| 84 |
|
| 85 |
<div id="footer"><?php print $footer_message; ?></div>
|
| 86 |
</div>
|
| 87 |
|
| 88 |
<?php if ($sidebar_right): ?>
|
| 89 |
<div id="sidebar"><?php print $sidebar_right; ?></div>
|
| 90 |
<?php endif; ?>
|
| 91 |
|
| 92 |
<?php if ($logo): ?>
|
| 93 |
<div id="poweredby"><a href="<?php print base_path(); ?>" title="<?php print t('Home'); ?>"><img src="<?php print $logo; ?>" alt="" /></a></div>
|
| 94 |
<?php endif; ?>
|
| 95 |
</div>
|
| 96 |
</div>
|
| 97 |
|
| 98 |
<?php print $closure; ?>
|
| 99 |
</body>
|
| 100 |
</html>
|