servnest/pg-view/reg/glue.php
2023-07-17 21:15:18 +02:00

19 lines
748 B
PHP

<?php declare(strict_types=1); ?>
<form method="post">
<?php require ROOT_PATH . '/pg-view/reg/select-action.inc.php'; ?>
<fieldset>
<legend><?= _('Domain') ?></legend>
<div>
<label for="subdomain"><?= _('Subdomain') ?></label>
<br>
<input required="" id="subdomain" placeholder="ns1" name="subdomain" type="text">
</div>
<div>
<?php require ROOT_PATH . '/pg-view/reg/select-domain.inc.php'; ?>
</div>
</fieldset>
<label for="ip"><?= _('IP address') ?></label><br>
<input required="" pattern="^[a-f0-9:.]+$" id="ip" name="ip" minlength="2" maxlength="39" size="40" type="text" placeholder="<?= sprintf(_('%1$s or %2$s'), PLACEHOLDER_IPV6, PLACEHOLDER_IPV4) ?>">
<br>
<input type="submit" value="<?= _('Apply') ?>">
</form>