[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

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


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