You are here

function avatar_selection_help in Avatar Selection 5

Same name and namespace in other branches
  1. 5.2 avatar_selection.module \avatar_selection_help()
  2. 6 avatar_selection.module \avatar_selection_help()
  3. 7 avatar_selection.module \avatar_selection_help()

Display help and module information

Parameters

section which section of the site we're displaying help:

Return value

help text for section

File

./avatar_selection.module, line 8

Code

function avatar_selection_help($section = '') {
  $output = '';
  switch ($section) {
    case "admin/help#avatar_selection":
      $output .= '<p>' . t("Allows the user to pick an avatar from a list.") . '</p>';
      return $output;
    case "admin/modules#description":
      return t("Allows the user to pick an avatar from a list.");
    case "admin/settings/avatar_selection/images":
      return t("Upload images to display as a user avatar.  These images can be anything you like, but it is recommended that you maintain a uniform icon size for all of your avatars.  Maximum dimensions are 85x85 and the maximum size is 30 kB");
  }
}