| Commit | Line | Data |
|---|---|---|
| fc8f8fa8 EM |
1 | <?php |
| 2 | // $Id$ | |
| 3 | /** | |
| 4 | * @file | |
| 5 | * Template for a 3 column panel layout. | |
| 6 | * | |
| 7 | * This template provides a three column panel display layout, with | |
| 8 | * each column roughly equal in width. | |
| 9 | * | |
| 10 | * Variables: | |
| 11 | * - $id: An optional CSS id to use for the layout. | |
| 12 | * - $content: An array of content, each item in the array is keyed to one | |
| 13 | * panel of the layout. This layout supports the following sections: | |
| 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 | */ | |
| 18 | ?> | |
| 19 | ||
| 2f354acb | 20 | <div class="panel-display panel-3col-33 clearfix" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>> |
| fc8f8fa8 EM |
21 | <div class="panel-panel panel-col-first"> |
| 22 | <div class="inside"><?php print $content['left']; ?></div> | |
| 23 | </div> | |
| 24 | ||
| 25 | <div class="panel-panel panel-col"> | |
| 26 | <div class="inside"><?php print $content['middle']; ?></div> | |
| 27 | </div> | |
| 28 | ||
| 29 | <div class="panel-panel panel-col-last"> | |
| 30 | <div class="inside"><?php print $content['right']; ?></div> | |
| 31 | </div> | |
| 32 | </div> |