1
0
Fork 0

spelling: community

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-03-21 23:17:08 -04:00
commit 72cc354214
5 changed files with 10 additions and 10 deletions

View file

@ -140,14 +140,14 @@ function vier_community_info()
$url = DI::baseUrl();
$aside['$url'] = $url;
// comunity_profiles
// community_profiles
if ($show_profiles) {
$contacts = Contact\Relation::getCachedSuggestions(DI::userSession()->getLocalUserId(), 0, 9);
$tpl = Renderer::getMarkupTemplate('ch_directory_item.tpl');
if (DBA::isResult($contacts)) {
$aside['$comunity_profiles_title'] = DI::l10n()->t('Community Profiles');
$aside['$comunity_profiles_items'] = [];
$aside['$community_profiles_title'] = DI::l10n()->t('Community Profiles');
$aside['$community_profiles_items'] = [];
foreach ($contacts as $contact) {
$entry = Renderer::replaceMacros($tpl, [
@ -156,7 +156,7 @@ function vier_community_info()
'$photo' => Contact::getMicro($contact),
'$alt_text' => $contact['name'],
]);
$aside['$comunity_profiles_items'][] = $entry;
$aside['$community_profiles_items'][] = $entry;
}
}
}