Implement printer friendly through CSS also for non-javascript. This
[squirrelmail.git] / templates / default / table_data.tpl
1 <?php
2
3 /**
4 * table_data.tpl
5 *
6 * Template for constructing an opening table data tag.
7 *
8 * The following variables are available in this template:
9 * array $attributes The table attributes
10 *
11 * @copyright &copy; 1999-2008 The SquirrelMail Project Team
12 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
13 * @version $Id: table_data.tpl 12078 2007-01-07 07:28:11Z pdontthink $
14 * @package squirrelmail
15 * @subpackage templates
16 */
17
18
19 // retrieve the template vars
20 //
21 extract($t);
22
23
24 echo '<td';
25
26 foreach ($attributes as $key => $value) {
27 echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');
28 }
29
30 echo ">\n";
31