diff options
author | Sarven Capadisli <csarven@controlyourself.ca> | 2009-03-30 15:15:40 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@controlyourself.ca> | 2009-03-30 15:15:40 +0000 |
commit | 27b45eeb4882e6c8d5de65d913a148437e91b50c (patch) | |
tree | b90fa9d4c2d8c75e33126f6a67f0f968255c1d8e /lib/noticelist.php | |
parent | 8c073a34ce472fc8d0385659a222339a5ba4254a (diff) | |
parent | 559cf75edbbf60a0d9f8e4991333d85a79359a99 (diff) |
Merge branch '0.7.x' into 0.8.x
Diffstat (limited to 'lib/noticelist.php')
-rw-r--r-- | lib/noticelist.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php index 9fc0126b3..4182d8808 100644 --- a/lib/noticelist.php +++ b/lib/noticelist.php @@ -258,8 +258,12 @@ class NoticeListItem extends Widget function showAuthor() { $this->out->elementStart('span', 'vcard author'); - $this->out->elementStart('a', array('href' => $this->profile->profileurl, - 'class' => 'url')); + $attrs = array('href' => $this->profile->profileurl, + 'class' => 'url'); + if (!empty($this->profile->fullname)) { + $attrs['title'] = $this->profile->fullname . ' (' . $this->profile->nickname . ') '; + } + $this->out->elementStart('a', $attrs); $this->showAvatar(); $this->showNickname(); $this->out->elementEnd('a'); @@ -387,6 +391,7 @@ class NoticeListItem extends Widget case 'xmpp': case 'mail': case 'omb': + case 'system': case 'api': $this->out->element('dd', null, $source_name); break; |