diff --git a/ajax.php b/ajax.php
index 31ee457..fe39866 100644
--- a/ajax.php
+++ b/ajax.php
@@ -30,6 +30,34 @@ if ($_GET['section'] == "mode") {
$mode = getActualMode(getLastHeard($reverseLogLinesMMDVM, TRUE), $mmdvmconfigs);
echo $mode;
}
+
+if ($_GET['section'] == "dstarlink") {
+ $link = getActualLink($reverseLogLinesMMDVM, "D-Star");
+ echo $link;
+}
+
+
+if ($_GET['section'] == "ysflink") {
+ $logLinesYSFGateway = getYSFGatewayLog();
+ $reverseLogLinesYSFGateway = $logLinesYSFGateway;
+ rsort($reverseLogLinesYSFGateway);
+ $activeYSFReflectors = getActiveYSFReflectors();
+ $link = getYSFReflectorById(getActualLink($reverseLogLinesYSFGateway, "YSF"), $activeYSFReflectors);
+ echo $link;
+}
+
+
+if ($_GET['section'] == "dmr1link") {
+ $link = getActualLink($reverseLogLinesMMDVM, "DMR Slot 1");
+ echo $link;
+}
+
+
+if ($_GET['section'] == "dmr2link") {
+ $link = getActualLink($reverseLogLinesMMDVM, "DMR Slot 2")."/". getActualReflector($reverseLogLinesMMDVM, "DMR Slot 2") ;
+ echo $link;
+}
+
if ($_GET['section'] == "lastHeard") {
$lastHeardList = getLastHeard($reverseLogLinesMMDVM, FALSE);
$lastHeard = Array();
diff --git a/include/repeaterinfo.php b/include/repeaterinfo.php
index 061db46..233cb2e 100644
--- a/include/repeaterinfo.php
+++ b/include/repeaterinfo.php
@@ -30,14 +30,14 @@
echo"
";
echo"".getActualMode($lastHeard, $mmdvmconfigs)." | ";
if (getEnabled("D-Star", $mmdvmconfigs) == 1) {
- echo"".getActualLink($reverseLogLinesMMDVM, "D-Star")." | ";
+ echo"".getActualLink($reverseLogLinesMMDVM, "D-Star")." | ";
}
if (getEnabled("System Fusion", $mmdvmconfigs) == 1) {
- echo"".getYSFReflectorById(getActualLink($reverseLogLinesYSFGateway, "YSF"), $activeYSFReflectors)." | ";
+ echo"".getYSFReflectorById(getActualLink($reverseLogLinesYSFGateway, "YSF"), $activeYSFReflectors)." | ";
}
if (getEnabled("DMR", $mmdvmconfigs) == 1) {
- echo"".getActualLink($reverseLogLinesMMDVM, "DMR Slot 1")." | ";
- echo"".getActualLink($reverseLogLinesMMDVM, "DMR Slot 2")."/". getActualReflector($reverseLogLinesMMDVM, "DMR Slot 2") ." | ";
+ echo"".getActualLink($reverseLogLinesMMDVM, "DMR Slot 1")." | ";
+ echo"".getActualLink($reverseLogLinesMMDVM, "DMR Slot 2")."/". getActualReflector($reverseLogLinesMMDVM, "DMR Slot 2") ." | ";
}
echo"
\n";
?>
diff --git a/include/txinfo.php b/include/txinfo.php
index b912c3e..b02098d 100644
--- a/include/txinfo.php
+++ b/include/txinfo.php
@@ -55,6 +55,22 @@ function refreshMode() {
doXMLHTTPRequest("ajax.php?section=mode","mode");
}
+function refreshDstarLink() {
+ doXMLHTTPRequest("ajax.php?section=dstarlink","dstarlink");
+}
+
+function refreshYSFLink() {
+ doXMLHTTPRequest("ajax.php?section=ysflink","ysflink");
+}
+
+function refreshDMR1Link() {
+ doXMLHTTPRequest("ajax.php?section=dmr1link","dmr1link");
+}
+
+function refreshDMR2Link() {
+ doXMLHTTPRequest("ajax.php?section=dmr2link","dmr2link");
+}
+
var transmitting = false;
function loadXMLDoc() {
var xmlhttp;
@@ -73,6 +89,26 @@ function loadXMLDoc() {
var timeout = window.setTimeout("loadXMLDoc()", 1000);
refreshMode();
+
+ refreshDstarLink();
+
+refreshYSFLink();
+
+refreshDMR1Link();
+ refreshDMR2Link();
+
}
loadXMLDoc();
diff --git a/version.php b/version.php
index a9c90bc..4a9f204 100644
--- a/version.php
+++ b/version.php
@@ -1,3 +1,3 @@