root / drupal7 / sites / all / modules / panels / plugins / layouts / twocol_bricks / panels-twocol-bricks.tpl.php @ 64156087
1 |
<?php
|
---|---|
2 |
/**
|
3 |
* @file
|
4 |
* Template for a 2 column panel layout.
|
5 |
*
|
6 |
* This template provides a two column panel display layout, with
|
7 |
* each column roughly equal in width. It is 5 rows high; the top
|
8 |
* middle and bottom rows contain 1 column, while the second
|
9 |
* and fourth rows contain 2 columns.
|
10 |
*
|
11 |
* Variables:
|
12 |
* - $id: An optional CSS id to use for the layout.
|
13 |
* - $content: An array of content, each item in the array is keyed to one
|
14 |
* panel of the layout. This layout supports the following sections:
|
15 |
* - $content['top']: Content in the top row.
|
16 |
* - $content['left_above']: Content in the left column in row 2.
|
17 |
* - $content['right_above']: Content in the right column in row 2.
|
18 |
* - $content['middle']: Content in the middle row.
|
19 |
* - $content['left_below']: Content in the left column in row 4.
|
20 |
* - $content['right_below']: Content in the right column in row 4.
|
21 |
* - $content['right']: Content in the right column.
|
22 |
* - $content['bottom']: Content in the bottom row.
|
23 |
*/
|
24 |
?>
|
25 |
<div class="panel-display panel-2col-bricks clearfix" <?php if (!empty($css_id)) {print "id=\"$css_id\"";} ?>> |
26 |
<div class="panel-panel panel-col-top"> |
27 |
<div class="inside"><?php print $content['top']; ?></div> |
28 |
</div>
|
29 |
<div class="center-wrapper"> |
30 |
<div class="panel-panel panel-col-first"> |
31 |
<div class="inside"><?php print $content['left_above']; ?></div> |
32 |
</div>
|
33 |
|
34 |
<div class="panel-panel panel-col-last"> |
35 |
<div class="inside"><?php print $content['right_above']; ?></div> |
36 |
</div>
|
37 |
</div>
|
38 |
<div class="panel-panel panel-col-middle"> |
39 |
<div class="inside"><?php print $content['middle']; ?></div> |
40 |
</div>
|
41 |
<div class="center-wrapper"> |
42 |
<div class="panel-panel panel-col-first"> |
43 |
<div class="inside"><?php print $content['left_below']; ?></div> |
44 |
</div>
|
45 |
|
46 |
<div class="panel-panel panel-col-last"> |
47 |
<div class="inside"><?php print $content['right_below']; ?></div> |
48 |
</div>
|
49 |
</div>
|
50 |
<div class="panel-panel panel-col-bottom"> |
51 |
<div class="inside"><?php print $content['bottom']; ?></div> |
52 |
</div>
|
53 |
</div>
|