You are here

function theme_help in Drupal 4

Same name and namespace in other branches
  1. 5 includes/theme.inc \theme_help()
  2. 6 includes/theme.inc \theme_help()

Return a themed help message.

Return value

a string containing the helptext for the current page.

Related topics

3 theme calls to theme_help()
chameleon_page in themes/chameleon/chameleon.theme
phptemplate_page in themes/engines/phptemplate/phptemplate.engine
Prepare the values passed to the theme_page function to be passed into a pluggable template engine.
theme_page in includes/theme.inc
Return an entire Drupal page displaying the supplied content.

File

includes/theme.inc, line 543
The theme system, which controls the output of Drupal.

Code

function theme_help() {
  if ($help = menu_get_active_help()) {
    return '<div class="help">' . $help . '</div>';
  }
}