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:
parent
4ac7486324
commit
7af20b03d9
1 changed files with 2 additions and 2 deletions
|
@ -60,14 +60,14 @@ function showMode($mode, $mmdvmconfigs) {
|
||||||
?>
|
?>
|
||||||
<td><span class="label <?php
|
<td><span class="label <?php
|
||||||
if (getEnabled($mode, $mmdvmconfigs) == 1) {
|
if (getEnabled($mode, $mmdvmconfigs) == 1) {
|
||||||
if ($mode == "D-Star" || $mode == "D-Star Network") {
|
if ($mode == "D-Star Network") {
|
||||||
if (isProcessRunning(IRCDDBGATEWAY)) {
|
if (isProcessRunning(IRCDDBGATEWAY)) {
|
||||||
echo "label-success";
|
echo "label-success";
|
||||||
} else {
|
} else {
|
||||||
echo "label-danger";
|
echo "label-danger";
|
||||||
}
|
}
|
||||||
} else {
|
} 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")) {
|
if (isProcessRunning("MMDVMHost")) {
|
||||||
echo "label-success";
|
echo "label-success";
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue