From 7ee7bd72fdb780085c4bcab6023f1585eacd3748 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 17 Jan 2020 07:08:32 +0000 Subject: [PATCH] Additional accounts now work for the general template as well --- view/templates/register.tpl | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/view/templates/register.tpl b/view/templates/register.tpl index b47d39b97..d79da2d33 100644 --- a/view/templates/register.tpl +++ b/view/templates/register.tpl @@ -35,17 +35,19 @@
-
- - -
-
+ {{if !$additional}} +
+ + +
+
-
- - -
-
+
+ + +
+
+ {{/if}} {{if $ask_password}} {{include file="field_password.tpl" field=$password1}} @@ -62,6 +64,10 @@ + {{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 @@
-

{{$importh}}

-
- {{$importt}} -
+ {{if !$additional}} +

{{$importh}}

+
+ {{$importt}} +
+ {{/if}}