X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FConversation%2FCommunity.php;h=9a8869e4a113c52c0ec5074b38f6397c71854946;hb=4657a8c97abaf1404b3c320f609b8a7889b284d4;hp=8be5361deb3bc49e2e859103e220c680a02c5f29;hpb=b522f20702e49a71e9620035a5e6f63951d91c06;p=friendica.git diff --git a/src/Module/Conversation/Community.php b/src/Module/Conversation/Community.php index 8be5361deb..9a8869e4a1 100644 --- a/src/Module/Conversation/Community.php +++ b/src/Module/Conversation/Community.php @@ -113,6 +113,17 @@ class Community extends BaseModule $o .= $pager->renderMinimal(count($items)); + DI::page()['aside'] .= Renderer::replaceMacros(Renderer::getMarkupTemplate('widget/community_accounts.tpl'), [ + '$title' => DI::l10n()->t('Accounts'), + '$content' => self::$content, + '$accounttype' => $parameters['accounttype'], + '$all' => DI::l10n()->t('All Accounts'), + '$person' => DI::l10n()->t('Personal Accounts'), + '$organisation' => DI::l10n()->t('Organisation Accounts'), + '$news' => DI::l10n()->t('News Accounts'), + '$community' => DI::l10n()->t('Communities'), + ]); + if (Feature::isEnabled(local_user(), 'trending_tags')) { DI::page()['aside'] .= TrendingTags::getHTML(self::$content); }