diff options
author | friendica <info@friendica.com> | 2013-12-18 01:00:08 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-18 01:00:08 -0800 |
commit | 38fd8410eb5c66928cb24bb87ad38657f53aec3a (patch) | |
tree | 5c3eb57af3b4b721e36d059e7161c50f8853a61c /include | |
parent | 1780684c57a068f0278ad576703e044c64a70aa5 (diff) | |
download | volse-hubzilla-38fd8410eb5c66928cb24bb87ad38657f53aec3a.tar.gz volse-hubzilla-38fd8410eb5c66928cb24bb87ad38657f53aec3a.tar.bz2 volse-hubzilla-38fd8410eb5c66928cb24bb87ad38657f53aec3a.zip |
split off mod_connections into mod_connections & mod_connedit - lots of links to fix
Diffstat (limited to 'include')
-rw-r--r-- | include/api.php | 3 | ||||
-rw-r--r-- | include/conversation.php | 2 | ||||
-rw-r--r-- | include/widgets.php | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/include/api.php b/include/api.php index 093839875..463d29cf8 100644 --- a/include/api.php +++ b/include/api.php @@ -362,7 +362,8 @@ require_once('include/photos.php'); 'location' => ($usr) ? $usr[0]['channel_location'] : '', 'profile_image_url' => $uinfo[0]['xchan_photo_l'], 'url' => $uinfo[0]['xchan_url'], - 'contact_url' => $a->get_baseurl()."/connections/".$uinfo[0]['abook_id'], +//FIXME + 'contact_url' => $a->get_baseurl() . "/connections/".$uinfo[0]['abook_id'], 'protected' => false, 'friends_count' => intval($countfriends), 'created_at' => api_date($uinfo[0]['abook_created']), diff --git a/include/conversation.php b/include/conversation.php index 29fb8a163..2ba3948bf 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -915,7 +915,7 @@ function item_photo_menu($item){ if($contact) { $poke_link = $a->get_baseurl($ssl_state) . '/poke/?f=&c=' . $contact['abook_id']; - $contact_url = $a->get_baseurl($ssl_state) . '/connections/' . $contact['abook_id']; + $contact_url = $a->get_baseurl($ssl_state) . '/connedit/' . $contact['abook_id']; $posts_link = $a->get_baseurl($ssl_state) . '/network/?cid=' . $contact['abook_id']; $clean_url = normalise_link($item['author-link']); diff --git a/include/widgets.php b/include/widgets.php index 888da37a2..9d6617aa2 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -436,7 +436,7 @@ function widget_settings_menu($arr) { array( 'label' => t('Automatic Permissions (Advanced)'), - 'url' => $a->get_baseurl(true) . '/connections/' . $abook_self_id, + 'url' => $a->get_baseurl(true) . '/connedit/' . $abook_self_id, 'selected' => '' ), |