]> git.mxchange.org Git - friendica.git/blob - view/templates/register.tpl
Additional accounts now work for the general template as well
[friendica.git] / view / templates / register.tpl
1 <h3>{{$regtitle}}</h3>
2
3 <form action="register" method="post" id="register-form">
4
5         <input type="hidden" name="photo" value="{{$photo}}" />
6         <input type="hidden" name="form_security_token" value="{{$form_security_token}}">
7
8         {{if $registertext != ""}}<div class="error-message">{{$registertext nofilter}} </div>{{/if}}
9
10         {{if $explicit_content}} <p id="register-explicid-content">{{$explicit_content_note}}</p> {{/if}}
11
12         <p id="register-fill-desc">{{$fillwith}}</p>
13         <p id="register-fill-ext">{{$fillext}}</p>
14
15 {{if $oidlabel}}
16         <div id="register-openid-wrapper" >
17         <label for="register-openid" id="label-register-openid" >{{$oidlabel}}</label><input type="text" maxlength="60" size="32" name="openid_url" class="openid" id="register-openid" value="{{$openid}}" >
18         </div>
19         <div id="register-openid-end" ></div>
20 {{/if}}
21
22 {{if $invitations}}
23         <p id="register-invite-desc">{{$invite_desc nofilter}}</p>
24         <div id="register-invite-wrapper" >
25                 <label for="register-invite" id="label-register-invite" >{{$invite_label}}</label>
26                 <input type="text" maxlength="60" size="32" name="invite_id" id="register-invite" value="{{$invite_id}}" >
27         </div>
28         <div id="register-name-end" ></div>
29 {{/if}}
30
31         <div id="register-name-wrapper" >
32                 <label for="register-name" id="label-register-name" >{{$namelabel}}</label>
33                 <input type="text" maxlength="60" size="32" name="username" id="register-name" value="{{$username}}" required>
34         </div>
35         <div id="register-name-end" ></div>
36
37
38         {{if !$additional}}
39                 <div id="register-email-wrapper" >
40                         <label for="register-email" id="label-register-email" >{{$addrlabel}}</label>
41                         <input type="text" maxlength="60" size="32" name="field1" id="register-email" value="{{$email}}" required>
42                 </div>
43                 <div id="register-email-end" ></div>
44
45                 <div id="register-repeat-wrapper" >
46                         <label for="register-repeat" id="label-register-repeat" >{{$addrlabel2}}</label>
47                         <input type="text" maxlength="60" size="32" name="repeat" id="register-repeat" value="" required>
48                 </div>
49                 <div id="register-repeat-end" ></div>
50         {{/if}}
51
52 {{if $ask_password}}
53         {{include file="field_password.tpl" field=$password1}}
54         {{include file="field_password.tpl" field=$password2}}
55 {{/if}}
56
57         <p id="register-nickname-desc" >{{$nickdesc nofilter}}</p>
58
59         <div id="register-nickname-wrapper" >
60                 <label for="register-nickname" id="label-register-nickname" >{{$nicklabel}}</label>
61                 <input type="text" maxlength="60" size="32" name="nickname" id="register-nickname" value="{{$nickname}}" required><div id="register-sitename">@{{$sitename}}</div>
62         </div>
63         <div id="register-nickname-end" ></div>
64
65         <input type="input" id=tarpit" name="email" style="display: none;" placeholder="Don't enter anything here"/>
66
67         {{if $additional}}
68                 {{include file="field_password.tpl" field=$parent_password}}
69         {{/if}}
70
71 {{if $permonly}}
72         {{include file="field_textarea.tpl" field=$permonlybox}}
73 {{/if}}
74
75         {{$publish nofilter}}
76
77 {{if $showtoslink}}
78         <p><a href="{{$baseurl}}/tos">{{$tostext}}</a></p>
79 {{/if}}
80 {{if $showprivstatement}}
81         <h4>{{$privstatement.0}}</h4>
82         {{for $i=1 to 3}}
83         <p>{{$privstatement[$i] nofilter}}</p>
84         {{/for}}
85 {{/if}}
86
87         <div id="register-submit-wrapper">
88                 <input type="submit" name="submit" id="register-submit-button" value="{{$regbutt}}" />
89         </div>
90         <div id="register-submit-end" ></div>
91
92         {{if !$additional}}
93                 <h3>{{$importh}}</h3>
94                 <div id ="import-profile">
95                         <a href="uimport">{{$importt}}</a>
96                 </div>
97         {{/if}}
98 </form>