Same filename in this branch
Theme implementation to display a box.
Available variables:
- $title: Box title.
- $content: Box content.
See also
3 theme calls to box.tpl.php
- comment_form_box in modules/
comment/ comment.module - Theme the comment form box.
- search_view in modules/
search/ search.pages.inc - Menu callback; presents the search form and/or search results.
- theme_comment_controls in modules/
comment/ comment.module - Theme comment controls box where the user can change the default display mode and display order of comments.
File
modules/system/box.tpl.phpView source
<?php
/**
* @file box.tpl.php
*
* Theme implementation to display a box.
*
* Available variables:
* - $title: Box title.
* - $content: Box content.
*
* @see template_preprocess()
*/
?>
<div class="box">
<?php
if ($title) {
?>
<h2><?php
print $title;
?></h2>
<?php
}
?>
<div class="content"><?php
print $content;
?></div>
</div>