exit(1);
}
+// XXX: not sure how to do paging yet,
+// so set a 60-notice limit
+
require_once INSTALLDIR.'/lib/noticelist.php';
/**
function showContent()
{
- $notices = Notice::conversationStream($this->id);
+ $notices = Notice::conversationStream($this->id, null, null);
$ct = new ConversationTree($notices, $this);
$cnt = $ct->show();
}
+
+ function isReadOnly()
+ {
+ return true;
+ }
}
/**
function show()
{
- $cnt = 0;
-
- $this->_buildTree();
+ $cnt = $this->_buildTree();
$this->out->elementStart('div', array('id' =>'notices_primary'));
$this->out->element('h2', null, _('Notices'));
$this->tree[$notice->reply_to] = array($notice->id);
}
}
+
+ return $cnt;
}
/**