summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr/local/www/includes/functions.inc.php2
-rwxr-xr-xusr/local/www/status_gateway_groups.php2
-rwxr-xr-xusr/local/www/status_gateways.php2
-rw-r--r--usr/local/www/widgets/widgets/gateways.widget.php6
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>";
OpenPOWER on IntegriCloud