You are here

function profile_help in Drupal 5

Same name and namespace in other branches
  1. 4 modules/profile.module \profile_help()
  2. 6 modules/profile/profile.module \profile_help()
  3. 7 modules/profile/profile.module \profile_help()

Implementation of hook_help().

File

modules/profile/profile.module, line 31
Support for configurable user profiles.

Code

function profile_help($section) {
  switch ($section) {
    case 'admin/help#profile':
      $output = '<p>' . t('The profile module allows you to define custom fields (such as country, real name, age, ...) in the user profile. This permits users of a site to share more information about themselves, and can help community-based sites to organize users around profile fields.') . '</p>';
      $output .= t('<p>The following types of fields can be added to the user profile:</p>
<ul>
<li>single-line textfield</li>
<li>multi-line textfield</li>
<li>checkbox</li>
<li>list selection</li>
<li>freeform list</li>
<li>URL</li>
<li>date</li>
</ul>
');
      $output .= '<p>' . t('For more information please read the configuration and customization handbook <a href="@profile">Profile page</a>.', array(
        '@profile' => 'http://drupal.org/handbook/modules/profile/',
      )) . '</p>';
      return $output;
    case 'admin/user/profile':
      return '<p>' . t('Here you can define custom fields that users can fill in as part of their user profile (such as <em>country</em>, <em>real name</em>, <em>age</em>, ...).') . '</p>';
  }
}