aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/register.tpl
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2016-01-14 18:14:30 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2016-01-14 18:14:30 +0100
commit72353bf0446901f1711cba7a2e50dbce9bd06227 (patch)
tree6b73f79bf7386e69e4941ff5a8b4c165830b1652 /view/tpl/register.tpl
parent42433c0b4442f1a6b451324fe7f765b1b4c354b8 (diff)
parent9f9fdc1434b7283171f8d843f225228cdb322115 (diff)
downloadvolse-hubzilla-72353bf0446901f1711cba7a2e50dbce9bd06227.tar.gz
volse-hubzilla-72353bf0446901f1711cba7a2e50dbce9bd06227.tar.bz2
volse-hubzilla-72353bf0446901f1711cba7a2e50dbce9bd06227.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'view/tpl/register.tpl')
-rwxr-xr-xview/tpl/register.tpl34
1 files changed, 34 insertions, 0 deletions
diff --git a/view/tpl/register.tpl b/view/tpl/register.tpl
index 005b122cf..b72e069c3 100755
--- a/view/tpl/register.tpl
+++ b/view/tpl/register.tpl
@@ -22,6 +22,30 @@
<div id="register-invite-end" class="register-field-end"></div>
{{/if}}
+ {{if $auto_create}}
+
+ {{if $default_role}}
+ <input type="hidden" name="permissions_role" value="{{$default_role}}" />
+ {{else}}
+ <div id="newchannel-role-help" class="descriptive-paragraph">{{$help_role}}</div>
+ {{include file="field_select_grouped.tpl" field=$role}}
+ <div id="newchannel-role-end" class="newchannel-field-end"></div>
+ {{/if}}
+
+ <div id="newchannel-name-help" class="descriptive-paragraph">{{$help_name}}</div>
+
+ <label for="newchannel-name" id="label-newchannel-name" class="register-label" >{{$label_name}}</label>
+ <input type="text" name="name" id="newchannel-name" class="register-input" value="{{$name}}" />
+ <div id="name-spinner"></div>
+ <div id="newchannel-name-feedback" class="register-feedback"></div>
+ <div id="newchannel-name-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>
@@ -37,6 +61,16 @@
<div id="register-password2-feedback" class="register-feedback"></div>
<div id="register-password2-end" class="register-field-end"></div>
+ {{if $auto_create}}
+ <div id="newchannel-nick-desc" class="descriptive-paragraph">{{$nick_desc}}</div>
+ <label for="newchannel-nickname" id="label-newchannel-nickname" class="register-label" >{{$label_nick}}</label>
+ <input type="text" name="nickname" id="newchannel-nickname" class="register-input" value="{{$nickname}}" />
+ <div id="nick-spinner"></div>
+ <div id="newchannel-nickname-feedback" class="register-feedback"></div>
+ <div id="newchannel-nickname-end" class="register-field-end"></div>
+
+ {{/if}}
+
{{if $enable_tos}}
<input type="checkbox" name="tos" id="register-tos" value="1" />
<label for="register-tos" id="label-register-tos">{{$label_tos}}</label>