Merging DRUPAL-6--2 back into HEAD before branching to DRUPAL-6--3.
[project/panels.git] / layouts / threecol_25_50_25 / panels-threecol-25-50-25.tpl.php
1 <?php
2 // $Id$
3 /**
4 * @file
5 * Template for the 1 column panel layout.
6 *
7 * This template provides a three column 25%-50%-25% panel display layout.
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 clear-block" <?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
23 <div class="panel-panel panel-col">
24 <div class="inside"><?php print $content['middle']; ?></div>
25 </div>
26
27 <div class="panel-panel panel-col-last">
28 <div class="inside"><?php print $content['right']; ?></div>
29 </div>
30 </div>