From 712f3072cc405756edc51ca80082946e2971f9c9 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Wed, 2 Nov 2022 20:49:37 +0100 Subject: [PATCH] add account page to dashboard --- src/Application/translations/de/d3webauthn_lang.php | 1 + .../page/account/account_dashboard_col2_flow.tpl | 11 +++++++++++ .../page/account/account_dashboard_col2_wave.tpl | 11 +++++++++++ src/metadata.php | 11 +++++++++++ 4 files changed, 34 insertions(+) create mode 100644 src/Application/views/blocks/page/account/account_dashboard_col2_flow.tpl create mode 100644 src/Application/views/blocks/page/account/account_dashboard_col2_wave.tpl diff --git a/src/Application/translations/de/d3webauthn_lang.php b/src/Application/translations/de/d3webauthn_lang.php index 4f6c51f..4004a69 100755 --- a/src/Application/translations/de/d3webauthn_lang.php +++ b/src/Application/translations/de/d3webauthn_lang.php @@ -10,6 +10,7 @@ $aLang = array( 'PAGE_TITLE_D3WEBAUTHNLOGIN' => 'Passwortloses Anmelden', 'D3_WEBAUTHN_ACCOUNT' => 'Meine Schlüssel', + 'D3_WEBAUTHN_ACCOUNT_DESC' => 'Verwalten Sie hier Ihre Anmeldeschlüssel.', 'D3_WEBAUTHN_ACC_REGISTERNEW' => 'neue Registrierung erstellen', 'D3_WEBAUTHN_ACC_ADDKEY' => 'Sicherheitsschlüssel hinzufügen', 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..8ee3712 --- /dev/null +++ b/src/Application/views/blocks/page/account/account_dashboard_col2_flow.tpl @@ -0,0 +1,11 @@ +[{$smarty.block.parent}] + +
+ +
[{oxmultilang ident="D3_WEBAUTHN_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..be87300 --- /dev/null +++ b/src/Application/views/blocks/page/account/account_dashboard_col2_wave.tpl @@ -0,0 +1,11 @@ +[{$smarty.block.parent}] + +
+ +
[{oxmultilang ident="D3_WEBAUTHN_ACCOUNT_DESC"}]
+
\ No newline at end of file diff --git a/src/metadata.php b/src/metadata.php index 1643aa1..200ddc7 100755 --- a/src/metadata.php +++ b/src/metadata.php @@ -125,6 +125,17 @@ $aModule = array( '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',