From 68f291ffe2e8e6e5d9470076365fd1127e7f3655 Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 9 Sep 2010 21:25:49 +0000 Subject: Ticket #876. Show all gateways even though apinger is not monitoring them, for various reasons, this removes user confusion in the status pages. --- usr/local/www/status_gateways.php | 48 +++++++++++++++++++++++---------------- 1 file changed, 28 insertions(+), 20 deletions(-) (limited to 'usr/local/www/status_gateways.php') diff --git a/usr/local/www/status_gateways.php b/usr/local/www/status_gateways.php index eac1b2f..4faef8f 100755 --- a/usr/local/www/status_gateways.php +++ b/usr/local/www/status_gateways.php @@ -43,7 +43,7 @@ require("guiconfig.inc"); $a_gateways = return_gateways_array(); $gateways_status = array(); -$gateways_status = return_gateways_status(); +$gateways_status = return_gateways_status(true); $now = time(); $year = date("Y"); @@ -74,34 +74,44 @@ include("head.inc"); - - $gateway) { + + $gateway) { ?> - + - + "; ?>
$online "; $lastchange = $gateway['lastcheck']; @@ -111,14 +121,12 @@ include("head.inc"); array_shift($lastchange); $lastchange = implode(" ", $lastchange); printf(gettext("Last check %s"), $lastchange); - } else { - echo gettext("Gathering data"); } echo "
- + -- cgit v1.1