Additional accounts now work for the general template as well

This commit is contained in:
Michael 2020-01-17 07:08:32 +00:00
parent e5ecfa7c34
commit 7ee7bd72fd

View file

@ -35,6 +35,7 @@
<div id="register-name-end" ></div>
{{if !$additional}}
<div id="register-email-wrapper" >
<label for="register-email" id="label-register-email" >{{$addrlabel}}</label>
<input type="text" maxlength="60" size="32" name="field1" id="register-email" value="{{$email}}" required>
@ -46,6 +47,7 @@
<input type="text" maxlength="60" size="32" name="repeat" id="register-repeat" value="" required>
</div>
<div id="register-repeat-end" ></div>
{{/if}}
{{if $ask_password}}
{{include file="field_password.tpl" field=$password1}}
@ -62,6 +64,10 @@
<input type="input" id=tarpit" name="email" style="display: none;" placeholder="Don't enter anything here"/>
{{if $additional}}
{{include file="field_password.tpl" field=$parent_password}}
{{/if}}
{{if $permonly}}
{{include file="field_textarea.tpl" field=$permonlybox}}
{{/if}}
@ -83,8 +89,10 @@
</div>
<div id="register-submit-end" ></div>
{{if !$additional}}
<h3>{{$importh}}</h3>
<div id ="import-profile">
<a href="uimport">{{$importt}}</a>
</div>
{{/if}}
</form>