servnest/pg-view/reg/ns.php
2023-01-21 04:16:02 +01:00

23 lines
723 B
PHP

<form method="post">
<label for="action"><?= _('Action') ?></label>
<select name="action" id="action">
<option value="add"><?= _('Add') ?></option>
<option value="delete"><?= _('Delete') ?></option>
</select>
<br>
<label for="domain"><?= _('Domain') ?></label>
<br>
<select required="" name="domain" id="domain">
<option value="" disabled="" selected="">—</option>
<?php
foreach (regListUserDomains() as $domain)
echo ' <option value="' . $domain . '">' . $domain . '</option>' . LF;
?>
</select>
<br>
<label for="ns"><?= _('Name server') ?></label>
<br>
<input id="ns" placeholder="ns1.<?= PLACEHOLDER_DOMAIN ?>." name="ns" type="text">
<br>
<input type="submit" value="<?= _('Apply') ?>">
</form>