2016-05-02 10:19:08 +02:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<!-- Standard-Panel-Inhalt -->
|
|
|
|
<div class="panel-heading">Repeater Info</div>
|
|
|
|
<!-- Tabelle -->
|
2016-06-24 21:21:42 +02:00
|
|
|
<div class="table-responsive">
|
2016-05-02 10:19:08 +02:00
|
|
|
<table class="table">
|
|
|
|
<tr>
|
|
|
|
<th>Actual Mode</th>
|
2016-05-05 19:30:33 +02:00
|
|
|
<th>D-Star linked to</th>
|
2016-09-25 18:25:42 +02:00
|
|
|
<th>YSF linked to</th>
|
2016-05-04 19:45:26 +02:00
|
|
|
<th>DMR TS1 last linked to</th>
|
|
|
|
<th>DMR TS2 last linked to</th>
|
2016-05-02 10:19:08 +02:00
|
|
|
</tr>
|
|
|
|
<?php
|
|
|
|
echo"<tr>";
|
2016-10-09 22:34:09 +02:00
|
|
|
echo"<td id=\"mode\">".getActualMode($lastHeard, $mmdvmconfigs)."</td>";
|
2016-06-11 22:30:40 +02:00
|
|
|
echo"<td>".getActualLink($reverseLogLinesMMDVM, "D-Star")."</td>";
|
2016-09-25 18:25:42 +02:00
|
|
|
echo"<td>".getYSFReflectorById(getActualLink($reverseLogLinesYSFGateway, "YSF"), $activeYSFReflectors)."</td>";
|
2016-06-11 22:30:40 +02:00
|
|
|
echo"<td>".getActualLink($reverseLogLinesMMDVM, "DMR Slot 1")."</td>";
|
|
|
|
echo"<td>".getActualLink($reverseLogLinesMMDVM, "DMR Slot 2")."/". getActualReflector($reverseLogLinesMMDVM, "DMR Slot 2") ."</td>";
|
2016-05-02 10:19:08 +02:00
|
|
|
echo"</tr>\n";
|
|
|
|
?>
|
2016-05-11 10:04:40 +02:00
|
|
|
<tr>
|
2016-09-25 18:25:42 +02:00
|
|
|
<td colspan="5">
|
2016-05-11 10:04:40 +02:00
|
|
|
<table class="table">
|
|
|
|
<tr>
|
|
|
|
<th>Location</th>
|
2016-05-12 15:55:02 +02:00
|
|
|
<th>TX-Freq.</th>
|
|
|
|
<th>Rx-Freq.</th>
|
2016-05-11 10:04:40 +02:00
|
|
|
<?php
|
2016-05-25 15:09:16 +02:00
|
|
|
if (getEnabled("System Fusion Network", $mmdvmconfigs) == 1) {
|
|
|
|
?>
|
2016-06-13 20:36:26 +02:00
|
|
|
<th>YSFGateway</th>
|
2016-05-25 15:09:16 +02:00
|
|
|
<?php
|
|
|
|
}
|
2016-05-11 10:04:40 +02:00
|
|
|
if (getEnabled("DMR", $mmdvmconfigs) == 1) {
|
|
|
|
?>
|
|
|
|
<th>DMR CC</th>
|
|
|
|
<?php
|
|
|
|
if (getEnabled("DMR Network", $mmdvmconfigs) == 1) {
|
|
|
|
?>
|
|
|
|
<th>DMR-Master</th>
|
|
|
|
<th>TS1</th>
|
|
|
|
<th>TS2</th>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</tr>
|
|
|
|
<?php
|
|
|
|
echo"<tr>";
|
|
|
|
echo"<td>".getConfigItem("Info", "Location", $mmdvmconfigs)."</td>";
|
2016-05-12 15:55:02 +02:00
|
|
|
echo"<td>".getMHZ(getConfigItem("Info", "TXFrequency", $mmdvmconfigs))."</td>";
|
|
|
|
echo"<td>".getMHZ(getConfigItem("Info", "RXFrequency", $mmdvmconfigs))."</td>";
|
2016-05-25 15:09:16 +02:00
|
|
|
if (getEnabled("System Fusion Network", $mmdvmconfigs) == 1) {
|
2016-06-13 20:36:26 +02:00
|
|
|
echo"<td>".getConfigItem("System Fusion Network", "GwyAddress", $mmdvmconfigs)."</td>";
|
2016-05-25 15:09:16 +02:00
|
|
|
}
|
2016-05-11 10:04:40 +02:00
|
|
|
if (getEnabled("DMR", $mmdvmconfigs) == 1) {
|
|
|
|
echo"<td>".getConfigItem("DMR", "ColorCode", $mmdvmconfigs)."</td>";
|
|
|
|
if (getEnabled("DMR Network", $mmdvmconfigs) == 1) {
|
2016-10-25 15:54:03 +02:00
|
|
|
echo"<td>";
|
|
|
|
if (getDMRMasterState()) {
|
2016-10-25 17:33:30 +02:00
|
|
|
echo "<span class=\"label label-success\" title=\"Master connected\">";
|
2016-10-25 15:54:03 +02:00
|
|
|
} else {
|
2016-10-25 17:33:30 +02:00
|
|
|
echo "<span class=\"label label-danger\" title=\"Master not connected\">";
|
2016-10-25 15:54:03 +02:00
|
|
|
}
|
|
|
|
echo getConfigItem("DMR Network", "Address", $mmdvmconfigs)."</td>";
|
2016-05-11 10:04:40 +02:00
|
|
|
?>
|
2016-10-25 15:54:03 +02:00
|
|
|
</span>
|
2016-05-11 10:04:40 +02:00
|
|
|
<td><span class="label <?php
|
|
|
|
if (getConfigItem("DMR Network", "Slot1", $mmdvmconfigs) == 1) {
|
2016-09-15 20:30:41 +02:00
|
|
|
echo 'label-success">enabled';
|
2016-05-11 10:04:40 +02:00
|
|
|
} else {
|
2016-09-15 20:30:41 +02:00
|
|
|
echo 'label-default">disabled';
|
2016-05-11 10:04:40 +02:00
|
|
|
}
|
|
|
|
?></span></td>
|
|
|
|
<td><span class="label <?php
|
|
|
|
if (getConfigItem("DMR Network", "Slot2", $mmdvmconfigs) == 1) {
|
2016-09-15 20:30:41 +02:00
|
|
|
echo 'label-success">enabled';
|
2016-05-11 10:04:40 +02:00
|
|
|
} else {
|
2016-09-15 20:30:41 +02:00
|
|
|
echo 'label-default">disabled';
|
2016-05-11 10:04:40 +02:00
|
|
|
}
|
|
|
|
?></span></td>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2016-05-02 10:19:08 +02:00
|
|
|
</table>
|
2016-06-24 21:21:42 +02:00
|
|
|
</div>
|
2016-05-05 21:21:55 +02:00
|
|
|
</div>
|