Fix section widget's output calls

This commit is contained in:
Evan Prodromou 2009-01-22 20:07:13 +01:00
parent 55037403c5
commit 3cfb708dcd

View File

@ -69,14 +69,14 @@ class Section extends Widget
$have_more = $this->showContent();
if ($have_more) {
$this->elementStart('p');
$this->element('a', array('href' => $this->moreUrl(),
$this->out->elementStart('p');
$this->out->element('a', array('href' => $this->moreUrl(),
'class' => 'more'),
$this->moreTitle());
$this->elementEnd('p');
$this->out->elementEnd('p');
}
$this->elementEnd('div');
$this->out->elementEnd('div');
}
function divId()