From d6b51d5d5ff057bc3823f7ab46cd77a7796218d2 Mon Sep 17 00:00:00 2001 From: phl0 Date: Tue, 10 Jan 2017 15:05:55 +0100 Subject: [PATCH] Align all line endings --- credits.php | 74 ++--- include/lh.php | 148 ++++----- include/lh_ajax.php | 118 ++++---- include/localtx.php | 154 +++++----- include/localtx_ajax.php | 122 ++++---- include/modes.php | 38 +-- include/repeaterinfo.php | 196 ++++++------ include/sysinfo_ajax.php | 58 ++-- include/txinfo.php | 142 ++++----- include/ysfgatewayinfo.php | 132 ++++---- index.php | 298 +++++++++--------- setup.php | 600 ++++++++++++++++++------------------- 12 files changed, 1040 insertions(+), 1040 deletions(-) diff --git a/credits.php b/credits.php index d502725..17f6995 100644 --- a/credits.php +++ b/credits.php @@ -1,37 +1,37 @@ - - - - - - - - - - - - - MMDVM-Dashboard by DG9VH - Credits - - - -
-

I think, after all the time this dashboard is developed mainly by myself, it is time to say "Thank you" to all those, wo delivered some ideas or code into this project.

-

This are explicit named following persons:

- -

Those, who felt forgotten, feel free to comit a change into github of this file.

-

Many thanks to you all!

-

Best 73, Kim, DG9VH

-
- - + + + + + + + + + + + + + MMDVM-Dashboard by DG9VH - Credits + + + +
+

I think, after all the time this dashboard is developed mainly by myself, it is time to say "Thank you" to all those, wo delivered some ideas or code into this project.

+

This are explicit named following persons:

+ +

Those, who felt forgotten, feel free to comit a change into github of this file.

+

Many thanks to you all!

+

Best 73, Kim, DG9VH

