From 0f51be1ce732444536d925ce1d417db245620348 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Fri, 15 Jul 2016 10:20:19 +0000 Subject: [PATCH] disable required on some values, make readback of configured values --- setup.php | 48 ++++++++++++++++++++++-------------------------- 1 file changed, 22 insertions(+), 26 deletions(-) diff --git a/setup.php b/setup.php index 78987b9..6560bc6 100644 --- a/setup.php +++ b/setup.php @@ -1,5 +1,5 @@ @@ -54,23 +54,23 @@ include "include/tools.php";

MMDVMHost-Configuration

Path to MMDVMHost-logfile - + " name="MMDVMLOGPATH" class="form-control" placeholder="/var/log/mmdvm/" aria-describedby="MMDVMLOGPATH" required data-fv-notempty-message="Value is required">
Logfile-prefix - + " name="MMDVMLOGPREFIX" class="form-control" placeholder="MMDVM" aria-describedby="MMDVMLOGPREFIX" required data-fv-notempty-message="Value is required">
Path to MMDVM.ini - + " name="MMDVMINIPATH" class="form-control" placeholder="/etc/mmdvm/" aria-describedby="MMDVMINIPATH" required data-fv-notempty-message="Value is required">
MMDVM.ini-filename - + " name="MMDVMINIFILENAME" class="form-control" placeholder="MMDVM.ini" aria-describedby="MMDVMINIFILENAME" required data-fv-notempty-message="Value is required">
Path to MMDVMHost-executable - + " name="MMDVMHOSTPATH" class="form-control" placeholder="/usr/local/bin/" aria-describedby="MMDVMHOSTPATH" required data-fv-notempty-message="Value is required">
@@ -78,73 +78,69 @@ include "include/tools.php";
Enable YSFGateway -
+
>
Path to YSFGateway-logfile - + " name="YSFGATEWAYLOGPATH" class="form-control" placeholder="/var/log/YSFGateway/" aria-describedby="YSFGATEWAYLOGPATH">
Logfile-prefix - + " name="YSFGATEWAYLOGPREFIX" class="form-control" placeholder="YSFGateway" aria-describedby="YSFGATEWAYLOGPREFIX">
Path to YSFGateway.ini - + " name="YSFGATEWAYINIPATH" class="form-control" placeholder="/etc/YSFGateway/" aria-describedby="YSFGATEWAYINIPATH">
YSFGateway.ini-filename - + " name="YSFGATEWAYINIFILENAME" class="form-control" placeholder="YSFGateway.ini" aria-describedby="YSFGATEWAYINIFILENAME">

ircddbgateway-Configuration

Path to Links.log - + " name="LINKLOGPATH" class="form-control" placeholder="/var/log/" aria-describedby="LINKLOGPATH">
Name of ircddbgateway-executeable - + " name="IRCDDBGATEWAY" class="form-control" placeholder="ircddbgatewayd" aria-describedby="IRCDDBGATEWAY">

Global Configuration

Refresh page after in seconds - + " name="REFRESHAFTER" class="form-control" placeholder="60" aria-describedby="REFRESHAFTER" required data-fv-notempty-message="Value is required">
Show progressbars -
+
>
Enable CPU-temperature-warning -
+
>
Warning temperature - -
+ " name="TEMPERATUREHIGHLEVEL" class="form-control" placeholder="60" aria-describedby="TEMPERATUREHIGHLEVEL" required data-fv-notempty-message="Value is required"> +
Enable Management-Functions below -
+
>
Reboot MMDVMHost command: - + " name="REBOOTMMDVM" class="form-control" placeholder="sudo systemctl restart mmdvmhost.service" aria-describedby="REBOOTMMDVM">
Reboot system command: - + " name="REBOOTSYS" class="form-control" placeholder="sudo reboot" aria-describedby="REBOOTSYS">
Halt system command: - + " name="HALTSYS" class="form-control" placeholder="sudo halt" aria-describedby="HALTSYS">