diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-01-16 02:22:28 +0000 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-01-16 02:22:28 +0000 |
commit | 8f25e4b48a5a578720baac0bc26dd5b9ba8fe3e3 (patch) | |
tree | f49bcf68ea5d219be5080b0e37ec8111ac3b9fd1 /lib/noticelist.php | |
parent | ba1e36dd492cedbad49f00715cf35a8cdf23ac07 (diff) | |
parent | 5d5dcb6f51c0babc54f43f1baace4cc9830e4939 (diff) |
Merge ../csarven into uiredesign
Diffstat (limited to 'lib/noticelist.php')
-rw-r--r-- | lib/noticelist.php | 17 |
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(' →'); - $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'); } /** |