From a461097c28813d4f2041b0306e82b00d7e250386 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 15 Oct 2008 13:51:53 +0000 Subject: - Patch #293078 by lilou: correction for user-profile.tpl.php documentation. --- modules/user/user-profile.tpl.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'modules') diff --git a/modules/user/user-profile.tpl.php b/modules/user/user-profile.tpl.php index 73bf250d6..4aacdc492 100644 --- a/modules/user/user-profile.tpl.php +++ b/modules/user/user-profile.tpl.php @@ -13,7 +13,7 @@ * It is keyed to the name of each category or other data attached to the * account. If it is a category it will contain all the profile items. By * default $profile['summary'] is provided which contains data on the user's - * history. Other data can be included by modules. $profile['picture'] is + * history. Other data can be included by modules. $profile['user_picture'] is * available by default showing the account picture. * * Also keep in mind that profile items and their categories can be defined by @@ -26,17 +26,19 @@ * * To check for all available data within $profile, use the code below. * - * '. check_plain(print_r($profile, 1)) .''; ?> + * @code + * print '
'. check_plain(print_r($profile, 1)) .'
'; + * @endcode * * @see user-profile-category.tpl.php - * where the html is handled for the group. + * Where the html is handled for the group. * @see user-profile-field.tpl.php - * where the html is handled for each item in the group. + * Where the html is handled for each item in the group. * * Available variables: - * - $user_profile: All user profile data. Ready for print. - * - $profile: Keyed array of profile categories and their items or other data - * provided by modules. + * - $user_profile: All user profile data. Ready for print. + * - $profile: Keyed array of profile categories and their items or other data + * provided by modules. * * @see template_preprocess_user_profile() */ -- cgit v1.2.3