diff --git a/src/Application/translations/de/d3_totp_lang.php b/src/Application/translations/de/d3_totp_lang.php index 15a3088..e619d8d 100644 --- a/src/Application/translations/de/d3_totp_lang.php +++ b/src/Application/translations/de/d3_totp_lang.php @@ -25,6 +25,7 @@ $aLang = [ 'D3_TOTP_BREADCRUMB' => 'Einmalpasswort-Anmeldung', 'D3_TOTP_ERROR_UNVALID' => 'Das Einmalpasswort ist ungültig.', 'D3_TOTP_ACCOUNT' => '2-Faktor-Authentisierung', + 'D3_TOTP_ACCOUNT_DESC' => 'Sichern Sie Ihre Kontoanmeldung mit einem zweiten Faktor.', 'D3_TOTP_ACCOUNT_USE' => '2-Faktor-Authentisierung verwenden', diff --git a/src/Application/translations/en/d3_totp_lang.php b/src/Application/translations/en/d3_totp_lang.php index 8d34f15..4c8490f 100644 --- a/src/Application/translations/en/d3_totp_lang.php +++ b/src/Application/translations/en/d3_totp_lang.php @@ -25,6 +25,7 @@ $aLang = [ 'D3_TOTP_BREADCRUMB' => 'one-time password login', 'D3_TOTP_ERROR_UNVALID' => 'The one-time password is invalid.', 'D3_TOTP_ACCOUNT' => '2-factor authentication', + 'D3_TOTP_ACCOUNT_DESC' => 'Secure your account login with a second factor.', 'D3_TOTP_ACCOUNT_USE' => 'Use 2-factor authentication', diff --git a/src/Application/views/blocks/page/account/account_dashboard_col2_flow.tpl b/src/Application/views/blocks/page/account/account_dashboard_col2_flow.tpl new file mode 100644 index 0000000..8084fde --- /dev/null +++ b/src/Application/views/blocks/page/account/account_dashboard_col2_flow.tpl @@ -0,0 +1,11 @@ +[{$smarty.block.parent}] + +
+
+ [{oxmultilang ident="D3_TOTP_ACCOUNT"}] + + + +
+
[{oxmultilang ident="D3_TOTP_ACCOUNT_DESC"}]
+
\ No newline at end of file diff --git a/src/Application/views/blocks/page/account/account_dashboard_col2_wave.tpl b/src/Application/views/blocks/page/account/account_dashboard_col2_wave.tpl new file mode 100644 index 0000000..15bed23 --- /dev/null +++ b/src/Application/views/blocks/page/account/account_dashboard_col2_wave.tpl @@ -0,0 +1,11 @@ +[{$smarty.block.parent}] + +
+
+ [{oxmultilang ident="D3_TOTP_ACCOUNT"}] + + + +
+
[{oxmultilang ident="D3_TOTP_ACCOUNT_DESC"}]
+
\ No newline at end of file diff --git a/src/Application/views/blocks/widget/header/widget_header_servicebox_items.tpl b/src/Application/views/blocks/widget/header/widget_header_servicebox_items.tpl new file mode 100644 index 0000000..d90c7a3 --- /dev/null +++ b/src/Application/views/blocks/widget/header/widget_header_servicebox_items.tpl @@ -0,0 +1,4 @@ +[{$smarty.block.parent}] +
  • + [{oxmultilang ident="D3_TOTP_ACCOUNT"}] +
  • \ No newline at end of file diff --git a/src/metadata.php b/src/metadata.php index f215d6f..180d2b4 100644 --- a/src/metadata.php +++ b/src/metadata.php @@ -104,5 +104,21 @@ $aModule = [ 'block' => 'account_menu', 'file' => 'Application/views/blocks/page/account/inc/account_menu.tpl', ], + [ + 'template' => 'page/account/dashboard.tpl', + 'block' => 'account_dashboard_col2', + 'file' => 'Application/views/blocks/page/account/account_dashboard_col2_wave.tpl', + ], + [ + 'theme' => 'flow', + 'template' => 'page/account/dashboard.tpl', + 'block' => 'account_dashboard_col2', + 'file' => 'Application/views/blocks/page/account/account_dashboard_col2_flow.tpl', + ], + [ + 'template' => 'widget/header/servicebox.tpl', + 'block' => 'widget_header_servicebox_items', + 'file' => 'Application/views/blocks/widget/header/widget_header_servicebox_items.tpl', + ], ], ];