]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added fragment identifier to the "in context" URL which points to
authorSarven Capadisli <csarven@controlyourself.ca>
Thu, 25 Jun 2009 18:57:39 +0000 (18:57 +0000)
committerSarven Capadisli <csarven@controlyourself.ca>
Thu, 25 Jun 2009 18:57:39 +0000 (18:57 +0000)
the notice location in the Conversation page.

lib/noticelist.php

index 6f05c63d66dd3454211ab9ac9a6df0060ac20688..44726a17b7b7a3da4116724bc0ed1d4c69b8d35b 100644 (file)
@@ -432,7 +432,7 @@ class NoticeListItem extends Widget
             $this->out->elementStart('dl', 'response');
             $this->out->element('dt', null, _('To'));
             $this->out->elementStart('dd');
-            $this->out->element('a', array('href' => $convurl),
+            $this->out->element('a', array('href' => $convurl.'#notice-'.$this->notice->id),
                                 _('in context'));
             $this->out->elementEnd('dd');
             $this->out->elementEnd('dl');