Merge branch 'uiredesign' of ../evan into uiredesign

This commit is contained in:
sarven 2009-01-15 20:24:28 +00:00
commit 4f56d98415
2 changed files with 8 additions and 6 deletions

View 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

View 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: