blob: 7d53f0c9c0ad1fed7e52fee83bb4c01cc3824728 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<% #include "head.tc" %>
<h1>New User</h1>
<% if(*msg){ %>
<p style="color: red;"><%= msg %></p>
<% } %>
<form class="<% if(hlite) printf("hlite-%s", hlite); %>" action="?new=user" method="POST">
<table border="0">
<tr id="name">
<td><label for="name">Username</label></td>
<td><input type="text" name="name" value="<% if(name) printhtml(name); %>"></td>
</tr>
<tr id="full">
<td><label for="full">Full name</label></td>
<td><input type="text" name="full" value="<% if(full) printhtml(full); %>"></td>
<td><small>(optional)</small></td>
</tr>
<tr id="pass">
<td><label for="pass">Password</label></td>
<td><input type="password" name="pass" value=""></td>
</tr>
<tr id="confirm">
<td><label for="confirm">Confirm</label></td>
<td><input type="password" name="confirm" value=""></td>
</tr>
<tr id="captcha">
<td><label for="captcha">What is 2 + 7?</label></td>
<td><input type="text" name="captcha" value="<% if(captcha) printhtml(captcha); %>"></td>
</tr>
</table>
<p>By clicking <i>Create</i>, you confirm</p>
<ol>
<li>that this user is a real human,</li>
<li>that you will not abuse the service,</li>
<li>that the information you provide will be saved on the server, and</li>
<li>that your user may be terminated by an administrator at any point and for any reason.</li>
</ol>
<p><input type="submit" value="Create →"></p>
</form>
<% #include "foot.tc" %>
|