diff --git a/include/functions.php b/include/functions.php index 07e421b..548fcaa 100644 --- a/include/functions.php +++ b/include/functions.php @@ -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; diff --git a/index.php b/index.php index 60afd16..aa7e8d3 100644 --- a/index.php +++ b/index.php @@ -61,7 +61,8 @@ include "version.php"; } else { echo " "._("Hotspot"); } - ?>: + ?>:
+ DMR-Id:

MMDVMHost by G4KLX Version:
Firmware: