Puts warnings on config file edit page
parent
67380b1b3d
commit
b67a915ebe
|
@ -3,10 +3,10 @@
|
||||||
<div class="card text-center w-75 mx-lef">
|
<div class="card text-center w-75 mx-lef">
|
||||||
<p class="h4 card-header">Jilo configuration file</p>
|
<p class="h4 card-header">Jilo configuration file</p>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<p class="card-text">editing the Jilo Server configuration file
|
<div class="card-text">
|
||||||
<br />
|
<p>editing the Jilo Server configuration file</p>
|
||||||
<span class="text-danger"><strong>this may break everything, use with extreme caution</strong></span>
|
<p class="text-danger"><strong>this may break everything, use with extreme caution</strong></p>
|
||||||
</p>
|
</div>
|
||||||
<form method="POST" action="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=config&item=config_file">
|
<form method="POST" action="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=config&item=config_file">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
@ -15,9 +15,9 @@ editConfig($config, '0');
|
||||||
echo "\n";
|
echo "\n";
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<br />
|
<p class="text-danger"><strong>this may break everything, use with extreme caution</strong></p>
|
||||||
<a class="btn btn-secondary" href="<?= htmlspecialchars($app_root) ?>?page=config&item=config_file" />Cancel</a>
|
<a class="btn btn-secondary" href="<?= htmlspecialchars($app_root) ?>?page=config&item=config_file" />Cancel</a>
|
||||||
<input type="submit" class="btn btn-primary" value="Save" />
|
<input type="submit" class="btn btn-danger" value="Save" />
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -10,9 +10,8 @@ renderConfig($config, '0');
|
||||||
echo "\n";
|
echo "\n";
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<br />
|
||||||
|
<a class="btn btn-danger" href="<?= htmlspecialchars($app_root) ?>?page=config&item=config_file&action=edit" />Edit</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br />
|
|
||||||
<a class="btn btn-danger" href="<?= htmlspecialchars($app_root) ?>?page=config&item=config_file&action=edit" />Edit</a>
|
|
||||||
<!-- /widget "config" -->
|
<!-- /widget "config" -->
|
||||||
|
|
Loading…
Reference in New Issue