diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-01-22 20:07:13 +0100 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-01-22 20:07:13 +0100 |
commit | 3cfb708dcd407b3d6d34b89171bf599f09205222 (patch) | |
tree | 173f9b8d1a23d6bce7d599ea46ec7bc497ee7525 | |
parent | 55037403c5d9ab7f73d9f8ee454ba8d33cf313dd (diff) |
Fix section widget's output calls
-rw-r--r-- | lib/section.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/section.php b/lib/section.php index d64095a3e..0c32ddcf8 100644 --- a/lib/section.php +++ b/lib/section.php @@ -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() |