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