| Commit | Line | Data |
|---|---|---|
| fc8f8fa8 | 1 | <?php |
| fc8f8fa8 EM |
2 | /** |
| 3 | * @file | |
| 4 | * Template for a 3 column panel layout. | |
| 5 | * | |
| 6 | * This template provides a three column 25%-50%-25% panel display layout, with | |
| 7 | * additional areas for the top and the bottom. | |
| 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['top']: Content in the top row. | |
| 14 | * - $content['left']: Content in the left column. | |
| 15 | * - $content['middle']: Content in the middle column. | |
| 16 | * - $content['right']: Content in the right column. | |
| 17 | * - $content['bottom']: Content in the bottom row. | |
| 18 | */ | |
| 19 | ?> | |
| 2f354acb | 20 | <div class="panel-display panel-3col-33-stacked clearfix" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>> |
| 946024d2 SB |
21 | <?php if ($content['top']): ?> |
| 22 | <div class="panel-panel panel-col-top"> | |
| 23 | <div class="inside"><?php print $content['top']; ?></div> | |
| 2f354acb | 24 | </div> |
| 946024d2 SB |
25 | <?php endif ?> |
| 26 | ||
| fc8f8fa8 EM |
27 | <div class="center-wrapper"> |
| 28 | <div class="panel-panel panel-col-first"> | |
| 29 | <div class="inside"><?php print $content['left']; ?></div> | |
| 30 | </div> | |
| 31 | ||
| 32 | <div class="panel-panel panel-col"> | |
| 33 | <div class="inside"><?php print $content['middle']; ?></div> | |
| 34 | </div> | |
| 35 | ||
| 36 | <div class="panel-panel panel-col-last"> | |
| 37 | <div class="inside"><?php print $content['right']; ?></div> | |
| 38 | </div> | |
| 39 | </div> | |
| 946024d2 SB |
40 | |
| 41 | <?php if ($content['bottom']): ?> | |
| 42 | <div class="panel-panel panel-col-bottom"> | |
| 43 | <div class="inside"><?php print $content['bottom']; ?></div> | |
| 2f354acb | 44 | </div> |
| 946024d2 | 45 | <?php endif ?> |
| fc8f8fa8 | 46 | </div> |