12 lines
441 B
PHP
12 lines
441 B
PHP
<form method="post">
|
|
<label for="dir"><?= _('Target directory') ?></label><br>
|
|
<select required="" name="dir" id="dir">
|
|
<option value="" disabled="" selected="">—</option>
|
|
<?php
|
|
foreach (dirsStatuses('onion') as $dir => $alreadyEnabled)
|
|
echo ' <option' . ($alreadyEnabled ? ' disabled=""' : '') . ' value="' . $dir . '">' . $dir . '</option>' . LF;
|
|
?>
|
|
</select>
|
|
<br>
|
|
<input type="submit" value="<?= _('Setup access') ?>">
|
|
</form>
|