You are here

function profile_help in Drupal 4

Same name and namespace in other branches
  1. 5 modules/profile/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.module, line 19
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 .= t('<p>You can</p>
<ul>
<li>view user <a href="%profile">profiles</a>.</li>
<li>administer profile settings: <a href="%admin-settings-profile">administer &gt;&gt; settings &gt;&gt; profiles</a>.</li>
</ul>
', array(
        '%profile' => url('profile'),
        '%admin-settings-profile' => url('admin/settings/profile'),
      ));
      $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/modules#description':
      return t('Supports configurable user profiles.');
    case 'admin/settings/profile':
      return t('<p>Here you can define custom fields that users can fill in in their user profile (such as <em>country</em>, <em>real name</em>, <em>age</em>, ...).</p>');
  }
}