From 579173decae8e68306240b8239c376c1d0124f28 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Wed, 30 Sep 2009 00:46:35 +0000 Subject: [PATCH] - Patch #563526 by jhodgdon | anschinsan: fixed broken see also link in user-profile.tpl.php doc and re-organized some of the documentation. --- modules/user/user-profile.tpl.php | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/modules/user/user-profile.tpl.php b/modules/user/user-profile.tpl.php index 487c8bcf6fff..5c374d778601 100644 --- a/modules/user/user-profile.tpl.php +++ b/modules/user/user-profile.tpl.php @@ -16,21 +16,20 @@ * included by modules. $user_profile['user_picture'] is available * for showing the account picture. * - * Field variables: for each field instance attached to the user a corresponding - * variable is defined, e.g. $user->field_example becomes $field_example. When - * needing to access a field's raw values, developers/themers are strongly - * encouraged to use these variables. Otherwise they will have to explicitly - * specify the desired field language, e.g. $user->field_example['en'], thus - * overriding any language negotiation rule that was previously applied. + * Available variables: + * - $user_profile: An array of profile items. Use render() to print them. + * - Field variables: for each field instance attached to the user a + * corresponding variable is defined; e.g., $user->field_example has a + * variable $field_example defined. When needing to access a field's raw + * values, developers/themers are strongly encouraged to use these + * variables. Otherwise they will have to explicitly specify the desired + * field language, e.g. $user->field_example['en'], thus overriding any + * language negotiation rule that was previously applied. * * @see user-profile-category.tpl.php * Where the html is handled for the group. - * @see user-profile-field.tpl.php + * @see user-profile-item.tpl.php * Where the html is handled for each item in the group. - * - * Available variables: - * - $user_profile: An array of profile items. Use render() to print them. - * * @see template_preprocess_user_profile() */ ?> -- GitLab