panels-threecol-33-34-33.tpl.php 1018 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * @file
  4. * Template for a 3 column panel layout.
  5. *
  6. * This template provides a three column panel display layout, with
  7. * each column roughly equal in width.
  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['left']: Content in the left column.
  14. * - $content['middle']: Content in the middle column.
  15. * - $content['right']: Content in the right column.
  16. */
  17. ?>
  18. <div class="panel-display panel-3col-33 clearfix" <?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. <div class="panel-panel panel-col">
  23. <div class="inside"><?php print $content['middle']; ?></div>
  24. </div>
  25. <div class="panel-panel panel-col-last">
  26. <div class="inside"><?php print $content['right']; ?></div>
  27. </div>
  28. </div>