}
if (!empty($current_user) && $current_user->streamModeOnly()) {
- $nl = new NoticeList($this->notice, $this);
+ $nl = new PrimaryNoticeList($this->notice, $this, array('show_n'=>NOTICES_PER_PAGE));
} else {
$nl = new ThreadedNoticeList($this->notice, $this, $profile);
}
$user = common_current_user();
if (!empty($user) && $user->streamModeOnly()) {
- $nl = new NoticeList($this->notice, $this);
+ $nl = new PrimaryNoticeList($this->notice, $this, array('show_n'=>NOTICES_PER_PAGE));
} else {
$nl = new ThreadedNoticeList($this->notice, $this, $this->userProfile);
}
*/
function showContent()
{
- $nl = new NoticeList($this->notice, $this);
+ $nl = new PrimaryNoticeList($this->notice, $this, array('show_n'=>NOTICES_PER_PAGE));
$cnt = $nl->show();
if (0 === $cnt) {
$user = common_current_user();
if (!empty($user) && $user->streamModeOnly()) {
- $nl = new NoticeList($this->notice, $this);
+ $nl = new PrimaryNoticeList($this->notice, $this, array('show_n'=>NOTICES_PER_PAGE));
} else {
$nl = new ThreadedNoticeList($this->notice, $this, $this->userProfile);
}
function showNotices()
{
if (Event::handle('StartShowProfileTagContent', array($this))) {
- $nl = new NoticeList($this->notice, $this);
+ $nl = new PrimaryNoticeList($this->notice, $this, array('show_n'=>NOTICES_PER_PAGE));
$cnt = $nl->show();
{
if(Event::handle('StartTagShowContent', array($this))) {
- $nl = new NoticeList($this->notice, $this);
+ $nl = new PrimaryNoticeList($this->notice, $this, array('show_n'=>NOTICES_PER_PAGE));
$cnt = $nl->show();