summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-09 04:01:10 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-09 04:01:10 -0400
commitb1620f6a6e0342f5622fef72ba0f6724e31f3feb (patch)
treeb57cd04751b8440271f36bd3e143d234cfca5cda
parent59866e0648e036b966c861728e0cd23d4b8d42be (diff)
move some things around
darcs-hash:20080709080110-84dde-2d8169e2fbe28300d099090100547a19cb8c6a7d.gz
-rw-r--r--actions/showstream.php14
-rw-r--r--lib/stream.php2
2 files changed, 12 insertions, 4 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index 8f06d60e6..c4061da4f 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -360,10 +360,18 @@ class ShowstreamAction extends StreamAction {
common_raw(common_render_content($notice->content, $notice));
common_element_end('p');
common_element_start('p', array('class' => 'time'));
- common_element('a', array('class' => 'notice',
- 'href' => $noticeurl),
+ common_element('a', array('class' => 'permalink',
+ 'href' => $noticeurl,
+ 'title' => common_exact_date($notice->created)),
common_date_string($notice->created));
common_element_end('p');
+ common_element_start('a',
+ array('href' => common_local_url('newnotice',
+ array('replyto' => $profile->nickname)),
+ 'onclick' => 'doreply("'.$profile->nickname.'"); return false',
+ 'title' => _t('reply'),
+ 'class' => 'replybutton'));
+ common_raw('&rarr;');
common_element_end('li');
}
-}
+} \ No newline at end of file
diff --git a/lib/stream.php b/lib/stream.php
index 431580b13..c13be2284 100644
--- a/lib/stream.php
+++ b/lib/stream.php
@@ -101,8 +101,8 @@ class StreamAction extends Action {
'title' => _t('reply'),
'class' => 'replybutton'));
common_raw('&rarr;');
- common_element_end('a');
common_element_end('p');
+ common_element_end('a');
common_element_end('li');
}
}