friendica/view/templates/register.tpl

91 lines
3.2 KiB
Smarty
Raw Normal View History

2013-04-23 13:47:57 +02:00
<h3>{{$regtitle}}</h3>
<form action="register" method="post" id="register-form">
<input type="hidden" name="photo" value="{{$photo}}" />
2017-05-06 14:49:53 +02:00
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
2013-04-23 13:47:57 +02:00
{{if $registertext != ""}}<div class="error-message">{{$registertext nofilter}} </div>{{/if}}
2014-01-13 14:40:26 +01:00
{{if $explicit_content}} <p id="register-explicid-content">{{$explicit_content_note}}</p> {{/if}}
2013-04-23 13:47:57 +02:00
<p id="register-fill-desc">{{$fillwith}}</p>
<p id="register-fill-ext">{{$fillext}}</p>
{{if $oidlabel}}
<div id="register-openid-wrapper" >
2020-01-15 18:55:32 +01:00
<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}}" >
2013-04-23 13:47:57 +02:00
</div>
<div id="register-openid-end" ></div>
{{/if}}
{{if $invitations}}
<p id="register-invite-desc">{{$invite_desc nofilter}}</p>
2013-04-23 13:47:57 +02:00
<div id="register-invite-wrapper" >
<label for="register-invite" id="label-register-invite" >{{$invite_label}}</label>
<input type="text" maxlength="60" size="32" name="invite_id" id="register-invite" value="{{$invite_id}}" >
</div>
<div id="register-name-end" ></div>
{{/if}}
<div id="register-name-wrapper" >
<label for="register-name" id="label-register-name" >{{$namelabel}}</label>
2020-01-15 18:55:32 +01:00
<input type="text" maxlength="60" size="32" name="username" id="register-name" value="{{$username}}" required>
2013-04-23 13:47:57 +02:00
</div>
<div id="register-name-end" ></div>
<div id="register-email-wrapper" >
<label for="register-email" id="label-register-email" >{{$addrlabel}}</label>
2020-01-15 18:55:32 +01:00
<input type="text" maxlength="60" size="32" name="field1" id="register-email" value="{{$email}}" required>
2013-04-23 13:47:57 +02:00
</div>
<div id="register-email-end" ></div>
2020-01-15 18:55:32 +01:00
<div id="register-repeat-wrapper" >
<label for="register-repeat" id="label-register-repeat" >{{$addrlabel2}}</label>
<input type="text" maxlength="60" size="32" name="repeat" id="register-repeat" value="" required>
</div>
<div id="register-repeat-end" ></div>
{{if $ask_password}}
{{include file="field_password.tpl" field=$password1}}
{{include file="field_password.tpl" field=$password2}}
{{/if}}
2018-12-28 02:13:36 +01:00
<p id="register-nickname-desc" >{{$nickdesc nofilter}}</p>
2013-04-23 13:47:57 +02:00
<div id="register-nickname-wrapper" >
<label for="register-nickname" id="label-register-nickname" >{{$nicklabel}}</label>
2020-01-15 18:55:32 +01:00
<input type="text" maxlength="60" size="32" name="nickname" id="register-nickname" value="{{$nickname}}" required><div id="register-sitename">@{{$sitename}}</div>
2013-04-23 13:47:57 +02:00
</div>
<div id="register-nickname-end" ></div>
2020-01-15 18:55:32 +01:00
<input type="input" id=tarpit" name="email" style="display: none;" placeholder="Don't enter anything here"/>
{{if $permonly}}
2020-01-15 18:55:32 +01:00
{{include file="field_textarea.tpl" field=$permonlybox}}
{{/if}}
{{$publish nofilter}}
2013-04-23 13:47:57 +02:00
{{if $showtoslink}}
<p><a href="{{$baseurl}}/tos">{{$tostext}}</a></p>
{{/if}}
{{if $showprivstatement}}
<h4>{{$privstatement.0}}</h4>
{{for $i=1 to 3}}
<p>{{$privstatement[$i] nofilter}}</p>
{{/for}}
{{/if}}
2013-04-23 13:47:57 +02:00
<div id="register-submit-wrapper">
<input type="submit" name="submit" id="register-submit-button" value="{{$regbutt}}" />
2013-04-23 13:47:57 +02:00
</div>
<div id="register-submit-end" ></div>
<h3>{{$importh}}</h3>
<div id ="import-profile">
<a href="uimport">{{$importt}}</a>
</div>
2013-04-23 13:47:57 +02:00
</form>