You are here

function sharethis_help in ShareThis 6

Same name and namespace in other branches
  1. 8.2 sharethis.module \sharethis_help()
  2. 5 sharethis.module \sharethis_help()
  3. 6.2 sharethis.module \sharethis_help()
  4. 7.2 sharethis.module \sharethis_help()
  5. 7 sharethis.module \sharethis_help()

Implementation of hook_help().

File

./sharethis.module, line 11
Provides the ShareThis service.

Code

function sharethis_help($path, $arg) {
  switch ($path) {
    case 'admin/help#sharethis':
      $output = '<p>' . t('Provides functionality to interface with the <a href="@sharethis">ShareThis</a> web service to share data across different social networks.', array(
        '@sharethis' => 'http://sharethis.com',
      )) . '</p>';
      $output .= '<p>' . theme('sharethis', t('Drupal ShareThis Module'), 'http://drupal.org/project/sharethis') . '</p>';
      return $output;
    case 'admin/settings/sharethis':
      return '<p>' . t('Below provides the settings for interfacing with the <a href="@sharethis">ShareThis</a> web service to share data across different social networks.', array(
        '@sharethis' => 'http://sharethis.com',
      )) . '</p>';
  }
}