From 22c889e7c05b1c2dd98ad5e6b3547234a3f6596f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 7 Oct 2003 18:16:41 +0000 Subject: - Help system improvements: eliminated the _system hook. Patch by Michael. - Bloggerapi module fixes. Patch by Kjartan. - Coding style fixes. Patch by Michael. --- modules/profile.module | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'modules/profile.module') diff --git a/modules/profile.module b/modules/profile.module index f3a07f3e5..6abf5b439 100644 --- a/modules/profile.module +++ b/modules/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.
Notes:", 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.
Notes:", 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) { -- cgit v1.2.3