summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
authorcsarven <csarven@controlyourself.ca>2008-12-03 17:06:37 -0500
committercsarven <csarven@controlyourself.ca>2008-12-03 17:06:37 -0500
commit2670324ca8d868be1c46c54a3af7f3c1ebda31d0 (patch)
tree262b43a800a59e4818a3ce3eddab836eb28dc060 /actions/showstream.php
parent64411ff957a0cbe68961ac418054e71bf751015b (diff)
Using abbr.published @title and ISO8601
darcs-hash:20081203220637-eefa4-5a9db2b3b178c6a7e4edb43b72c392215ed3e004.gz
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php13
1 files changed, 8 insertions, 5 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index 4cf216566..bd1b8a7de 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -451,7 +451,7 @@ class ShowstreamAction extends StreamAction {
}
$noticeurl = common_local_url('shownotice', array('notice' => $notice->id));
# FIXME: URL, image, video, audio
- common_element_start('p', 'entry-title entry-content');
+ common_element_start('p', 'entry-title');
if ($notice->rendered) {
common_raw($notice->rendered);
} else {
@@ -462,11 +462,14 @@ class ShowstreamAction extends StreamAction {
}
common_element_end('p');
common_element_start('p', array('class' => 'time'));
- common_element('a', array('class' => 'permalink published',
+ common_element_start('a', array('class' => 'permalink',
'rel' => 'bookmark',
- 'href' => $noticeurl,
- 'title' => common_exact_date($notice->created)),
- common_date_string($notice->created));
+ 'href' => $noticeurl));
+ common_element('abbr', array('class' => 'published',
+ 'title' => common_date_iso8601($notice->created)),
+ common_date_string($notice->created));
+ common_element_end('a');
+
if ($notice->source) {
common_text(_(' from '));
$this->source_link($notice->source);