From f93c242568b9125a11d53fcdf355521cdebfb4c2 Mon Sep 17 00:00:00 2001 From: loma-one Date: Fri, 18 Aug 2023 16:48:13 +0200 Subject: [PATCH] audon/audon.php aktualisiert --- audon/audon.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/audon/audon.php b/audon/audon.php index bf0211b3..5d41fec7 100644 --- a/audon/audon.php +++ b/audon/audon.php @@ -1,7 +1,7 @@ * Author: Tobias Diekershoff @@ -19,7 +19,7 @@ function audon_install() function audon_app_menu(array &$b) { - $b['app_menu'][] = ''; + $b['app_menu'][] = ''; } function audon_addon_admin(string &$o) @@ -29,9 +29,9 @@ function audon_addon_admin(string &$o) '$submit' => DI::l10n()->t('Save Settings'), '$audonurl' => [ 'audonurl', - DI::l10n()->t('audon Base URL'), + DI::l10n()->t('Audon Base URL'), DI::config()->get('audon','audonurl'), - DI::l10n()->t('Page your users will create a audon Audio chat room on. For example you could use https://audon.space.'), + DI::l10n()->t('Page your users will create an Audon audio chat room on. For example you could use https://audon.space.'), ], ]); } @@ -53,13 +53,14 @@ function audon_content(): string $o = ''; /* landingpage to create chatrooms */ - $audonurl = DI::config()->get('audon','audonurl'); + $audonurl = DI::config()->get('audon', 'audonurl'); + /* embedd the landing page in an iframe */ $o .= '

' . DI::l10n()->t('Audio Chat') . '

'; $o .= '

' . DI::l10n()->t('Audon is an audio conferencing tool. Connect your account to Audon and create a room. Share the generated link to talk to other participants.') . '

'; if ($audonurl == '') { - $o .= '

' . DI::l10n()->t('Please contact your friendica administrator to remind them to configure the Audon addon.') . '

'; + $o .= '

' . DI::l10n()->t('Please contact your Friendica administrator to remind them to configure the Audon addon.') . '

'; } else { $o .= ''; }