]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix section widget's output calls
authorEvan Prodromou <evan@controlyourself.ca>
Thu, 22 Jan 2009 19:07:13 +0000 (20:07 +0100)
committerEvan Prodromou <evan@controlyourself.ca>
Thu, 22 Jan 2009 19:07:13 +0000 (20:07 +0100)
lib/section.php

index d64095a3eb2be146633dd0e8022485075cb8cc66..0c32ddcf84e91a5696e5ea32cb29d4f45108995d 100644 (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()