branch | drupal |
changeset 74 | 0ff3ba646492 |
73:fcf75e232c5b | 74:0ff3ba646492 |
---|---|
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> |