summaryrefslogtreecommitdiffstats
path: root/usr/local/www/includes/functions.inc.php
diff options
context:
space:
mode:
authorN0YB <Al_Stu@Frontier.com>2014-06-08 14:47:57 -0700
committerN0YB <Al_Stu@Frontier.com>2014-06-08 14:47:57 -0700
commit1f47798a53edc1ea3a21162ed8a1e7aaad23b73b (patch)
tree9aeee63250bd0680e17f0e6a2b3e36e2d8da2f5f /usr/local/www/includes/functions.inc.php
parent2f9951fe0e401ed231d61b8c3ad75531a6dbb797 (diff)
downloadpfsense-1f47798a53edc1ea3a21162ed8a1e7aaad23b73b.zip
pfsense-1f47798a53edc1ea3a21162ed8a1e7aaad23b73b.tar.gz
Fix gateway widget size change on first update.
Inner table size changes on the first update because the table in update data does not have the same attributes as the widget. i.e. border, cellpadding, cellspacing, style & summary. Also remove an errant td end tag.
Diffstat (limited to 'usr/local/www/includes/functions.inc.php')
-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 78043e8..11f8ea6 100644
--- a/usr/local/www/includes/functions.inc.php
+++ b/usr/local/www/includes/functions.inc.php
@@ -72,7 +72,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\" style=\"table-layout: fixed;\" summary=\"status\"><tr><td bgcolor=\"$bgcolor\">&nbsp;$online&nbsp;</td></tr></table>";
}
return $data;
}
OpenPOWER on IntegriCloud