Change contact post link to contact network page
This commit is contained in:
parent
ea17370211
commit
4c32661022
2 changed files with 2 additions and 2 deletions
|
@ -841,7 +841,7 @@ function item_photo_menu($item) {
|
||||||
if ($cid && !$item['self']) {
|
if ($cid && !$item['self']) {
|
||||||
$poke_link = 'poke/?f=&c=' . $cid;
|
$poke_link = 'poke/?f=&c=' . $cid;
|
||||||
$contact_url = 'contacts/' . $cid;
|
$contact_url = 'contacts/' . $cid;
|
||||||
$posts_link = 'contacts/' . $cid . '/posts';
|
$posts_link = 'network?cid=' . $cid;
|
||||||
|
|
||||||
if (in_array($network, [Protocol::DFRN, Protocol::DIASPORA])) {
|
if (in_array($network, [Protocol::DFRN, Protocol::DIASPORA])) {
|
||||||
$pm_url = 'message/new/' . $cid;
|
$pm_url = 'message/new/' . $cid;
|
||||||
|
|
|
@ -710,7 +710,7 @@ class Contact extends BaseObject
|
||||||
|
|
||||||
$contact_url = System::baseUrl() . '/contacts/' . $contact['id'];
|
$contact_url = System::baseUrl() . '/contacts/' . $contact['id'];
|
||||||
|
|
||||||
$posts_link = System::baseUrl() . '/contacts/' . $contact['id'] . '/posts';
|
$posts_link = System::baseUrl() . '/network?cid=' . $contact['id'];
|
||||||
|
|
||||||
if (!$contact['self']) {
|
if (!$contact['self']) {
|
||||||
$contact_drop_link = System::baseUrl() . '/contacts/' . $contact['id'] . '/drop?confirm=1';
|
$contact_drop_link = System::baseUrl() . '/contacts/' . $contact['id'] . '/drop?confirm=1';
|
||||||
|
|
Loading…
Reference in a new issue