-
Notifications
You must be signed in to change notification settings - Fork 0
/
register.tpl
executable file
·92 lines (92 loc) · 3.18 KB
/
register.tpl
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html lang="en">
{if isset($error) && $error != ''}
<div class="alert alert-danger">{$error}</div>
{/if}
{if isset($notice) && $notice != ''}
<div class="alert alert-info">{$notice}</div>
{/if}
{if isset($sent) && $sent != ''}
<div class="alert alert-info">A link to reset your password has been sent to your e-mail account.</div>
{/if}
<head>
<!--
===
This comment should NOT be removed.
Charisma v2.0.0
Copyright 2012-2014 Muhammad Usman
Licensed under the Apache License v2.0
http://www.apache.org/licenses/LICENSE-2.0
http://usman.it
http://twitter.com/halalit_usman
===
-->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
{if $showregister != "0"}
<div class="ch-container">
<div class="row">
<div class="row">
<div class="col-md-12 center login-header">
<h2>Register</h2>
</div>
<!--/span-->
</div>
<!--/row-->
<div class="row">
<div class="well col-md-5 center login-box">
<div class="alert alert-info">
Register for a new account
</div>
<form class="form-horizontal" method="post" action="register?action=submit{$invite_code_query}">
{{csrf_field()}}
<fieldset>
<div class="input-group input-group-lg">
<span class="input-group-addon"><i class="glyphicon glyphicon-user red"></i></span>
<input id="username" name="username" type="text" class="form-control"
placeholder="Username">
</div>
<div class="clearfix"></div>
<br>
<div class="input-group input-group-lg">
<span class="input-group-addon"><i class="glyphicon glyphicon-envelope red"></i></span>
<input autocomplete="off" id="email" name="email" value="{$email}" type="email"
class="form-control" placeholder="Email"/>
</div>
<div class="clearfix"></div>
<br>
<div class="input-group input-group-lg">
<span class="input-group-addon"><i class="glyphicon glyphicon-lock red"></i></span>
<input autocomplete="off" id="password" name="password" value="{$confirmpassword}"
type="password" class="form-control" placeholder="Password"/>
</div>
<div class="clearfix"></div>
<div class="input-group input-group-lg">
<span class="input-group-addon"><i class="glyphicon glyphicon-lock red"></i></span>
<input autocomplete="off" id="password_confirmation" name="password_confirmation"
value="{$confirmpassword}" type="password" class="form-control"
placeholder="Retype password"/>
</div>
<div class="clearfix"></div>
<p class="center col-md-5">
<p class="center col-md-5">
{if {env('NOCAPTCHA_ENABLED')} == 1 && !empty({env('NOCAPTCHA_SITEKEY')}) && !empty({env('NOCAPTCHA_SECRET')})}
{NoCaptcha::display()}{NoCaptcha::renderJs()}
{/if}
</p>
<button type="submit" class="btn btn-primary">Register</button>
</fieldset>
<a href="{$smarty.const.WWW_TOP}login" class="text-center">I already have a membership</a>
</form>
</div>
<!--/span-->
</div>
<!--/row-->
</div>
<!--/fluid-row-->
</div>
<!--/.fluid-container-->
{/if}
</body>