From a0532c101bb996716a40e44f40e86f0b67c2fa0a Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 23 Nov 2023 17:16:37 +0100 Subject: [PATCH] Remove number of sections in registration form --- com.woltlab.wcf/templates/register.tpl | 38 ++++++-------------------- 1 file changed, 9 insertions(+), 29 deletions(-) diff --git a/com.woltlab.wcf/templates/register.tpl b/com.woltlab.wcf/templates/register.tpl index dd4b6b51d2..a46f1e833a 100644 --- a/com.woltlab.wcf/templates/register.tpl +++ b/com.woltlab.wcf/templates/register.tpl @@ -54,12 +54,6 @@ - {event name='usernameFields'} - - -
-

{lang}wcf.user.email{/lang}

-
* @@ -77,14 +71,8 @@ {/if} - - {event name='emailFields'} -
- - {if !$isExternalAuthentication} -
-

{lang}wcf.user.password{/lang}

- + + {if !$isExternalAuthentication}
* @@ -103,15 +91,9 @@ {lang}wcf.user.password.description{/lang} - - {event name='passwordFields'} -
- {/if} - - {if $availableLanguages|count > 1} -
-

{lang}wcf.user.language{/lang}

- + {/if} + + {if $availableLanguages|count > 1}
@@ -140,7 +122,7 @@
- + {hascontent}
@@ -153,11 +135,9 @@ {lang}wcf.user.visibleLanguages.description{/lang}
{/hascontent} - - {event name='languageFields'} -
- {/if} - + {/if} + + {foreach from=$optionTree item=category}

{lang}wcf.user.option.category.{@$category[object]->categoryName}{/lang}

-- 2.20.1