theme_box

5 theme.inc theme_box($title, $content, $region = 'main')
6 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

7 theme calls to theme_box()

File

includes/theme.inc, line 701
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;
}
Login or register to post comments