From d57f7baa958b58220fd97aa91b860767a7a076f3 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 6 Dec 2009 18:24:29 +0000 Subject: #635056 by arianek, tobiasb, batigolix, and jhodgdon: Update Profile Module to new help standard. --- modules/profile/profile.module | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/modules/profile/profile.module b/modules/profile/profile.module index d27c7440a..ad0aec544 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -32,19 +32,21 @@ define('PROFILE_HIDDEN', 4); function profile_help($path, $arg) { switch ($path) { case 'admin/help#profile': - $output = '

' . t('The profile module allows custom fields (such as country, full name, or age) to be defined and displayed in the My Account section. This permits users of a site to share more information about themselves, and can help community-based sites organize users around specific information.') . '

'; - $output .= '

' . t('The following types of fields can be added to a user profile:') . '

'; - $output .= ''; - $output .= '

' . t('For more information, see the online handbook entry for Profile module.', array('@profile' => 'http://drupal.org/handbook/modules/profile/')) . '

'; + $output = ''; + $output .= '

' . t('About') . '

'; + $output .= '

' . t('The Profile module allows site administrators to define custom fields (such as country, full name, or age) for user profiles, which are then displayed in the My Account section. This permits users of a site to share more information about themselves, and can help community-based sites organize users around specific information. For more information, see the online handbook entry for Profile module.', array('@user' => url('user'), '@profile' => 'http://drupal.org/handbook/modules/profile/')) . '

'; + $output .= '

' . t('Uses') . '

'; + $output .= '
'; + $output .= '
' . t('Adding fields to the default profile') . '
'; + $output .= '
' . t('To provide the ability for users to enter more information about themselves, the Profile module allows additional fields to be added to the default user profile. Examples of common additions would be Location, Company, Age, or About me.') . '
'; + $output .= '
' . t('User information pages') . '
'; + $output .= '
' . t('The Profile module enables links to see further information about site users. You can view both a main User list page, and more specified pages by clicking on linked fields in any profile. For example, the users from Canada listing on Drupal.org displays all users who have entered Canada in the Country field on their user profile.', array('@profile' => url('profile'), '@profile-country' => 'http://drupal.org/profile/country/Canada')) . '
'; + $output .= '
' . t('Author information block') . '
'; + $output .= '
' . t('The Author information block is a default block created by the Profile module that can be enabled on the Blocks administration page. It shows visitors of your website information about the author of the page they are reading.', array('@blocks' => url('admin/structure/block'))) . '
'; + $output .= '
'; return $output; case 'admin/config/people/profile': - return '

' . t("This page displays a list of the existing custom profile fields to be displayed on a user's My Account page. To provide structure, similar or related fields may be placed inside a category. To add a new category (or edit an existing one), edit a profile field and provide a new category name. Remember that your changes will not be saved until you click the Save configuration button at the bottom of the page.") . '

'; + return '

' . t("This page displays a list of the existing custom profile fields to be displayed on a user's My account page. To provide structure, similar or related fields may be placed inside a category. To add a new category (or edit an existing one), edit a profile field and provide a new category name. Remember that your changes will not be saved until you click the Save configuration button at the bottom of the page.") . '

'; } } -- cgit v1.2.3