root / drupal7 / sites / all / themes / zen / panels-layouts / zen-no-wrapper / zen-no-wrapper.tpl.php @ 27370441
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 |
} |