summaryrefslogtreecommitdiffstats
path: root/layouts/one_sidebar_first/zen-one-sidebar-first.tpl.php
blob: b279c469a3c1d6996bcaf0096dd49d0d175457a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/**
 * @file
 * Template for a 1 row, 2 column Zen-based panel layout.
 *
 * This template provides a two column panel display layout, with
 * additional areas for the top and the bottom.
 *
 * Variables:
 * - $css_id: An optional CSS id to use for the layout.
 * - $content: An array of content, each item in the array is keyed to one
 *   panel of the layout. This layout supports the following sections:
 *   - $content['content']: Content in the main column.
 *   - $content['sidebar_first']: Content in the first column.
 */
?>

<div class="panel-display zen-one-sidebar-first clearfix" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>

  <div class="panel-content"><div class="panel-content-inner inside panel-panel">
    <?php print $content['content']; ?>
  </div></div><!-- /.panel-content-inner, /.panel-content -->

  <div class="panel-sidebar-first"><div class="panel-sidebar-first-inner inside panel-panel">
    <?php print $content['sidebar_first']; ?>
  </div></div><!-- /.panel-sidebar-first-inner, /.panel-sidebar-first -->

</div><!-- /.zen-one-sidebar-first -->