diff options
author | sarven <csarven@plantard.controlezvous.ca> | 2009-01-20 05:58:35 +0000 |
---|---|---|
committer | sarven <csarven@plantard.controlezvous.ca> | 2009-01-20 05:58:35 +0000 |
commit | 96dc058bfa499e4acf9248b116eada2009d72371 (patch) | |
tree | ff72c5455319b7abf5625a937b4a573c8964b5fd /actions | |
parent | 27308afe8509d14ae2efc20cd806fa8541eee017 (diff) |
Using nickname only for uid
Diffstat (limited to 'actions')
-rw-r--r-- | actions/showstream.php | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/actions/showstream.php b/actions/showstream.php index b877f5df3..1d79ea30d 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -239,6 +239,15 @@ class ShowstreamAction extends Action $this->elementEnd('dd'); $this->elementEnd('dl'); + $this->elementStart('dl', 'user_nickname'); + $this->element('dt', null, _('Nickname')); + $this->elementStart('dd'); + $this->element('a', array('href' => $this->profile->profileurl, + 'rel' => 'me', 'class' => 'nickname url uid'), + $this->profile->nickname); + $this->elementEnd('dd'); + $this->elementEnd('dl'); + if ($this->profile->fullname) { $this->elementStart('dl', 'user_fn'); $this->element('dt', null, _('Full name')); @@ -247,14 +256,6 @@ class ShowstreamAction extends Action $this->elementEnd('dd'); $this->elementEnd('dl'); } - $this->elementStart('dl', 'user_nickname'); - $this->element('dt', null, _('Nickname')); - $this->elementStart('dd'); - $this->element('a', array('href' => $this->profile->profileurl, - 'rel' => 'me', 'class' => 'fn nickname url uid'), - $this->profile->nickname); - $this->elementEnd('dd'); - $this->elementEnd('dl'); if ($this->profile->location) { $this->elementStart('dl', 'user_location'); |