From 3bd4c9fbd304d42c973beaa85c76997b88b18bce Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 11 Dec 2009 17:08:27 +0000 Subject: - Patch #653004 by jhodgdon, arianek: create help page for Contextual module following new standard. --- modules/overlay/overlay.module | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/overlay/overlay.module b/modules/overlay/overlay.module index ca2d273db..2b3e2382e 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 .= '

' . t('About') . '

'; + $output .= '

' . 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 Overlay module.', array('@overlay' => 'http://drupal.org/handbook/modules/overlay')) . '

'; + return $output; + } +} + /** * Implements hook_menu(). */ -- cgit v1.2.3