by JohnAlbin: Add Zen 6.x-2.x panel layouts.
[project/zen.git] / layouts / one_sidebar_first / zen-one-sidebar-first.tpl.php
1 <?php
2 /**
3 * @file
4 * Template for a 1 row, 2 column Zen-based panel layout.
5 *
6 * This template provides a two column panel display layout, with
7 * additional areas for the top and the bottom.
8 *
9 * Variables:
10 * - $css_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['content']: Content in the main column.
14 * - $content['sidebar_first']: Content in the first column.
15 */
16 ?>
17
18 <div class="panel-display zen-one-sidebar-first clearfix" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
19
20 <div class="panel-content"><div class="panel-content-inner inside panel-panel">
21 <?php print $content['content']; ?>
22 </div></div><!-- /.panel-content-inner, /.panel-content -->
23
24 <div class="panel-sidebar-first"><div class="panel-sidebar-first-inner inside panel-panel">
25 <?php print $content['sidebar_first']; ?>
26 </div></div><!-- /.panel-sidebar-first-inner, /.panel-sidebar-first -->
27
28 </div><!-- /.zen-one-sidebar-first -->