summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.26/modules/user/user-profile-item.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.26/modules/user/user-profile-item.tpl.php')
-rw-r--r--kolab.org/www/drupal-7.26/modules/user/user-profile-item.tpl.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/kolab.org/www/drupal-7.26/modules/user/user-profile-item.tpl.php b/kolab.org/www/drupal-7.26/modules/user/user-profile-item.tpl.php
new file mode 100644
index 0000000..042d43a
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/modules/user/user-profile-item.tpl.php
@@ -0,0 +1,26 @@
+<?php
+
+/**
+ * @file
+ * Default theme implementation to present profile items (values from user
+ * account profile fields or modules).
+ *
+ * This template is used to loop through and render each field configured
+ * for the user's account. It can also be the data from modules. The output is
+ * grouped by categories.
+ *
+ * @see user-profile-category.tpl.php
+ * for the parent markup. Implemented as a definition list by default.
+ * @see user-profile.tpl.php
+ * where all items and categories are collected and printed out.
+ *
+ * Available variables:
+ * - $title: Field title for the profile item.
+ * - $value: User defined value for the profile item or data from a module.
+ * - $attributes: HTML attributes. Usually renders classes.
+ *
+ * @see template_preprocess_user_profile_item()
+ */
+?>
+<dt<?php print $attributes; ?>><?php print $title; ?></dt>
+<dd<?php print $attributes; ?>><?php print $value; ?></dd>