From 2670324ca8d868be1c46c54a3af7f3c1ebda31d0 Mon Sep 17 00:00:00 2001 From: csarven Date: Wed, 3 Dec 2008 17:06:37 -0500 Subject: Using abbr.published @title and ISO8601 darcs-hash:20081203220637-eefa4-5a9db2b3b178c6a7e4edb43b72c392215ed3e004.gz --- lib/stream.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/stream.php b/lib/stream.php index 37edfc978..907803eab 100644 --- a/lib/stream.php +++ b/lib/stream.php @@ -78,7 +78,7 @@ class StreamAction extends PersonalAction { $profile->nickname); common_element_end('span'); # FIXME: URL, image, video, audio - common_element_start('p', array('class' => 'content entry-title entry-content')); + common_element_start('p', array('class' => 'content entry-title')); if ($notice->rendered) { common_raw($notice->rendered); } else { @@ -94,11 +94,14 @@ class StreamAction extends PersonalAction { $noticeurl = $notice->uri; } common_element_start('p', '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); -- cgit v1.2.3-54-g00ecf