]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Profile.php
Merge pull request #12228 from MrPetovan/task/4090-move-mod-photos
[friendica.git] / src / Model / Profile.php
index 2129e92bd10d5172e4793a6cb0a0c5734eec2d93..dcd39a30c1cf2b243bace5a5fa880a26a2546e8c 100644 (file)
@@ -335,13 +335,13 @@ class Profile
                        if (!$visitor_is_authenticated) {
                                // Remote follow is only available for local profiles
                                if (!empty($profile['nickname']) && strpos($profile_url, DI::baseUrl()->get()) === 0) {
-                                       $follow_link = 'remote_follow/' . $profile['nickname'];
+                                       $follow_link = 'profile/' . $profile['nickname'] . '/remote_follow';
                                }
                        } else {
                                if ($visitor_is_following) {
-                                       $unfollow_link = $visitor_base_path . '/unfollow?url=' . urlencode($profile_url) . '&auto=1';
+                                       $unfollow_link = $visitor_base_path . '/contact/unfollow?url=' . urlencode($profile_url) . '&auto=1';
                                } else {
-                                       $follow_link =  $visitor_base_path .'/follow?url=' . urlencode($profile_url) . '&auto=1';
+                                       $follow_link = $visitor_base_path . '/contact/follow?url=' . urlencode($profile_url) . '&auto=1';
                                }
                        }
 
@@ -349,7 +349,7 @@ class Profile
                                if ($visitor_is_followed || $visitor_is_following) {
                                        $wallmessage_link = $visitor_base_path . '/message/new/' . $profile_contact['id'];
                                } elseif ($visitor_is_authenticated && !empty($profile['unkmail'])) {
-                                       $wallmessage_link = 'wallmessage/' . $profile['nickname'];
+                                       $wallmessage_link = 'profile/' . $profile['nickname'] . '/unkmail';
                                }
                        }
                }
@@ -467,6 +467,7 @@ class Profile
                        '$account_type' => $account_type,
                        '$location' => $location,
                        '$homepage' => $homepage,
+                       '$homepage_verified' => DI::l10n()->t('This website has been verified to belong to the same person.'),
                        '$about' => $about,
                        '$network' => DI::l10n()->t('Network:'),
                        '$contacts' => $contact_count,