summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormike <mike@ice2o.com>2008-07-08 07:20:16 -0400
committermike <mike@ice2o.com>2008-07-08 07:20:16 -0400
commit606297e453ebb108ac8272ecea50ba6d6d0983b0 (patch)
tree971ba5af5f19ed165988f645f1ae096c40df41e0 /lib
parent99eaec8c899a1a6cff4f173bbf28b021ccb757a3 (diff)
replybutton.darc
Add a simple reply button to notices darcs-hash:20080708112016-f7d30-321142883159fa91338754140ac4ea37e54bb746.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/jabber.php2
-rw-r--r--lib/stream.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/jabber.php b/lib/jabber.php
index 66ff24e63..8890f6456 100644
--- a/lib/jabber.php
+++ b/lib/jabber.php
@@ -19,7 +19,7 @@
if (!defined('LACONICA')) { exit(1); }
-require_once('XMPPHP/XMPP.php');
+require_once('xmpp.php');
function jabber_valid_base_jid($jid) {
# Cheap but effective
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('(');