File: box.tpl.php

package info (click to toggle)
drupal6 6.31-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 5,208 kB
  • ctags: 376
  • sloc: pascal: 16,677; php: 4,360; sh: 256; perl: 126; makefile: 14
file content (22 lines) | stat: -rw-r--r-- 347 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?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>