Issue #1123092 by michaellenahan: Fixed user-profile.tpl.php doc has confusing/misleading first paragraph.
parent
d40fdf8548
commit
cf6f837460
|
@ -8,12 +8,12 @@
|
||||||
* e.g., example.com/user/123. 123 being the users ID.
|
* e.g., example.com/user/123. 123 being the users ID.
|
||||||
*
|
*
|
||||||
* Use render($user_profile) to print all profile items, or print a subset
|
* Use render($user_profile) to print all profile items, or print a subset
|
||||||
* such as render($content['field_example']). Always call render($user_profile)
|
* such as render($user_profile['user_picture']). Always call
|
||||||
* at the end in order to print all remaining items. If the item is a category,
|
* render($user_profile) at the end in order to print all remaining items. If
|
||||||
* it will contain all its profile items. By default, $user_profile['summary']
|
* the item is a category, it will contain all its profile items. By default,
|
||||||
* is provided which contains data on the user's history. Other data can be
|
* $user_profile['summary'] is provided, which contains data on the user's
|
||||||
* included by modules. $user_profile['user_picture'] is available
|
* history. Other data can be included by modules. $user_profile['user_picture']
|
||||||
* for showing the account picture.
|
* is available for showing the account picture.
|
||||||
*
|
*
|
||||||
* Available variables:
|
* Available variables:
|
||||||
* - $user_profile: An array of profile items. Use render() to print them.
|
* - $user_profile: An array of profile items. Use render() to print them.
|
||||||
|
|
Loading…
Reference in New Issue