fixed YSF-connected to again and trying to fix TXInfo-issue on IE and Firefox...

This commit is contained in:
dg9vh 2016-10-20 19:42:58 +00:00
parent 3aeef4e50f
commit d98a3c65e1
3 changed files with 11 additions and 12 deletions

View file

@ -490,15 +490,9 @@ function getActualLink($logLines, $mode) {
// M: 2016-09-25 16:08:05.811 Connect to 62829 has been requested by DG9VH // M: 2016-09-25 16:08:05.811 Connect to 62829 has been requested by DG9VH
// M: 2016-10-01 17:52:36.586 Automatic connection to 62829 // M: 2016-10-01 17:52:36.586 Automatic connection to 62829
if (isProcessRunning(IRCDDBGATEWAY)) { if (isProcessRunning("YSFGateway")) {
foreach($logLines as $logLine) { foreach($logLines as $logLine) {
$to = ""; $to = "";
if (strpos($logLine,"Starting YSFGateway")) {
$to = -1;
}
if (strpos($logLine,"DISCONNECT Reply")) {
$to = -1;
}
if (strpos($logLine,"Connect to")) { if (strpos($logLine,"Connect to")) {
$to = substr($logLine, 38, 5); $to = substr($logLine, 38, 5);
} }
@ -508,6 +502,12 @@ function getActualLink($logLines, $mode) {
if ($to !== "") { if ($to !== "") {
return $to; return $to;
} }
if (strpos($logLine,"Starting YSFGateway")) {
$to = -1;
}
if (strpos($logLine,"DISCONNECT Reply")) {
$to = -1;
}
} }
return -1; return -1;
break; break;

View file

@ -15,8 +15,8 @@ echo"<!--";
var_dump($lastHeard); var_dump($lastHeard);
echo"-->"; echo"-->";
foreach ($lastHeard as $listElem) { foreach ($lastHeard as $listElem) {
echo "<tr>";
if (defined("ENABLEXTDLOOKUP") && $listElem[7] == null || !defined("ENABLEXTDLOOKUP") && $listElem[6] == null) { if (defined("ENABLEXTDLOOKUP") && $listElem[7] == null || !defined("ENABLEXTDLOOKUP") && $listElem[6] == null) {
echo "<tr>";
echo"<td nowrap>$listElem[0]</td>"; echo"<td nowrap>$listElem[0]</td>";
echo"<td nowrap>$listElem[1]</td>"; echo"<td nowrap>$listElem[1]</td>";
/*if (constant("SHOWQRZ") && $listElem[2] !== "??????????" && !is_numeric($listElem[2])) { /*if (constant("SHOWQRZ") && $listElem[2] !== "??????????" && !is_numeric($listElem[2])) {
@ -55,8 +55,7 @@ foreach ($lastHeard as $listElem) {
$diff = $d2->getTimestamp() - $d1->getTimestamp(); $diff = $d2->getTimestamp() - $d1->getTimestamp();
echo"<td nowrap>$diff s</td>"; echo"<td nowrap>$diff s</td>";
} }
echo "</tr>";
} }
echo "</tr>";
} }
?> ?>

View file

@ -1,3 +1,3 @@
<?php <?php
define("VERSION", "20161019-1"); define("VERSION", "20161020-1");
?> ?>