box.tpl.php
- 6.x drupal-6.x/modules/system/box.tpl.php
- 6.x drupal-6.x/themes/bluemarine/box.tpl.php
- 6.x drupal-6.x/themes/pushbutton/box.tpl.php
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 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/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 endif; ?>
-
- <div class="content"><?php print $content ?></div>
- </div>
-