From ccfd5372dbc6ecf39e7f44a9999781497c86b71c Mon Sep 17 00:00:00 2001 From: Alexander Heimbuch Date: Sun, 18 Aug 2024 08:31:25 +0200 Subject: [PATCH] feat: add onboarding acknowledgement --- .../onboarding/settings/onboarding_page.php | 67 +++++++++++++++++-- 1 file changed, 63 insertions(+), 4 deletions(-) diff --git a/lib/modules/onboarding/settings/onboarding_page.php b/lib/modules/onboarding/settings/onboarding_page.php index b4b463f3..0d29d388 100644 --- a/lib/modules/onboarding/settings/onboarding_page.php +++ b/lib/modules/onboarding/settings/onboarding_page.php @@ -47,27 +47,86 @@ public function page() $userLang = explode("_", get_locale())[0]; $iframeSrc = "$onboardingInclude?site_url=$site&user_login=$user&password=$password&lang=$userLang"; + $acknowledgeHeadline = __('Onboarding Assistant 👋', 'podlove-podcasting-plugin-for-wordpress'); + $acknowledgeDescription = __('To be able to offer you this service, we have to run the onboarding assistant on our external server. We have done everything in our power to make the service as privacy friendly as possible. We do not store any of your entered data, everything is saved in your browser 🤞. However, it is important to us that you are aware of this fact before you use the onboarding service.', 'podlove-podcasting-plugin-for-wordpress'); + $acknowledgeButton = __('All right, I\'ve got it', 'podlove-podcasting-plugin-for-wordpress'); - // this is needed because of this 18 years old bug: https://bugzilla.mozilla.org/show_bug.cgi?id=356558 echo << + +
+

{$acknowledgeHeadline}

+

{$acknowledgeDescription}

+ +