section control over their notice lists + HTML id stuff

This commit is contained in:
Mikael Nordfeldth
2015-01-09 15:46:35 +01:00
parent 7ed1ef081b
commit 51f97c7e84
8 changed files with 45 additions and 20 deletions

View File

@@ -47,7 +47,7 @@ class PopularNoticeSection extends NoticeSection
{
protected $viewer;
function __construct($out, $viewer)
function __construct($out, Profile $viewer=null)
{
parent::__construct($out);
$this->viewer = $viewer;
@@ -67,7 +67,7 @@ class PopularNoticeSection extends NoticeSection
function divId()
{
return 'popular_notices';
return 'popular_section';
}
function moreUrl()