Audon audioplayer App #1414

Merged
MrPetovan merged 19 commits from :develop into develop 2023-08-18 18:41:35 +02:00
Showing only changes of commit 1ee297b698 - Show all commits

View file

@ -1,6 +1,6 @@
<?php
/*
* Name: audon Application
* Name: AUDON Application
loma-one marked this conversation as resolved Outdated

Please capitalize the Audon name when not used in code context.

Please capitalize the Audon name when not used in code context.
loma-one marked this conversation as resolved Outdated

Thanks for the change, however I meant "Audon", not "AUDON". I'll highlight the other instances I noticed.

Thanks for the change, however I meant "Audon", not "AUDON". I'll highlight the other instances I noticed.
* Description: add a audon instance for audio. Based on webRTC Addon
loma-one marked this conversation as resolved Outdated

Add an Audon instance

`Add an Audon instance`
* Version: 0.1
* 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/');
$o = Renderer::replaceMacros($t, [
'$submit' => DI::l10n()->t('Save Settings'),
'$submit' => DI::l10n()->t('Save Settings'),
'$audonurl' => [
'audonurl',
DI::l10n()->t('audon Base URL'),
DI::config()->get('audon','audonurl'),
'audonurl',
DI::l10n()->t('audon Base URL'),
loma-one marked this conversation as resolved Outdated
			DI::l10n()->t('Audon Base URL'),
```php DI::l10n()->t('Audon Base URL'), ```
DI::config()->get('audon','audonurl'),
loma-one marked this conversation as resolved Outdated

Code standards: Please add a space after commas.

Code standards: Please add a space after commas.
loma-one marked this conversation as resolved
Review
			DI::config()->get('audon', 'audonurl'),
```php 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.'),
loma-one marked this conversation as resolved Outdated

Page your users will create an Audon audio chat room on. For example you could use https://audon.space.

`Page your users will create an Audon audio chat room on. For example you could use https://audon.space.`
],
],
]);
}