function poll_help

7.x poll.module poll_help($path, $arg)
6.x poll.module poll_help($path, $arg)

Implementation of hook_help().

File

drupal-6.x/modules/poll/poll.module, line 12
Enables your site to capture votes on different topics in the form of multiple choice questions.

Code

function poll_help($path, $arg) {
  switch ($path) {
    case 'admin/help#poll':
      $output = '<p>' . t('The poll module can be used to create simple polls for site users. A poll is a simple, multiple choice questionnaire which displays the cumulative results of the answers to the poll. Having polls on the site is a good way to receive feedback from community members.') . '</p>';
      $output .= '<p>' . t('When creating a poll, enter the question being posed, as well as the potential choices (and beginning vote counts for each choice). The status and duration (length of time the poll remains active for new votes) can also be specified. Use the <a href="@poll">poll</a> menu item to view all current polls. To vote in or view the results of a specific poll, click on the poll itself.', array('@poll' => url('poll'))) . '</p>';
      $output .= '<p>' . t('For more information, see the online handbook entry for <a href="@poll">Poll module</a>.', array('@poll' => 'http://drupal.org/handbook/modules/poll/')) . '</p>';
      return $output;
  }
}