aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-12 21:38:40 -0700
committerfriendica <info@friendica.com>2012-04-12 21:38:40 -0700
commit446e962bb85cf377d476734812318f6dc76bdfb2 (patch)
treedacdbf6e3933249bf6452e57bb42d39477ca30ca /mod
parent2b339d5a6b3018618944e353cb5fc18c6f81aefb (diff)
downloadvolse-hubzilla-446e962bb85cf377d476734812318f6dc76bdfb2.tar.gz
volse-hubzilla-446e962bb85cf377d476734812318f6dc76bdfb2.tar.bz2
volse-hubzilla-446e962bb85cf377d476734812318f6dc76bdfb2.zip
send link directly to profile tab
Diffstat (limited to 'mod')
-rw-r--r--mod/profiles.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/profiles.php b/mod/profiles.php
index 64a0142ec..227fb0763 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'] = '<object><type>' . ACTIVITY_OBJ_PROFILE . '</type><title>' . $self[0]['name'] . '</title>'
. '<id>' . $self[0]['url'] . '/' . $self[0]['name'] . '</id>';
- $arr['object'] .= '<link>' . xmlify('<link rel="alternate" type="text/html" href="' . $self[0]['url'] . '" />' . "\n");
+ $arr['object'] .= '<link>' . xmlify('<link rel="alternate" type="text/html" href="' . $self[0]['url'] . '?tab=profile' . '" />' . "\n");
$arr['object'] .= xmlify('<link rel="photo" type="image/jpeg" href="' . $self[0]['thumb'] . '" />' . "\n");
$arr['object'] .= '</link></object>' . "\n";
$arr['last-child'] = 1;