| 1 |
<?php
|
| 2 |
// $Id$
|
| 3 |
|
| 4 |
/**
|
| 5 |
* @file
|
| 6 |
* NoProb main template file.
|
| 7 |
*/
|
| 8 |
?>
|
| 9 |
|
| 10 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
| 11 |
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language ?>" xml:lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
|
| 12 |
<head>
|
| 13 |
<title><?php print $head_title ?></title>
|
| 14 |
<?php print $head ?>
|
| 15 |
<?php print $styles ?>
|
| 16 |
<?php print $scripts ?>
|
| 17 |
<script type="text/javascript"><?php /* Needed to avoid Flash of Unstyled Content in IE */ ?></script>
|
| 18 |
</head>
|
| 19 |
<?php flush(); ?>
|
| 20 |
|
| 21 |
<body>
|
| 22 |
<div id="wrapper">
|
| 23 |
|
| 24 |
<div id="banner" class="clear-block">
|
| 25 |
<?php print $search_box ?>
|
| 26 |
<?php if ($logo) { ?>
|
| 27 |
<a href="<?php print $front_page ?>" title="<?php print t('Home') ?>">
|
| 28 |
<img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" class="logo" />
|
| 29 |
</a>
|
| 30 |
<?php } ?>
|
| 31 |
<?php if ($site_name) { ?>
|
| 32 |
<h1 class="site-name"><a href="<?php print $front_page ?>" title="<?php print t('Home') ?>"><?php print $site_name ?></a></h1>
|
| 33 |
<?php } ?>
|
| 34 |
<?php if ($site_slogan) { ?>
|
| 35 |
<div class="site-slogan"><?php print $site_slogan ?></div>
|
| 36 |
<?php } ?>
|
| 37 |
</div>
|
| 38 |
|
| 39 |
<div id="menu">
|
| 40 |
<?php if (isset($primary_links)) { ?>
|
| 41 |
<?php print theme('links', noprob_primary_links(), array('class' => 'links', 'id' => 'primary-links')) ?>
|
| 42 |
<?php } ?>
|
| 43 |
<?php if (count(noprob_navigation_links('menu-tertiary-links'))) { ?>
|
| 44 |
<?php print theme('links', noprob_navigation_links('menu-tertiary-links'), array('class' => 'links', 'id' => 'tertiary-links')) ?>
|
| 45 |
<?php } ?>
|
| 46 |
</div>
|
| 47 |
|
| 48 |
<?php if ($header) { ?>
|
| 49 |
<div id="header"><?php print $header ?></div>
|
| 50 |
<?php } ?>
|
| 51 |
|
| 52 |
<table id="middle" border="0" cellpadding="0" cellspacing="0">
|
| 53 |
<tr>
|
| 54 |
<?php if ($left) { ?>
|
| 55 |
<td id="sidebar-left" class="sidebar"><?php print $left ?></td>
|
| 56 |
<?php } ?>
|
| 57 |
|
| 58 |
<td id="main" class="content-<?php print $layout ?>">
|
| 59 |
<?php print $breadcrumb ?>
|
| 60 |
<?php if ($title) { ?>
|
| 61 |
<h2 class="title"><?php print $title ?></h2>
|
| 62 |
<?php } ?>
|
| 63 |
<?php if ($tabs) { ?>
|
| 64 |
<div class="tabs"><?php print $tabs ?></div>
|
| 65 |
<?php } ?>
|
| 66 |
<?php if ($mission) { ?>
|
| 67 |
<div id="mission"><?php print $mission ?></div>
|
| 68 |
<?php } ?>
|
| 69 |
<!-- START main content -->
|
| 70 |
<?php if ($show_messages && $messages) print $messages; ?>
|
| 71 |
<?php print $help ?>
|
| 72 |
<?php print $content ?>
|
| 73 |
<!-- END main content -->
|
| 74 |
<?php print $feed_icons ?>
|
| 75 |
</td>
|
| 76 |
|
| 77 |
<?php if ($right) { ?>
|
| 78 |
<td id="sidebar-right" class="sidebar"><?php print $right ?></td>
|
| 79 |
<?php } ?>
|
| 80 |
</tr>
|
| 81 |
</table>
|
| 82 |
|
| 83 |
<div id="footer">
|
| 84 |
<?php if ($secondary_links || $footer || $footer_message) { ?>
|
| 85 |
<?php print theme('links', $secondary_links, array('class' => 'links', 'id' => 'secondary-links')) . $footer . $footer_message ?>
|
| 86 |
<?php } ?>
|
| 87 |
</div>
|
| 88 |
|
| 89 |
</div>
|
| 90 |
<?php print $closure ?>
|
| 91 |
</body>
|
| 92 |
</html>
|