diff options
author | N0YB <Al_Stu@Frontier.com> | 2014-02-13 21:19:06 -0800 |
---|---|---|
committer | N0YB <Al_Stu@Frontier.com> | 2014-02-13 21:19:06 -0800 |
commit | c5523ea6e7c93733320d900151b2b51b6df2e914 (patch) | |
tree | 86ec9c698c36f7eb11f728350e0653a44aab5bc4 /usr/local | |
parent | 5833def1a5ccd4b625ff07349c4060a33772d897 (diff) | |
download | pfsense-c5523ea6e7c93733320d900151b2b51b6df2e914.zip pfsense-c5523ea6e7c93733320d900151b2b51b6df2e914.tar.gz |
XHTML Compliance
Create an empty row in tbody when there are no firewall log entries displayed.
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/widgets/widgets/log.widget.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/usr/local/www/widgets/widgets/log.widget.php b/usr/local/www/widgets/widgets/log.widget.php index c0682ba..eda3814 100644 --- a/usr/local/www/widgets/widgets/log.widget.php +++ b/usr/local/www/widgets/widgets/log.widget.php @@ -197,7 +197,14 @@ function format_log_line(row) { $filterent['proto'] .= ":{$filterent['tcpflags']}"; ?> </tr> - <?php endforeach; ?> + <?php + endforeach; + if ($rowIndex == 0) { + ?> + <tr><td></td></tr> + <?php + } + ?> </tbody> </table> |