Fix section widget's output calls
This commit is contained in:
parent
55037403c5
commit
3cfb708dcd
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user