summaryrefslogtreecommitdiffstats
path: root/usr/local/www/includes
diff options
context:
space:
mode:
authorN0YB <Al_Stu@Frontier.com>2013-08-17 17:16:27 -0700
committerN0YB <Al_Stu@Frontier.com>2013-08-17 17:16:27 -0700
commite6cfcd2647e7d0b90619a059a3b0227c800069c5 (patch)
tree2429f1078e2f80d9ad1569d021b86bb3cdd73e43 /usr/local/www/includes
parent31202953719b1c30daf4e0f1bfeb64e95a969185 (diff)
downloadpfsense-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.
Diffstat (limited to 'usr/local/www/includes')
-rw-r--r--usr/local/www/includes/functions.inc.php2
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\">&nbsp;$online&nbsp;</td></td></tr></table>";
+ $data .= "<table border=\"0\" cellpadding=\"0\" cellspacing=\"2\" summary=\"status\"><tr><td bgcolor=\"$bgcolor\">&nbsp;$online&nbsp;</td></td></tr></table>";
}
return $data;
}
OpenPOWER on IntegriCloud