From c7fa58acbb66d1236562031c4752698d07b56def Mon Sep 17 00:00:00 2001 From: Jean Cyr Date: Sun, 28 Sep 2014 23:35:10 -0400 Subject: Fix up NTP status page formatting Number of columns is not the same for all table rows --- usr/local/www/status_ntpd.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'usr/local') diff --git a/usr/local/www/status_ntpd.php b/usr/local/www/status_ntpd.php index c3e850f..1bda7a4 100644 --- a/usr/local/www/status_ntpd.php +++ b/usr/local/www/status_ntpd.php @@ -248,13 +248,15 @@ include("head.inc"); (° ) (° ) ' . $gps_alt . ' ' . $gps_alt_unit . '';}?> - '; + if (isset($gps_satview)) {echo 'in view ' . intval($gps_satview);} + if (isset($gps_sat) && isset($gps_satview)) {echo ', ';} + if (isset($gps_sat)) {echo 'in use ' . $gps_sat;} + echo ''; + } ?> - Google Maps Link -- cgit v1.1