+
+ + diff --git a/include/lh.php b/include/lh.php index 09b553f..6e50b4c 100644 --- a/include/lh.php +++ b/include/lh.php @@ -1,74 +1,74 @@ - -
- -
Last Heard List of today's callsigns.
- -
- - - - - - - - - - - - - - - - - - -"; - echo""; - echo""; - if ($listElem[2] !== "??????????") { - if (!is_numeric($listElem[2])) { - if (constant("SHOWQRZ")) { - echo""; - } else { - echo""; - } - } else { - echo""; - } - } - if (defined("ENABLEXTDLOOKUP")) { - echo ""; - } - echo""; - echo""; - if ($listElem[5] == "RF"){ - echo ""; - }else{ - echo""; - } - if ($listElem[6] == null) { - echo''; - } else if ($listElem[6] == "SMS") { - echo''; - } else { - echo""; - echo""; - echo""; - } - echo"\n"; - } -?> - -
Time (UTC)ModeCallsignNameDSTAR-IDTargetSourceDur (s)LossBER
$listElem[0]$listElem[1]".str_replace("0","Ø",$listElem[2])."".$listElem[2]."".$listElem[2]."".getName($listElem[2])."$listElem[3]$listElem[4]RF$listElem[5]transmittingsending or receiving SMS$listElem[6]$listElem[7]$listElem[8]
-
-
- + +
+ +
Last Heard List of today's callsigns.
+ +
+ + + + + + + + + + + + + + + + + + +"; + echo""; + echo""; + if ($listElem[2] !== "??????????") { + if (!is_numeric($listElem[2])) { + if (constant("SHOWQRZ")) { + echo""; + } else { + echo""; + } + } else { + echo""; + } + } + if (defined("ENABLEXTDLOOKUP")) { + echo ""; + } + echo""; + echo""; + if ($listElem[5] == "RF"){ + echo ""; + }else{ + echo""; + } + if ($listElem[6] == null) { + echo''; + } else if ($listElem[6] == "SMS") { + echo''; + } else { + echo""; + echo""; + echo""; + } + echo"\n"; + } +?> + +
Time (UTC)ModeCallsignNameDSTAR-IDTargetSourceDur (s)LossBER
$listElem[0]$listElem[1]".str_replace("0","Ø",$listElem[2])."".$listElem[2]."".$listElem[2]."".getName($listElem[2])."$listElem[3]$listElem[4]RF$listElem[5]transmittingsending or receiving SMS$listElem[6]$listElem[7]$listElem[8]
+
+
+ diff --git a/include/lh_ajax.php b/include/lh_ajax.php index 1ca6e6f..fe75b10 100644 --- a/include/lh_ajax.php +++ b/include/lh_ajax.php @@ -1,59 +1,59 @@ - -
- -
Last Heard List of today's callsigns.
- -
- - - - - - - - - - - - - - - - - -
Time ()ModeCallsignNameDSTAR-IDTargetSourceDur (s)LossBER
-
-
- + +
+ +
Last Heard List of today's callsigns.
+ +
+ + + + + + + + + + + + + + + + + +
Time ()ModeCallsignNameDSTAR-IDTargetSourceDur (s)LossBER
+
+
+ diff --git a/include/localtx.php b/include/localtx.php index f61c68f..3913dd6 100644 --- a/include/localtx.php +++ b/include/localtx.php @@ -1,77 +1,77 @@ - -
- -
Today's local transmissions
- -
- - - - - - - - - - - - - - - - - - - -"; - echo""; - echo""; - if ($listElem[2] !== "??????????") { - if (!is_numeric($listElem[2])) { - if (constant("SHOWQRZ")) { - echo""; - } else { - echo""; - } - } else { - echo""; - } - } - if (defined("ENABLEXTDLOOKUP")) { - echo ""; - } - echo""; - echo""; - echo""; - if ($listElem[6] == null) { - echo''; - } else if ($listElem[7] == "SMS") { - echo''; - } else { - echo""; - echo""; - echo""; - } - echo"\n"; - } -} - -?> - -
Time (UTC)ModeCallsignNameDSTAR-IDTargetSourceDur (s)LossBERRSSI
$listElem[0]$listElem[1]".str_replace("0","Ø",$listElem[2])."".$listElem[2]."".$listElem[2]."$listElem[3]$listElem[4]$listElem[5]$listElem[6]in TXsending or receiving SMS$listElem[7]$listElem[8]$listElem[9]
-
-
- + +
+ +
Today's local transmissions
+ +
+ + + + + + + + + + + + + + + + + + + +"; + echo""; + echo""; + if ($listElem[2] !== "??????????") { + if (!is_numeric($listElem[2])) { + if (constant("SHOWQRZ")) { + echo""; + } else { + echo""; + } + } else { + echo""; + } + } + if (defined("ENABLEXTDLOOKUP")) { + echo ""; + } + echo""; + echo""; + echo""; + if ($listElem[6] == null) { + echo''; + } else if ($listElem[7] == "SMS") { + echo''; + } else { + echo""; + echo""; + echo""; + } + echo"\n"; + } +} + +?> + +
Time (UTC)ModeCallsignNameDSTAR-IDTargetSourceDur (s)LossBERRSSI
$listElem[0]$listElem[1]".str_replace("0","Ø",$listElem[2])."".$listElem[2]."".$listElem[2]."$listElem[3]$listElem[4]$listElem[5]$listElem[6]in TXsending or receiving SMS$listElem[7]$listElem[8]$listElem[9]
+
+
+ diff --git a/include/localtx_ajax.php b/include/localtx_ajax.php index 2537fe1..a14284d 100644 --- a/include/localtx_ajax.php +++ b/include/localtx_ajax.php @@ -1,61 +1,61 @@ - -
- -
Today's local transmissions
- -
- - - - - - - - - - - - - - - - - - -
Time ()ModeCallsignNameDSTAR-IDTargetSourceDur (s)LossBERRSSI
-
-
- + +
+ +
Today's local transmissions
+ +
+ + + + + + + + + + + + + + + + + + +
Time ()ModeCallsignNameDSTAR-IDTargetSourceDur (s)LossBERRSSI
+
+
+ diff --git a/include/modes.php b/include/modes.php index 1ab5d20..bd76a75 100644 --- a/include/modes.php +++ b/include/modes.php @@ -1,19 +1,19 @@ -
- -
Enabled Modes
- -
- - - - - - - - - - - -
-
-
+
+ +
Enabled Modes
+ +
+ + + + + + + + + + + +
+
+
diff --git a/include/repeaterinfo.php b/include/repeaterinfo.php index a8eea47..7d34ccd 100644 --- a/include/repeaterinfo.php +++ b/include/repeaterinfo.php @@ -1,98 +1,98 @@ -
- -
Repeater Info
- -
- - - - - - - - -"; - echo""; - echo""; - echo""; - echo""; - echo""; - echo"\n"; -?> - - - -
Current ModeD-Star linked toYSF linked toDMR TS1 last linked toDMR TS2 last linked to
".getActualMode($lastHeard, $mmdvmconfigs)."".getActualLink($reverseLogLinesMMDVM, "D-Star")."".getYSFReflectorById(getActualLink($reverseLogLinesYSFGateway, "YSF"), $activeYSFReflectors)."".getActualLink($reverseLogLinesMMDVM, "DMR Slot 1")."".getActualLink($reverseLogLinesMMDVM, "DMR Slot 2")."/". getActualReflector($reverseLogLinesMMDVM, "DMR Slot 2") ."
- - - - - - - - - - - - - - - -"; - echo""; - echo""; - echo""; - if (getEnabled("System Fusion Network", $mmdvmconfigs) == 1) { - echo""; - } - if (getEnabled("DMR", $mmdvmconfigs) == 1) { - echo""; - if (getEnabled("DMR Network", $mmdvmconfigs) == 1) { - echo" - - - - -
LocationTX-Freq.RX-Freq.YSFGatewayDMR CCDMR-MasterTS1TS2
".getConfigItem("Info", "Location", $mmdvmconfigs)."".getMHZ(getConfigItem("Info", "TXFrequency", $mmdvmconfigs))."".getMHZ(getConfigItem("Info", "RXFrequency", $mmdvmconfigs))."".getConfigItem("System Fusion Network", "GwyAddress", $mmdvmconfigs)."".getConfigItem("DMR", "ColorCode", $mmdvmconfigs).""; - if (getDMRMasterState()) { - echo ""; - } else { - echo ""; - } - echo getConfigItem("DMR Network", "Address", $mmdvmconfigs); - if (strlen(getDMRNetwork()) > 0 ) { - echo " (".getDMRNetwork().")"; - } -?> - - enabled'; - } else { - echo 'label-default">disabled'; - } - ?>enabled'; - } else { - echo 'label-default">disabled'; - } - ?>
-
-
-
+
+ +
Repeater Info
+ +
+ + + + + + + + +"; + echo""; + echo""; + echo""; + echo""; + echo""; + echo"\n"; +?> + + + +
Current ModeD-Star linked toYSF linked toDMR TS1 last linked toDMR TS2 last linked to
".getActualMode($lastHeard, $mmdvmconfigs)."".getActualLink($reverseLogLinesMMDVM, "D-Star")."".getYSFReflectorById(getActualLink($reverseLogLinesYSFGateway, "YSF"), $activeYSFReflectors)."".getActualLink($reverseLogLinesMMDVM, "DMR Slot 1")."".getActualLink($reverseLogLinesMMDVM, "DMR Slot 2")."/". getActualReflector($reverseLogLinesMMDVM, "DMR Slot 2") ."
+ + + + + + + + + + + + + + + +"; + echo""; + echo""; + echo""; + if (getEnabled("System Fusion Network", $mmdvmconfigs) == 1) { + echo""; + } + if (getEnabled("DMR", $mmdvmconfigs) == 1) { + echo""; + if (getEnabled("DMR Network", $mmdvmconfigs) == 1) { + echo" + + + + +
LocationTX-Freq.RX-Freq.YSFGatewayDMR CCDMR-MasterTS1TS2
".getConfigItem("Info", "Location", $mmdvmconfigs)."".getMHZ(getConfigItem("Info", "TXFrequency", $mmdvmconfigs))."".getMHZ(getConfigItem("Info", "RXFrequency", $mmdvmconfigs))."".getConfigItem("System Fusion Network", "GwyAddress", $mmdvmconfigs)."".getConfigItem("DMR", "ColorCode", $mmdvmconfigs).""; + if (getDMRMasterState()) { + echo ""; + } else { + echo ""; + } + echo getConfigItem("DMR Network", "Address", $mmdvmconfigs); + if (strlen(getDMRNetwork()) > 0 ) { + echo " (".getDMRNetwork().")"; + } +?> + + enabled'; + } else { + echo 'label-default">disabled'; + } + ?>enabled'; + } else { + echo 'label-default">disabled'; + } + ?>
+
+
+
diff --git a/include/sysinfo_ajax.php b/include/sysinfo_ajax.php index dfdb211..211d091 100644 --- a/include/sysinfo_ajax.php +++ b/include/sysinfo_ajax.php @@ -1,29 +1,29 @@ -
- -
System Info
- -
- -
-
-
- +
+ +
System Info
+ +
+ +
+
+
+ diff --git a/include/txinfo.php b/include/txinfo.php index 2a48970..7cb60d1 100644 --- a/include/txinfo.php +++ b/include/txinfo.php @@ -1,71 +1,71 @@ -
- -
Currently TXing
- -
- - - - - - - - - - - - - - - - - -
Time ()ModeCallsignNameDSTAR-IDTargetSourceTX-Time
-
-
- +
+ +
Currently TXing
+ +
+ + + + + + + + + + + + + + + + + +
Time ()ModeCallsignNameDSTAR-IDTargetSourceTX-Time
+
+
+ diff --git a/include/ysfgatewayinfo.php b/include/ysfgatewayinfo.php index 49442b7..9699526 100644 --- a/include/ysfgatewayinfo.php +++ b/include/ysfgatewayinfo.php @@ -1,66 +1,66 @@ - -
- -
YSFGateway-Infos
- - - - ">YSFGateway Process is down! - -
">YSFGateway Process is running
-
-
- -
YSFReflectors reported active
- -
- - - 0) { - ?> - - - - - - - - - - -"; - echo ""; - for ($i = 0; $i < 4; $i++) { - echo""; - } - echo "\n"; - $counter++; - } - } -?> - -
No.NameDescriptionIDConnections
$counter$reflector[$i]
-
-
- - + +
+ +
YSFGateway-Infos
+ + + + ">YSFGateway Process is down! + +
">YSFGateway Process is running
+
+
+ +
YSFReflectors reported active
+ +
+ + + 0) { + ?> + + + + + + + + + + +"; + echo ""; + for ($i = 0; $i < 4; $i++) { + echo""; + } + echo "\n"; + $counter++; + } + } +?> + +
No.NameDescriptionIDConnections
$counter$reflector[$i]
+
+
+ + diff --git a/index.php b/index.php index 42e314c..940ee61 100644 --- a/index.php +++ b/index.php @@ -1,149 +1,149 @@ - - - - - - - - - - - - - - - - - - - <?php echo getCallsign($mmdvmconfigs) ?> - MMDVM-Dashboard by DG9VH - - - - - - - - - - - - -
-setTimezone(new DateTimeZone(TIMEZONE)); -echo "MMDVMHost-Dashboard V ".VERSION." | Last Reload ".$lastReload->format('Y-m-d, H:i:s')." (".TIMEZONE.")"; -/*$time = microtime(); -$time = explode(' ', $time); -$time = $time[1] + $time[0]; -$finish = $time; -$total_time = round(($finish - $start), 4);*/ -echo ''; -?> | -stop refreshing'; -} else { - echo 'start refreshing'; -} -?> - | get your own at: https://github.com/dg9vh/MMDVMHost-Dashboard | Credits -
- - - - + + + + + + + + + + + + + + + + + + + <?php echo getCallsign($mmdvmconfigs) ?> - MMDVM-Dashboard by DG9VH + + + + + + + + + + + + +
+setTimezone(new DateTimeZone(TIMEZONE)); +echo "MMDVMHost-Dashboard V ".VERSION." | Last Reload ".$lastReload->format('Y-m-d, H:i:s')." (".TIMEZONE.")"; +/*$time = microtime(); +$time = explode(' ', $time); +$time = $time[1] + $time[0]; +$finish = $time; +$total_time = round(($finish - $start), 4);*/ +echo ''; +?> | +stop refreshing'; +} else { + echo 'start refreshing'; +} +?> + | get your own at: https://github.com/dg9vh/MMDVMHost-Dashboard | Credits +
+ + + + diff --git a/setup.php b/setup.php index dc503d9..69248c6 100644 --- a/setup.php +++ b/setup.php @@ -1,300 +1,300 @@ - - - - - - - - - - - - - - MMDVM-Dashboard by DG9VH - Setup - - - - - -\n"); - fclose($configfile); -?> - - - -
- -
-

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"> -
-
- 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"> -
-
- 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"> -
-
-
-

YSFGateway-Configuration

-
- 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"> -
-
- Path to YSFHosts.txt - " name="YSFHOSTSPATH" class="form-control" placeholder="/etc/YSFGateway/" aria-describedby="YSFHOSTSPATH"> -
-
- YSFHosts.txt-filename - " name="YSFHOSTSFILENAME" class="form-control" placeholder="YSFHosts.txt" aria-describedby="YSFHOSTSFILENAME"> -
-
-
-

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

-'; - echo 'Timezone'; - echo '
'; - echo ''; - echo '
'; - echo '
'; -} -get_tz_options(constant("TIMEZONE"), "Timezone", ''); -?> -
- - " name="LOGO" class="form-control" placeholder="http://your-logo" aria-describedby="LOGO"> -
-
- - " name="DMRPLUSLOGO" class="form-control" placeholder="http://your-logo" aria-describedby="DMRPLUSLOGO"> -
-
- - " name="BRANDMEISTERLOGO" class="form-control" placeholder="http://your-logo" aria-describedby="BRANDMEISTERLOGO"> -
-
- 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 Network-Switching-Function -
>
-
-
- Username for switching networks: - " name="SWITCHNETWORKUSER" class="form-control" placeholder="username" aria-describedby="SWITCHNETWORKUSER"> -
-
- Password for switching networks: - " name="SWITCHNETWORKPW" class="form-control" placeholder="password" aria-describedby="SWITCHNETWORKPW"> -
- -
- Enable Management-Functions below -
>
-
-
- Username for view log: - " name="VIEWLOGUSER" class="form-control" placeholder="username" aria-describedby="VIEWLOGUSER"> -
-
- Password for view log: - " name="VIEWLOGPW" class="form-control" placeholder="password" aria-describedby="VIEWLOGPW"> -
-
- Username for halt: - " name="HALTUSER" class="form-control" placeholder="username" aria-describedby="HALTUSER"> -
-
- Password for halt: - " name="HALTPW" class="form-control" placeholder="password" aria-describedby="HALTPW"> -
-
- Username for reboot: - " name="REBOOTUSER" class="form-control" placeholder="username" aria-describedby="REBOOTUSER"> -
-
- Password for reboot: - " name="REBOOTPW" class="form-control" placeholder="password" aria-describedby="REBOOTPW"> -
-
- Username for restart: - " name="RESTARTUSER" class="form-control" placeholder="username" aria-describedby="RESTARTUSER"> -
-
- Password for restart: - " name="RESTARTPW" class="form-control" placeholder="password" aria-describedby="RESTARTPW"> -
-
- 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"> -
-
- Show Powerstate (online or battery, wiringpi needed) -
>
-
-
- GPIO pin to monitor: - " name="POWERONLINEPIN" class="form-control" placeholder="18" aria-describedby="POWERONLINEPIN"> -
-
- State that signalizes online-state: - " name="POWERONLINESTATE" class="form-control" placeholder="1" aria-describedby="POWERONLINESTATE"> -
-
- Show link to QRZ.com on Callsigns -
>
-
-
- - - -
- -
- - - + + + + + + + + + + + + + + MMDVM-Dashboard by DG9VH - Setup + + + + + +\n"); + fclose($configfile); +?> + + + +
+ +
+

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"> +
+
+ 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"> +
+
+ 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"> +
+
+
+

YSFGateway-Configuration

+
+ 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"> +
+
+ Path to YSFHosts.txt + " name="YSFHOSTSPATH" class="form-control" placeholder="/etc/YSFGateway/" aria-describedby="YSFHOSTSPATH"> +
+
+ YSFHosts.txt-filename + " name="YSFHOSTSFILENAME" class="form-control" placeholder="YSFHosts.txt" aria-describedby="YSFHOSTSFILENAME"> +
+
+
+

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

+'; + echo 'Timezone'; + echo '
'; + echo ''; + echo '
'; + echo '
'; +} +get_tz_options(constant("TIMEZONE"), "Timezone", ''); +?> +
+ + " name="LOGO" class="form-control" placeholder="http://your-logo" aria-describedby="LOGO"> +
+
+ + " name="DMRPLUSLOGO" class="form-control" placeholder="http://your-logo" aria-describedby="DMRPLUSLOGO"> +
+
+ + " name="BRANDMEISTERLOGO" class="form-control" placeholder="http://your-logo" aria-describedby="BRANDMEISTERLOGO"> +
+
+ 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 Network-Switching-Function +
>
+
+
+ Username for switching networks: + " name="SWITCHNETWORKUSER" class="form-control" placeholder="username" aria-describedby="SWITCHNETWORKUSER"> +
+
+ Password for switching networks: + " name="SWITCHNETWORKPW" class="form-control" placeholder="password" aria-describedby="SWITCHNETWORKPW"> +
+ +
+ Enable Management-Functions below +
>
+
+
+ Username for view log: + " name="VIEWLOGUSER" class="form-control" placeholder="username" aria-describedby="VIEWLOGUSER"> +
+
+ Password for view log: + " name="VIEWLOGPW" class="form-control" placeholder="password" aria-describedby="VIEWLOGPW"> +
+
+ Username for halt: + " name="HALTUSER" class="form-control" placeholder="username" aria-describedby="HALTUSER"> +
+
+ Password for halt: + " name="HALTPW" class="form-control" placeholder="password" aria-describedby="HALTPW"> +
+
+ Username for reboot: + " name="REBOOTUSER" class="form-control" placeholder="username" aria-describedby="REBOOTUSER"> +
+
+ Password for reboot: + " name="REBOOTPW" class="form-control" placeholder="password" aria-describedby="REBOOTPW"> +
+
+ Username for restart: + " name="RESTARTUSER" class="form-control" placeholder="username" aria-describedby="RESTARTUSER"> +
+
+ Password for restart: + " name="RESTARTPW" class="form-control" placeholder="password" aria-describedby="RESTARTPW"> +
+
+ 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"> +
+
+ Show Powerstate (online or battery, wiringpi needed) +
>
+
+
+ GPIO pin to monitor: + " name="POWERONLINEPIN" class="form-control" placeholder="18" aria-describedby="POWERONLINEPIN"> +
+
+ State that signalizes online-state: + " name="POWERONLINESTATE" class="form-control" placeholder="1" aria-describedby="POWERONLINESTATE"> +
+
+ Show link to QRZ.com on Callsigns +
>
+
+
+ + + +
+ +
+ + +