From 0410c1e73e0fcae89446b3798bea04b5bb6fa109 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Mon, 9 May 2016 15:46:49 +0200 Subject: [PATCH] Some cosmetics on webpage, tnx Ron, VE1AIC --- include/lh.php | 6 +++--- include/repeaterinfo.php | 4 ++-- include/tools.php | 6 +++--- index.php | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/include/lh.php b/include/lh.php index c4aafc3..59a2979 100644 --- a/include/lh.php +++ b/include/lh.php @@ -3,10 +3,10 @@ $lastHeard = getLastHeard($logLines); ?>
-
Last Heard List
-
+
Last Heard List of today's callsigns.
+ diff --git a/include/repeaterinfo.php b/include/repeaterinfo.php index 2989059..2cd3ab7 100644 --- a/include/repeaterinfo.php +++ b/include/repeaterinfo.php @@ -1,9 +1,9 @@
Repeater Info
-
+
diff --git a/include/tools.php b/include/tools.php index c4d7c0e..ccfa6fd 100644 --- a/include/tools.php +++ b/include/tools.php @@ -12,15 +12,15 @@ function format_time($seconds) { } if ($hours > 0) { $uptimeString .= (($days > 0) ? ", " : "") . $hours; - $uptimeString .= (($hours == 1) ? " hour" : " hours"); + $uptimeString .= (($hours == 1) ? " hr" : " hrs"); } if ($mins > 0) { $uptimeString .= (($days > 0 || $hours > 0) ? ", " : "") . $mins; - $uptimeString .= (($mins == 1) ? " minute" : " minutes"); + $uptimeString .= (($mins == 1) ? " min" : " mins"); } if ($secs > 0) { $uptimeString .= (($days > 0 || $hours > 0 || $mins > 0) ? ", " : "") . $secs; - $uptimeString .= (($secs == 1) ? " second" : " seconds"); + $uptimeString .= (($secs == 1) ? " s" : " s"); } return $uptimeString; } diff --git a/index.php b/index.php index 14e0ea2..7c19294 100644 --- a/index.php +++ b/index.php @@ -25,7 +25,7 @@ include "include/functions.php";