From 606297e453ebb108ac8272ecea50ba6d6d0983b0 Mon Sep 17 00:00:00 2001 From: mike Date: Tue, 8 Jul 2008 07:20:16 -0400 Subject: replybutton.darc Add a simple reply button to notices darcs-hash:20080708112016-f7d30-321142883159fa91338754140ac4ea37e54bb746.gz --- lib/stream.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/stream.php') diff --git a/lib/stream.php b/lib/stream.php index 8da07c316..bef3abff0 100644 --- a/lib/stream.php +++ b/lib/stream.php @@ -86,6 +86,7 @@ class StreamAction extends Action { 'href' => $noticeurl, 'title' => common_exact_date($notice->created)), common_date_string($notice->created)); + common_element('a', array('href' => "#", 'onclick' => 'javascript: doreply("'.$profile->nickname.'")', 'class' => 'replybutton'), 'reply'); if ($replied_id) { $replyurl = common_local_url('shownotice', array('notice' => $replied_id)); common_text('('); -- cgit v1.2.3-54-g00ecf