servnest/pg-view/ht/del-http-dns.php

17 lines
478 B
PHP
Raw Normal View History

2022-06-11 23:50:14 +02:00
<p>
Retirer un accès DNS et TLS d'un dossier
</p>
<form method="post">
<label for="dir">Dossier ciblé</label><br>
<select required="" name="dir" id="dir">
<option value="" disabled="" selected="">---</option>
2022-06-11 23:50:14 +02:00
<?php
2022-12-21 00:14:55 +01:00
foreach (dirsStatuses('dns', 'http') as $dir => $alreadyEnabled)
echo ' <option' . ($alreadyEnabled ? '' : ' disabled=""') . ' value="' . $dir . '">' . $dir . '</option>' . LF;
2022-06-11 23:50:14 +02:00
?>
</select>
<br>
2022-12-20 23:25:33 +01:00
<input type="submit" value="Retirer l'accès">
2022-06-11 23:50:14 +02:00
</form>