// We take responsibility for doing the li
- $this->out->elementStart('li', array('class' => 'hentry notice',
+ $this->out->elementStart('li', array('class' => 'h-entry notice',
'id' => 'notice-' . $item->notice->id));
$item->show();
$this->out->elementEnd('li');
}
- function newListItem($notice)
+ function newListItem(Notice $notice)
{
return new NoticeTreeItem($notice, $this->out);
}
return;
}
- function showContext()
- {
- return;
- }
-
//Just changing the link...
function showReplyLink()
{
}
$this->out->hidden('notice_in-reply-to', $this->inreplyto, 'inreplyto');
- if ($this->user->shareLocation()) {
+ if ($this->profile->shareLocation()) {
$this->out->hidden('notice_data-lat', empty($this->lat) ? (empty($this->profile->lat) ? null : $this->profile->lat) : $this->lat, 'lat');
$this->out->hidden('notice_data-lon', empty($this->lon) ? (empty($this->profile->lon) ? null : $this->profile->lon) : $this->lon, 'lon');
$this->out->hidden('notice_data-location_id', empty($this->location_id) ? (empty($this->profile->location_id) ? null : $this->profile->location_id) : $this->location_id, 'location_id');
Event::handle('EndShowNoticeFormData', array($this));
}
}
-}
\ No newline at end of file
+}