"network/group" fragments are removed
This commit is contained in:
parent
cd7a663733
commit
fda832cd83
|
@ -104,7 +104,7 @@ class VCard
|
||||||
$mention_label = DI::l10n()->t('Post to group');
|
$mention_label = DI::l10n()->t('Post to group');
|
||||||
$mention_link = 'compose/0?body=!' . $contact['addr'];
|
$mention_link = 'compose/0?body=!' . $contact['addr'];
|
||||||
}
|
}
|
||||||
$showgroup_link = 'network/group/' . $id;
|
$showgroup_link = 'contact/' . $id . '/conversations';
|
||||||
} elseif (!$hide_mention) {
|
} elseif (!$hide_mention) {
|
||||||
$mention_label = DI::l10n()->t('Mention');
|
$mention_label = DI::l10n()->t('Mention');
|
||||||
$mention_link = 'compose/0?body=@' . $contact['addr'];
|
$mention_link = 'compose/0?body=@' . $contact['addr'];
|
||||||
|
|
|
@ -1205,13 +1205,12 @@ class Contact
|
||||||
$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'];
|
||||||
$network_label = DI::l10n()->t('View group');
|
$network_label = DI::l10n()->t('View group');
|
||||||
$network_url = 'network/group/' . $contact['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'];
|
||||||
$network_label = DI::l10n()->t('Network Posts');
|
$network_label = DI::l10n()->t('Network Posts');
|
||||||
$network_url = 'contact/' . $contact['id'] . '/conversations';
|
|
||||||
}
|
}
|
||||||
|
$network_url = 'contact/' . $contact['id'] . '/conversations';
|
||||||
|
|
||||||
$follow_link = '';
|
$follow_link = '';
|
||||||
$unfollow_link = '';
|
$unfollow_link = '';
|
||||||
|
|
|
@ -461,13 +461,12 @@ class Profile
|
||||||
$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/' . $cid;
|
|
||||||
} 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/' . $cid . '/conversations';
|
|
||||||
}
|
}
|
||||||
|
$network_url = 'contact/' . $cid . '/conversations';
|
||||||
|
|
||||||
$tpl = Renderer::getMarkupTemplate('profile/vcard.tpl');
|
$tpl = Renderer::getMarkupTemplate('profile/vcard.tpl');
|
||||||
$o .= Renderer::replaceMacros($tpl, [
|
$o .= Renderer::replaceMacros($tpl, [
|
||||||
|
|
|
@ -662,7 +662,6 @@ return [
|
||||||
'/network' => [
|
'/network' => [
|
||||||
'[/{content}]' => [Module\Conversation\Network::class, [R::GET]],
|
'[/{content}]' => [Module\Conversation\Network::class, [R::GET]],
|
||||||
'/archive/{from:\d\d\d\d-\d\d-\d\d}[/{to:\d\d\d\d-\d\d-\d\d}]' => [Module\Conversation\Network::class, [R::GET]],
|
'/archive/{from:\d\d\d\d-\d\d-\d\d}[/{to:\d\d\d\d-\d\d-\d\d}]' => [Module\Conversation\Network::class, [R::GET]],
|
||||||
'/group/{contact_id:\d+}' => [Module\Conversation\Network::class, [R::GET]],
|
|
||||||
'/circle/{circle_id:\d+}' => [Module\Conversation\Network::class, [R::GET]],
|
'/circle/{circle_id:\d+}' => [Module\Conversation\Network::class, [R::GET]],
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user