annotate modules/user/user-profile-item.tpl.php @ 1:c1f4ac30525a 6.0

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