diff options
Diffstat (limited to 'view/tpl/register.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/register.tpl | 46 |
1 files changed, 26 insertions, 20 deletions
diff --git a/view/tpl/register.tpl b/view/tpl/register.tpl index 4b565718d..916a946d3 100644..100755 --- a/view/tpl/register.tpl +++ b/view/tpl/register.tpl @@ -1,45 +1,51 @@ -<h2>$title</h2> +<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" /> +{{if $reg_is}} +<div id="register-desc" class="descriptive-paragraph">{{$reg_is}}</div> +{{/if}} +{{if $registertext}}<div id="register-text" class="descriptive-paragraph">{{$registertext}}</div> +{{/if}} +{{if $other_sites}}<div id="register-sites" class="descriptive-paragraph">{{$other_sites}}</div> +{{/if}} + +{{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 }} +{{/if}} - <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" /> + <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" /> + <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" /> + <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 }} + {{if $enable_tos}} <input type="checkbox" name="tos" id="register-tos" value="1" /> - <label for="register-tos" id="label-register-tos">$label_tos</label> + <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 }} + {{else}} <input type="hidden" name="tos" value="1" /> - {{ endif }} + {{/if}} - <input type="submit" name="submit" id="register-submit-button" value="$submit" /> + <input type="submit" name="submit" id="register-submit-button" value="{{$submit}}" /> <div id="register-submit-end" class="register-field-end"></div> </form> |