D-Star-Network would get red if ircddbgateway is down - D-Star would get red if MMDVMHost is down... logical correct :-\)

This commit is contained in:
dg9vh 2016-05-13 19:51:43 +00:00
parent 4ac7486324
commit 7af20b03d9

View file

@ -60,14 +60,14 @@ function showMode($mode, $mmdvmconfigs) {
?>
<td><span class="label <?php
if (getEnabled($mode, $mmdvmconfigs) == 1) {
if ($mode == "D-Star" || $mode == "D-Star Network") {
if ($mode == "D-Star Network") {
if (isProcessRunning(IRCDDBGATEWAY)) {
echo "label-success";
} else {
echo "label-danger";
}
} else {
if ($mode =="DMR" || $mode =="DMR Network" || $mode =="System Fusion" || $mode =="System Fusion Network") {
if ($mode == "D-Star" || $mode =="DMR" || $mode =="DMR Network" || $mode =="System Fusion" || $mode =="System Fusion Network") {
if (isProcessRunning("MMDVMHost")) {
echo "label-success";
} else {