|
|
|
@ -369,6 +369,7 @@ function DisplayLokinetConfig(){
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="usr">Bootstrap url:</label>
|
|
|
|
|
<input type="url" class="form-control" placeholder="http://206.81.100.174/n-st-5.signed" id="lokinetbootstrap">
|
|
|
|
|
value="<?php echo htmlspecialchars($_POST['lokinetbootstrap']); ?>">
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
@ -376,7 +377,9 @@ function DisplayLokinetConfig(){
|
|
|
|
|
<input type="submit" class="btn btn-success" name="ApplyLokinetSettings" value="Apply Bootstrap" />
|
|
|
|
|
<?php
|
|
|
|
|
global $bootstrap;
|
|
|
|
|
$bootstrap = 'lokinetbootstrap';
|
|
|
|
|
if (isset($_POST["ApplyLokinetSettings"])) {
|
|
|
|
|
$bootstrap = $_POST['lokinetbootstrap'];
|
|
|
|
|
}
|
|
|
|
|
if( $lokinetstatus[0] == 0 ) {
|
|
|
|
|
echo '<input type="submit" class="btn btn-success" name="StartLokinet" value="Start Lokinet Service" />' , PHP_EOL;
|
|
|
|
|
} else {
|
|
|
|
|