exit(1);
}
+require_once INSTALLDIR.'/lib/publicgroupnav.php';
+require_once INSTALLDIR.'/lib/noticelist.php';
+require_once INSTALLDIR.'/lib/feedlist.php';
+
/**
* Action for displaying the public stream
*
NOTICES_PER_PAGE + 1);
if (!$notice) {
- $this->server_error(_('Could not retrieve public stream.'));
+ $this->serverError(_('Could not retrieve public stream.'));
return;
}
- $nl = new NoticeList($notice);
+ $nl = new NoticeList($notice, $this);
$cnt = $nl->show();
'version' => 'Atom 1.0',
'item' => 'publicatom')));
}
+
+ function showSections()
+ {
+ $top = new TopPostersSection($this);
+ $top->show();
+ }
}