add full name title to notice list link
This commit is contained in:
parent
650a86d79a
commit
a68836acb4
@ -258,8 +258,12 @@ class NoticeListItem extends Widget
|
|||||||
function showAuthor()
|
function showAuthor()
|
||||||
{
|
{
|
||||||
$this->out->elementStart('span', 'vcard author');
|
$this->out->elementStart('span', 'vcard author');
|
||||||
$this->out->elementStart('a', array('href' => $this->profile->profileurl,
|
$attrs = array('href' => $this->profile->profileurl,
|
||||||
'class' => 'url'));
|
'class' => 'url');
|
||||||
|
if (!empty($this->profile->fullname)) {
|
||||||
|
$attrs['title'] = $this->profile->fullname . ' (' . $this->profile->nickname . ') ';
|
||||||
|
}
|
||||||
|
$this->out->elementStart('a', $attrs);
|
||||||
$this->showAvatar();
|
$this->showAvatar();
|
||||||
$this->showNickname();
|
$this->showNickname();
|
||||||
$this->out->elementEnd('a');
|
$this->out->elementEnd('a');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user