From: friendica Date: Fri, 13 Apr 2012 04:38:40 +0000 (-0700) Subject: send link directly to profile tab X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=446e962bb85cf377d476734812318f6dc76bdfb2;p=friendica.git send link directly to profile tab --- diff --git a/mod/profiles.php b/mod/profiles.php index 64a0142ec8..227fb07631 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -290,13 +290,13 @@ function profile_activity($changed) { $changes .= $ch; } - $prof = '[url=' . $self[0]['url'] . ']' . t('public profile') . '[/url]'; + $prof = '[url=' . $self[0]['url'] . '?tab=profile' . ']' . t('public profile') . '[/url]'; - $arr['body'] = sprintf( t('%1$s has an updated %2$s changing %3$s.'), $A, $prof, $changes); + $arr['body'] = sprintf( t('%1$s has an updated %2$s, changing %3$s.'), $A, $prof, $changes); $arr['object'] = '' . ACTIVITY_OBJ_PROFILE . '' . $self[0]['name'] . '' . '' . $self[0]['url'] . '/' . $self[0]['name'] . ''; - $arr['object'] .= '' . xmlify('' . "\n"); + $arr['object'] .= '' . xmlify('' . "\n"); $arr['object'] .= xmlify('' . "\n"); $arr['object'] .= '' . "\n"; $arr['last-child'] = 1;