X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fconversationreplies.php;h=55c3efa9e0cb6eb63099b23885d608a816733531;hb=0e439117a75698629c5066d0241ab41dc07b5ee1;hp=8c590aa3af7e85a677b3115c330c6dab3b926364;hpb=b7178d2197d225b5fcb605b1c4d9df14d8b278a1;p=quix0rs-gnu-social.git diff --git a/actions/conversationreplies.php b/actions/conversationreplies.php index 8c590aa3af..55c3efa9e0 100644 --- a/actions/conversationreplies.php +++ b/actions/conversationreplies.php @@ -47,7 +47,6 @@ require_once INSTALLDIR.'/lib/noticelist.php'; */ class ConversationRepliesAction extends ConversationAction { - function handle($args) { if ($this->boolean('ajax')) { @@ -67,9 +66,7 @@ class ConversationRepliesAction extends ConversationAction */ function showContent() { - $notices = Notice::conversationStream($this->id, null, null); - - $ct = new FullThreadedNoticeList($notices, $this); + $ct = new FullThreadedNoticeList($this->notices, $this, $this->userProfile); $cnt = $ct->show(); } @@ -80,7 +77,8 @@ class ConversationRepliesAction extends ConversationAction $this->xw->startDocument('1.0', 'UTF-8'); $this->elementStart('html'); $this->elementStart('head'); - $this->element('title', null, _('Notice')); + // TRANS: Title for conversation page. + $this->element('title', null, _m('TITLE','Notice')); $this->elementEnd('head'); $this->elementStart('body'); $this->showContent(); @@ -88,19 +86,3 @@ class ConversationRepliesAction extends ConversationAction $this->elementEnd('html'); } } - -class FullThreadedNoticeList extends ThreadedNoticeList -{ - function newListItem($notice) - { - return new FullThreadedNoticeListItem($notice, $this->out); - } -} - -class FullThreadedNoticeListItem extends ThreadedNoticeListItem -{ - function initialItems() - { - return 1000; // @fixme - } -}