Mercurial > defr > drupal > core
annotate modules/system/box.tpl.php @ 16:8f09b8a89d76
Added tag 6.7 for changeset 4347c45bb494
| author | Franck Deroche <webmaster@defr.org> | 
|---|---|
| date | Tue, 23 Dec 2008 14:32:44 +0100 | 
| parents | c1f4ac30525a | 
| children | 
| rev | line source | 
|---|---|
| webmaster@1 | 1 <?php | 
| webmaster@1 | 2 // $Id: box.tpl.php,v 1.3 2007/12/16 21:01:45 goba Exp $ | 
| webmaster@1 | 3 | 
| webmaster@1 | 4 /** | 
| webmaster@1 | 5 * @file box.tpl.php | 
| webmaster@1 | 6 * | 
| webmaster@1 | 7 * Theme implementation to display a box. | 
| webmaster@1 | 8 * | 
| webmaster@1 | 9 * Available variables: | 
| webmaster@1 | 10 * - $title: Box title. | 
| webmaster@1 | 11 * - $content: Box content. | 
| webmaster@1 | 12 * | 
| webmaster@1 | 13 * @see template_preprocess() | 
| webmaster@1 | 14 */ | 
| webmaster@1 | 15 ?> | 
| webmaster@1 | 16 <div class="box"> | 
| webmaster@1 | 17 | 
| webmaster@1 | 18 <?php if ($title): ?> | 
| webmaster@1 | 19 <h2><?php print $title ?></h2> | 
| webmaster@1 | 20 <?php endif; ?> | 
| webmaster@1 | 21 | 
| webmaster@1 | 22 <div class="content"><?php print $content ?></div> | 
| webmaster@1 | 23 </div> | 
