[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/themes/pushbutton/ -> page.tpl.php (source)

   1  <?php
   2  ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   3  <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language ?>" xml:lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
   4  <head>
   5    <meta http-equiv="Content-Style-Type" content="text/css" />
   6    <?php print $head ?>
   7    <title><?php print $head_title ?></title>
   8    <?php print $styles ?>
   9    <?php print $scripts ?>
  10  </head>
  11  
  12  <body>
  13  
  14  <div class="hide"><a href="#content" title="<?php print t('Skip navigation') ?>." accesskey="2"><?php print t('Skip navigation') ?></a>.</div>
  15  
  16  <table id="primary-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%">
  17    <tr>
  18      <td id="home" width="10%">
  19        <?php if ($logo) : ?>
  20          <a href="<?php print $front_page ?>" title="<?php print t('Home') ?>"><img src="<?php print($logo) ?>" alt="<?php print t('Home') ?>" border="0" /></a>
  21        <?php endif; ?>
  22      </td>
  23  
  24      <td id="site-info" width="20%">
  25        <?php if ($site_name) : ?>
  26          <div class='site-name'><a href="<?php print $front_page ?>" title="<?php print t('Home') ?>"><?php print($site_name) ?></a></div>
  27        <?php endif;?>
  28        <?php if ($site_slogan) : ?>
  29          <div class='site-slogan'><?php print($site_slogan) ?></div>
  30        <?php endif;?>
  31      </td>
  32      <td class="primary-links" width="70%" align="center" valign="middle">
  33        <?php print theme('links', $primary_links, array('class' => 'links', 'id' => 'navlist')) ?>
  34      </td>
  35    </tr>
  36  </table>
  37  
  38  <table id="secondary-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%">
  39    <tr>
  40      <td class="secondary-links" width="75%"  align="center" valign="middle">
  41        <?php print theme('links', $secondary_links, array('class' => 'links', 'id' => 'subnavlist')) ?>
  42      </td>
  43      <td width="25%" align="center" valign="middle">
  44        <?php print $search_box ?>
  45      </td>
  46    </tr>
  47    <tr>
  48      <td colspan="2"><div><?php print $header ?></div></td>
  49    </tr>
  50  </table>
  51  
  52  <table id="content" border="0" cellpadding="15" cellspacing="0" width="100%">
  53    <tr>
  54      <?php if ($left != ""): ?>
  55      <td id="sidebar-left">
  56        <?php print $left ?>
  57      </td>
  58      <?php endif; ?>
  59  
  60      <td valign="top">
  61        <?php if ($mission != ""): ?>
  62        <div id="mission"><?php print $mission ?></div>
  63        <?php endif; ?>
  64  
  65        <div id="main">
  66          <?php if ($title != ""): ?>
  67            <?php print $breadcrumb ?>
  68            <h1 class="title"><?php print $title ?></h1>
  69  
  70            <?php if ($tabs != ""): ?>
  71              <div class="tabs"><?php print $tabs ?></div>
  72            <?php endif; ?>
  73  
  74          <?php endif; ?>
  75  
  76          <?php if ($show_messages && $messages != ""): ?>
  77            <?php print $messages ?>
  78          <?php endif; ?>
  79  
  80          <?php if ($help != ""): ?>
  81              <div id="help"><?php print $help ?></div>
  82          <?php endif; ?>
  83  
  84        <!-- start main content -->
  85        <?php print $content; ?>
  86        <?php print $feed_icons; ?>
  87        <!-- end main content -->
  88  
  89        </div><!-- main -->
  90      </td>
  91      <?php if ($right != ""): ?>
  92      <td id="sidebar-right">
  93        <?php print $right ?>
  94      </td>
  95      <?php endif; ?>
  96    </tr>
  97  </table>
  98  
  99  <table id="footer-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%">
 100    <tr>
 101      <td align="center" valign="middle">
 102      <?php if (isset($primary_links)) : ?>
 103        <?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
 104      <?php endif; ?>
 105      <?php if (isset($secondary_links)) : ?>
 106        <?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
 107      <?php endif; ?>
 108      </td>
 109    </tr>
 110  </table>
 111  
 112  <?php if ($footer_message || $footer) : ?>
 113  <div id="footer-message">
 114      <?php print $footer_message . $footer;?>
 115  </div>
 116  <?php endif; ?>
 117  <?php print $closure;?>
 118  </body>
 119  </html>


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7