Seriously? The variable is named as an array and initialized as a string? Well, I...
[squirrelmail.git] / templates / default / table_row.tpl
... / ...
CommitLineData
1<?php
2
3/**
4 * table_row.tpl
5 *
6 * Template for constructing an opening table row tag.
7 *
8 * The following variables are available in this template:
9 * array $attributes The table attributes
10 *
11 * @copyright 1999-2017 The SquirrelMail Project Team
12 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
13 * @version $Id$
14 * @package squirrelmail
15 * @subpackage templates
16 */
17
18
19// retrieve the template vars
20//
21extract($t);
22
23
24echo '<tr';
25
26foreach ($attributes as $key => $value) {
27 echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');
28}
29
30echo ">\n";
31