theme_box

Versions
4.6 – 6
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

Code

includes/theme.inc, line 701

<?php
function theme_box($title, $content, $region = 'main') {
  $output = '<h2 class="title">'. $title .'</h2><div>'. $content .'</div>';
  return $output;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.