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