[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

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

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


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