We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit f8aaa7f4 authored by Evan Prodromou's avatar Evan Prodromou

hide subscribe stuff if looking at your own page

darcs-hash:20080518011808-84dde-a379fa8baa2f3cc7e871e54d46ef025106aecc84.gz
parent 1950efda
......@@ -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');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment