We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

register.tpl 1.87 KB
Newer Older
1
{include file='mini-header.tpl'}
elleo's avatar
elleo committed
2

jurgbohn's avatar
jurgbohn committed
3
{if isset($activated)}
clint's avatar
clint committed
4

Matt Lee's avatar
Matt Lee committed
5 6 7
        <h2>You're in!</h2>

	<p>Your account has been activated! You may now <a href="/login.php">login!</a></p>
jurgbohn's avatar
jurgbohn committed
8

9
{elseif isset($registered) }
mattl's avatar
mattl committed
10

Matt Lee's avatar
Matt Lee committed
11
	<h2>Go! Go! Go! Check your email now</h2>
Matt Lee's avatar
Matt Lee committed
12

Matt Lee's avatar
Matt Lee committed
13
	<p>{t}Please follow the link in your email to activate your account!{/t}</p>
Matt Lee's avatar
Matt Lee committed
14
	
elleo's avatar
elleo committed
15 16
{else}

Matt Lee's avatar
Matt Lee committed
17
<h2>You look awesome today, by the way</h2>
Matt Lee's avatar
Matt Lee committed
18

elleo's avatar
elleo committed
19 20 21 22 23 24 25
	{if isset($errors) }
		<p id='errors'>{$errors}</p>
	{/if}

	<form action='' method='post'>
		<fieldset>

Matt Lee's avatar
Matt Lee committed
26 27 28
			<h3><label for='username'>{t}Your username:{/t}</label></h3>
			<p><small>{t}No more than 16 characters, please.{/t}</small></p>
			<div><input id='username' name='username' type='text' value='{$username}' maxlength='16' size='16' /></div>
elleo's avatar
elleo committed
29

Matt Lee's avatar
Matt Lee committed
30
			<h3>
Matt Lee's avatar
Matt Lee committed
31 32
			<label for='password'>{t}Your password:{/t}</label></h3>
			<p><small>{t}Try and make it hard to guess! Don't use the same password for everything!{/t}</small></p>
Matt Lee's avatar
Matt Lee committed
33
			<div><input id='password' name='password' type='password' value=''/></div>
elleo's avatar
elleo committed
34

Matt Lee's avatar
Matt Lee committed
35
			<h3>
Matt Lee's avatar
Matt Lee committed
36
			<label for='password-repeat'>{t}Your password again{/t}</label></h3>
Matt Lee's avatar
Matt Lee committed
37
			<p><small>Who said repeating yourself was a bad thing?</small></p>
Matt Lee's avatar
Matt Lee committed
38
			<div><input id='password-repeat' name='password-repeat' type='password' value=''/></div>
elleo's avatar
elleo committed
39

Matt Lee's avatar
Matt Lee committed
40
			<h3><label for='email'>{t}Your e-mail:{/t}</label></h3>
Matt Lee's avatar
Matt Lee committed
41
			<p><small>We're going to email you here to confirm this account.</small></p>
Matt Lee's avatar
Matt Lee committed
42
			<div><input id='email' name='email' type='text' value='{$email}' maxlength='64' /></div>
mattl's avatar
mattl committed
43

Matt Lee's avatar
Matt Lee committed
44 45
			<p><label><input type="checkbox" name="foo-check" /> I read this form carefully, and double-checked my email address first, honest.</label></p>

mattl's avatar
mattl committed
46 47
		</fieldset>

48
		<p><input type='submit' name='register' value="{t}Sign up{/t}" /></p>
elleo's avatar
elleo committed
49 50

	</form>
mattl's avatar
mattl committed
51

Matt Lee's avatar
Matt Lee committed
52
	<p><small>{t}We won't sell, swap or give away your email address. You can optionally include personal data on your profile, which is displayed publicly.{/t}</small></p>
mattl's avatar
mattl committed
53
	
elleo's avatar
elleo committed
54
{/if}
55
{include file='mini-footer.tpl'}