| Commit | Line | Data |
|---|---|---|
| 995d309c | 1 | <?php |
| 995d309c J |
2 | /** |
| 3 | * @file | |
| 4 | * Default theme implementation to display a region. | |
| 5 | * | |
| 6 | * Available variables: | |
| 7 | * - $content: The content for this region, typically blocks. | |
| 8 | * - $classes: String of classes that can be used to style contextually through | |
| 9 | * CSS. It can be manipulated through the variable $classes_array from | |
| 10 | * preprocess functions. The default values can be one or more of the following: | |
| 11 | * - region: The current template type, i.e., "theming hook". | |
| 12 | * - region-[name]: The name of the region with underscores replaced with | |
| 13 | * dashes. For example, the page_top region would have a region-page-top class. | |
| 14 | * - $region: The name of the region variable as defined in the theme's .info file. | |
| 15 | * | |
| 16 | * Helper variables: | |
| 17 | * - $classes_array: Array of html class attribute values. It is flattened | |
| 18 | * into a string within the variable $classes. | |
| 19 | * - $is_admin: Flags true when the current user is an administrator. | |
| 20 | * - $is_front: Flags true when presented in the front page. | |
| 21 | * - $logged_in: Flags true when the current user is a logged-in member. | |
| 22 | * | |
| 23 | * @see template_preprocess() | |
| 24 | * @see zen_preprocess() | |
| 25 | * @see zen_preprocess_region() | |
| 26 | * @see zen_process() | |
| 27 | */ | |
| 28 | ?> | |
| e2e805cb | 29 | <div class="<?php print $classes; ?>"><div class="section"> |
| 995d309c | 30 | <?php print $content; ?> |
| faf4bc77 | 31 | </div></div><!-- /.section, /.region --> |