From edab4de15779bb0f4399cc39d13ebf55bd63c92b Mon Sep 17 00:00:00 2001 From: phl0 Date: Mon, 16 Jan 2017 18:17:05 +0100 Subject: [PATCH 1/2] Replace whitespace with html special chars --- include/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/functions.php b/include/functions.php index 7faaba1..1270f82 100644 --- a/include/functions.php +++ b/include/functions.php @@ -375,6 +375,7 @@ function getHeardList($logLines, $onlyLast) { $target = substr($logLine, $topos + 3); + $target = preg_replace('/\s/', ' ', $target); $source = "RF"; if (strpos($logLine,"network") > 0 ) { $source = "Net"; From f05652d7c0a17150ed23ef2803bb71ec8f3f49ad Mon Sep 17 00:00:00 2001 From: phl0 Date: Mon, 16 Jan 2017 21:04:04 +0100 Subject: [PATCH 2/2] Use monospaced font in table to align D-Star Calls correctly --- css/monospacetables.css | 14 ++++++++++++++ include/lh_ajax.php | 2 +- include/localtx_ajax.php | 2 +- include/txinfo.php | 2 +- index.php | 2 ++ 5 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 css/monospacetables.css diff --git a/css/monospacetables.css b/css/monospacetables.css new file mode 100644 index 0000000..6738fd0 --- /dev/null +++ b/css/monospacetables.css @@ -0,0 +1,14 @@ +.localTx { + font-family: monospace; + font-size: 14px; +} + +.lastHeard { + font-family: monospace; + font-size: 14px; +} + +.curTx { + font-family: monospace; + font-size: 14px; +} diff --git a/include/lh_ajax.php b/include/lh_ajax.php index fe75b10..680d9b2 100644 --- a/include/lh_ajax.php +++ b/include/lh_ajax.php @@ -6,7 +6,7 @@ $totalLH = count($lastHeard);
Last Heard List of today's callsigns.
- +
diff --git a/include/localtx_ajax.php b/include/localtx_ajax.php index a14284d..1ef5e27 100644 --- a/include/localtx_ajax.php +++ b/include/localtx_ajax.php @@ -6,7 +6,7 @@ $totalLH = count($lastHeard);
Today's local transmissions
-
Time ()
+
diff --git a/include/txinfo.php b/include/txinfo.php index 7cb60d1..e98b0bd 100644 --- a/include/txinfo.php +++ b/include/txinfo.php @@ -3,7 +3,7 @@
Currently TXing
-
Time ()
+
diff --git a/index.php b/index.php index 940ee61..cee54e7 100644 --- a/index.php +++ b/index.php @@ -23,6 +23,8 @@ include "version.php"; + +
Time ()