You are here

function activity_help in Activity 6.2

Implementation of hook_help().

File

./activity.module, line 129
Primarily Drupal hooks and global API functions to manipulate activity.

Code

function activity_help($path, $arg) {
  switch ($path) {
    case 'admin/help#activity':
      $output = '<p>' . t('For more information, see the online handbook entry for <a href="@activity">Activity module</a>.', array(
        '@activity' => 'http://drupal.org/handbook/modules/activity/',
      )) . '</p>';
      return $output;
    case 'admin/build/activity':
      $output = '<p>' . t('For help on configuring activity, please read this <a href="@guide">guide</a>. If you are developing for Activity2, please read the developer documentation in DEVELOPER.txt or in the <a href="@activity">handbook entry</a>.', array(
        '@guide' => 'http://http://groups.drupal.org/node/21817',
        '@activity' => 'http://drupal.org/node/626914',
      )) . '</p>';
      return $output;
    case 'admin/build/actions/configure':
      return '<p>' . t('<strong>Please see <a href="@activity">this thread</a> for more details on how to setup an activity.</strong>', array(
        '@activity' => 'http://groups.drupal.org/node/19249#comment-67046',
      )) . '</p>';
    case 'user/%/activity/settings':
      return '<p>' . t('Activity provides an opt-out system of permission. By default all of your activity on the system which is setup to be recorded by the site administrator is recorded and displayed to everyone. Here you can choose which of these that you would <strong>not</strong> like to be recorded.') . '<p>';
  }
}