Does not Show Slot1-linked to, if disabled in MMDVM.ini

This commit is contained in:
dg9vh 2017-07-27 17:32:57 +02:00
parent 5aa7ced9e3
commit 8567c32d94
2 changed files with 8 additions and 2 deletions

View file

@ -19,8 +19,12 @@
<?php <?php
} }
if (getEnabled("DMR", $mmdvmconfigs) == 1) { if (getEnabled("DMR", $mmdvmconfigs) == 1) {
if (getConfigItem("DMR Network", "Slot1", $mmdvmconfigs) == "1") {
?> ?>
<th><?php echo _("DMR TS1 last linked to"); ?></th> <th><?php echo _("DMR TS1 last linked to"); ?></th>
<?php
}
?>
<th><?php echo _("DMR TS2 last linked to"); ?></th> <th><?php echo _("DMR TS2 last linked to"); ?></th>
<?php <?php
} }
@ -36,7 +40,9 @@
echo"<td id=\"ysflink\">".getYSFReflectorById(getActualLink($reverseLogLinesYSFGateway, "YSF"), $activeYSFReflectors)."</td>"; echo"<td id=\"ysflink\">".getYSFReflectorById(getActualLink($reverseLogLinesYSFGateway, "YSF"), $activeYSFReflectors)."</td>";
} }
if (getEnabled("DMR", $mmdvmconfigs) == 1) { if (getEnabled("DMR", $mmdvmconfigs) == 1) {
if (getConfigItem("DMR Network", "Slot1", $mmdvmconfigs) == "1") {
echo"<td id=\"dmr1link\">".getActualLink($reverseLogLinesMMDVM, "DMR Slot 1")."</td>"; echo"<td id=\"dmr1link\">".getActualLink($reverseLogLinesMMDVM, "DMR Slot 1")."</td>";
}
echo"<td id=\"dmr2link\">".getActualLink($reverseLogLinesMMDVM, "DMR Slot 2")."/". getActualReflector($reverseLogLinesMMDVM, "DMR Slot 2") ."</td>"; echo"<td id=\"dmr2link\">".getActualLink($reverseLogLinesMMDVM, "DMR Slot 2")."/". getActualReflector($reverseLogLinesMMDVM, "DMR Slot 2") ."</td>";
} }
echo"</tr>\n"; echo"</tr>\n";

View file

@ -1,3 +1,3 @@
<?php <?php
define("VERSION", "20170726-1 (".getGitVersion().")"); define("VERSION", "20170727-1 (".getGitVersion().")");
?> ?>