summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-02-05 20:02:47 +0000
committerZach Copley <zach@controlyourself.ca>2009-02-05 20:02:47 +0000
commit986abdd968ea6a72df0329038288e31c76403b0b (patch)
tree68e7008334be6b85ad9813c26838994ccb2296ea /actions/showstream.php
parent96ca4ef75ae47228031ab4ba17b3340735342363 (diff)
parent9febe8ce394d8428355ac73f1c0f6a9555252bd2 (diff)
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index 90ffcacf9..4b1679969 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -140,7 +140,12 @@ class ShowstreamAction extends Action
function showPageTitle()
{
- $this->element('h1', NULL, $this->profile->nickname._("'s profile"));
+ $user =& common_current_user();
+ if ($user && ($user->id == $this->profile->id)) {
+ $this->element('h1', NULL, _("Your profile"));
+ } else {
+ $this->element('h1', NULL, sprintf(_('%s\'s profile'), $this->profile->nickname));
+ }
}
function showPageNoticeBlock()