diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-11-09 15:48:38 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-11-09 15:48:38 -0500 |
commit | ba6c5357c5c9fd342678f8bad20066f1f56c31cd (patch) | |
tree | 7fddd293cfcf8f5079d00aa95b37d956488f8fc1 /src/usr/local/www/guiconfig.inc | |
parent | d254b99e18e5a4924510c26f7dbcba90aea1e53e (diff) | |
download | pfsense-ba6c5357c5c9fd342678f8bad20066f1f56c31cd.zip pfsense-ba6c5357c5c9fd342678f8bad20066f1f56c31cd.tar.gz |
Fixed #5395
Diffstat (limited to 'src/usr/local/www/guiconfig.inc')
-rw-r--r-- | src/usr/local/www/guiconfig.inc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/usr/local/www/guiconfig.inc b/src/usr/local/www/guiconfig.inc index 2d29550..363395a 100644 --- a/src/usr/local/www/guiconfig.inc +++ b/src/usr/local/www/guiconfig.inc @@ -687,9 +687,10 @@ function dump_clog($logfile, $tail, $withorig = true, $grepfor = "", $grepinvert } } } + foreach ($logarr as $logent) { $logent = preg_split("/\s+/", $logent, 6); - echo "<tr valign=\"top\">\n"; + echo "<tr>\n"; if ($withorig) { if (isset($config['system']['usefifolog'])) { $entry_date_time = htmlspecialchars(date("F j, Y, g:i a", "" . $logent[1] . "")); @@ -699,10 +700,10 @@ function dump_clog($logfile, $tail, $withorig = true, $grepfor = "", $grepinvert $entry_text = ($logent[3] == $config['system']['hostname']) ? "" : $logent[3] . " "; $entry_text .= htmlspecialchars($logent[4] . " " . $logent[5]); } - echo "<td class=\"listlr nowrap\">{$entry_date_time}</td>\n"; - echo "<td class=\"listr\">{$entry_text}</td>\n"; + echo "<td>{$entry_date_time}</td>\n"; + echo "<td>{$entry_text}</td>\n"; } else { - echo "<td class=\"listlr\" colspan=\"2\">" . htmlspecialchars($logent[5]) . "</td>\n"; + echo "<td>" . htmlspecialchars($logent[5]) . "</td>\n"; } echo "</tr>\n"; } |