diff --git a/modules/overlay/overlay.module b/modules/overlay/overlay.module index ca2d273db619f7a8ba4ed614fdfd0fd578e6b04e..2b3e2382e5837e4f3f82fd501efcf15b0a2dcc84 100644 --- a/modules/overlay/overlay.module +++ b/modules/overlay/overlay.module @@ -6,6 +6,19 @@ * Displays the Drupal administration interface in an overlay. */ +/** + * Implements hook_help(). + */ +function overlay_help($path, $arg) { + switch ($path) { + case 'admin/help#overlay': + $output = ''; + $output .= '<h3>' . t('About') . '</h3>'; + $output .= '<p>' . t('The Overlay module makes the administration pages on your site display in a JavaScript overlay of the page you were viewing when you clicked the administrative link, instead of replacing the page in your browser window. Use the close link on the overlay to return to the page you were viewing when you clicked the link. For more information, see the online handbook entry for <a href="@overlay">Overlay module</a>.', array('@overlay' => 'http://drupal.org/handbook/modules/overlay')) . '</p>'; + return $output; + } +} + /** * Implements hook_menu(). */