forked from friendica/friendica-addons
Merge pull request 'AT-Protocol: Configurable web frontend' (#1644) from heluecht/friendica-addons:atproto2 into develop
Reviewed-on: friendica/friendica-addons#1644
This commit is contained in:
commit
a888947b67
1 changed files with 4 additions and 6 deletions
|
|
@ -286,12 +286,10 @@ function bluesky_settings(array &$data)
|
|||
$friendica_handle = [];
|
||||
}
|
||||
|
||||
$web_frontend = [
|
||||
'' => 'System Default',
|
||||
ATProtocol::WEB => 'Bluesky',
|
||||
'https://blacksky.community' => 'Blacksky',
|
||||
'https://reddwarf.app' => 'Red Dwarf',
|
||||
];
|
||||
$web_frontend = ['' => 'System Default'];
|
||||
foreach (DI::config()->get('atprotocol', 'frontends') as $key => $frontend) {
|
||||
$web_frontend[$key] = $frontend[0];
|
||||
}
|
||||
|
||||
$t = Renderer::getMarkupTemplate('connector_settings.tpl', 'addon/bluesky/');
|
||||
$html = Renderer::replaceMacros($t, [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue