You are here

function discussthis_help in Discuss This! 6

Same name and namespace in other branches
  1. 5 discussthis.module \discussthis_help()
  2. 7.2 discussthis.module \discussthis_help()
  3. 7 discussthis.module \discussthis_help()

Display help and module information

Parameters

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

Return value

help text for section

File

./discussthis.module, line 19
Associations discussions in forums with specific nodes

Code

function discussthis_help($section) {
  switch ($section) {
    case 'admin/help#discussthis':
      $output = '';
      $output = '<p>' . t('Displays links to discussion forums for a given node. Administrators can select the types of nodes for which this is enabled, and for each of these, which forum new topics should be created in.') . '</p>';
      $output .= '<ul><li><a href="admin/settings/discussthis">Discuss This configuration settings</a></li>';
      $output .= '<li><a href="admin/user/access#module-discussthis">Discuss This permissions configuration</a></li></ul>';

      //$output .= filter_filter('process', 2, null, file_get_contents(dirname(__FILE__) .'/README.txt') );
      return $output;
  }
}