| 1 |
|
<?php |
| 2 |
|
// $Id: fieldgroup-simple.tpl.php,v 1.1.2.1 2009/02/28 23:56:17 yched Exp $ |
| 3 |
|
|
| 4 |
|
/** |
| 5 |
|
* @file fieldgroup-simple.tpl.php |
| 6 |
|
* Default theme implementation to display the a 'simple-styled' fieldgroup. |
| 7 |
|
* |
| 8 |
|
* Available variables: |
| 9 |
|
* - $group_name - The group name |
| 10 |
|
* - $group_name_css - The css-compatible group name. |
| 11 |
|
* - $label - The group label |
| 12 |
|
* - $description - The group description |
| 13 |
|
* - $content - The group content |
| 14 |
|
* |
| 15 |
|
* @see template_preprocess_fieldgroup_simple() |
| 16 |
|
*/ |
| 17 |
|
?> |
| 18 |
|
<?php if ($content) : ?> |
| 19 |
|
<div class="fieldgroup <?php print $group_name_css; ?>"> |
| 20 |
|
|
| 21 |
|
<?php if ($label): ?> |
| 22 |
|
<h2><?php print $label; ?></h2> |
| 23 |
|
|
| 24 |
|
<?php if ($description): ?> |
| 25 |
|
<div class="description"><?php print $description; ?></div> |
| 26 |
|
<?php endif; ?> |
| 27 |
|
|
| 28 |
|
<?php endif; ?> |
| 29 |
|
|
| 30 |
|
<div class="content"><?php print $content; ?></div> |
| 31 |
|
|
| 32 |
|
</div> |
| 33 |
|
<?php endif; ?> |