From e6cfcd2647e7d0b90619a059a3b0227c800069c5 Mon Sep 17 00:00:00 2001 From: N0YB Date: Sat, 17 Aug 2013 17:16:27 -0700 Subject: [PATCH 1/2] 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. --- usr/local/www/includes/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/www/includes/functions.inc.php b/usr/local/www/includes/functions.inc.php index 2d3295a792..23178dc0a1 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 .= "
 $online 
"; + $data .= "
 $online 
"; } return $data; } From ffd2f32057dea99680fd4687d0e27927f1cf2c62 Mon Sep 17 00:00:00 2001 From: N0YB Date: Sat, 17 Aug 2013 19:01:56 -0700 Subject: [PATCH 2/2] Update functions.inc.php May as well remove this errant td end tag too. --- usr/local/www/includes/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/www/includes/functions.inc.php b/usr/local/www/includes/functions.inc.php index 23178dc0a1..4843a78597 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 .= "
 $online 
"; + $data .= "
 $online 
"; } return $data; }