]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Make the feedlist work -- kinda
authorEvan Prodromou <evan@controlyourself.ca>
Thu, 15 Jan 2009 20:22:14 +0000 (20:22 +0000)
committerEvan Prodromou <evan@controlyourself.ca>
Thu, 15 Jan 2009 20:22:14 +0000 (20:22 +0000)
actions/public.php
lib/feedlist.php

index 76e922dff1efea0cc734d46df741f0029c27c5f0..62071ecccd471ede5e5b1f1aaef793c73088ce40 100644 (file)
@@ -33,6 +33,7 @@ if (!defined('LACONICA')) {
 
 require_once INSTALLDIR.'/lib/publicgroupnav.php';
 require_once INSTALLDIR.'/lib/noticelist.php';
+require_once INSTALLDIR.'/lib/feedlist.php';
 
 /**
  * Action for displaying the public stream
index 0ff88cb25ab3b2865199363aa65fc6a240ab5b4e..9bc77ca15c44c264223baf36dad526e4c3d6b54c 100644 (file)
@@ -47,13 +47,14 @@ if (!defined('LACONICA')) {
  * @see      Action::showExportList()
  */
 
-class FeedList
+class FeedList extends Widget
 {
-    var $out = null;
-
-    function __construct($out=null)
+    var $action = null;
+    
+    function __construct($action=null)
     {
-        $this->out = $out;
+       parent::__construct($action);
+       $this->action = $action;
     }
 
     function show($feeds)
@@ -72,7 +73,7 @@ class FeedList
 
     function feedItem($feed)
     {
-        $nickname = $this->trimmed('nickname');
+        $nickname = $this->action->trimmed('nickname');
 
         switch($feed['item']) {
          case 'notices': default: