forked from .cyb/cyberman
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
<center>
|
|
<br />
|
|
<h1>Register a domain</h1>
|
|
<br />
|
|
</center>
|
|
|
|
<% IF error %>
|
|
<center>
|
|
<div class="msgBox">
|
|
<% IF e_no_name %>
|
|
You did not specify a domain to register.
|
|
<% END %>
|
|
<% IF e_exists %>
|
|
The domain '<% params.name | html_entity %>.cyb' has already been registered. Please choose a different domain name.
|
|
<% END %>
|
|
<% IF e_chars %>
|
|
The domain '<% params.name | html_entity %>.cyb' contains invalid characters. Domains must match the regular expression `^[a-z0-9]([a-z0-9\-_]*[a-z0-9])?$`.
|
|
<% END %>
|
|
</div>
|
|
<br /><br />
|
|
</center>
|
|
<% END %>
|
|
|
|
<div class="body">
|
|
Please choose a domain to register:
|
|
<br /><br />
|
|
|
|
<form method="POST" class="login">
|
|
<input type="text" name="name" id="name" onkeyup="checkAvailability()">.cyb
|
|
<br /><br />
|
|
[ <button action="submit" class="textButton">register domain</button> ]
|
|
[ <a href="../domains" class="bracketButton">go back</a> ]
|
|
</form>
|
|
<span id="avail"></span>
|
|
</div>
|
|
|
|
<script type="text/javascript" src="/js/domain_check.js"></script>
|