jilo-web/app/templates/config-configfile-edit.php

28 lines
1.3 KiB
PHP
Raw Normal View History

2024-10-29 11:38:22 +00:00
2024-10-31 09:59:17 +00:00
<!-- widget "config file" -->
2024-10-29 11:38:22 +00:00
<div class="card text-center w-75 mx-lef">
2024-10-31 09:08:53 +00:00
<p class="h4 card-header">Jilo configuration file :: edit</p>
2024-10-29 11:38:22 +00:00
<div class="card-body">
2024-10-30 13:11:27 +00:00
<div class="card-text">
<p class="text-danger"><strong>this may break everything, use with extreme caution</strong></p>
</div>
2024-11-01 16:23:40 +00:00
<form method="POST" action="<?= htmlspecialchars($app_root) ?>?page=config&item=config_file">
2024-10-29 11:38:22 +00:00
<?php
include '../app/helpers/render.php';
editConfig($config, '0');
echo "\n";
?>
2024-10-30 13:11:27 +00:00
<p class="text-danger"><strong>this may break everything, use with extreme caution</strong></p>
2024-11-01 16:23:40 +00:00
<br />
<input type="hidden" name="item" value="config_file" />
2024-10-31 09:08:53 +00:00
<a class="btn btn-outline-secondary btn-sm" href="<?= htmlspecialchars($app_root) ?>?page=config&item=config_file" />Cancel</a>
&nbsp;&nbsp;
<input type="submit" class="btn btn-danger btn-sm" value="Save" />
2024-10-29 11:38:22 +00:00
</form>
</div>
</div>
2024-10-31 09:59:17 +00:00
<!-- /widget "config file" -->