panels-onecol.tpl.php 625 B

12345678910111213141516171819
  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 clearfix" <?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>