Commit 03b443e8 authored by catch's avatar catch

Issue #1123092 by michaellenahan, varunarora: Fixed user-profile.tpl.php doc...

Issue #1123092 by michaellenahan, varunarora: Fixed user-profile.tpl.php doc has confusing/misleading first paragraph.
parent 52b30bd8
...@@ -8,12 +8,12 @@ ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment