diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2013-05-08 04:23:17 -0400 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2013-05-08 04:23:17 -0400 |
commit | 5e1980becf69a4c65489bed6f94fa730ec8ef4bf (patch) | |
tree | 2f1f1c7540c62c049dd314b0155380c6cb4526b5 /view/tpl/register.tpl | |
parent | c753fa19d289e936131aad706cf31bcfe111b4c1 (diff) | |
download | volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.tar.gz volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.tar.bz2 volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.zip |
remove "internal" templates, use "tpl/" folder for smarty3 templates,
move smarty3 templates in "tpl/" folder, add util/precompile_smarty.php utility, add precompiled templates
Diffstat (limited to 'view/tpl/register.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/register.tpl | 45 |
1 files changed, 25 insertions, 20 deletions
diff --git a/view/tpl/register.tpl b/view/tpl/register.tpl index 4b565718d..98d888f08 100644..100755 --- a/view/tpl/register.tpl +++ b/view/tpl/register.tpl @@ -1,45 +1,50 @@ -<h2>$title</h2> +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} +<h2>{{$title}}</h2> <form action="register" method="post" id="register-form"> -{{ if $registertext }} -<div id="register-desc" class="descriptive-paragraph">$registertext</div> -{{ endif }} +{{if $registertext}} +<div id="register-desc" class="descriptive-paragraph">{{$registertext}}</div> +{{/if}} -{{ if $invitations }} - <p id="register-invite-desc">$invite_desc</p> +{{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" /> + <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> |