Révision 1f47798a
Ajouté par N0YB il y a presque 10 ans
usr/local/www/includes/functions.inc.php | ||
---|---|---|
72 | 72 |
$bgcolor = "#ADD8E6"; // lightblue |
73 | 73 |
} |
74 | 74 |
$data .= ($online == "Pending") ? "{$online},{$online}," : "{$gws['delay']},{$gws['loss']},"; |
75 |
$data .= "<table><tr><td bgcolor=\"$bgcolor\"> $online </td></td></tr></table>";
|
|
75 |
$data .= "<table border=\"0\" cellpadding=\"0\" cellspacing=\"2\" style=\"table-layout: fixed;\" summary=\"status\"><tr><td bgcolor=\"$bgcolor\"> $online </td></tr></table>";
|
|
76 | 76 |
} |
77 | 77 |
return $data; |
78 | 78 |
} |
Formats disponibles : Unified diff
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.