Fixing Actual Current Mode when disabled extdlookup and adding network-name after DMR-Master-address

This commit is contained in:
dg9vh 2016-11-03 09:12:23 +00:00
parent bf8e180ee9
commit c1893cd847
3 changed files with 3 additions and 3 deletions

View file

@ -400,7 +400,7 @@ function getActualMode($metaLastHeard, $mmdvmconfigs) {
if (startsWith($mode, "DMR")) {
$mode = "DMR";
}
if ($listElem[7] ==="") {
if (defined("ENABLEXTDLOOKUP") && $listElem[7] == null || !defined("ENABLEXTDLOOKUP") && $listElem[6] == null) {
return "<span class=\"label label-danger\">".$mode."</span>";
} else {
$now = new DateTime();

View file

@ -64,7 +64,7 @@
} else {
echo "<span class=\"label label-danger\" title=\"Master not connected\">";
}
echo getConfigItem("DMR Network", "Address", $mmdvmconfigs)."</td>";
echo getConfigItem("DMR Network", "Address", $mmdvmconfigs)." (".getDMRNetwork().")</td>";
?>
</span>
<td><span class="label <?php

View file

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