add blanks, suggested from codereview
This commit is contained in:
parent
c6af5266cd
commit
2636b19171
|
@ -105,10 +105,10 @@ class VCard
|
|||
$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'];
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -455,14 +455,14 @@ class Profile
|
|||
|
||||
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');
|
||||
|
|
Loading…
Reference in a new issue