You are here

function gravatar_help in Gravatar integration 6

Same name and namespace in other branches
  1. 5 gravatar.module \gravatar_help()
  2. 7 gravatar.module \gravatar_help()

Implements hook_help().

File

./gravatar.module, line 87
Integrates gravatar service for user pictures.

Code

function gravatar_help($path, $arg) {
  switch ($path) {

    //case 'admin/help#gravatar':

    // @todo Improve this documentation.

    //$output = '<h3>' . t("Global settings") . '</h3>';

    //$output .= '<p>' . t("Go to the !gravatar_integration_settings and enable gravatar integration. If enabled, all user images will be replaced with gravatars. If disabled, the site's default user picture settings are used. The site administrator may set a default image width, the maximum allowed maturity level, and select the site's default user image, the default user image provided by this module, or the image provided by gravatar.com, for the case no avatar could be retrieved.", array('!gravatar_integration_settings' => l(t("gravatar integration settings"), 'admin/user/gravatar'))) .'</p>';

    //$output .= '<h3>' . t("Per user settings") . '</h3>';

    //$output .= '<p>' . t("In the user profile page, each authenticated user can choose to use his or her gravatar, or the uploaded user image.") . '</p>';

    //return $output;
    case 'admin/user/gravatar':
    case 'admin/user/settings':
      module_load_install('gravatar');
      gravatar_check_requirements();
      break;
  }
}