summaryrefslogtreecommitdiff
path: root/modules/profile/profile.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profile/profile.module')
-rw-r--r--modules/profile/profile.module13
1 files changed, 2 insertions, 11 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index f3a07f3e5..6abf5b439 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -40,25 +40,16 @@ function profile_help($section) {
$output = "";
switch ($section) {
- case 'admin/system/modules':
+ case 'admin/system/modules#description':
$output = t("Support for configurable user profiles.");
break;
case 'admin/system/modules/profile':
- $output = t("When a user creates an account you can ask for some extra information, as well as letting the user have a small picture, called an avatar.<br />Notes:<ul><li>In order for a user to enter information you <b>must</b> check \"enable\".</li><li>In order for other people too see the entered information you must make it \"public\".</li><li>If an item is \"public\", but not enabled, the user can never give it a value and it will never be seen. Public does <b>not</b> imply \"enable\".</li><li>If an item is enabled, but not shown in the registration form the user will have to %edit to place information in the field.</ul>", array("%edit" => l(t("edit their account"), "user/edit") ));
+ $output = t("When a user creates an account you can ask for some extra information, as well as letting the user have a small picture, called an avatar.<br />Notes:<ul><li>In order for a user to enter information you <b>must</b> check \"enable\".</li><li>In order for other people too see the entered information you must make it \"public\".</li><li>If an item is \"public\", but not enabled, the user can never give it a value and it will never be seen. Public does <b>not</b> imply \"enable\".</li><li>If an item is enabled, but not shown in the registration form the user will have to %edit to place information in the field.</ul>", array("%edit" => l(t("edit their account"), "user/edit")));
break;
}
return $output;
}
-function profile_system($field) {
- $output = "";
-
- if ($field == "description") {$output = profile_help("admin/system/modules"); }
- else if ($field == "admin_help") {$output = profile_help("admin/system/modules/profile"); };
-
- return $output;
-}
-
function profile_settings() {
global $profile_fields;
if (!$profile_fields) {