linux-step-by-step.md!"); ?>
\n"); fclose($configfile); ?>
MMDVM-Dashboard by DG9VH
MMDVM-Dashboard by DG9VH
" name="MMDVMLOGPATH" class="form-control" placeholder="/var/log/mmdvm/" aria-describedby="MMDVMLOGPATH" required data-fv-notempty-message="Value is required">
" name="MMDVMINIPATH" class="form-control" placeholder="/etc/mmdvm/" aria-describedby="MMDVMINIPATH" required data-fv-notempty-message="Value is required">
" name="MMDVMINIFILENAME" class="form-control" placeholder="MMDVM.ini" aria-describedby="MMDVMINIFILENAME" required data-fv-notempty-message="Value is required">
" name="MMDVMHOSTPATH" class="form-control" placeholder="/usr/local/bin/" aria-describedby="MMDVMHOSTPATH" required data-fv-notempty-message="Value is required">
>
>
>
" name="DMRIDDATPATH" class="form-control" placeholder="/var/mmdvm/DMRIDs.dat" aria-describedby="DMRIDDATPATH">
>
>
" name="YSFGATEWAYLOGPATH" class="form-control" placeholder="/var/log/YSFGateway/" aria-describedby="YSFGATEWAYLOGPATH">
" name="YSFGATEWAYLOGPREFIX" class="form-control" placeholder="YSFGateway" aria-describedby="YSFGATEWAYLOGPREFIX">
" name="YSFGATEWAYINIPATH" class="form-control" placeholder="/etc/YSFGateway/" aria-describedby="YSFGATEWAYINIPATH">
" name="YSFGATEWAYINIFILENAME" class="form-control" placeholder="YSFGateway.ini" aria-describedby="YSFGATEWAYINIFILENAME">
" name="YSFHOSTSPATH" class="form-control" placeholder="/etc/YSFGateway/" aria-describedby="YSFHOSTSPATH">
" name="YSFHOSTSFILENAME" class="form-control" placeholder="YSFHosts.txt" aria-describedby="YSFHOSTSFILENAME">
>
" name="DMRGATEWAYLOGPATH" class="form-control" placeholder="/var/log/DMRGateway/" aria-describedby="DMRGATEWAYLOGPATH">
" name="DMRGATEWAYLOGPREFIX" class="form-control" placeholder="DMRGateway" aria-describedby="DMRGATEWAYLOGPREFIX">
" name="DMRGATEWAYINIPATH" class="form-control" placeholder="/etc/DMRGateway/" aria-describedby="DMRGATEWAYINIPATH">
" name="DMRGATEWAYPATH" class="form-control" placeholder="/usr/local/bin/" aria-describedby="DMRGATEWAYPATH">
" name="DMRGATEWAYINIFILENAME" class="form-control" placeholder="DMRGateway.ini" aria-describedby="DMRGATEWAYINIFILENAME">
>
" name="DAPNETGATEWAYLOGPREFIX" class="form-control" placeholder="DAPNETGateway" aria-describedby="DAPNETGATEWAYLOGPREFIX">
" name="DAPNETGATEWAYINIPATH" class="form-control" placeholder="/etc/DAPNETGateway/" aria-describedby="DAPNETGATEWAYINIPATH">
" name="DAPNETGATEWAYPATH" class="form-control" placeholder="/usr/local/bin/" aria-describedby="DAPNETGATEWAYPATH">
" name="DAPNETGATEWAYINIFILENAME" class="form-control" placeholder="DAPNETGateway.ini" aria-describedby="DAPNETGATEWAYINIFILENAME">
" name="LINKLOGPATH" class="form-control" placeholder="/var/log/" aria-describedby="LINKLOGPATH">
" name="IRCDDBGATEWAY" class="form-control" placeholder="ircddbgatewayd" aria-describedby="IRCDDBGATEWAY">
'; echo '
'._("Timezone").'
'; echo '
'; function timezonechoice($selectedzone) { $all = timezone_identifiers_list(); $i = 0; foreach($all AS $zone) { $zone = explode('/',$zone); $zonen[$i]['continent'] = isset($zone[0]) ? $zone[0] : ''; $zonen[$i]['city'] = isset($zone[1]) ? $zone[1] : ''; $zonen[$i]['subcity'] = isset($zone[2]) ? $zone[2] : ''; $i++; } asort($zonen); $structure = ''; foreach($zonen AS $zone) { extract($zone); if(!isset($selectcontinent)) { $structure .= '
'; // continent } elseif($selectcontinent != $continent) { $structure .= '
'; // continent } if(isset($city) != ''){ if (!empty($subcity) != ''){ $city = $city . '/'. $subcity; } if ($continent != "UTC") { $structure .= "
".str_replace('_',' ',$city)."
"; //Timezone } else { $structure .= "
UTC
"; //Timezone } } else { if (!empty($subcity) != ''){ $city = $city . '/'. $subcity; } $structure .= "
".$continent."
"; //Timezone } $selectcontinent = $continent; } $structure .= '
'; return $structure; } echo timezonechoice($selectedzone); echo '
'; echo ''; echo '
'; echo '
'; } get_tz_options(constant("TIMEZONE"), "Timezone", ''); ?>
value="">
" 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">
" name="REFRESHAFTER" class="form-control" placeholder="60" aria-describedby="REFRESHAFTER" required data-fv-notempty-message="Value is required">
>
>
>
>
>
>
>
>
>
>
" name="TEMPERATUREHIGHLEVEL" class="form-control" placeholder="60" aria-describedby="TEMPERATUREHIGHLEVEL" required data-fv-notempty-message="Value is required">
>
>
>
" name="SWITCHNETWORKUSER" class="form-control" placeholder="username" aria-describedby="SWITCHNETWORKUSER">
" name="SWITCHNETWORKPW" class="form-control" placeholder="password" aria-describedby="SWITCHNETWORKPW">
>
" name="VIEWLOGUSER" class="form-control" placeholder="username" aria-describedby="VIEWLOGUSER">
" name="VIEWLOGPW" class="form-control" placeholder="password" aria-describedby="VIEWLOGPW">
" name="HALTUSER" class="form-control" placeholder="username" aria-describedby="HALTUSER">
" name="HALTPW" class="form-control" placeholder="password" aria-describedby="HALTPW">
" name="REBOOTUSER" class="form-control" placeholder="username" aria-describedby="REBOOTUSER">
" name="REBOOTPW" class="form-control" placeholder="password" aria-describedby="REBOOTPW">
" name="RESTARTUSER" class="form-control" placeholder="username" aria-describedby="RESTARTUSER">
" name="RESTARTPW" class="form-control" placeholder="password" aria-describedby="RESTARTPW">
" name="REBOOTYSFGATEWAY" class="form-control" placeholder="sudo systemctl restart ysfgateway.service" aria-describedby="REBOOTYSFGATEWAY">
" name="REBOOTMMDVM" class="form-control" placeholder="sudo systemctl restart mmdvmhost.service" aria-describedby="REBOOTMMDVM">
" name="REBOOTSYS" class="form-control" placeholder="sudo reboot" aria-describedby="REBOOTSYS">
" name="HALTSYS" class="form-control" placeholder="sudo halt" aria-describedby="HALTSYS">
>
" name="POWERONLINEPIN" class="form-control" placeholder="18" aria-describedby="POWERONLINEPIN">
" name="POWERONLINESTATE" class="form-control" placeholder="1" aria-describedby="POWERONLINESTATE">
>
value="min">
value="max">
value="avg">
value="all">