13 lines
475 B
PHP
13 lines
475 B
PHP
<?php declare(strict_types=1); ?>
|
|
<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>
|