From 74517da3f545d9659f58af8fa273ca4fafa9ff50 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 10 Jun 2008 15:21:01 -0400 Subject: fixup for new theme design in public.php darcs-hash:20080610192101-84dde-29ba2cc875b73131bbbbef4cbdfb17965df37677.gz --- lib/stream.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lib/stream.php') diff --git a/lib/stream.php b/lib/stream.php index ac683367f..9a4cf41eb 100644 --- a/lib/stream.php +++ b/lib/stream.php @@ -31,7 +31,7 @@ class StreamAction extends Action { global $config; $profile = $notice->getProfile(); # XXX: RDFa - common_element_start('div', array('class' => 'notice', + common_element_start('li', array('class' => 'notice_single', 'id' => 'notice-' . $notice->id)); $avatar = $profile->getAvatar(AVATAR_STREAM_SIZE); common_element_start('a', array('href' => $profile->profileurl)); @@ -47,13 +47,15 @@ class StreamAction extends Action { 'class' => 'nickname'), $profile->nickname); # FIXME: URL, image, video, audio - common_element_start('span', array('class' => 'content')); + common_element_start('p', array('class' => 'content')); common_raw(common_render_content($notice->content, $notice)); - common_element_end('span'); + common_element_end('p'); $noticeurl = common_local_url('shownotice', array('notice' => $notice->id)); + common_element_start('p', 'time'); common_element('a', array('class' => 'notice', 'href' => $noticeurl), common_date_string($notice->created)); - common_element_end('div'); + common_element_end('p'); + common_element_end('li'); } } -- cgit v1.2.3-54-g00ecf