diff options
author | mrjive <mrjive@mrjive.it> | 2016-01-28 23:19:13 +0100 |
---|---|---|
committer | mrjive <mrjive@mrjive.it> | 2016-01-28 23:19:13 +0100 |
commit | 28943af494eae225b256b9771a5699a1b05d7a2f (patch) | |
tree | 1f135da64c0935053f468281f8353e8279a18448 /include/enotify.php | |
parent | c49e4f52ae83441c4a1dcf52e433dded8d767679 (diff) | |
parent | 5f1eb18da4d6380b64e83e0eeda6f1037de2fec9 (diff) | |
download | volse-hubzilla-28943af494eae225b256b9771a5699a1b05d7a2f.tar.gz volse-hubzilla-28943af494eae225b256b9771a5699a1b05d7a2f.tar.bz2 volse-hubzilla-28943af494eae225b256b9771a5699a1b05d7a2f.zip |
Merge pull request #19 from redmatrix/master
updating from original codebase
Diffstat (limited to 'include/enotify.php')
-rw-r--r-- | include/enotify.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/enotify.php b/include/enotify.php index 5bb53aa0e..c4c49c8ff 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -273,14 +273,14 @@ function notification($params) { $preamble = sprintf( t('%1$s, you\'ve received an new connection request from \'%2$s\' at %3$s'), $recip['channel_name'], $sender['xchan_name'], $sitename); $epreamble = sprintf( t('%1$s, you\'ve received [zrl=%2$s]a new connection request[/zrl] from %3$s.'), $recip['channel_name'], - $itemlink, + $siteurl . '/connections/ifpending', '[zrl=' . $sender['xchan_url'] . ']' . $sender['xchan_name'] . '[/zrl]'); $body = sprintf( t('You may visit their profile at %s'),$sender['xchan_url']); $sitelink = t('Please visit %s to approve or reject the connection request.'); - $tsitelink = sprintf( $sitelink, $siteurl ); - $hsitelink = sprintf( $sitelink, '<a href="' . $siteurl . '">' . $sitename . '</a>'); - $itemlink = $params['link']; + $tsitelink = sprintf( $sitelink, $siteurl . '/connections/ifpending'); + $hsitelink = sprintf( $sitelink, '<a href="' . $siteurl . '/connections/ifpending">' . $sitename . '</a>'); + $itemlink = $params['link']; } if ($params['type'] == NOTIFY_SUGGEST) { |