summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-16 01:33:42 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-16 01:33:42 +0000
commit179ad6c13b06559959943ec6685b840f7ea3d18a (patch)
treecec0aef45a80bb551fdd6dde6677a977feef7c36
parent55cb32d7ebc4f08e8a568a9b77d83a114f0fb3f0 (diff)
showReplyLink
-rw-r--r--lib/noticelist.php17
1 files changed, 7 insertions, 10 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php
index 6f4d1c04e..fde93a3b6 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -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');
}
/**