$mention_label = DI::l10n()->t('Post to group');
$mention_url = 'compose/0?body=!' . $contact['addr'];
$showgroup_label = DI::l10n()->t('View group');
- $showgroup_url = 'network/group/' . $id;
+ $showgroup_url = 'network/group/' . $id;
} else {
- $mention_label = DI::l10n()->t('Mention');
- $mention_url = 'compose/0?body=@' . $contact['addr'];
+ $mention_label = DI::l10n()->t('Mention');
+ $mention_url = 'compose/0?body=@' . $contact['addr'];
}
}
if ($profile['account-type'] == Contact::TYPE_COMMUNITY) {
$mention_label = DI::l10n()->t('Post to group');
- $mention_url = 'compose/0?body=!' . $profile['addr'];
+ $mention_url = 'compose/0?body=!' . $profile['addr'];
$network_label = DI::l10n()->t('View group');
- $network_url = 'network/group/' . $profile['id'];
+ $network_url = 'network/group/' . $profile['id'];
} else {
$mention_label = DI::l10n()->t('Mention');
- $mention_url = 'compose/0?body=@' . $profile['addr'];
+ $mention_url = 'compose/0?body=@' . $profile['addr'];
$network_label = DI::l10n()->t('Network Posts');
- $network_url = 'contact/' . $profile['id'] . '/conversations';
+ $network_url = 'contact/' . $profile['id'] . '/conversations';
}
$tpl = Renderer::getMarkupTemplate('profile/vcard.tpl');