diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-12-11 17:08:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-12-11 17:08:27 +0000 |
commit | 3bd4c9fbd304d42c973beaa85c76997b88b18bce (patch) | |
tree | 1118fae550651c44bc81fae7123b0bc3a25437d8 /modules | |
parent | 169656a79bacb510c7ec9cd12c74e869a9e6f6ef (diff) | |
download | brdo-3bd4c9fbd304d42c973beaa85c76997b88b18bce.tar.gz brdo-3bd4c9fbd304d42c973beaa85c76997b88b18bce.tar.bz2 |
- Patch #653004 by jhodgdon, arianek: create help page for Contextual module following new standard.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/overlay/overlay.module | 13 |
1 files changed, 13 insertions, 0 deletions
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 @@ -7,6 +7,19 @@ */ /** + * 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(). */ function overlay_menu() { |