Show Used DMR-ID under the Callsign.
Interesting when Using different ID's for Different Configs Added a Line between Callsign/ID and MMDVMHost Version.
This commit is contained in:
parent
f861b5a719
commit
6b42b47c6d
2 changed files with 6 additions and 1 deletions
|
@ -155,6 +155,10 @@ function getCallsign($mmdvmconfigs) {
|
|||
return getConfigItem("General", "Callsign", $mmdvmconfigs);
|
||||
}
|
||||
|
||||
function getDMRId ($mmdvmconfigs) {
|
||||
// returns DMRId from MMDVM-Config
|
||||
return getConfigItem("DMR", "Id", $mmdvmconfigs);
|
||||
}
|
||||
function getConfigItem($section, $key, $configs) {
|
||||
// retrieves the corresponding config-entry within a [section]
|
||||
$sectionpos = array_search("[" . $section . "]", $configs) + 1;
|
||||
|
|
|
@ -61,7 +61,8 @@ include "version.php";
|
|||
} else {
|
||||
echo " "._("Hotspot");
|
||||
}
|
||||
?>:</small> <?php echo getCallsign($mmdvmconfigs) ?></h1>
|
||||
?>:</small> <?php echo getCallsign($mmdvmconfigs) ?><br>
|
||||
<small>DMR-Id: <?php echo getDMRId($mmdvmconfigs) ?></small></h1><hr>
|
||||
<h4>MMDVMHost by G4KLX Version: <?php echo getMMDVMHostVersion() ?><br>Firmware: <?php echo getFirmwareVersion();
|
||||
if (defined("ENABLEDMRGATEWAY")) {
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue