diff options
Diffstat (limited to 'actions')
-rw-r--r-- | actions/all.php | 6 | ||||
-rw-r--r-- | actions/showstream.php | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/actions/all.php b/actions/all.php index 83401d422..06d88477d 100644 --- a/actions/all.php +++ b/actions/all.php @@ -47,6 +47,12 @@ class AllAction extends StreamAction { common_show_header($profile->nickname . _t(" and friends"), array($this, 'show_header'), $user); + $cur = common_current_user(); + + if ($cur && $cur->id == $profile->id) { + common_notice_form(); + } + $this->views_menu(); $this->show_notices($profile); diff --git a/actions/showstream.php b/actions/showstream.php index 2130251ce..6fed6df12 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -53,6 +53,12 @@ class ShowstreamAction extends StreamAction { $user->nickname))); common_show_header($profile->nickname, array($this, 'show_header'), $user); + + $cur = common_current_user(); + + if ($cur && $cur->id == $profile->id) { + common_notice_form(); + } $this->views_menu(); |