servnest/pg-view/reg/transfer.php

28 lines
1,018 B
PHP
Raw Normal View History

<p>
2023-01-21 03:17:58 +00:00
<?= sprintf(_('To prove that you are allowed to receive the domain by its current owner, the domain must have an NS record equal to %s when the form is being processed. The NS record will be automatically deleted once validated.'), '<code>' . getAuthToken() . '._transfer-verification.' . SERVER_NAME . '.</code>') ?>
</p>
<form method="post">
2023-01-23 00:14:59 +00:00
<fieldset>
<legend><?= _('Domain that will be transferred to this account') ?></legend>
<div>
<label for="subdomain"><?= _('Subdomain') ?></label>
<br>
2023-01-29 20:09:00 +00:00
<input id="subdomain" pattern="<?= SUBDOMAIN_REGEX ?>" required="" placeholder="servnest" name="subdomain" type="text">
2023-01-23 00:14:59 +00:00
</div>
<div>
<label for="suffix"><?= _('Suffix') ?></label>
<br>
<select required="" name="suffix" id="suffix">
<?php
foreach (CONF['reg']['suffixes'] as $suffix => $availability) {
echo ' <option value="' . $suffix . '">.' . $suffix . '</option>' . LF;
}
?>
</select>
</div>
</fieldset>
<input type="submit" value="<?= _('Receive the domain') ?>">
</form>