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)
>
+
+ Show Talker Alias +
>
+
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">
+
+ Show System Info +
>
+
+
+ Show Disk Use +
>
+
+
+ Show Repeater Info +
>
+
+
+ Show Enabled Modes +
>
+
+
+ Show Last Heard List of today's +
>
+
+
+ Show Today's local transmissions +
>
+
Show progressbars
>
@@ -221,7 +249,7 @@ get_tz_options(constant("TIMEZONE"), "Timezone", ''); Password for switching networks: " name="SWITCHNETWORKPW" class="form-control" placeholder="password" aria-describedby="SWITCHNETWORKPW">
- +
Enable Management-Functions below
>
@@ -295,10 +323,6 @@ get_tz_options(constant("TIMEZONE"), "Timezone", '');
-
- Show Talker Alias -
>
-