]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
showReplyLink
authorsarven <csarven@plantard.controlezvous.ca>
Fri, 16 Jan 2009 01:33:42 +0000 (01:33 +0000)
committersarven <csarven@plantard.controlezvous.ca>
Fri, 16 Jan 2009 01:33:42 +0000 (01:33 +0000)
lib/noticelist.php

index 6f4d1c04e02597fba97f80eaf7cf1e6802d92bef..fde93a3b668cdcb0eeaf0051d60de7eb6e58eacc 100644 (file)
@@ -438,16 +438,13 @@ class NoticeListItem extends Widget
         $reply_url = common_local_url('newnotice',
                                       array('replyto' => $this->profile->nickname));
 
-        $reply_js =
-          'return doreply("'.$this->profile->nickname.'",'.$this->notice->id.');';
-
-        $this->out->elementStart('a',
-                             array('href' => $reply_url,
-                                   'onclick' => $reply_js,
-                                   'title' => _('reply'),
-                                   'class' => 'replybutton'));
-        $this->out->raw(' &#8594;');
-        $this->out->elementEnd('a');
+        $this->out->elementStart('dl', 'reply');
+        $this->out->element('dt', null, _('Reply to this notice'));
+        $this->out->elementStart('dd');
+        $this->out->element('a', array('href' => $reply_url,
+                                       'title' => _('reply')), _('Reply'));
+        $this->out->elementEnd('dd');
+        $this->out->elementEnd('dl');
     }
 
     /**