audon/audon.php aktualisiert

This commit is contained in:
loma-one 2023-08-18 16:17:47 +02:00 committed by Hypolite Petovan
parent e391a65695
commit db218ac4f6

View file

@ -1,6 +1,6 @@
<?php <?php
/* /*
* Name: audon Application * Name: AUDON Application
* Description: add a audon instance for audio. Based on webRTC Addon * Description: add a audon instance for audio. Based on webRTC Addon
* Version: 0.1 * Version: 0.1
* Author: Stephen Mahood <https://friends.mayfirst.org/profile/marxistvegan> * Author: Stephen Mahood <https://friends.mayfirst.org/profile/marxistvegan>
@ -26,13 +26,13 @@ function audon_addon_admin(string &$o)
{ {
$t = Renderer::getMarkupTemplate('admin.tpl', 'addon/audon/'); $t = Renderer::getMarkupTemplate('admin.tpl', 'addon/audon/');
$o = Renderer::replaceMacros($t, [ $o = Renderer::replaceMacros($t, [
'$submit' => DI::l10n()->t('Save Settings'), '$submit' => DI::l10n()->t('Save Settings'),
'$audonurl' => [ '$audonurl' => [
'audonurl', 'audonurl',
DI::l10n()->t('audon Base URL'), DI::l10n()->t('audon Base URL'),
DI::config()->get('audon','audonurl'), 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 a audon Audio chat room on. For example you could use https://audon.space.'),
], ],
]); ]);
} }