aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/register.tpl
blob: 4b565718d565e85ba08b65199c61ba3188ca7369 (plain) (blame)
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
40
41
42
43
44
45
<h2>$title</h2>

<form action="register" method="post" id="register-form">

{{ if $registertext }}
<div id="register-desc" class="descriptive-paragraph">$registertext</div>
{{ endif }}

{{ if $invitations }}
	<p id="register-invite-desc">$invite_desc</p>

	<label for="register-invite" id="label-register-invite" class="register-label">$label_invite</label>
	<input type="text" maxlength="72" size="32" name="invite_code" id="register-invite" class="register-input" value="$invite_code" />
	<div id="register-invite-feedback" class="register-feedback"></div>
	<div id="register-invite-end" class="register-field-end"></div>
{{ endif }}

	<label for="register-email" id="label-register-email" class="register-label" >$label_email</label>
	<input type="text" maxlength="72" size="32" name="email" id="register-email" class="register-input" value="$email" />
	<div id="register-email-feedback" class="register-feedback"></div>
	<div id="register-email-end"  class="register-field-end"></div>

	<label for="register-password" id="label-register-password" class="register-label" >$label_pass1</label>
	<input type="password" maxlength="72" size="32" name="password" id="register-password" class="register-input" value="$pass1" />
	<div id="register-password-feedback" class="register-feedback"></div>
	<div id="register-password-end"  class="register-field-end"></div>

	<label for="register-password2" id="label-register-password2" class="register-label" >$label_pass2</label>
	<input type="password" maxlength="72" size="32" name="password2" id="register-password2" class="register-input" value="$pass2" />
	<div id="register-password2-feedback" class="register-feedback"></div>
	<div id="register-password2-end"  class="register-field-end"></div>

	{{ if $enable_tos }}
	<input type="checkbox" name="tos" id="register-tos" value="1" />
	<label for="register-tos" id="label-register-tos">$label_tos</label>
	<div id="register-tos-feedback" class="register-feedback"></div>
	<div id="register-tos-end"  class="register-field-end"></div>
	{{ else }}
	<input type="hidden" name="tos" value="1" />
	{{ endif }}

	<input type="submit" name="submit" id="register-submit-button" value="$submit" />
	<div id="register-submit-end" class="register-field-end"></div>

</form>