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-10-01 17:52:36.586 Automatic connection to 62829
if (isProcessRunning(IRCDDBGATEWAY)) {
if (isProcessRunning("YSFGateway")) {
foreach($logLines as $logLine) {
$to = "";
if (strpos($logLine,"Starting YSFGateway")) {
$to = -1;
}
if (strpos($logLine,"DISCONNECT Reply")) {
$to = -1;
}
if (strpos($logLine,"Connect to")) {
$to = substr($logLine, 38, 5);
}
@ -508,6 +502,12 @@ function getActualLink($logLines, $mode) {
if ($to !== "") {
return $to;
}
if (strpos($logLine,"Starting YSFGateway")) {
$to = -1;
}
if (strpos($logLine,"DISCONNECT Reply")) {
$to = -1;
}
}
return -1;
break;

View file

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

View file

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