[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

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

   1  <?php
   2  // $Id: panels-onecol.tpl.php,v 1.1.2.1 2008/12/16 21:27:58 merlinofchaos Exp $
   3  /**
   4   * @file
   5   * Template for a 3 column panel layout.
   6   *
   7   * This template provides a very simple "one column" panel display layout.
   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['middle']: The only panel in the layout.
  14   */
  15  ?>
  16  <div class="panel-display panel-1col clear-block" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
  17    <div class="panel-panel panel-col">
  18      <div><?php print $content['middle']; ?></div>
  19    </div>
  20  </div>


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