b0215f91 |
1 | <?php |
2 | |
3 | /** |
4 | * span.tpl |
5 | * |
6 | * Template for constructing a span tag. |
7 | * |
8 | * The following variables are available in this template: |
9 | * + $value - The contents that belong inside the span |
10 | * + $class - CSS class name (optional; may not be present) |
11 | * + $id - ID name (optional; may not be present) |
12 | * |
13 | * @copyright © 1999-2006 The SquirrelMail Project Team |
14 | * @license http://opensource.org/licenses/gpl-license.php GNU Public License |
15 | * @version $Id$ |
16 | * @package squirrelmail |
17 | * @subpackage templates |
18 | */ |
19 | |
20 | |
21 | // retrieve the template vars |
22 | // |
23 | extract($t); |
24 | |
25 | |
26 | ?><span<?php if (!empty($class)) echo ' class="' . $class . '"'; ?><?php if (!empty($id)) echo ' id="' . $id . '"'; ?>><?php echo $value; ?></span> |