]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
showReplyTo() update
authorsarven <csarven@plantard.controlezvous.ca>
Thu, 15 Jan 2009 00:21:59 +0000 (00:21 +0000)
committersarven <csarven@plantard.controlezvous.ca>
Thu, 15 Jan 2009 00:21:59 +0000 (00:21 +0000)
lib/noticelist.php

index 45d4abb2933ace410e7e1007afea9d8c60551d3a..0fe967da381388beb15e7e0c459f4e2c3586df58 100644 (file)
@@ -389,11 +389,15 @@ class NoticeListItem
         if ($this->notice->reply_to) {
             $replyurl = common_local_url('shownotice',
                                          array('notice' => $this->notice->reply_to));
-            common_text(' (');
-            common_element('a', array('class' => 'inreplyto',
+            $this->elementStart('dl', 'response');
+            $this->element('dt', null, _('To'));
+            $this->elementStart('dd');
+            $this->element('a', array('class' => 'inreplyto',
                                       'href' => $replyurl),
-                           _('in reply to...'));
-            common_text(')');
+                                      'rel' => 'in-reply-to',
+                           _('in reply to'));
+            $this->elementEnd('dd');
+            $this->elementEnd('dl');
         }
     }