diff options
author | sarven <csarven@plantard.controlezvous.ca> | 2009-01-19 23:19:05 +0000 |
---|---|---|
committer | sarven <csarven@plantard.controlezvous.ca> | 2009-01-19 23:19:05 +0000 |
commit | 8e8c5805862344b82f2b1b0a30cb376ec5d91160 (patch) | |
tree | 282dccc29f2e9c3fcc4cf692b8ad4c4c567ad7b7 /actions/showstream.php | |
parent | 774fc5378bc89ccfa05ba613ffae96addd3427cf (diff) |
showPageTitle() and showPageNoticeBlock()
and using url on nickname instead of fullname
Diffstat (limited to 'actions/showstream.php')
-rw-r--r-- | actions/showstream.php | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/actions/showstream.php b/actions/showstream.php index 60270cfd7..39c74f0ee 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -132,7 +132,12 @@ class ShowstreamAction extends Action function showPageTitle() { - // Don't show the H1; we have one in the profile block + $this->element('h1', NULL, $this->profile->nickname._("'s profile")); + } + + function showPageNoticeBlock() + { + return; } function showExportData() @@ -238,17 +243,16 @@ class ShowstreamAction extends Action $this->elementStart('dl', 'user_fn'); $this->element('dt', null, _('Full name')); $this->elementStart('dd'); - $this->element('a', array('href' => $this->profile->homepage, - 'rel' => 'me', 'class' => 'fn url uid'), - $this->profile->fullname); + $this->element('span', 'fn', $this->profile->fullname); $this->elementEnd('dd'); $this->elementEnd('dl'); } - $this->elementStart('dl', 'user_nickname'); $this->element('dt', null, _('Nickname')); $this->elementStart('dd'); - $this->element('span', 'fn nickname', $this->profile->nickname); + $this->element('a', array('href' => $this->profile->profileurl, + 'rel' => 'me', 'class' => 'fn nickname url uid'), + $this->profile->nickname); $this->elementEnd('dd'); $this->elementEnd('dl'); |