From: Evan Prodromou Date: Wed, 9 Jul 2008 20:32:37 +0000 (-0400) Subject: show reply_to for notices in profile stream X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=66b1f3f233f8c481fa7b37a46aecf9c7bb2f60a0;p=quix0rs-gnu-social.git show reply_to for notices in profile stream darcs-hash:20080709203237-84dde-f76ca017b4bc1f3c260aaefaaa5ffac5c0f08028.gz --- diff --git a/actions/showstream.php b/actions/showstream.php index eed63fab34..d4f70fbd00 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -371,6 +371,14 @@ class ShowstreamAction extends StreamAction { 'href' => $noticeurl, 'title' => common_exact_date($notice->created)), common_date_string($notice->created)); + if ($notice->reply_to) { + $replyurl = common_local_url('shownotice', array('notice' => $notice->reply_to)); + common_text(' ('); + common_element('a', array('class' => 'inreplyto', + 'href' => $replyurl), + _t('in reply to...')); + common_text(')'); + } common_element_start('a', array('href' => common_local_url('newnotice', array('replyto' => $profile->nickname)),