[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/panels/plugins/layouts/threecol_33_34_33_stacked/ -> panels-threecol-33-34-33-stacked.tpl.php (source)

   1  <?php
   2  // $Id: panels-threecol-33-34-33-stacked.tpl.php,v 1.1.2.2 2010/07/20 19:06:04 merlinofchaos Exp $
   3  /**
   4   * @file
   5   * Template for a 3 column panel layout.
   6   *
   7   * This template provides a three column 25%-50%-25% panel display layout, with
   8   * additional areas for the top and the bottom.
   9   *
  10   * Variables:
  11   * - $id: An optional CSS id to use for the layout.
  12   * - $content: An array of content, each item in the array is keyed to one
  13   *   panel of the layout. This layout supports the following sections:
  14   *   - $content['top']: Content in the top row.
  15   *   - $content['left']: Content in the left column.
  16   *   - $content['middle']: Content in the middle column.
  17   *   - $content['right']: Content in the right column.
  18   *   - $content['bottom']: Content in the bottom row.
  19   */
  20  ?>
  21  <div class="panel-display panel-3col-33-stacked  clear-block" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
  22    <?php if ($content['top']): ?>
  23      <div class="panel-panel panel-col-top">
  24        <div class="inside"><?php print $content['top']; ?></div>
  25      </div>    
  26    <?php endif ?>
  27  
  28    <div class="center-wrapper">
  29      <div class="panel-panel panel-col-first">
  30        <div class="inside"><?php print $content['left']; ?></div>
  31      </div>
  32  
  33      <div class="panel-panel panel-col">
  34        <div class="inside"><?php print $content['middle']; ?></div>
  35      </div>
  36  
  37      <div class="panel-panel panel-col-last">
  38        <div class="inside"><?php print $content['right']; ?></div>
  39      </div>
  40    </div>
  41  
  42    <?php if ($content['bottom']): ?>
  43      <div class="panel-panel panel-col-bottom">
  44        <div class="inside"><?php print $content['bottom']; ?></div>
  45      </div>    
  46    <?php endif ?>
  47  </div>


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7