From c33f23912e10b55903b19fa20d16d32431f0680f Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Wed, 27 Jan 2016 22:21:46 +0545 Subject: status_ntpd whitespace Various lines were not on tab stops, some PHP end tags were on the end of lines and others on new lines... I found it a bit hard to read when tracking through a previous missing PHP start tag. Maybe this is better? or maybe I have gone too crazy re-formatting it? --- src/usr/local/www/status_ntpd.php | 178 +++++++++++++++++++++----------------- 1 file changed, 100 insertions(+), 78 deletions(-) (limited to 'src/usr/local/www/status_ntpd.php') diff --git a/src/usr/local/www/status_ntpd.php b/src/usr/local/www/status_ntpd.php index 3f163df..e1fe2b9 100644 --- a/src/usr/local/www/status_ntpd.php +++ b/src/usr/local/www/status_ntpd.php @@ -209,38 +209,45 @@ include("head.inc"); - + ', '');?> - + ', '');?> - - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -252,13 +259,14 @@ include("head.inc"); // GPS satellite information (if available) if (($gps_ok) && ($gps_lat) && ($gps_lon)): - $gps_goo_lnk = 2; ?> + $gps_goo_lnk = 2; +?> -
-

-
- - +
+

+
+
+ - - - + + - - - + if (isset($gps_sat) || isset($gps_satview)) { +?> + + + + - - - - + + + + - - - + + - - - - - - -
@@ -266,62 +274,76 @@ if (($gps_ok) && ($gps_lat) && ($gps_lon)): - - + + - -
+ +
- (° ) - - (° ) -
+ (° ) + + (° ) + - - + + + + -
-
+ if (isset($gps_sat) && isset($gps_satview)) { + print(', '); + } + if (isset($gps_sat)) { + print(gettext('in use ') . $gps_sat); + } +?> + + + + + + + +
+ - +include("foot.inc"); +?> -- cgit v1.1