get right output context for BlogEntryListItem

This commit is contained in:
Evan Prodromou 2011-06-20 10:14:37 -04:00
parent a1911dc2c1
commit 4c9ae4fae6

View File

@ -49,10 +49,11 @@ class BlogEntryListItem extends NoticeListItemAdapter
{ {
function showNotice() function showNotice()
{ {
$this->out->elementStart('div', 'entry-title'); $out = $this->nli->out;
$out->elementStart('div', 'entry-title');
$this->showAuthor(); $this->showAuthor();
$this->showContent(); $this->showContent();
$this->out->elementEnd('div'); $out->elementEnd('div');
} }
function showContent() function showContent()