* @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
* @link http://status.net/
*/
-
class ConversationAction extends Action
{
var $id = null;
*
* @return boolean false if id not passed in
*/
-
function prepare($args)
{
parent::prepare($args);
*
* @return void
*/
-
function handle($args)
{
parent::handle($args);
*
* @return string page title
*/
-
function title()
{
- return _("Conversation");
+ // TRANS: Title for page with a conversion (multiple notices in context).
+ return _('Conversation');
}
/**
*
* @return void
*/
-
function showContent()
{
$notices = Notice::conversationStream($this->id, null, null);
* @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
* @link http://status.net/
*/
-
class ConversationTree extends NoticeList
{
var $tree = null;
*
* @return void
*/
-
function show()
{
$cnt = $this->_buildTree();
$this->out->elementStart('div', array('id' =>'notices_primary'));
+ // TRANS: Header on conversation page. Hidden by default (h2).
$this->out->element('h2', null, _('Notices'));
$this->out->elementStart('ol', array('class' => 'notices xoxo'));
*
* @return void
*/
-
function showNoticePlus($id)
{
$notice = $this->table[$id];
*
* @return NoticeListItem a list item to show
*/
-
function newListItem($notice)
{
return new ConversationTreeItem($notice, $this->out);
* @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
* @link http://status.net/
*/
-
class ConversationTreeItem extends NoticeListItem
{
/**
*
* @return void
*/
-
function showStart()
{
return;
*
* @return void
*/
-
function showEnd()
{
return;
*
* @return void
*/
-
function showContext()
{
return;