Reformatting linked to-output in D-Star
This commit is contained in:
parent
5378637aed
commit
18c96124ce
1 changed files with 3 additions and 2 deletions
|
@ -163,7 +163,7 @@ function getActualMode($logLines) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getDSTARLinks() {
|
function getDSTARLinks() {
|
||||||
$out = "";
|
$out = "<table>";
|
||||||
if ($linkLog = fopen(LINKLOGPATH,'r')) {
|
if ($linkLog = fopen(LINKLOGPATH,'r')) {
|
||||||
while ($linkLine = fgets($linkLog)) {
|
while ($linkLine = fgets($linkLog)) {
|
||||||
$linkDate = " ";
|
$linkDate = " ";
|
||||||
|
@ -205,9 +205,10 @@ function getDSTARLinks() {
|
||||||
$linkDest = $linx[4][0];
|
$linkDest = $linx[4][0];
|
||||||
$linkDir = $linx[5][0];
|
$linkDir = $linx[5][0];
|
||||||
}
|
}
|
||||||
$out .= $protocol . "-link to >" . $linkDest . "< " . $linkDir . "<br>";
|
$out .= "<tr><td>" . $linkSource . "</td><td> " . $protocol . "-link</td><td> to </td><td>>" . $linkDest . "<</td><td> " . $linkDir . "</td></tr>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$out .= "</table>";
|
||||||
return $out;
|
return $out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue