page.tpl.php 2.41 KB
Newer Older
1 2
<?php
// $Id$
3
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>"
5 6
  <?php print $rdf_namespaces ?>>
<head profile="<?php print $grddl_profile ?>">
7 8 9
  <title><?php print $head_title ?></title>
  <?php print $head ?>
  <?php print $styles ?>
10
  <?php print $scripts ?>
11
  <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
12 13
</head>

14
<body class="<?php print $body_classes; ?>">
15
  <div id="header" class="clearfix">
16 17 18 19 20 21
    <?php if ($search_box) { ?><div class="search-box"><?php print $search_box ?></div><?php }; ?>
    <?php if ($logo) { ?><a class="logo" href="<?php print $front_page ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a><?php } ?>
    <?php if ($site_name) { ?><h1 class='site-name'><a href="<?php print $front_page ?>" title="<?php print t('Home') ?>"><?php print $site_name ?></a></h1><?php }; ?>
    <?php if ($site_slogan) { ?><div class='site-slogan'><?php print $site_slogan ?></div><?php } ?>

    <div id="menu">
22 23
      <?php if (isset($secondary_menu)) { ?><?php print theme('links', $secondary_menu, array('class' => 'links', 'id' => 'subnavlist')); ?><?php } ?>
      <?php if (isset($main_menu)) { ?><?php print theme('links', $main_menu, array('class' => 'links', 'id' => 'navlist')) ?><?php } ?>
24 25 26 27 28 29 30 31 32
    </div>

    <div id="header-region"><?php print $header ?></div>
  </div>

  <div class="layout-columns">
    <?php if ($left) { ?><div id="sidebar-left" class="column"><?php print $left ?></div><?php } ?>

    <div id="main" class="column">
33
      <?php if ($mission) { ?><div id="mission"><?php print $mission ?></div><?php } ?>
34
      <div class="inner">
35 36
        <?php print $breadcrumb ?>
        <h1 class="title"><?php print $title ?></h1>
37
        <?php if ($tabs) { ?><div class="tabs"><?php print $tabs ?></div><?php } ?>
38
        <?php print $help ?>
39
        <?php if ($show_messages) { print $messages; } ?>
40
        <?php print $content; ?>
41
        <?php print $feed_icons; ?>
42
      </div>
43 44 45 46 47 48 49 50 51 52
    </div>

    <?php if ($right) { ?><div id="sidebar-right" class="column"><?php print $right ?></div><?php } ?>
  </div>

  <div id="footer">
    <?php print $footer_message ?>
    <?php print $footer ?>
  </div>

53 54 55
<?php print $closure ?>
</body>
</html>