[ Index ]
 

Code source de Drupal 5.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

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

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


Généré le : Fri Nov 30 16:20:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics