home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / CMS / drupal-6.0.exe / drupal-6.0 / modules / user / user-profile-item.tpl.php < prev    next >
Encoding:
PHP Script  |  2007-08-07  |  1015 b   |  28 lines

  1. <?php
  2. // $Id: user-profile-item.tpl.php,v 1.2 2007/08/07 08:39:36 goba Exp $
  3.  
  4. /**
  5.  * @file user-profile-item.tpl.php
  6.  * Default theme implementation to present profile items (values from user
  7.  * account profile fields or modules).
  8.  *
  9.  * This template is used to loop through and render each field configured
  10.  * for the user's account. It can also be the data from modules. The output is
  11.  * grouped by categories.
  12.  *
  13.  * @see user-profile-category.tpl.php
  14.  *      for the parent markup. Implemented as a definition list by default.
  15.  * @see user-profile.tpl.php
  16.  *      where all items and categories are collected and printed out.
  17.  *
  18.  * Available variables:
  19.  * - $title: Field title for the profile item.
  20.  * - $value: User defined value for the profile item or data from a module.
  21.  * - $attributes: HTML attributes. Usually renders classes.
  22.  *
  23.  * @see template_preprocess_user_profile_item()
  24.  */
  25. ?>
  26. <dt<?php print $attributes; ?>><?php print $title; ?></dt>
  27. <dd<?php print $attributes; ?>><?php print $value; ?></dd>
  28.