summaryrefslogtreecommitdiff
path: root/lib/noticelist.php
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-23 02:43:18 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-23 02:43:18 +0000
commit0daf242100925396aad4cc9fea5de0de2ec98ce8 (patch)
tree258b8fbc0dcb95ab55e7f9556a205d516592d3d9 /lib/noticelist.php
parentcf387ad4ab27c678f67dfb6163bfdee732a92c27 (diff)
Using util.js to set onclick reply anchor
Diffstat (limited to 'lib/noticelist.php')
-rw-r--r--lib/noticelist.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php
index 07912c552..8b0c5f322 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -22,6 +22,7 @@
* @category UI
* @package Laconica
* @author Evan Prodromou <evan@controlyourself.ca>
+ * @author Sarven Capadisli <csarven@controlyourself.ca>
* @copyright 2008 Control Yourself, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
* @link http://laconi.ca/
@@ -440,8 +441,11 @@ class NoticeListItem extends Widget
$this->out->elementStart('dl', 'notice_reply');
$this->out->element('dt', null, _('Reply to this notice'));
$this->out->elementStart('dd');
- $this->out->element('a', array('href' => $reply_url,
- 'title' => _('Reply to this notice')), _('Reply'));
+ $this->out->elementStart('a', array('href' => $reply_url,
+ 'title' => _('Reply to this notice')));
+ $this->out->text(_('Reply'));
+ $this->out->element('span', 'notice_id', $this->notice->id);
+ $this->out->elementEnd('a');
$this->out->elementEnd('dd');
$this->out->elementEnd('dl');
}