hide subscribe stuff if looking at your own page
darcs-hash:20080518011808-84dde-a379fa8baa2f3cc7e871e54d46ef025106aecc84.gz
This commit is contained in:
parent
1950efda80
commit
f8aaa7f492
|
@ -59,7 +59,7 @@ class ShowstreamAction extends StreamAction {
|
|||
|
||||
$this->show_last_notice($profile);
|
||||
|
||||
if ($cur) {
|
||||
if ($cur && $cur->id != $profile->id) {
|
||||
if ($cur->isSubscribed($profile)) {
|
||||
$this->show_unsubscribe_form($profile);
|
||||
} else {
|
||||
|
@ -125,7 +125,7 @@ class ShowstreamAction extends StreamAction {
|
|||
'name' => 'subscribeto',
|
||||
'type' => 'hidden',
|
||||
'value' => $profile->nickname));
|
||||
common_element('input', array('type' => 'submit'), _t('subscribe'));
|
||||
common_element('input', array('type' => 'submit', 'value' => _t('Subscribe')));
|
||||
common_element_end('form');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user