page.tpl.php 3.58 KB
Newer Older
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>">
3 4 5 6 7 8 9
<head>
  <title><?php print $head_title ?></title>
  <meta http-equiv="Content-Style-Type" content="text/css" />
  <?php print $head ?>
  <?php print $styles ?>
</head>

10
<body bgcolor="#ffffff">
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36

<div class="hide"><a href="#content" title="Skip navigation." accesskey="2">Skip navigation</a>.</div>

<table id="primary-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td id="home" width="10%">

      <?php if ($logo) : ?>
        <a href="<?php print url() ?>" title="Home"><img src="<?php print($logo) ?>" alt="Home" width="144" height="63" border="0" /></a>
      <?php endif; ?>

    </td>

    <td id="site-info" width="20%">

      <?php if ($site_name) : ?>
        <div class='site-name'><a href="<?php print url() ?>" title="Home"><?php print($site_name) ?></a></div>
      <?php endif;?>

      <?php if ($site_slogan) : ?>
        <div class='site-slogan'><?php print($site_slogan) ?></div>
      <?php endif;?>

    </td>

    <td class="primary-links" width="70%" align="center" valign="middle">
37
      <?php print theme('links', $primary_links) ?>
38 39 40 41 42 43 44
    </td>
  </tr>
</table>

<table id="secondary-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td class="secondary-links" width="75%"  align="center" valign="middle">
45
      <?php print theme('links', $secondary_links) ?>
46 47
    </td>
    <td  width="25%"  align="center" valign="middle">
48
      <?php print $search_box ?>
49
    </td>
50 51 52 53
  </tr>
  <tr>
    <td colspan="2"><div><?php print $header ?></div></td>
  </tr>
54 55 56 57 58 59 60 61
</table>

<table id="content" border="0" cellpadding="15" cellspacing="0" width="100%">
  <tr>
    <?php if ($sidebar_left != ""): ?>
    <td id="sidebar-left">
      <?php print $sidebar_left ?>
    </td>
62 63
    <?php endif; ?>

64 65 66 67
    <td valign="top">
      <?php if ($mission != ""): ?>
      <div id="mission"><?php print $mission ?></div>
      <?php endif; ?>
68

69 70 71 72
      <div id="main">
        <?php if ($title != ""): ?>
          <?php print $breadcrumb ?>
          <h1 class="title"><?php print $title ?></h1>
73

74 75 76
          <?php if ($tabs != ""): ?>
            <div class="tabs"><?php print $tabs ?></div>
          <?php endif; ?>
77

78
        <?php endif; ?>
79

80 81 82
        <?php if ($help != ""): ?>
            <div id="help"><?php print $help ?></div>
        <?php endif; ?>
83

84 85 86
        <?php if ($messages != ""): ?>
          <?php print $messages ?>
        <?php endif; ?>
87

88 89 90
      <!-- start main content -->
      <?php print($content) ?>
      <!-- end main content -->
91

92 93 94 95 96 97
      </div><!-- main -->
    </td>
    <?php if ($sidebar_right != ""): ?>
    <td id="sidebar-right">
      <?php print $sidebar_right ?>
    </td>
98
    <?php endif; ?>
99 100 101 102 103 104
  </tr>
</table>

<table id="footer-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td align="center" valign="middle">
105
    <?php if (isset($primary_links)) : ?>
106
      <div class="primary-links">
107
        <?php print theme('links', $primary_links) ?>
108 109
      </div>
    <?php endif; ?>
110
    <?php if (isset($secondary_links)) : ?>
111
      <div class="secondary-links">
112
        <?php print theme('links', $secondary_links) ?>
113 114 115 116 117 118 119 120 121 122 123 124 125
      </div>
    <?php endif; ?>
    </td>
  </tr>
</table>

<?php if ($footer_message) : ?>
<div id="footer-message">
    <p><?php print $footer_message;?></p>
</div>
<?php endif; ?>
<?php print $closure;?>
</body>
126
</html>