diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-09 03:14:39 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-09 03:14:39 -0400 |
commit | a7db6216fad30dd07ce52bd687c670ea4f0ebb77 (patch) | |
tree | c08d9de421289b031c95f62937ba75bb15cba00f /lib | |
parent | 680738e05344ddad432a0a74c71c9c17e7779bf0 (diff) |
fallback to newnotice on reply button, new button with mouseover
darcs-hash:20080709071439-84dde-f85f0e97f7c14bb77b7174f281e3e9f75c23cac1.gz
Diffstat (limited to 'lib')
-rw-r--r-- | lib/stream.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/stream.php b/lib/stream.php index bef3abff0..8846920ef 100644 --- a/lib/stream.php +++ b/lib/stream.php @@ -86,7 +86,6 @@ 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('('); @@ -95,6 +94,13 @@ class StreamAction extends Action { _t(' in reply to...')); common_text(')'); } + common_element('a', + array('href' => common_local_url('newnotice', + array('replyto' => $profile->nickname)), + 'onclick' => 'doreply("'.$profile->nickname.'")', + 'title' => _t('reply'), + 'class' => 'replybutton'), + _t('↺')); common_element_end('p'); common_element_end('li'); } |