panels-threecol-25-50-25.tpl.php 984 B

1234567891011121314151617181920212223242526272829
  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 clearfix" <?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. <div class="panel-panel panel-col">
  22. <div class="inside"><?php print $content['middle']; ?></div>
  23. </div>
  24. <div class="panel-panel panel-col-last">
  25. <div class="inside"><?php print $content['right']; ?></div>
  26. </div>
  27. </div>