[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/panels/plugins/layouts/twocol/ -> panels-twocol.tpl.php (source)

   1  <?php
   2  // $Id: panels-twocol.tpl.php,v 1.1.2.1 2008/12/16 21:27:58 merlinofchaos Exp $
   3  /**
   4   * @file
   5   * Template for a 2 column panel layout.
   6   *
   7   * This template provides a two column panel display layout, with
   8   * each column roughly equal in width.
   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['left']: Content in the left column.
  15   *   - $content['right']: Content in the right column.
  16   */
  17  ?>
  18  <div class="panel-display panel-2col clear-block" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
  19    <div class="panel-panel panel-col-first">
  20      <div class="inside"><?php print $content['left']; ?></div>
  21    </div>
  22  
  23    <div class="panel-panel panel-col-last">
  24      <div class="inside"><?php print $content['right']; ?></div>
  25    </div>
  26  </div>


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