Box.tpl.php

Prints a simple html box around a page element. The only well known instances of its use is for the core instances of search results and comment forms. For instance: The comment view options are surrounded by box.tpl.php.

Available variables

$title
The title of the box.
$content
The content of the box.
$region
Region. main, left or right.

Default template

<div class="box">
  <h2><?php print $title ?></h2>
  <div class="content"><?php print $content ?></div>
</div>

 
 

Drupal is a registered trademark of Dries Buytaert.