forked from GNUsocial/gnu-social
add new message link to showstream
darcs-hash:20080917175356-5ed1f-5a84dc8363d7c1dbf60a82782aefe5a0bd6f3d59.gz
This commit is contained in:
@@ -146,6 +146,14 @@ class ShowstreamAction extends StreamAction {
|
|||||||
} else {
|
} else {
|
||||||
$this->show_remote_subscribe_link($profile);
|
$this->show_remote_subscribe_link($profile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$user = User::staticGet('id', $profile->id);
|
||||||
|
|
||||||
|
if ($cur->mutuallySubscribed($user)) {
|
||||||
|
common_element('a', array('href' => common_local_url('newmessage', array('nickname' => $user->nickname))),
|
||||||
|
_('Send a message'));
|
||||||
|
}
|
||||||
|
|
||||||
common_element_end('div');
|
common_element_end('div');
|
||||||
|
|
||||||
common_element_start('div', array('id' => 'profile_information'));
|
common_element_start('div', array('id' => 'profile_information'));
|
||||||
|
Reference in New Issue
Block a user