From: Alexander Ebert Date: Wed, 25 Nov 2020 12:13:52 +0000 (+0100) Subject: Overhauled the layout of the 2fa authentication page X-Git-Tag: 5.4.0_Alpha_1~555^2~29 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9d5a4a78de16d2cb046cede1836d0ef7bd473579;p=GitHub%2FWoltLab%2FWCF.git Overhauled the layout of the 2fa authentication page --- diff --git a/com.woltlab.wcf/templates/multifactorAuthentication.tpl b/com.woltlab.wcf/templates/multifactorAuthentication.tpl index 611f8ee856..07eb5827cc 100644 --- a/com.woltlab.wcf/templates/multifactorAuthentication.tpl +++ b/com.woltlab.wcf/templates/multifactorAuthentication.tpl @@ -1,46 +1,29 @@ {capture assign='pageTitle'}{lang}wcf.user.security.multifactor.authentication{/lang}{/capture} {capture assign='contentTitle'}{lang}wcf.user.security.multifactor.authentication{/lang}{/capture} - -{capture assign='sidebarLeft'} -
-

{lang}wcf.user.security.multifactor.methods{/lang}

- -
- -
-
-{/capture} +{capture assign='contentDescription'}{lang}wcf.user.security.multifactor.authentication.description{/lang}{/capture} {include file='header' __disableAds=true __disableLoginLink=true __sidebarLeftHasMenu=true} -
- {@$userProfile->getAvatar()->getImageTag(48)} - -
-
-

- {lang}wcf.user.security.multifactor.authentication.user.headline{/lang} -

-
-
- {lang}wcf.user.security.multifactor.authentication.user.content{/lang} +
+ + +
+
+
+
{lang}wcf.user.security.multifactor.authentication.loginAs{/lang}
+
{$user->username}
+
+ {@$form->getHtml()}
- -
- - {csrfToken} -
-{@$form->getHtml()} - {include file='footer' __disableAds=true} diff --git a/wcfsetup/install/files/acp/templates/multifactorAuthentication.tpl b/wcfsetup/install/files/acp/templates/multifactorAuthentication.tpl index ebd4446c78..cd9c205db6 100644 --- a/wcfsetup/install/files/acp/templates/multifactorAuthentication.tpl +++ b/wcfsetup/install/files/acp/templates/multifactorAuthentication.tpl @@ -1,44 +1,34 @@ {capture assign='pageTitle'}{lang}wcf.user.security.multifactor.authentication{/lang}{/capture} -{capture assign='contentTitle'}{lang}wcf.user.security.multifactor.authentication{/lang}{/capture} {include file='header' __isLogin=true} -
-

{lang}wcf.user.security.multifactor.methods{/lang}

- -
- +
+
+

{lang}wcf.user.security.multifactor.authentication{/lang}

+

{lang}wcf.user.security.multifactor.authentication.description{/lang}

-
+ -
- {@$userProfile->getAvatar()->getImageTag(48)} - -
-
-

- {lang}wcf.user.security.multifactor.authentication.user.headline{/lang} -

-
-
- {lang}wcf.user.security.multifactor.authentication.user.content{/lang} +
+ + +
+
+
+
{lang}wcf.user.security.multifactor.authentication.loginAs{/lang}
+
{$user->username}
+
+ {@$form->getHtml()}
- -
- - {csrfToken} -
-{@$form->getHtml()} - {include file='footer'} diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 777dfe22d1..13c6e1238d 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -4895,6 +4895,8 @@ Die E-Mail-Adresse des neuen Benutzers lautet: {@$user->email} + + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 92181e211c..4e48d5e557 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -4891,7 +4891,9 @@ Open the link below to access the user profile: {$code}]]> - + + +