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,17 +35,19 @@
<div id="register-name-end" ></div> <div id="register-name-end" ></div>
<div id="register-email-wrapper" > {{if !$additional}}
<label for="register-email" id="label-register-email" >{{$addrlabel}}</label> <div id="register-email-wrapper" >
<input type="text" maxlength="60" size="32" name="field1" id="register-email" value="{{$email}}" required> <label for="register-email" id="label-register-email" >{{$addrlabel}}</label>
</div> <input type="text" maxlength="60" size="32" name="field1" id="register-email" value="{{$email}}" required>
<div id="register-email-end" ></div> </div>
<div id="register-email-end" ></div>
<div id="register-repeat-wrapper" > <div id="register-repeat-wrapper" >
<label for="register-repeat" id="label-register-repeat" >{{$addrlabel2}}</label> <label for="register-repeat" id="label-register-repeat" >{{$addrlabel2}}</label>
<input type="text" maxlength="60" size="32" name="repeat" id="register-repeat" value="" required> <input type="text" maxlength="60" size="32" name="repeat" id="register-repeat" value="" required>
</div> </div>
<div id="register-repeat-end" ></div> <div id="register-repeat-end" ></div>
{{/if}}
{{if $ask_password}} {{if $ask_password}}
{{include file="field_password.tpl" field=$password1}} {{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"/> <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}} {{if $permonly}}
{{include file="field_textarea.tpl" field=$permonlybox}} {{include file="field_textarea.tpl" field=$permonlybox}}
{{/if}} {{/if}}
@ -83,8 +89,10 @@
</div> </div>
<div id="register-submit-end" ></div> <div id="register-submit-end" ></div>
<h3>{{$importh}}</h3> {{if !$additional}}
<div id ="import-profile"> <h3>{{$importh}}</h3>
<a href="uimport">{{$importt}}</a> <div id ="import-profile">
</div> <a href="uimport">{{$importt}}</a>
</div>
{{/if}}
</form> </form>