$group = $this->gm->getGroup();
$sender = $this->gm->getSender();
- $this->out->elementStart('li', array('class' => 'hentry notice message group-message',
+ $this->out->elementStart('li', array('class' => 'h-entry notice message group-message',
'id' => 'message-' . $this->gm->id));
$this->out->elementStart('div', 'entry-title');
$this->out->elementStart('a',
array('href' => $sender->profileurl,
'class' => 'url'));
- $avatar = $sender->getAvatar(AVATAR_STREAM_SIZE);
- $this->out->element('img', array('src' => ($avatar) ?
- $avatar->displayUrl() :
- Avatar::defaultImage(AVATAR_STREAM_SIZE),
+ $avatarUrl = $sender->avatarUrl(AVATAR_STREAM_SIZE);
+ $this->out->element('img', array('src' => $avatarUrl,
'width' => AVATAR_STREAM_SIZE,
'height' => AVATAR_STREAM_SIZE,
'class' => 'photo avatar',
$this->out->elementEnd('a');
$this->out->elementEnd('span');
- $this->out->elementStart('p', array('class' => 'entry-content message-content'));
+ $this->out->elementStart('p', array('class' => 'e-content message-content'));
$this->out->raw($this->gm->rendered);
$this->out->elementEnd('p');
$this->out->elementEnd('div');
- $this->out->elementStart('div', 'entry-content');
+ $this->out->elementStart('div', 'e-content');
$this->out->elementStart('a', array('rel' => 'bookmark',
'class' => 'timestamp',
'href' => $this->gm->url));
- $dt = common_date_iso8601($this->gm->created);
- $this->out->element('abbr', array('class' => 'published',
- 'title' => $dt),
+ $this->out->element('time', array('class' => 'dt-published',
+ 'datetime' => common_date_iso8601($this->gm->created),
+ // TRANS: Timestamp title (tooltip text) for NoticeListItem
+ 'title' => common_exact_date($this->gm->created)),
common_date_string($this->gm->created));
$this->out->elementEnd('a');
$this->out->elementEnd('div');