diff --git a/README.md b/README.md index a154deb..01743d4 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ It relies on MMDVMHost by G4KLX (see https://github.com/g4klx/MMDVMHost). At this place a big thank you to Jonathan for his great work he did with this software. +Based on G4KLX code, mod by EA4GKQ + Required are ============ * Webserver like @@ -41,6 +43,14 @@ At the moment there are several information-sections shown: * Today's last 10 local transmissions: For better debugging/calibrating etc. the last 10 local transmissions (RF-side of the repeater) are listed. +New features by EA4GKQ +====================== +* Buttons toolbar +* LastHeard table are sorted +* Some mods to improve mobile experience + Contact ======= -Feel free to contact the author via email: dg9vh@darc.de \ No newline at end of file +Feel free to contact the author via email: dg9vh[@]darc.de + +Feel free to contact the mod author via email: ea4gkq[@]ure.es diff --git a/include/functions.php b/include/functions.php index 4fb1635..d18b610 100644 --- a/include/functions.php +++ b/include/functions.php @@ -227,7 +227,7 @@ function getHeardList($logLines) { $target = substr($logLine, strpos($logLine, "to") + 3); $source = "RF"; if (strpos($logLine,"network") > 0 ) { - $source = "Network"; + $source = "Net"; } switch ($mode) { diff --git a/include/lh.php b/include/lh.php index 710a757..eba90dd 100644 --- a/include/lh.php +++ b/include/lh.php @@ -1,10 +1,13 @@
-
Last Heard List of today's callsigns.
+
Last Heard List of today's callsigns.
- +
+
+ @@ -16,28 +19,37 @@ + + "; - echo""; - echo""; - echo""; - echo""; - echo""; - echo""; + echo""; + echo""; + echo""; + echo""; + echo""; + if ($listElem[5] == "RF"){ + echo ""; + }else{ + echo""; + } if ($listElem[6] == null) { - echo''; + echo''; } else if ($listElem[6] == "SMS") { - echo''; + echo''; } else { - echo""; - echo""; - echo""; + echo""; + echo""; + echo""; } echo"\n"; } ?> +
Time (UTC) ModeLoss BER
$listElem[0]$listElem[1]$listElem[2]$listElem[3]$listElem[4]$listElem[5]$listElem[0]$listElem[1]$listElem[2]$listElem[3]$listElem[4]RF$listElem[5]transmittingtransmittingsending or receiving SMSsending or receiving SMS$listElem[6]$listElem[7]$listElem[8]$listElem[6]$listElem[7]$listElem[8]
+
+ diff --git a/include/localtx.php b/include/localtx.php index b6133fe..79269f9 100644 --- a/include/localtx.php +++ b/include/localtx.php @@ -6,9 +6,11 @@ $localTXList = getHeardList($reverseLogLinesMMDVM); ?>
-
Today's last 10 local transmissions.
+
Today's last 20 local transmissions.
- +
+
+ @@ -20,35 +22,38 @@ $localTXList = getHeardList($reverseLogLinesMMDVM); + + "; - echo""; - echo""; - echo""; - echo""; - echo""; - echo""; + echo""; + echo""; + echo""; + echo""; + echo""; + echo""; if ($listElem[6] == null) { - echo''; + echo''; } else if ($listElem[6] == "SMS") { - echo''; + echo''; } else { - echo""; - echo""; - echo""; + echo""; + echo""; + echo""; } echo"\n"; $counter++; - if ($counter == 10) { - break; - } } } ?> + +
Time (UTC) ModeLoss BER
$listElem[0]$listElem[1]$listElem[2]$listElem[3]$listElem[4]$listElem[5]$listElem[0]$listElem[1]$listElem[2]$listElem[3]$listElem[4]$listElem[5]transmittingin TXsending or receiving SMSsending or receiving SMS$listElem[6]$listElem[7]$listElem[8]$listElem[6]$listElem[7]$listElem[8]
+
+ diff --git a/include/repeaterinfo.php b/include/repeaterinfo.php index eb035ce..45c8b8c 100644 --- a/include/repeaterinfo.php +++ b/include/repeaterinfo.php @@ -3,6 +3,7 @@
Repeater Info
+
@@ -81,4 +82,5 @@
Actual Mode
+
diff --git a/include/sysinfo.php b/include/sysinfo.php index 0d8d75a..1532b9e 100644 --- a/include/sysinfo.php +++ b/include/sysinfo.php @@ -94,6 +94,7 @@
System Info
+
@@ -131,4 +132,5 @@
+
diff --git a/index.php b/index.php index c66c5f9..934100e 100644 --- a/index.php +++ b/index.php @@ -13,15 +13,21 @@ include "include/functions.php"; - + + - + - + - + - + + + + + + <?php echo getCallsign($mmdvmconfigs) ?> - MMDVM-Dashboard by DG9VH @@ -35,6 +41,11 @@ include "include/functions.php"; ?>:

MMDVMHost by G4KLX Version:

+ + + + + '; +echo ''; ?> | get your own at: https://github.com/dg9vh/MMDVMHost-Dashboard + - \ No newline at end of file + diff --git a/scripts/halt.php b/scripts/halt.php new file mode 100644 index 0000000..804d762 --- /dev/null +++ b/scripts/halt.php @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + <?php echo getCallsign($mmdvmconfigs) ?> - MMDVM-Dashboard by DG9VH + + + + + /dev/null 2>&1 &'); +?> + + +
+ +'; +?> | get your own at: https://github.com/dg9vh/MMDVMHost-Dashboard +
+ + diff --git a/scripts/log.php b/scripts/log.php new file mode 100644 index 0000000..a825693 --- /dev/null +++ b/scripts/log.php @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + <?php echo getCallsign($mmdvmconfigs) ?> - MMDVM-Dashboard by DG9VH + + + + +
+
+ Fichero log +
+
+ + Log file + +eof()) { + // Echo one line from the file. + echo""; + echo ""; + echo"\n"; +} + +// Unset the file to call __destruct(), closing the file handle. +$file = null; + +?> +
"; + echo $file->fgets(); + echo "
+
+ + + +
+
+ + +'; +?> | get your own at: https://github.com/dg9vh/MMDVMHost-Dashboard +
+ + + diff --git a/scripts/reboot.php b/scripts/reboot.php new file mode 100644 index 0000000..6592d53 --- /dev/null +++ b/scripts/reboot.php @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + <?php echo getCallsign($mmdvmconfigs) ?> - MMDVM-Dashboard by DG9VH + + + + + /dev/null 2>&1 &'); +?> + + +
+ +'; +?> | get your own at: https://github.com/dg9vh/MMDVMHost-Dashboard +
+ + diff --git a/scripts/rebootmmdvm.php b/scripts/rebootmmdvm.php new file mode 100644 index 0000000..fe2724d --- /dev/null +++ b/scripts/rebootmmdvm.php @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + <?php echo getCallsign($mmdvmconfigs) ?> - MMDVM-Dashboard by DG9VH + + + + + + + +
+ +'; +?> | get your own at: https://github.com/dg9vh/MMDVMHost-Dashboard +
+ + diff --git a/setup.php b/setup.php index eea2085..f0c5126 100644 --- a/setup.php +++ b/setup.php @@ -130,11 +130,23 @@ include "include/tools.php"; Last heard list lines: +
+ Reboot MMDVMHost command: + +
+
+ Reboot system command: + +
+
+ Halt system command: + +
- -
+ +