friendica/view/templates/register.tpl

99 lines
3.3 KiB
Smarty
Raw Normal View History

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