aboutsummaryrefslogtreecommitdiff
path: root/t/newuser.t
blob: a0a0dd9048edebf7de8af7d3ebac2ce83e8acdbc (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
<% #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) printf("%s", name); %>"></td>
		</tr>
		<tr id="full">
			<td><label for="full">Full Name</label></td>
			<td><input type="text" name="full" value="<% if(full) printf("%s", 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>
	</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 &rarr;"></p>
</form>
<% #include "foot.tc" %>