From 18c96124ce50c5b3991e0fc3c8760e8bfce68fa7 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Fri, 6 May 2016 20:39:29 +0200 Subject: [PATCH] Reformatting linked to-output in D-Star --- include/functions.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/functions.php b/include/functions.php index a6c57bc..d2a1f32 100644 --- a/include/functions.php +++ b/include/functions.php @@ -163,7 +163,7 @@ function getActualMode($logLines) { } function getDSTARLinks() { - $out = ""; + $out = ""; if ($linkLog = fopen(LINKLOGPATH,'r')) { while ($linkLine = fgets($linkLog)) { $linkDate = " "; @@ -205,9 +205,10 @@ function getDSTARLinks() { $linkDest = $linx[4][0]; $linkDir = $linx[5][0]; } - $out .= $protocol . "-link to >" . $linkDest . "< " . $linkDir . "
"; + $out .= ""; } } + $out .= "
" . $linkSource . " " . $protocol . "-link to >" . $linkDest . "< " . $linkDir . "
"; return $out; }