14 lines
626 B
PHP
14 lines
626 B
PHP
<form method="post">
|
|
<label for="path"><?= _('Path') ?></label><br>
|
|
<code>https://<?= CONF['ht']['subpath_domain'] ?>/</code><input required="" placeholder="path" id="path" name="path" type="text"><br>
|
|
<label for="dir"><?= _('Target directory') ?></label><br>
|
|
<select required="" name="dir" id="dir">
|
|
<option value="" disabled="" selected="">---</option>
|
|
<?php
|
|
foreach (dirsStatuses('subpath') as $dir => $alreadyEnabled)
|
|
echo ' <option' . ($alreadyEnabled ? ' disabled=""' : '') . ' value="' . $dir . '">' . $dir . '</option>' . LF;
|
|
?>
|
|
</select>
|
|
<br>
|
|
<input type="submit" value="<?= _('Setup access') ?>">
|
|
</form>
|