[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/panels/plugins/layouts/threecol_25_50_25/ -> panels-threecol-25-50-25.tpl.php (source)

   1  <?php
   2  /**
   3   * @file
   4   * Template for the 1 column panel layout.
   5   *
   6   * This template provides a three column 25%-50%-25% panel display layout.
   7   *
   8   * Variables:
   9   * - $id: An optional CSS id to use for the layout.
  10   * - $content: An array of content, each item in the array is keyed to one
  11   *   panel of the layout. This layout supports the following sections:
  12   *   - $content['left']: Content in the left column.
  13   *   - $content['middle']: Content in the middle column.
  14   *   - $content['right']: Content in the right column.
  15   */
  16  ?>
  17  <div class="panel-display panel-3col clear-block" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
  18    <div class="panel-panel panel-col-first">
  19      <div class="inside"><?php print $content['left']; ?></div>
  20    </div>
  21  
  22    <div class="panel-panel panel-col">
  23      <div class="inside"><?php print $content['middle']; ?></div>
  24    </div>
  25  
  26    <div class="panel-panel panel-col-last">
  27      <div class="inside"><?php print $content['right']; ?></div>
  28    </div>
  29  </div>


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