webmaster@1: 'Help', webmaster@1: 'page callback' => 'help_main', webmaster@1: 'access arguments' => array('access administration pages'), webmaster@1: 'weight' => 9, webmaster@1: 'file' => 'help.admin.inc', webmaster@1: ); webmaster@1: webmaster@1: foreach (module_implements('help', TRUE) as $module) { webmaster@1: $items['admin/help/'. $module] = array( webmaster@1: 'title' => $module, webmaster@1: 'page callback' => 'help_page', webmaster@1: 'page arguments' => array(2), webmaster@5: 'access arguments' => array('access administration pages'), webmaster@1: 'type' => MENU_CALLBACK, webmaster@1: 'file' => 'help.admin.inc', webmaster@1: ); webmaster@1: } webmaster@1: webmaster@1: return $items; webmaster@1: } webmaster@1: webmaster@1: /** webmaster@1: * Implementation of hook_help(). webmaster@1: */ webmaster@1: function help_help($path, $arg) { webmaster@1: switch ($path) { webmaster@1: case 'admin/help': webmaster@1: $output = '

'. t('This guide provides context sensitive help on the use and configuration of Drupal and its modules, and is a supplement to the more extensive online Drupal handbook. 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')) .'

'; webmaster@1: return $output; webmaster@1: case 'admin/help#help': webmaster@1: $output = '

'. t('The help module provides context sensitive help on the use and configuration of Drupal and its modules, and is a supplement to the more extensive online Drupal handbook. 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')) .'

'; webmaster@1: $output .= '

'. t('For more information, see the online handbook entry for Help module.', array('@help' => 'http://drupal.org/handbook/modules/help/')) .'

'; webmaster@1: return $output; webmaster@1: } webmaster@1: }