]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Throw in a quick event hook to override the profile list type on showstream (should...
authorBrion Vibber <brion@pobox.com>
Fri, 1 Oct 2010 18:05:15 +0000 (11:05 -0700)
committerBrion Vibber <brion@pobox.com>
Fri, 1 Oct 2010 18:05:15 +0000 (11:05 -0700)
commit12f68c4ff243829a435f774e4d486ccfb381a11d
tree7812ae39db1cc83008eca8cfea4236117b5f0da6
parentad7623a87fe5277706470c43fe357363891326c9
Throw in a quick event hook to override the profile list type on showstream (should be made more general in future).
Replace with a NoticeList to have output include avatar and username -- but CSS still hides them in default theme.

Event::addHandler('ShowStreamNoticeList', 'awesome');
function awesome($notice, $action, &$pnl)
{
    $pnl = new NoticeList($notice, $action);
    return false;
}
actions/showstream.php