diff --git a/include/repeaterinfo.php b/include/repeaterinfo.php index 386fd99..629f74f 100644 --- a/include/repeaterinfo.php +++ b/include/repeaterinfo.php @@ -6,18 +6,38 @@
Current Mode | +D-Star linked to | +YSF linked to | +DMR TS1 last linked to | DMR TS2 last linked to | +".getActualMode($lastHeard, $mmdvmconfigs)." | "; - echo"".getActualLink($reverseLogLinesMMDVM, "D-Star")." | "; - echo"".getYSFReflectorById(getActualLink($reverseLogLinesYSFGateway, "YSF"), $activeYSFReflectors)." | "; - echo"".getActualLink($reverseLogLinesMMDVM, "DMR Slot 1")." | "; - echo"".getActualLink($reverseLogLinesMMDVM, "DMR Slot 2")."/". getActualReflector($reverseLogLinesMMDVM, "DMR Slot 2") ." | "; + if (getEnabled("D-Star", $mmdvmconfigs) == 1) { + echo"".getActualLink($reverseLogLinesMMDVM, "D-Star")." | "; + } + if (getEnabled("System Fusion", $mmdvmconfigs) == 1) { + 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"\n"; ?>
---|---|---|---|---|