profile_fields_pane.tpl.php 454 B

12345678910111213141516
  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; ?>