mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:02:58 +00:00
add blanks, suggested from codereview
This commit is contained in:
parent
c6af5266cd
commit
2636b19171
2 changed files with 7 additions and 7 deletions
|
@ -105,10 +105,10 @@ class VCard
|
||||||
$mention_label = DI::l10n()->t('Post to group');
|
$mention_label = DI::l10n()->t('Post to group');
|
||||||
$mention_url = 'compose/0?body=!' . $contact['addr'];
|
$mention_url = 'compose/0?body=!' . $contact['addr'];
|
||||||
$showgroup_label = DI::l10n()->t('View group');
|
$showgroup_label = DI::l10n()->t('View group');
|
||||||
$showgroup_url = 'network/group/' . $id;
|
$showgroup_url = 'network/group/' . $id;
|
||||||
} else {
|
} else {
|
||||||
$mention_label = DI::l10n()->t('Mention');
|
$mention_label = DI::l10n()->t('Mention');
|
||||||
$mention_url = 'compose/0?body=@' . $contact['addr'];
|
$mention_url = 'compose/0?body=@' . $contact['addr'];
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -455,14 +455,14 @@ class Profile
|
||||||
|
|
||||||
if ($profile['account-type'] == Contact::TYPE_COMMUNITY) {
|
if ($profile['account-type'] == Contact::TYPE_COMMUNITY) {
|
||||||
$mention_label = DI::l10n()->t('Post to group');
|
$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_label = DI::l10n()->t('View group');
|
||||||
$network_url = 'network/group/' . $profile['id'];
|
$network_url = 'network/group/' . $profile['id'];
|
||||||
} else {
|
} else {
|
||||||
$mention_label = DI::l10n()->t('Mention');
|
$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_label = DI::l10n()->t('Network Posts');
|
||||||
$network_url = 'contact/' . $profile['id'] . '/conversations';
|
$network_url = 'contact/' . $profile['id'] . '/conversations';
|
||||||
}
|
}
|
||||||
|
|
||||||
$tpl = Renderer::getMarkupTemplate('profile/vcard.tpl');
|
$tpl = Renderer::getMarkupTemplate('profile/vcard.tpl');
|
||||||
|
|
Loading…
Reference in a new issue