Mercurial > defr > drupal > core
comparison modules/system/box.tpl.php @ 1:c1f4ac30525a 6.0
Drupal 6.0
| author | Franck Deroche <webmaster@defr.org> |
|---|---|
| date | Tue, 23 Dec 2008 14:28:28 +0100 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 0:5a113a1c4740 | 1:c1f4ac30525a |
|---|---|
| 1 <?php | |
| 2 // $Id: box.tpl.php,v 1.3 2007/12/16 21:01:45 goba Exp $ | |
| 3 | |
| 4 /** | |
| 5 * @file box.tpl.php | |
| 6 * | |
| 7 * Theme implementation to display a box. | |
| 8 * | |
| 9 * Available variables: | |
| 10 * - $title: Box title. | |
| 11 * - $content: Box content. | |
| 12 * | |
| 13 * @see template_preprocess() | |
| 14 */ | |
| 15 ?> | |
| 16 <div class="box"> | |
| 17 | |
| 18 <?php if ($title): ?> | |
| 19 <h2><?php print $title ?></h2> | |
| 20 <?php endif; ?> | |
| 21 | |
| 22 <div class="content"><?php print $content ?></div> | |
| 23 </div> |
