Projet

Général

Profil

Paste
Télécharger (918 octets) Statistiques
| Branche: | Révision:

root / drupal7 / modules / user / user-profile-item.tpl.php @ c7768a53

1
<?php
2

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