diff --git a/index.php b/index.php
index cee54e7..86695c3 100644
--- a/index.php
+++ b/index.php
@@ -68,11 +68,11 @@ include "version.php";
$logourl = DMRPLUSLOGO;
}
}
-
+
if ($logourl == "") {
$logourl = LOGO;
}
-
+
if ($logourl !== "") {
?>
@@ -99,18 +99,30 @@ checkSetup();
// Here you can feel free to disable info-sections by commenting out with // before include
include "include/txinfo.php";
showLapTime("txinfo");
-include "include/sysinfo_ajax.php";
-showLapTime("sysinfo");
-include "include/disk.php";
-showLapTime("disk");
-include "include/repeaterinfo.php";
-showLapTime("repeaterinfo");
-include "include/modes.php";
-showLapTime("modes");
-include "include/lh_ajax.php";
-showLapTime("lh_ajax");
-include "include/localtx_ajax.php";
-showLapTime("localtx_ajax");
+if (defined("SHOWCPU")) {
+ include "include/sysinfo_ajax.php";
+ showLapTime("sysinfo");
+}
+if (defined("SHOWDISK")) {
+ include "include/disk.php";
+ showLapTime("disk");
+}
+if (defined("SHOWRPTINFO")) {
+ include "include/repeaterinfo.php";
+ showLapTime("repeaterinfo");
+}
+if (defined("SHOWMODES")) {
+ include "include/modes.php";
+ showLapTime("modes");
+}
+if (defined("SHOWLH")) {
+ include "include/lh_ajax.php";
+ showLapTime("lh_ajax");
+}
+if (defined("SHOWLOCALTX")) {
+ include "include/localtx_ajax.php";
+ showLapTime("localtx_ajax");
+}
if (defined("ENABLEYSFGATEWAY")) {
include "include/ysfgatewayinfo.php";
showLapTime("ysfgatewayinfo");
diff --git a/setup.php b/setup.php
index 84facaf..73118ec 100644
--- a/setup.php
+++ b/setup.php
@@ -74,6 +74,10 @@ include "include/tools.php";
Enable extended lookup (show names)
>
+
Path to DMR-ID-Database-File (including filename)
" name="DMRIDDATPATH" class="form-control" placeholder="/var/mmdvm/DMRIDs.dat" aria-describedby="DMRIDDATPATH">
@@ -197,6 +201,30 @@ get_tz_options(constant("TIMEZONE"), "Timezone", '');
Refresh page after in seconds
" name="REFRESHAFTER" class="form-control" placeholder="60" aria-describedby="REFRESHAFTER" required data-fv-notempty-message="Value is required">
+
+
+
+
+
+
-
+
-