diff options
-rwxr-xr-x | usr/local/www/diag_logs_filter.php | 5 | ||||
-rw-r--r-- | usr/local/www/widgets/widgets/log.widget.php | 9 |
2 files changed, 13 insertions, 1 deletions
diff --git a/usr/local/www/diag_logs_filter.php b/usr/local/www/diag_logs_filter.php index b504d78..48deb73 100755 --- a/usr/local/www/diag_logs_filter.php +++ b/usr/local/www/diag_logs_filter.php @@ -391,6 +391,11 @@ include("head.inc"); </tr> <?php endif; endforeach; + if ($rowIndex == 0) { + ?> + <tr><td></td></tr> + <?php + } buffer_rules_clear(); ?> </tbody> <?php else: ?> 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> |