root / drupal7 / sites / all / modules / ctools / plugins / content_types / user_context / profile_fields_pane.tpl.php @ c304a780
1 |
<?php
|
---|---|
2 |
|
3 |
/**
|
4 |
* @file
|
5 |
* Display profile fields.
|
6 |
*
|
7 |
* @todo Need definition of what variables are available here.
|
8 |
*/
|
9 |
?>
|
10 |
<?php if (is_array($vars)): ?> |
11 |
<?php foreach ($vars as $class => $field): ?> |
12 |
<dl class="profile-category"> |
13 |
<dt class="profile-<?php print $class; ?>"><?php print $field['title']; ?></dt> |
14 |
<dd class="profile-<?php print $class; ?>"><?php print $field['value']; ?></dd> |
15 |
</dl>
|
16 |
<?php endforeach; ?> |
17 |
<?php endif; ?> |