aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-08-15 21:56:04 -0700
committerfriendica <info@friendica.com>2012-08-15 21:56:04 -0700
commit77b334efbce9eb9aef825b968a2c852da21bfe94 (patch)
tree2b3cc8de8c47cc36ee8a1fc0bf4f06dba05fd9bd /view/tpl
parent2358a220baad2f8dc027d9bd3cd01c34ae234968 (diff)
downloadvolse-hubzilla-77b334efbce9eb9aef825b968a2c852da21bfe94.tar.gz
volse-hubzilla-77b334efbce9eb9aef825b968a2c852da21bfe94.tar.bz2
volse-hubzilla-77b334efbce9eb9aef825b968a2c852da21bfe94.zip
cleanup of mod_zregister, basic functionality working - new accounts getting stored.
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/zregister.tpl15
1 files changed, 9 insertions, 6 deletions
diff --git a/view/tpl/zregister.tpl b/view/tpl/zregister.tpl
index 356b1b61d..d888052b0 100644
--- a/view/tpl/zregister.tpl
+++ b/view/tpl/zregister.tpl
@@ -10,7 +10,7 @@
<p id="register-invite-desc">$invite_desc</p>
<label for="zregister-invite" id="label-zregister-invite" class="zregister-label">$label_invite</label>
- <input type="text" maxlength="72" size="32" name="invite_id" id="zregister-invite" class="zregister-input" value="$invite_id" >
+ <input type="text" maxlength="72" size="32" name="invite_id" id="zregister-invite" class="zregister-input" value="$invite_id" />
</div>
<div id="zregister-invite-feedback" class="zregister-feedback"></div>
<div id="zregister-invite-end" class="zregister-field-end"></div>
@@ -19,25 +19,28 @@
<label for="zregister-email" id="label-zregister-email" class="zregister-label" >$label_email</label>
- <input type="text" maxlength="72" size="32" name="email" id="zregister-email" class="zregister-input" value="$email" >
+ <input type="text" maxlength="72" size="32" name="email" id="zregister-email" class="zregister-input" value="$email" />
<div id="zregister-email-feedback" class="zregister-feedback"></div>
<div id="zregister-email-end" class="zregister-field-end"></div>
<label for="zregister-password" id="label-zregister-password" class="zregister-label" >$label_pass1</label>
- <input type="password" maxlength="72" size="32" name="password" id="zregister-password" class="zregister-input" value="$pass1" >
+ <input type="password" maxlength="72" size="32" name="password" id="zregister-password" class="zregister-input" value="$pass1" />
<div id="zregister-password-feedback" class="zregister-feedback"></div>
<div id="zregister-password-end" class="zregister-field-end"></div>
<label for="zregister-password2" id="label-zregister-password2" class="zregister-label" >$label_pass2</label>
- <input type="password" maxlength="72" size="32" name="password2" id="zregister-password2" class="zregister-input" value="$pass2" >
+ <input type="password" maxlength="72" size="32" name="password2" id="zregister-password2" class="zregister-input" value="$pass2" />
<div id="zregister-password2-feedback" class="zregister-feedback"></div>
<div id="zregister-password2-end" class="zregister-field-end"></div>
-
- <input type="checkbox" name="tos" id="zregister-tos" value="1" >
+ {{ if $enable_tos }}
+ <input type="checkbox" name="tos" id="zregister-tos" value="1" />
<label for="zregister-tos" id="label-zregister-tos">$label_tos</label>
<div id="zregister-tos-feedback" class="zregister-feedback"></div>
<div id="zregister-tos-end" class="zregister-field-end"></div>
+ {{ else }}
+ <input type="hidden" name="tos" value="1" />
+ {{ endif }}
<input type="submit" name="submit" id="zregister-submit-button" value="$submit" />
<div id="zregister-submit-end" class="zregister-field-end"></div>