From f08b9d1bc5d4b9b349a66a7e9afe133ff37d0c57 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 20 May 2008 11:36:29 -0400 Subject: add notice id darcs-hash:20080520153629-84dde-bcbde039e19b50b75528e30881eb877c276068ee.gz --- lib/stream.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/stream.php b/lib/stream.php index 71a486546..79544a073 100644 --- a/lib/stream.php +++ b/lib/stream.php @@ -31,7 +31,8 @@ class StreamAction extends Action { function show_notice($notice) { $profile = $notice->getProfile(); # XXX: RDFa - common_element_start('div', array('class' => 'notice')); + common_element_start('div', array('class' => 'notice', + 'id' => 'notice-' . $notice->id)); $avatar = $profile->getAvatar(AVATAR_STREAM_SIZE); common_element_start('a', array('href' => $profile->profileurl)); common_element('img', array('src' => ($avatar) ? $avatar->url : DEFAULT_STREAM_AVATAR, -- cgit v1.2.3-54-g00ecf