summaryrefslogtreecommitdiff
path: root/modules/help/help.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-29 19:37:02 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-29 19:37:02 +0000
commitddb369eaf3452e5cdfe5866a781a703effa9b0ba (patch)
treeca7044492e93bab95eb7e617055ad0e7816cd9a7 /modules/help/help.module
parent1e15bb98ef4ee96dd3bdbac672dab7ea6ba237af (diff)
downloadbrdo-ddb369eaf3452e5cdfe5866a781a703effa9b0ba.tar.gz
brdo-ddb369eaf3452e5cdfe5866a781a703effa9b0ba.tar.bz2
#633836 by batigolix and arianek: Convert Help module's help to new standard.
Diffstat (limited to 'modules/help/help.module')
-rw-r--r--modules/help/help.module12
1 files changed, 10 insertions, 2 deletions
diff --git a/modules/help/help.module b/modules/help/help.module
index e8a3c7389..8d0271bb4 100644
--- a/modules/help/help.module
+++ b/modules/help/help.module
@@ -48,8 +48,16 @@ function help_help($path, $arg) {
$output .= '<p>' . t('For more information, please refer to the specific topics listed in the next section, or the <a href="@handbook">online Drupal handbooks</a>. You may also post at the <a href="@forum">Drupal forum</a>, or view the wide range of <a href="@support">other support options</a> available.', array('@help' => url('admin/help'), '@handbook' => 'http://drupal.org/handbooks', '@forum' => 'http://drupal.org/forum', '@support' => 'http://drupal.org/support')) . '</p>';
return $output;
case 'admin/help#help':
- $output = '<p>' . t('The help module provides context sensitive help on the use and configuration of <a href="@drupal">Drupal</a> and its modules, and is a supplement to the more extensive online <a href="@handbook">Drupal handbook</a>. The online handbook may contain more up-to-date information, is annotated with helpful user-contributed comments, and serves as the definitive reference point for all Drupal documentation.', array('@drupal' => 'http://drupal.org', '@handbook' => 'http://drupal.org/handbook')) . '</p>';
- $output .= '<p>' . t('For more information, see the online handbook entry for <a href="@help">Help module</a>.', array('@help' => 'http://drupal.org/handbook/modules/help/')) . '</p>';
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('The Help module provides <a href="@help-page">Help reference pages</a> and context-sensitive advice to guide you through the use and configuration of modules. It is a starting point for the online <a href="@handbook">Drupal handbooks</a>. The handbooks contain more extensive and up-to-date information, are annotated with user-contributed comments, and serve as the definitive reference point for all Drupal documentation. For more information, see the online handbook entry for the <a href="@help">Help module</a>.', array('@help' => 'http://drupal.org/handbook/modules/help/', '@handbook' => 'http://drupal.org/handbook', '@help-page' => url('admin/help'))) . '</p>';
+ $output .= '<h3>' . t('Uses') . '</h3>';
+ $output .= '<dl>';
+ $output .= '<dt>' . t('Providing a help reference') . '</dt>';
+ $output .= '<dd>' . t('The Help module displays explanations for using each module listed on the main <a href="@help">Help reference page</a>.', array('@help' => url('admin/help'))) . '</dd>';
+ $output .= '<dt>' . t('Providing context-sensitive help') . '</dt>';
+ $output .= '<dd>' . t('The Help module displays context-sensitive advice and explanations on various pages.') . '</dd>';
+ $output .= '</dl>';
return $output;
}
}