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
1 changed files with 4 additions and 4 deletions

View File

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