diff options
author | Ermal <eri@pfsense.org> | 2010-09-16 16:31:22 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-09-16 16:31:22 +0000 |
commit | 7ec17767bf222e8fbcdb854c291372d119c1d50d (patch) | |
tree | 2ec17cd0a1424452f107a48bb16cf28d2dbd1016 | |
parent | bc0fd36f0b6969bf23972f84d7d90adc280e2c2d (diff) | |
download | pfsense-7ec17767bf222e8fbcdb854c291372d119c1d50d.zip pfsense-7ec17767bf222e8fbcdb854c291372d119c1d50d.tar.gz |
Show status as Gathering data rather than unknown since the later seems to scary people!
-rw-r--r-- | usr/local/www/includes/functions.inc.php | 2 | ||||
-rwxr-xr-x | usr/local/www/status_gateway_groups.php | 2 | ||||
-rwxr-xr-x | usr/local/www/status_gateways.php | 2 | ||||
-rw-r--r-- | usr/local/www/widgets/widgets/gateways.widget.php | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/usr/local/www/includes/functions.inc.php b/usr/local/www/includes/functions.inc.php index 8eff06a..f8d162c 100644 --- a/usr/local/www/includes/functions.inc.php +++ b/usr/local/www/includes/functions.inc.php @@ -61,7 +61,7 @@ function get_gatewaystats() { break; } } else { - $online = "Unknown"; + $online = "Gathering data"; $bgcolor = "lightgray"; } $data .= "<table><tr><td bgcolor=\"$bgcolor\" > $online </td></td></tr></table>"; diff --git a/usr/local/www/status_gateway_groups.php b/usr/local/www/status_gateway_groups.php index f8d29de..6789919 100755 --- a/usr/local/www/status_gateway_groups.php +++ b/usr/local/www/status_gateway_groups.php @@ -132,7 +132,7 @@ include("head.inc"); $online = gettext("Online"); $bgcolor = "lightgreen"; } else { - $online = gettext("Unknown"); + $online = gettext("Gathering data"); $bgcolor = "lightblue"; } echo "<td bgcolor='$bgcolor'>". htmlspecialchars($member) .", $online</td>"; diff --git a/usr/local/www/status_gateways.php b/usr/local/www/status_gateways.php index 4faef8f..7e0ffc2 100755 --- a/usr/local/www/status_gateways.php +++ b/usr/local/www/status_gateways.php @@ -110,7 +110,7 @@ include("head.inc"); $bgcolor = "lightgreen"; } } else { - $online = gettext("Unknown"); + $online = gettext("Gathering data"); $bgcolor = "lightgray"; } echo "<tr><td bgcolor=\"$bgcolor\" > $online </td><td>"; diff --git a/usr/local/www/widgets/widgets/gateways.widget.php b/usr/local/www/widgets/widgets/gateways.widget.php index bd643fb..db6a83a 100644 --- a/usr/local/www/widgets/widgets/gateways.widget.php +++ b/usr/local/www/widgets/widgets/gateways.widget.php @@ -63,7 +63,7 @@ $counter = 1; <?php if ($gateways_status[$gname]) echo $gateways_status[$gname]['delay']; else - echo "Unknown"; + echo gettext("Gathering data"); ?> <?php $counter++; ?> </td> @@ -71,7 +71,7 @@ $counter = 1; <?php if ($gateways_status[$gname]) echo $gateways_status[$gname]['loss']; else - echo "Unknown"; + echo gettext("Gathering data"); ?> <?php $counter++; ?> </td> @@ -92,7 +92,7 @@ $counter = 1; $bgcolor = "lightgreen"; } } else { - $online = "Unknown"; + $online = gettext("Gathering data"); $bgcolor = "lightgray"; } echo "<tr><td bgcolor=\"$bgcolor\" > $online </td>"; |