diff options
author | Ermal <eri@pfsense.org> | 2010-06-16 11:24:00 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-06-16 11:24:00 +0000 |
commit | 096ee9c22de0afd71a17518bcb112807e46fe49a (patch) | |
tree | ba7534932f37f3cc6eddde2f15cf51e767db580c /usr/local/www/widgets | |
parent | a138f4fbc077f89ff413355ba738e00d36317973 (diff) | |
download | pfsense-096ee9c22de0afd71a17518bcb112807e46fe49a.zip pfsense-096ee9c22de0afd71a17518bcb112807e46fe49a.tar.gz |
Make some non functional changes, mostly to keep up with latest gw changes. Related to Ticket #666
Diffstat (limited to 'usr/local/www/widgets')
-rw-r--r-- | usr/local/www/widgets/widgets/gateways.widget.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/widgets/widgets/gateways.widget.php b/usr/local/www/widgets/widgets/gateways.widget.php index b8bca28..a744d5b 100644 --- a/usr/local/www/widgets/widgets/gateways.widget.php +++ b/usr/local/www/widgets/widgets/gateways.widget.php @@ -54,11 +54,11 @@ $counter = 1; <tr> <td class="listlr" id="gateway<?= $counter; ?>"> <?=$gateway['name'];?> - <?php $counter++; ?> + <?php $counter++; ?> </td> <td class="listr" align="center" id="gateway<?= $counter; ?>"> - <?php echo lookup_gateway_ip_by_name($gateway['name']);?> - <?php $counter++; ?> + <?php echo lookup_gateway_ip_by_name($gateway['name']);?> + <?php $counter++; ?> </td> <td class="listr" align="center" id="gateway<?= $counter; ?>"> <?=$gateway['delay'];?> @@ -80,7 +80,7 @@ $counter = 1; } elseif (stristr($gateway['status'], "delay")) { $online = "Warning, Latency"; $bgcolor = "khaki"; - } elseif (stristr($gateway['status'], "none")) { + } elseif ($gateway['status'] == "none") { $online = "Online"; $bgcolor = "lightgreen"; } else |