22 lines
509 B
PHP
22 lines
509 B
PHP
<?php
|
|
|
|
$dirsStatuses = dirsStatuses('onion', 'http');
|
|
|
|
?>
|
|
|
|
<p>
|
|
Retirer un accès Onion 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>
|
|
<?php
|
|
foreach ($dirsStatuses as $dir => $alreadyEnabled)
|
|
echo ' <option' . ($alreadyEnabled ? '' : ' disabled=""') . ' value="' . $dir . '">' . $dir . '</option>' . LF;
|
|
?>
|
|
</select>
|
|
<br>
|
|
<input value="Valider" type="submit">
|
|
</form>
|