Mercurial > defr > drupal > core
view modules/system/box.tpl.php @ 20:e3d20ebd63d1 tip
Added tag 6.9 for changeset 3edae6ecd6c6
author | Franck Deroche <franck@defr.org> |
---|---|
date | Thu, 15 Jan 2009 10:16:10 +0100 |
parents | c1f4ac30525a |
children |
line wrap: on
line source
<?php // $Id: box.tpl.php,v 1.3 2007/12/16 21:01:45 goba Exp $ /** * @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>