summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-17 21:18:08 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-17 21:18:08 -0400
commitf8aaa7f492810bcedf079ead552094f4346490df (patch)
tree0e9fab05de6f467011f641c9ffb1e9a7e9c5e260 /actions
parent1950efda80012ebeded8e7da71c7293b7ee86c08 (diff)
hide subscribe stuff if looking at your own page
darcs-hash:20080518011808-84dde-a379fa8baa2f3cc7e871e54d46ef025106aecc84.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/showstream.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index c9b35ee0b..81f5a3db3 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -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');
}