summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-06 18:24:29 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-06 18:24:29 +0000
commitd57f7baa958b58220fd97aa91b860767a7a076f3 (patch)
tree8e1bae31759ff873e4175251dd846fe3c3290548
parent020e04c505d5474f3a53c4564f970ea11bee1b07 (diff)
downloadbrdo-d57f7baa958b58220fd97aa91b860767a7a076f3.tar.gz
brdo-d57f7baa958b58220fd97aa91b860767a7a076f3.tar.bz2
#635056 by arianek, tobiasb, batigolix, and jhodgdon: Update Profile Module to new help standard.
-rw-r--r--modules/profile/profile.module24
1 files 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 = '<p>' . t('The profile module allows custom fields (such as country, full name, or age) to be defined and displayed in the <em>My Account</em> section. This permits users of a site to share more information about themselves, and can help community-based sites organize users around specific information.') . '</p>';
- $output .= '<p>' . t('The following types of fields can be added to a user profile:') . '</p>';
- $output .= '<ul><li>' . t('single-line textfield') . '</li>';
- $output .= '<li>' . t('multi-line textfield') . '</li>';
- $output .= '<li>' . t('checkbox') . '</li>';
- $output .= '<li>' . t('list selection') . '</li>';
- $output .= '<li>' . t('freeform list') . '</li>';
- $output .= '<li>' . t('URL') . '</li>';
- $output .= '<li>' . t('date') . '</li></ul>';
- $output .= '<p>' . t('For more information, see the online handbook entry for <a href="@profile">Profile module</a>.', array('@profile' => 'http://drupal.org/handbook/modules/profile/')) . '</p>';
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . 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 <a href="@user">My Account</a> 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 <a href="@profile">Profile module</a>.', array('@user' => url('user'), '@profile' => 'http://drupal.org/handbook/modules/profile/')) . '</p>';
+ $output .= '<h3>' . t('Uses') . '</h3>';
+ $output .= '<dl>';
+ $output .= '<dt>' . t('Adding fields to the default profile') . '</dt>';
+ $output .= '<dd>' . 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 <em>Location</em>, <em>Company</em>, <em>Age</em>, or <em>About me</em>.') . '</dd>';
+ $output .= '<dt>' . t('User information pages') . '</dt>';
+ $output .= '<dd>' . t('The Profile module enables links to see further information about site users. You can view both a main <a href="@profile">User list page</a>, and more specified pages by clicking on linked fields in any profile. For example, the <a href="@profile-country">users from Canada</a> listing on Drupal.org displays all users who have entered <em>Canada</em> in the <em>Country</em> field on their user profile.', array('@profile' => url('profile'), '@profile-country' => 'http://drupal.org/profile/country/Canada')) . '</dd>';
+ $output .= '<dt>' . t('Author information block') . '</dt>';
+ $output .= '<dd>' . t('The <em>Author information block</em> is a default block created by the Profile module that can be enabled on the <a href="@blocks">Blocks administration page</a>. It shows visitors of your website information about the author of the page they are reading.', array('@blocks' => url('admin/structure/block'))) . '</dd>';
+ $output .= '</dl>';
return $output;
case 'admin/config/people/profile':
- return '<p>' . t("This page displays a list of the existing custom profile fields to be displayed on a user's <em>My Account</em> 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 <em>Save configuration</em> button at the bottom of the page.") . '</p>';
+ return '<p>' . t("This page displays a list of the existing custom profile fields to be displayed on a user's <em>My account</em> 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 <em>Save configuration</em> button at the bottom of the page.") . '</p>';
}
}