annotate modules/user/user-profile-item.tpl.php @ 0:ff03f76ab3fe

initial version
author danieleb <danielebarchiesi@me.com>
date Wed, 21 Aug 2013 18:51:11 +0100
parents
children
rev   line source
danielebarchiesi@0 1 <?php
danielebarchiesi@0 2
danielebarchiesi@0 3 /**
danielebarchiesi@0 4 * @file
danielebarchiesi@0 5 * Default theme implementation to present profile items (values from user
danielebarchiesi@0 6 * account profile fields or modules).
danielebarchiesi@0 7 *
danielebarchiesi@0 8 * This template is used to loop through and render each field configured
danielebarchiesi@0 9 * for the user's account. It can also be the data from modules. The output is
danielebarchiesi@0 10 * grouped by categories.
danielebarchiesi@0 11 *
danielebarchiesi@0 12 * @see user-profile-category.tpl.php
danielebarchiesi@0 13 * for the parent markup. Implemented as a definition list by default.
danielebarchiesi@0 14 * @see user-profile.tpl.php
danielebarchiesi@0 15 * where all items and categories are collected and printed out.
danielebarchiesi@0 16 *
danielebarchiesi@0 17 * Available variables:
danielebarchiesi@0 18 * - $title: Field title for the profile item.
danielebarchiesi@0 19 * - $value: User defined value for the profile item or data from a module.
danielebarchiesi@0 20 * - $attributes: HTML attributes. Usually renders classes.
danielebarchiesi@0 21 *
danielebarchiesi@0 22 * @see template_preprocess_user_profile_item()
danielebarchiesi@0 23 */
danielebarchiesi@0 24 ?>
danielebarchiesi@0 25 <dt<?php print $attributes; ?>><?php print $title; ?></dt>
danielebarchiesi@0 26 <dd<?php print $attributes; ?>><?php print $value; ?></dd>