diff options
author | N0YB <Al_Stu@Frontier.com> | 2013-08-17 17:16:27 -0700 |
---|---|---|
committer | N0YB <Al_Stu@Frontier.com> | 2013-08-17 17:16:27 -0700 |
commit | e6cfcd2647e7d0b90619a059a3b0227c800069c5 (patch) | |
tree | 2429f1078e2f80d9ad1569d021b86bb3cdd73e43 | |
parent | 31202953719b1c30daf4e0f1bfeb64e95a969185 (diff) | |
download | pfsense-e6cfcd2647e7d0b90619a059a3b0227c800069c5.zip pfsense-e6cfcd2647e7d0b90619a059a3b0227c800069c5.tar.gz |
Update functions.inc.php
Fix gateway widget size change on first update.
Inner table size changes because the table in update data does not have the same attributes as the widget. i.e. border, cellpadding & cellspacing.
-rw-r--r-- | usr/local/www/includes/functions.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/includes/functions.inc.php b/usr/local/www/includes/functions.inc.php index 2d3295a..23178dc 100644 --- a/usr/local/www/includes/functions.inc.php +++ b/usr/local/www/includes/functions.inc.php @@ -71,7 +71,7 @@ function get_gatewaystats() { $bgcolor = "#ADD8E6"; // lightblue } $data .= ($online == "Pending") ? "{$online},{$online}," : "{$gws['delay']},{$gws['loss']},"; - $data .= "<table><tr><td bgcolor=\"$bgcolor\"> $online </td></td></tr></table>"; + $data .= "<table border=\"0\" cellpadding=\"0\" cellspacing=\"2\" summary=\"status\"><tr><td bgcolor=\"$bgcolor\"> $online </td></td></tr></table>"; } return $data; } |