aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/smarty3/register.tpl
diff options
context:
space:
mode:
authorZach Prezkuta <fermion@gmx.com>2013-01-06 14:42:51 -0700
committerZach Prezkuta <fermion@gmx.com>2013-01-06 15:57:11 -0700
commita0d19ffb7241a1c7a4b85e6d0fd58fbb2f718468 (patch)
tree280d792355cb2e60cf62e8451b6d8afbbfcc7c0d /view/tpl/smarty3/register.tpl
parent61b8ea9e1af74e2056e18b02c170a899de9abd1b (diff)
downloadvolse-hubzilla-a0d19ffb7241a1c7a4b85e6d0fd58fbb2f718468.tar.gz
volse-hubzilla-a0d19ffb7241a1c7a4b85e6d0fd58fbb2f718468.tar.bz2
volse-hubzilla-a0d19ffb7241a1c7a4b85e6d0fd58fbb2f718468.zip
implement Smarty3
Diffstat (limited to 'view/tpl/smarty3/register.tpl')
-rw-r--r--view/tpl/smarty3/register.tpl45
1 files changed, 45 insertions, 0 deletions
diff --git a/view/tpl/smarty3/register.tpl b/view/tpl/smarty3/register.tpl
new file mode 100644
index 000000000..48c1ba525
--- /dev/null
+++ b/view/tpl/smarty3/register.tpl
@@ -0,0 +1,45 @@
+<h2>{{$title}}</h2>
+
+<form action="register" method="post" id="register-form">
+
+{{if $registertext}}
+<div id="register-desc" class="descriptive-paragraph">{{$registertext}}</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>
+{{/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}}" />
+ <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}}" />
+ <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}}" />
+ <div id="register-password2-feedback" class="register-feedback"></div>
+ <div id="register-password2-end" class="register-field-end"></div>
+
+ {{if $enable_tos}}
+ <input type="checkbox" name="tos" id="register-tos" value="1" />
+ <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}}
+ <input type="hidden" name="tos" value="1" />
+ {{/if}}
+
+ <input type="submit" name="submit" id="register-submit-button" value="{{$submit}}" />
+ <div id="register-submit-end" class="register-field-end"></div>
+
+</form>