function theme_box

6.x theme.inc theme_box($title, $content, $region = 'main')

Return a themed box.

Parameters

$title: The subject of the box.

$content: The content of the box.

$region: The region in which the box is displayed.

Return value

A string containing the box output.

Related topics

3 theme calls to theme_box()
comment_form_box in drupal-6.x/modules/comment/comment.module
Theme the comment form box.
search_view in drupal-6.x/modules/search/search.pages.inc
Menu callback; presents the search form and/or search results.
theme_comment_controls in drupal-6.x/modules/comment/comment.module
Theme comment controls box where the user can change the default display mode and display order of comments.

File

drupal-6.x/includes/theme.inc, line 1491
The theme system, which controls the output of Drupal.

Code

function theme_box($title, $content, $region = 'main') {
  $output = '<h2 class="title">' . $title . '</h2><div>' . $content . '</div>';
  return $output;
}