Project

General

Profile

Download (585 Bytes) Statistics
| Branch: | Tag: | Revision:
1
<?php
2
/**
3
 * @file
4
 * Template for a "no wrapper" layout; useful for mini panels, etc.
5
 *
6
 * This template provides a very simple "one column" panel display layout.
7
 *
8
 * Variables:
9
 * - $css_id: An optional CSS id to use for the layout.
10
 * - $content: An array of content, each item in the array is keyed to one
11
 *   region of the layout. For example, $content['main'].
12
 * - $main_classes: Additional classes for the main region.
13
 */
14

    
15
if ($main_classes) {
16
  print '<div class="' . $main_classes . '">';
17
  print $content['main'];
18
  print '</div>';
19
}
20
else {
21
  print $content['main'];
22
}
(2-2/3)